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

revision 1294, Thu Dec 12 21:22:48 2002 UTC revision 1873, Sun Nov 20 05:32:27 2005 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume (http://www.tti-c.org/blume/)
17    Date: 2005/11/19 23:35:00 CST
18    Tag: blume-20051119-fish
19    Description:
20    
21    Fixed a problem in config/install.sh where it tries to "fish" the
22    name of the CM metadata directory from the wrong place (because
23    the physical location of basis.cm has changed).  Also, corrected the
24    path anchor for $/html-lib.cm.  (Thanks to M. Fluet for pointing out
25    these problems.)
26    
27    ----------------------------------------------------------------------
28    Name: Matthias Blume (http://www.tti-c.org/blume/)
29    Date: 2005/11/16 14:30:00 CST
30    Tag: Release_110_57
31    Description:
32    
33    New working version (110.57).  NEW BOOTFILES!
34    
35    ----------------------------------------------------------------------
36    Name: Matthias Blume (http://www.tti-c.org/blume/)
37    Date: 2005/11/16 10:25:00 CST
38    Tag: blume-22051116-btrace
39    Description:
40    
41    Fixed problem with bogus exception message when using back-trace
42    facility.
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume (http://www.tti-c.org/blume/)
46    Date: 2005/11/15 22:35:00 CST
47    Tag: blume-22051115-array2copy
48    Description:
49    
50    Added simple implementation of Array2.copy.  (Warning: mostly untested.)
51    
52    ----------------------------------------------------------------------
53    Name: Matthias Blume (http://www.tti-c.org/blume/)
54    Date: 2005/11/15 21:35:00 CST
55    Tag: blume-22051115-versiontool
56    Description:
57    
58    Reversed change to src/system/smlnj/internals/versiontool.cm.  This
59    file gets loaded as a tool -- by the equivalent of CM.make during the
60    run of CMB.make.  Thus, CMB's path configuration is meaningless for
61    it.  Instead, it has the status of "user code", so it should use
62    $/basis.cm to refer to the Basis library.  (At least that's true for
63    the purpose of bootstrapping the previous change.  In the future it
64    might make sense to have versiontool.cm refer to
65    $smlnj/basis/basis.cm, i.e., the version of the Basis that the
66    compiler itself uses.)
67    
68    Also patched src/system/testml to have it activate those extra anchor
69    bindings in config/extrapathconfig.
70    
71    ----------------------------------------------------------------------
72    Name: Matthias Blume (http://www.tti-c.org/blume/)
73    Date: 2005/11/15 16:35:00 CST
74    Tag: blume-22051115-libraries
75    Description:
76    
77    This change affects the way the following libraries are tied into
78    the system:
79    
80       $/basis.cm
81       $/smlnj-lib.cm
82       $/pp-lib.cm
83       $/controls-lib.cm
84       $/html-lib.cm
85       $/ml-yacc-lib.cm
86    
87    These libraries are now internally (as seen from the source code
88    of the implementation itself) known by the following names:
89    
90       $smlnj/basis/basis.cm
91       $smlnj/smlnj-lib/smlnj-lib.cm
92       $smlnj/smlnj-lib/pp-lib.cm
93       $smlnj/smlnj-lib/controls-lib.cm
94       $smlnj/smlnj-lib/html-lib.cm
95       $smlnj/ml-yacc/ml-yacc-lib.cm
96    
97    This makes it possible to work with code that requires different
98    versions of these libraries, and which refers to these libraries using
99    their "default" names (i.e., the first set of names above).  In other
100    words, one can un-define or re-define those default names without
101    compromising the proper functioning of the compiler itself.
102    
103    A similar procedure had already been performed for several of the
104    MLRISC libraries that are linked into the compiler.  I did some
105    cleanup on this code.
106    
107    A new file in the config directory (named extrapathconfig) is
108    responsible for setting up path anchors that the compiler itself does
109    not need, but that are typically required by user code.
110    
111    ----------------------------------------------------------------------
112    Name: Matthias Blume
113    Date: 2005/11/07 17:05:00 CST
114    Tag: blume-20051107-slice
115    Description:
116    
117    Fixed erroneous out-of-bounds test in the "update" function of
118    various *ArraySlice modules.  (Thanks to Vesa A. Norrman for pointing
119    out the problem.)
120    
121    Pushed some Basis changes through ML-Lex, CML, and eXene.
122    
123    ----------------------------------------------------------------------
124    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
125    Date: 2005/11/07
126    Description:
127    Fixed a Basis incompatibility: The depreciated function Substring.all
128    was removed (use Substring.full instead).
129    
130    ----------------------------------------------------------------------
131    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
132    Date: 2005/11/05
133    Description:
134    Tweaked interval set API in SML/NJ library; see the CHANGES file for details.
135    
136    ----------------------------------------------------------------------
137    Name: Matthias Blume (http://www.tti-c.org/blume/)
138    Date: 2005/11/02 16:25:00 CST
139    Tag: blume-20051102-hex
140    Description:
141    
142    * Runtime system bootstrap code now accepts hex digits in BOOTLIST
143      in either upper case or lower case format.
144    * Pushed changes to names of Pack<N>{Big,Little} structures through
145      CML and eXene.
146    
147    ----------------------------------------------------------------------
148    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
149    Date: 2005/11/02
150    Description:
151    Fixed a Basis incompatibility: Pack<N>{Big,Little} structures should
152    be called PackWord<N>{Big,Little}.
153    
154    ----------------------------------------------------------------------
155    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
156    Date: 2005/10/28
157    Description:
158    Fixed a minor Basis incompatibility: hex digits should be upper case.
159    
160    ----------------------------------------------------------------------
161    Name: Matthias Blume (blume (at) tti - c (dot) org)
162    Date: 2005/10/25 16:00:00 CDT
163    Tag: Release_110_56
164    Description:
165    
166    New working version (110.56).  NEW BOOTFILES!
167    
168    ----------------------------------------------------------------------
169    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
170    Date: 2005/10/25
171    Description:
172    Added interval sets to utility library (signatures INTERVAL_DOMAIN
173    and INTERVAL_SET, and functor IntervalSetFn).
174    
175    ----------------------------------------------------------------------
176    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
177    Date: 2005/10/14
178    Description:
179    Add Zhong Shao's fix for datatype equality functions.
180    
181    ----------------------------------------------------------------------
182    Name: Allen Leung (leunga (at) reservoir (dot) com)
183    Date: 2005/10/14 12:30:00 EST
184    Tag: leunga-20051014-x86-spill
185    Description:
186    
187    Bug fix a bug found by Carl Hauser.
188    There was a typo in the reload code for FCMP in x86SpillInstr.sml.
189    
190    ----------------------------------------------------------------------
191    Name: Allen Leung (leunga (at) reservoir (dot) com)
192    Date: 2005/10/14 11:15:00 EST
193    Tag: leunga-20051014-x86-asm
194    Description:
195    
196    Removed some debugging code in file x86Asm.sml.
197    The function emit_operand was printing out debugging output.
198    
199    ----------------------------------------------------------------------
200    Name: John Reppy
201    Date: 2005/07/27
202    Tag:
203    Description:
204    
205    Fixed ml-lex to recognize "\r" as representing carriage return.
206    
207    ----------------------------------------------------------------------
208    Name: John Reppy
209    Date: 2005/07/27
210    Tag:
211    Description:
212    
213    Fixed ml-yacc to work on files with non-native end-of-line
214    encodings (e.g., Windows text file on a Unix system).
215    
216    ----------------------------------------------------------------------
217    Name: John Reppy
218    Date: 2005/07/20
219    Tag:
220    Description:
221    
222    Added changes from Dominic Evans (oldmanuk (at) gmail (dot) com)
223    to support HPUX 11.
224    
225    ----------------------------------------------------------------------
226    Name: John Reppy
227    Date: 2005/07/06
228    Tag:
229    Description:
230    
231    Changes to the SML/NJ library.  See smlnj-lib/CHANGES for details.
232    
233    ----------------------------------------------------------------------
234    Name: Matthias Blume (blume (at) tti - c (dot) org)
235    Date: 2005/07/06 00:45:00 CDT
236    Tag: blume-20050706-slice-copy
237    Description:
238    
239    Fixed reversed logic for deciding whether to "copy up" or "copy down"
240    in *-array-slice.sml.
241    
242    ----------------------------------------------------------------------
243    Name: Allen Leung (leunga (at) reservoir (dot) com)
244    Date: 2005/05/31 17:00:00 EST
245    Tag: leunga-20050531-cygwin-fault-2
246    Description:
247    
248    A typo in the cygwin code fixed.
249    
250    ----------------------------------------------------------------------
251    Name: Allen Leung (leunga (at) reservoir (dot) com)
252    Date: 2005/05/31 16:47:00 EST
253    Tag: leunga-20050531-cygwin-fault
254    Description:
255    
256    Updated Cygwin's fault/signal handling to match the Windows version.
257    Updated the export list.
258    
259    ----------------------------------------------------------------------
260    Name: Matthias Blume (blume (at) tti - c (dot) org)
261    Date: 2005/05/18 13:35:00 CDT
262    Tag: Release_110_54
263    Description:
264    
265    New working version (110.54).  NEW BOOTFILES!
266    
267    ----------------------------------------------------------------------
268    Name: Matthias Blume (blume (at) tti - c (dot) org)
269    Date: 2005/05/18 11:58:00 CDT
270    Tag: blume-20050518-installer
271    Description:
272    
273    Added support scripts for Mac OS X PackageMaker and modified
274    config/install.sh so that it supports re-dumping a heap image
275    after customization.
276    
277    ----------------------------------------------------------------------
278    Name: Matthias Blume (blume (at) tti - c (dot) org)
279    Date: 2005/05/18 10:55:00 CDT
280    Tag: blume-20050518-realdiv-noovld
281    Description:
282    
283    Un-overloaded / to work around bug in overloading resolution code.
284    
285    ----------------------------------------------------------------------
286    Name: Matthias Blume (blume (at) tti - c (dot) org)
287    Date: 2005/05/16 23:50:00 CDT
288    Tag: blume-20050516-redump-heap
289    Description:
290    
291    Added mechanism for re-creating a heap file for the interactive system
292    after configuration variables have been changed.
293    
294       CM.redump_heap : string -> unit
295    
296    This is much like SMLofNJ.exportML, but starting from the resulting
297    heap does not return to the caller of CM.redump_heap but
298    restarts the interactive system from scratch.  The original call of
299    CM.redump_heap does not return but ends the interactive session.
300    Thus, CM.redump_heap is a lot like SMLofNJ.exportFn.
301    
302    Internally, redump_heap winds the dynamic execution context back to
303    the point where the original heap image was created and re-executes
304    the heap image generation code in the boot code.
305    
306    ----------------------------------------------------------------------
307    Name: Matthias Blume (blume (at) tti - c (dot) org)
308    Date: 2005/05/09 21:55:00 CDT
309    Tag: blume-20050509-word64
310    Description:
311    
312    Added a hack to the existing hack known as Word64 to make fromString
313    behave correctly.  I am still not sure whether Word64.scan will work
314    as specified with respect to the interaction of radix and prefix.
315    
316    ----------------------------------------------------------------------
317    Name: Allen Leung (leunga (at) reservoir (dot) com)
318    Date: 2005/05/04 11:50:00 EST
319    Tag: leunga-20050504-checkgc
320    Description:
321    
322    Added a gc protocol checking phase.  This phase is enabled with
323    the flag "check-gc".  "debug-check-gc" turns on the verbose mode.
324    
325    ----------------------------------------------------------------------
326    Name: Matthias Blume (blume (at) tti - c (dot) org)
327    Date: 2005/05/04 10:45:00 CDT
328    Tag: blume-20050504-intinf
329    Description:
330    
331    Fixed a bug in the implementation of div and mod for IntInf.
332    Thanks to Neophytos Michael for reporting the problem.
333    
334    ----------------------------------------------------------------------
335    Name: Matthias Blume (blume (at) tti - c (dot) org)
336    Date: 2005/05/04 10:35:00 CDT
337    Tag: blume-20050504-join
338    Description:
339    
340    Added a "join" combinator to the ParserComb module in smlnj-lib.cm.
341    
342    ----------------------------------------------------------------------
343    Name: Matthias Blume (blume (at) tti - c (dot) org)
344    Date: 2005/02/28 23:40:00 CST
345    Tag: blume-20050228-mVar
346    Description:
347    
348    Fixed serious bug (brown paper bag variety) in new implementation of
349    structure Atom in CML.  (I had accidentally used a mailbox instead of
350    an mvar, leaving the door open for races.)
351    
352    ----------------------------------------------------------------------
353    Name: Matthias Blume (blume (at) tti - c (dot) org)
354    Date: 2005/02/25 15:00:00 CST
355    Tag: Release_110_53
356    Description:
357    
358    New working version (110.53).  NEW BOOTFILES!
359    
360    ----------------------------------------------------------------------
361    Name: Matthias Blume (blume (at) tti - c (dot) org)
362    Date: 2005/02/25 14:50:00 CST
363    Tag: blume-20050225-susp
364    Description:
365    
366    Brought back SMLofNJ.Susp.  The underlying suspension type is the one
367    implemented in Core -- which means that it is the same as the one used
368    by the lazy extension.
369    
370    ----------------------------------------------------------------------
371    Name: Matthias Blume (blume (at) tti - c (dot) org)
372    Date: 2005/02/24 16:50:00 CST
373    Tag: blume-20050224-cml-atom
374    Description:
375    
376    Simpler and at the same time more general implementation of structure
377    Atom in CML.
378    
379    ----------------------------------------------------------------------
380    Name: Matthias Blume (blume (at) tti - c (dot) org)
381    Date: 2005/02/15 17:35:00 CST
382    Tag: blume-20050215-tools
383    Description:
384    
385    Created new "tools" directory under "src" and moved "TraceDebugProf"
386    there.
387    
388    ----------------------------------------------------------------------
389    Name: Matthias Blume (blume (at) tti - c (dot) org)
390    Date: 2005/02/10 17:55:00 CST
391    Tag: blume-20050210-longlong
392    Description:
393    
394    Implemented "long long" arguments and results for NLFFI.  (Only the
395    PPC/MacOS implementation is complete, the other backends still need to
396    be updated.)
397    
398    ----------------------------------------------------------------------
399    Name: Matthias Blume (blume (at) tti - c (dot) org)
400    Date: 2005/01/24 17:40:00 CST
401    Tag: blume-20050124-mlyacc
402    Description:
403    
404    Minor cleanup in ML-Yacc rule printing mechanism.  This should fix a
405    problem with certain "as" patterns which previously got rendered
406    using incorrect syntax.
407    
408    ----------------------------------------------------------------------
409    Name: Matthias Blume (blume (at) tti - c (dot) org)
410    Date: 2005/01/18 12:00:00 CST
411    Tag: blume-20050118-profile
412    Description:
413    
414    Made time profiling code (interrupt handler) in runtime system aware
415    of new array representation.
416    
417    ----------------------------------------------------------------------
418    Name: Matthias Blume (blume (at) tti - c (dot) org)
419    Date: 2005/01/14 18:00:00 CST
420    Tag: blume-20050114-heap2exec
421    Description:
422    
423    Implemented new (but still experimental) heap2exec facility.  This is
424    tested under Mac OS X and should work under Linux (will test shortly).
425    It will probably also work on the Sparc (will test some time later).
426    
427      - removed old "HACKED_STANDALONE" hack from runtime
428    
429    To be able to test this, uncomment the request for "heap2asm" in
430    config/targets prior to installation.  (Notice that this is different
431    from "heap2exec" mentioned below.  Not a typo.)
432    
433    To perform an actual test, run the command
434    
435       $ bin/heap2exec heapfile execfile
436    
437    (You can put heap2exec on your shell's path.)
438    
439    For example, run
440    
441      $ bin/heap2exec bin/.heap/ml-yacc.ppc-darwin mly
442    
443    This will create a standalone executable called "mly" which you can
444    then invoke directly as a command.
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume (blume (at) tti - c (dot) org)
448    Date: 2005/01/07 11:44:00 CST
449    Tag: blume-20050107-mlstring
450    Description:
451    
452    fixed off-by-one error in ML_STRING macro (globals.c)
453    
454    ----------------------------------------------------------------------
455    Name: Matthias Blume (blume (at) tti - c (dot) org)
456    Date: 2004/12/23 18:00:00 CST
457    Tag: blume-20041223-santa
458    Description:
459    
460    Made ml-build script "smarter" (but only very little).
461    
462    ----------------------------------------------------------------------
463    Name: Matthias Blume (blume (at) tti - c (dot) org)
464    Date: 2004/12/21 15:05:00 CST
465    Tag: blume-20041221-longlong
466    Description:
467    
468    * Implemented access to signed and unsigned long long data in NLFFI.
469    (The parameter-passing part of the picture has not complete. But
470    data structure access seems to work.)
471    
472    * Fixed CM's incorrect assumption that the PPC is little-endian.
473      (On the Mac, it is big-endian.  And that's currently our only
474      PPC platform.)
475    
476    ----------------------------------------------------------------------
477    Name: Matthias Blume (blume (at) tti - c (dot) org)
478    Date: 2004/12/21 12:50:00 CST
479    Tag: blume-20041221-memory
480    Description:
481    
482    Some cleanup in the $c/memory.cm library: separated some concerns by
483    moving allocation code and memory access code each into their own
484    files.
485    
486    ----------------------------------------------------------------------
487    Name: Allen Leung (leunga (at) reservoir (dot) com)
488    Date: 2004/12/17 16:12:00 EST
489    Tag: leunga-20041217-cygwin-smlnj-home
490    Description:
491    
492        The Unix I/O library of SML/NJ on cygwin does not understand
493    Windows style pathname, so problems arise when SMLNJ_HOME is set
494    to a Windows style pathname.  _run-sml now converts SMLNJ_HOME
495    to a POSIX pathname on cygwin.
496    
497    ----------------------------------------------------------------------
498    Name: Matthias Blume (blume (at) tti - c (dot) org)
499    Date: 2004/12/16 13:35:00 CST
500    Tag: Release_110_52
501    Description:
502    
503    Last-minute changes incorporated into 110.52.  Release tag moved.
504    
505    The changes:
506       - HashString.hashString' -> HashString.hashSubstring
507       - bug fix in UnivariateStats
508    
509    ----------------------------------------------------------------------
510    Name: Matthias Blume (blume (at) tti - c (dot) org)
511    Date: 2004/12/15 23:40:00 CST
512    Tag: blume-20041215-hashSubstring
513    Description:
514    
515    - HashString.hashString' -> HashString.hashSubstring
516    - corresponding changes in atom.sml
517    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
518      added some comments
519    
520    ----------------------------------------------------------------------
521    Name: Matthias Blume (blume (at) tti - c (dot) org)
522    Date: 2004/12/15 15:30:00 CST
523    Tag: (Release_110_52)
524    Description:
525    
526    New working version (110.52).  NEW BOOTFILES!
527    
528    ----------------------------------------------------------------------
529    Name: Matthias Blume (blume (at) tti - c (dot) org)
530    Date: 2004/12/15 12:45:00 CST
531    Tag: blume-20041215-spaces
532    Description:
533    
534    More on the space problem (this time for Win32).
535    
536    ----------------------------------------------------------------------
537    Name: Matthias Blume (blume (at) tti - c (dot) org)
538    Date: 2004/12/14 17:30:00 CST
539    Tag: blume-20041214-spaces
540    Description:
541    
542    Hacked some of the scripts (in particular: the installer) to cope with
543    spaces in filenames a bit better.  But beware: the current "solution"
544    is likely still full of bugs and inherently incomplete.  (We need to
545    do away with those shell scripts for a comprehensive solution.)
546    
547    ----------------------------------------------------------------------
548    Name: Matthias Blume (blume (at) tti - c (dot) org)
549    Date: 2004/12/13 14:45:00 CST
550    Tag: blume-20041213-ml-makedepend
551    Description:
552    
553    Fixed bug in code for ml-makedepend.
554    
555    ----------------------------------------------------------------------
556    Name: Matthias Blume (blume (at) tti - c (dot) org)
557    Date: 2004/12/09 16:30:00 CST
558    Tag: blume-20041209-statistics
559    Description:
560    
561    Added two simple but potentially useful statistics modules to SML/NJ Library.
562    (See CHANGES file there.)
563    
564    ----------------------------------------------------------------------
565    Name: Matthias Blume (blume (at) tti - c (dot) org)
566    Date: 2004/12/01 16:50:00 CST
567    Tag: blume-20041201-atom
568    Description:
569    
570    smlnj-lib:
571    
572      Added function HashString.hashString' for substrings.
573      Hand-inlined CharVector.foldl into HashString (for speed).
574      Modified implementation of structure Atom to avoid extracting
575      strings from substrings unless necessary.
576      (Also see CHANGES file for smlnj-lib.)
577    
578    ----------------------------------------------------------------------
579    Name: Matthias Blume (blume (at) tti - c (dot) org)
580    Date: 2004/11/24 22:15:00 CST
581    Tag: blume-20041124-cml
582    Description:
583    
584    Made sure CML compiles when Position = Int64.
585    
586    ----------------------------------------------------------------------
587    Name: Matthias Blume (blume (at) tti - c (dot) org)
588    Date: 2004/11/24 14:30:00 CST
589    Tag: blume-20041124-position
590    Description:
591    
592    The compiler can now be compiled in a mode that makes structure Position
593    equal to Int64.  The default, however, is unchanged (Position = Int31)
594    for the time being.
595    
596    To enable 64-bit positions, use the following procedure:
597    
598    1. Start sml
599    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
600    3. Type
601          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
602    4. Run CMB.make() as usual.
603    
604    This is barely tested.  The only test so far was a little SML program
605    counting the number of characters in an 8-gigabyte file by
606    reading it character-by-character.  That test was successful.
607    
608    In support of 64-bit positions, a number of new functions have been
609    added to the runtime system.
610    
611    ----------------------------------------------------------------------
612    Name: Matthias Blume (blume (at) tti - c (dot) org)
613    Date: 2004/11/23 14:45:00 CST
614    Tag: blume-20041123-useFile
615    Description:
616    
617    Fixed a problem with unhelpful error messages related to problems with
618    .cm- or .sml files that appear as part of the sml command line.
619    
620    ----------------------------------------------------------------------
621    Name: Matthias Blume (blume (at) tti - c (dot) org)
622    Date: 2004/11/18 15:40:00 CST
623    Tag: Release_110_51
624    Description:
625    
626    New working version (110.51).  NEW BOOTFILES!
627    
628    ----------------------------------------------------------------------
629    Name: Matthias Blume (blume (at) tti - c (dot) org)
630    Date: 2004/11/18 15:35:00 CST
631    Tag: <none>
632    Description:
633    
634    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
635    Joemann).
636    
637    ----------------------------------------------------------------------
638    Name: Allen Leung (leunga (at) reservoir (dot) com)
639    Date: 2004/11/17 16:05:21 EST 2004
640    Tag: leunga-20041117-mlrisc-live-kill
641    Description:
642    
643       Added support for MLTree constructs LIVE and KILL
644    to all the architectures.
645    
646    ----------------------------------------------------------------------
647    Name: Matthias Blume (blume (at) tti - c (dot) org)
648    Date: 2004/11/13 00:20:00 CST
649    Tag: blume-20041113-versiontool
650    Description:
651    
652    - Stripped down the versiontool: It now only handles the version number.
653      The date string is generated at bootstrap time (during makeml).
654    
655    - In a previous commit, fixed a minor issue with how polyequal is being
656      translated.  In particular, the code now "looks through" abstractions.
657      This results in slightly fewer polyEqual warnings and hopefully slightly
658      more efficient code.  Important examples for where this matters are
659      the new int64 and word64 types.
660    
661    ----------------------------------------------------------------------
662    Name: Matthias Blume (blume (at) tti - c (dot) org)
663    Date: 2004/11/12 00:30:00 CST
664    Tag: blume-20041112-int64
665    Description:
666    
667    Structure Int64 fully hooked in.  (The implementation is not very
668    efficient, though.)
669    
670    ----------------------------------------------------------------------
671    Name: Matthias Blume (blume (at) tti - c (dot) org)
672    Date: 2004/11/11 17:30:00 CST
673    Tag: blume-20041111-more64
674    Description:
675    
676    All the pieces of Word64 are now there, with the exception of the
677    conversions from and to LargeWord. (Eventually these need to be identities,
678    but for the time being they don't even make sense because LargeWord is
679    32-bit wide.)
680    
681    Also started to add similar support for Int64, but major pieces of that
682    are still missing.
683    
684    ----------------------------------------------------------------------
685    Name: Matthias Blume (blume (at) tti - c (dot) org)
686    Date: 2004/11/11 00:15:00 CST
687    Tag: blume-20041111-word64
688    Description:
689    
690    Structure Word64 is now (almost) complete, word literals and patterns
691    seem to work.  There are a few odd pieces missing.  In particular,
692    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
693    at the moment.
694    
695    Making Word64 official would mean that LargeWord becomes Word64.  But
696    this requires extreme care because most word-word conversions have to
697    go through LargeWord, so making a mistake means loss of efficiency or
698    worse.  Eventually there will be a solution similar to (but actually
699    simpler than) what I did with IntInf.
700    
701    ----------------------------------------------------------------------
702    Name: Matthias Blume (blume (at) tti - c (dot) org)
703    Date: 2004/11/10 18:12:00 CST
704    Tag: blume-20041110-64bit
705    Description:
706    
707    More 64-bit hacking (but still not even half-way there yet).
708    Also, some assorted improvements to the handling of 8-bit words.
709    
710    ----------------------------------------------------------------------
711    Name: Matthias Blume (blume (at) tti - c (dot) org)
712    Date: 2004/11/09 17:50:00 CST
713    Tag: <none>
714    Description:
715    
716    Started adding some infrastructure for supporting 64-bit int- and
717    word-types.  (Still in its very early stages.)
718    
719    ----------------------------------------------------------------------
720    Name: Matthias Blume (blume (at) tti - c (dot) org)
721    Date: 2004/10/28 10:45:00 CDT
722    Tag: Release_110_50
723    Description:
724    
725    New working version (110.50).  NEW BOOTFILES!
726    
727                 =====================
728    
729    Also:
730    
731      - Changend config/srcarchiveurl from a file just
732        containing the URL string into a file containing
733        shell script code.  The code has access to the $VERSION variable.
734      - Made corresponding changes to config/install.sh and config/unpack.
735      - Default contents of config/srcarchiveurl uses $VERSION and
736        normally does not have to be edited to reflect a version change.
737    
738      (As a result, a version change can be done by just editing
739       config/version, the rest is now automatic.)
740    
741    ----------------------------------------------------------------------
742    Name: Matthias Blume (blume (at) tti - c (dot) org)
743    Date: 2004/10/27 17:50:00 CDT
744    Tag: blume-20041027-btrace-msg
745    Description:
746    
747    BackTrace.monitor now also reports the source of the exception that
748    triggered the trace.
749    
750    ----------------------------------------------------------------------
751    Name: Matthias Blume (blume (at) tti - c (dot) org)
752    Date: 2004/10/27 17:20:00 CDT
753    Tag: blume-20041027-x86-c-calls
754    Description:
755    
756    This is the HISTORY entry for two earlier commits, both concerning
757    the x86 c-calls code in MLRISC:
758    
759      - added a missing LOAD in the code that deals with struct arguments
760      - made sure the caller does not add the wrong number of bytes to the
761        stack pointer after a call of a function returning a struct
762        (the callee already pops the implicit argument which points to
763         the space reserved for the result)
764    
765    ----------------------------------------------------------------------
766    Name: Allen Leung (leunga (at) reservoir (dot) com)
767    Date: 2004/10/24 14:00:00 EST
768    Tag: leunga-20041024-x86-gas-fucomip
769    Description:
770    
771       John discovered a bug in the syntax of fucomip.
772       The opcodes FU?COMIP? have been changed to
773    
774           fu?comip? %st(i), %st
775    
776    ----------------------------------------------------------------------
777    Name: Matthias Blume (blume (at) tti - c (dot) org)
778    Date: 2004/10/20 15:06:00 CDT
779    Tag: blume-20041020-standalone-backtrace
780    Description:
781    
782    Added a mechanism for getting back-trace information from standalone
783    programs.  Here is how it works:
784    
785       1. The part of the program from which you want to get backtrace
786          information (usually the whole program) should be wrapped with
787          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
788          main program could be modified from something like
789    
790             fun main (pgm, args) = ...
791    
792         to
793    
794            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
795    
796       2. To be able to access BackTrace.monitor, you have to add
797          library $smlnj-tdp/plugins.cm to the .cm file that contains your
798          main function.
799    
800       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
801          CM might have created in the past for your project).
802    
803       4. Build the system using this command line:
804    
805             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
806                      myprog.cm MyProg.main myprog
807    
808          instead of the usual
809    
810             ml-build myprog.cm MyProg.main myprog
811    
812    I changed a library name:
813    
814       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
815    
816    New libraries:
817    
818       $smlnj-tdp/back-trace.cm
819          -- when loaded causes the back-trace plugin to be installed
820       $smlnj-tdp/coverage.cm
821          -- when loaded causes the coverage plugin to be installed
822    
823    ----------------------------------------------------------------------
824    Name: Matthias Blume (blume (at) tti - c (dot) org)
825    Date: 2004/10/18 16:45:00 CDT
826    Tag: blume-20041018-groupowner
827    Description:
828    
829    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
830    
831    Eliminated group owner specs from .cm files throughout the source tree.
832    
833    ----------------------------------------------------------------------
834    Name: Matthias Blume (blume (at) tti - c (dot) org)
835    Date: 2004/10/15 15:45:00 CDT
836    Tag: blume-20041015-coverage
837    Description:
838    
839    * Test coverage tool added!
840    * Further reorganization of tracing-, debugging-, and profiling support:
841    
842        - moved original BTImp -- now called BackTrace -- into a separate
843          library called $/trace-debug-profile.cm
844        - eliminated all mentions of BTrace from SMLofNJ.Internals
845        - only the instrumentation mechanism is now left in the compiler proper
846        - BackTrace module is a plugin which is NOT plugged in by default
847        - Coverage module is another such plugin
848    
849    To get the benefits of any of these plugin modules, the code in
850    question must be compiled with tdp instrumentation turned on.  This
851    can be done by setting SMLofNJ.Internals.TDP.mode to true.
852    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
853    
854    Plugins are selected at link time.  (Pre-compiled instrumented code
855    can be re-loaded with different plugins in effect.)  When an
856    instrumented module is linked, whatever plugins are at that time
857    enabled will come into effect for that module.
858    
859    To enable the back-trace plugin, load library $/trace-debug-profile.cm
860    and invoke BackTrace.install() (e.g., from the interactive prompt).
861    To enable the coverage plugin, load the same library and invoke
862    Coverage.install().
863    
864    Back-traces are generated automatically on uncaught exceptions and
865    when the code in question explicitly invokes BackTrace.trigger().
866    
867    Coverage (and execution frequency-) information must be queried
868    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
869    
870    ----------------------------------------------------------------------
871    Name: Matthias Blume (blume (at) tti - c (dot) org)
872    Date: 2004/10/14 17:40:00 CDT
873    Tag: blume-20041014-tdp-core
874    Description:
875    
876    Snapshot of a significant overhaul of how the trace/debug/profile support
877    is hooked into the system (specifically: Core and SMLofNJ.Internals).
878    
879    ----------------------------------------------------------------------
880    Name: Matthias Blume (blume (at) tti - c (dot) org)
881    Date: 2004/10/13 16:34:00 CDT
882    Tag: blume-20041013-tdp
883    Description:
884    
885    Some rationalization of names:
886    
887       structure BTrace -> structure TDPInstrument
888       etc.
889    
890    This is is preparation of using the original back-trace
891    instrumentation for other purposes.  "TDP" stands for
892    Trace/Debug/Profile.
893    
894    The control flag controlling whether instrumentation is on or off is now
895    registered under a different name, so instead of running sml as
896    
897     sml -Cinstrument.btrace-mode=true
898    
899    one has to say
900    
901     sml -Ctdp.instrument=true
902    
903    ----------------------------------------------------------------------
904    Name: Matthias Blume (blume (at) tti - c (dot) org)
905    Date: 2004/10/11 16:37:00 CDT
906    Tag: blume-20041011-regions
907    Description:
908    
909    Made some minor modifications to elabcore.sml to have source regions
910    be propagated more tightly -- resulting in better (i.e., smaller)
911    regions being reported in error- and debug messages.
912    
913    ----------------------------------------------------------------------
914    Name: Matthias Blume (blume (at) tti - c (dot) org)
915    Date: 2004/10/08 22:50:00 CDT
916    Tag: blume-20041008-cmkw
917    Description:
918    
919    Fixed handling of keywords in .cm files: After seeing "is" the lexer
920    treats subsequent occurrences of "group", "library", "source", "is",
921    "*", and "-" as ordinary identifiers rather than keywords.
922    
923    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
924    is supposed to accept a tool argument called "source", but this did
925    not work because of the clash with the keyword.
926    
927    ----------------------------------------------------------------------
928    Name: Matthias Blume (blume (at) tti - c (dot) org)
929    Date: 2004/10/07 16:00:00 CDT
930    Tag: blume-20041007-cleanup
931    Description:
932    
933    Assorted cleanup work:
934    
935      - got rid of intstrmap in favor of using the library's
936        hash table implementation
937      - threw out most of the pathnames stuff, as it was not used anyway
938      - simplified tokentable implementation
939      - fixed some minor spelling errors
940    
941    ----------------------------------------------------------------------
942    Name: Matthias Blume (blume (at) tti - c (dot) org)
943    Date: 2004/10/06 15:15:15 CDT
944    Tag: blume-20041006-handler
945    Description:
946    
947    Cleaned up the absyn to reflect the invariant that HANDLE always
948    carries a FNexp as part of the type definition.  This eliminates some
949    superfluous sanity checks at runtime down the road.
950    
951    Some minor cleanup of the btrace code.
952    
953    ----------------------------------------------------------------------
954    Name: Matthias Blume (blume (at) tti - c (dot) org)
955    Date: 2004/10/01 10:20:30 CDT
956    Tag: blume-20041001-slave
957    Description:
958    
959    Added hack to make slave mode work in the presence of the version
960    tool.  (Still, since the master does two passes over the code for
961    CMB.make, the release number gets bumped twice when slaves are
962    attached.  I don't know if this is worth fixing...)
963    
964    ----------------------------------------------------------------------
965    Name: Matthias Blume (blume (at) tti - c (dot) org)
966    Date: 2004/09/30 10:55:00 CDT
967    Tag: blume-20040930-version
968    Description:
969    
970    * Moved the "version" magic into its own little library under
971      src/system/smlnj/internal.  This avoids expensive reconstruction of
972      a stable src/compiler/core.cm.
973    
974    * At the same time, structure CompilerVersion is now known as
975      structure SMLNJVersion.
976    
977    * Arranged for the version tool to NOT kick in when rebuilding the system
978      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
979      Also, loading the versiontool does not work when rebuilding the system
980      because CM is not properly initialized at that time.
981    
982    ----------------------------------------------------------------------
983    Name: Matthias Blume (blume (at) tti - c (dot) org)
984    Date: 2004/09/29 14:00:00 CDT
985    Tag: blume-20040929-autoversion
986    Description:
987    
988    Implemented some CM magic to have
989        file src/compiler/TopLevel/main/version.sml
990    generated automagically.
991    The version is taken from two files: config/version and config/release.
992    The first is expected to contain a two-part version number such as 110.49.
993    The second should contain a single number, but it may be missing.
994    
995    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
996    time the version tool is loaded (which is the first time you say CMB.make),
997    then the tool will increment the value stored in config/release every
998    time CMB.make is invoked.
999    
1000    The binfile format is now insensitive to anything beyond the first
1001    two components of a version number, so bumping the release does not render
1002    binfiles incompatible.  Auto-bumping can be used to keep track of versions
1003    during development without invalidating existing binfiles.
1004    
1005    In any case, every CMB.make updates the date information in version.sml.
1006    (This is the date that is printed in the banner.)
1007    
1008    ----------------------------------------------------------------------
1009    Name: Matthias Blume (blume (at) tti - c (dot) org)
1010    Date: 2004/09/28 10:53:00 CDT
1011    Tag: blume-20040928-controls
1012    Description:
1013    
1014    Some cleanup of the controls code.
1015    
1016    ----------------------------------------------------------------------
1017    Name: Matthias Blume (blume (at) tti - c (dot) org)
1018    Date: 2004/09/27 22:08:00 CDT
1019    Tag: blume-20040927-controls
1020    Description:
1021    
1022    Added two pieces of functionality to the Controls interface:
1023    
1024    1.   val save'restore: 'a control -> unit -> unit
1025    
1026       grabs the current value of the control in stage 1 and restores it
1027       in stage 2.
1028    
1029    2.   val set' : 'a control * 'a -> unit -> unit
1030    
1031       stores the given value into the control in stage 2 (i.e., delayed)
1032       but does all error checking in stage 1.
1033       (This is for string controls that need to do parse their argument --
1034        something that might fail.  In some cases, notably in CM, one
1035        already knows the intended argument but wants to delay the actual
1036        assignment until a time when error recovery would be more difficult.)
1037    
1038    Changed the handling of controls in tool arguments to classes "sml" and
1039    "lazysml":
1040       - use Controls.save'restore as a more robust way of restoring the
1041         old value (in particular: without having to re-parse the string)
1042       - use controls to handle the "overload" keyword in the init group
1043         (I believe this change actually fixes a long-standing obscure bug.)
1044    
1045    ----------------------------------------------------------------------
1046    Name: Matthias Blume (blume (at) tti - c (dot) org)
1047    Date: 2004/09/27 17:00:00 CDT
1048    Tag: blume-20040927-lazysml
1049    Description:
1050    
1051    Added a new tool class called "lazysml" to CM's tool chest.  The only
1052    difference to "sml" is that compilation is done with Control.lazysml
1053    set to true.  A source of class "lazysml" is automatically recognized
1054    by a file name suffix of ".lml".
1055    
1056    In addition to the above feature, the original class "sml" now also
1057    supports a tool argument "lazy" which has the same effect.  As a
1058    result, the following three lines are equivalent:
1059    
1060        foo.sml : lazysml
1061        foo.sml : sml (lazy)
1062        foo.sml (lazy)
1063    
1064    The setting goes into effect both during parsing and during
1065    compilation.  The original setting is restored right after parsing and
1066    after compilation, respectively.
1067    
1068    In addition to all the above, there is also a general mechanism to set
1069    ANY of the "controls" that are available at the command line via
1070    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
1071    apply as well. (In fact, "lazy" is implemented as a special case of
1072    the general mechanism.)
1073    
1074    The .cm file syntax uses a new keyword tool argument called "with".
1075    There are several ways of indicating the desired settings:
1076    
1077        foo.sml (with:parser.quotations=true)
1078        foo.sml (with:(name:parser.quotations value:true))
1079        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
1080        foo.sml (with:(name1=value1 name2=value2 ...))
1081        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
1082    
1083        etc.
1084    
1085    Another possible abbreviation is to leave out the =v or value:v part
1086    if the name refers to a boolean control (in which case the value is
1087    taken to be true).  Thus, one could get lazy sml also by saying:
1088    
1089        foo.sml (with:parser.lazy-keyword=true)
1090        foo.sml (with:parser.lazy-keyword)
1091        foo.sml (with:(name:parser.lazy-keyword value:true))
1092        foo.sml (with:(name:parser.lazy-keyword))
1093    
1094    ----------------------------------------------------------------------
1095    Name: Matthias Blume (blume (at) tti - c (dot) org)
1096    Date: 2004/09/24 16:22:00 CDT
1097    Tag: blume-20040924-ppc-long-branch
1098    Description:
1099    
1100    Turned message about "emiting long form of branch" off by default.
1101    Added a control flag to turn it back on when desired.
1102    
1103    ----------------------------------------------------------------------
1104    Name: Matthias Blume (blume (at) tti - c (dot) org)
1105    Date: 2004/09/24 16:05:00 CDT
1106    Tag: blume-20040924-rounding
1107    Description:
1108    
1109    Applied patch for setting rounding modes under Mac OS X.  Thanks to
1110    Melissa O'Neill for providing the code!
1111    
1112    ----------------------------------------------------------------------
1113    Name: Matthias Blume (blume (at) tti - c (dot) org)
1114    Date: 2004/09/23 17:30:00 CDT
1115    Tag: blume-20040923-envvars
1116    Description:
1117    
1118    1. Changed definition of type ControlRegistry.registry_tree to
1119       include control_info (i.e., the name of the controlling environment
1120       variable).
1121    
1122    2. Added command-line flags -e and -E to print the names of environment
1123       variables that can be used to control internal settings.
1124       (This uses the new API mentioned in 1.)
1125    
1126    ----------------------------------------------------------------------
1127    Name: Matthias Blume (blume (at) tti - c (dot) org)
1128    Date: 2004/09/13 16:50:00 CDT
1129    Tag: Release_110_49
1130    Description:
1131    
1132    New working version (110.49).  NEW BOOTFILES!
1133    
1134    ----------------------------------------------------------------------
1135    Name: Matthias Blume
1136    Date: 2004/09/13 16:20:00 CDT
1137    Tag: blume-20040913-config-mlrisc
1138    Description:
1139    
1140    Put target "mlrisc" back into the default list.
1141    (There is no harm in having it, and some users have expressed their
1142    wish to have "mlrisc" included by default.)
1143    
1144    ----------------------------------------------------------------------
1145    Name: John Reppy
1146    Date: 2004/09/13
1147    Tag: jhr-20040913-signals
1148    Description:
1149    
1150    Fixed the signal masking code to properly nest mask/unmask operations
1151    on a per-signal basis.
1152    
1153    ----------------------------------------------------------------------
1154    Name: Matthias Blume (blume (at) tti - c (dot) org)
1155    Date: 2004/09/08 13:20:00 CDT
1156    Tag: blume-20040908-heap-magic
1157    Description:
1158    
1159    Bumped the heap macig number to 0x09082004 to account for the changed
1160    layout of the ML frame under MacOS X.
1161    
1162    ----------------------------------------------------------------------
1163    Name: Allen Leung (leunga (at) reservoir (dot) com)
1164    Date: 2004/09/03 11:26:00 EST
1165    Tag: leunga-20040903-cygwin-install
1166    Description:
1167    
1168       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
1169    The Cygwin runtime is turned on by setting the environment
1170    variable SMLNJ_CYGWIN_RUNTIME to 1.
1171    
1172    ----------------------------------------------------------------------
1173    Name: Matthias Blume (blume (at) tti - c (dot) org)
1174    Date: 2004/08/31 17:15:00 CDT
1175    Tag: blume-20040831-core
1176    Description:
1177    
1178    Added some exports to src/compiler/core.cm upon request by J. Joemann.
1179    
1180    ----------------------------------------------------------------------
1181    Name: Matthias Blume (blume (at) tti - c (dot) org)
1182    Date: 2004/08/30 17:55:00 CDT
1183    Tag: blume-20040830-installer
1184    Description:
1185    
1186    Upon request by Johannes Joemann:
1187    
1188    - improved ML code of installer to fall back to coping when renaming
1189      fails (i.e., when source and target are on different file systems);
1190      the code compiles but has yet to be tested in anger
1191    - removed mlrisc from list of default targets (config/targets)
1192    
1193    ----------------------------------------------------------------------
1194    Name: Matthias Blume (blume (at) tti - c (dot) org)
1195    Date: 2004/08/27 17:20:00 CDT
1196    Tag: blume-20040827-ptreql
1197    Description:
1198    
1199    Added ptreql primop to structure InlineT (upon request from Larry
1200    Paulson).
1201    
1202    ----------------------------------------------------------------------
1203    Name: Allen Leung (leunga (at) reservoir (dot) com)
1204    Date: 2004/08/15 21:21:00 EST
1205    Tag: leunga-110_48-udgraph
1206    Description:
1207    
1208    Another bug fix from Carl Hauser:
1209    
1210    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
1211    > 48c48
1212    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
1213    > e::L)
1214    > ---
1215    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
1216    > Without this, any deletion of an edge in an undirected graph does severe
1217    > violence to the graph.
1218    
1219    ----------------------------------------------------------------------
1220    Name: Allen Leung (leunga (at) reservoir (dot) com)
1221    Date: 2004/08/10 23:35:00 EST
1222    Tag: leunga-110_48-ppc
1223    Description:
1224    
1225       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
1226    
1227    ----------------------------------------------------------------------
1228    Name: Matthias Blume (blume (at) tti - c (dot) org)
1229    Date: 2004/08/10 12:00:00 CDT
1230    Tag: Release_110_48
1231    Description:
1232    
1233    New working version (110.48).  NEW BOOTFILES!
1234    
1235    ----------------------------------------------------------------------
1236    Name: Allen Leung (leunga (at) reservoir (dot) com)
1237    Date: 2004/08/09 12:21:00 EST
1238    Tag: leunga-110_47-dijsktra
1239    Description:
1240    
1241    Bug fix from Carl Hauser:
1242    
1243    single_source_shortest_paths in dijkstra.sml was observed to get wrong
1244    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
1245    
1246    The problem is that following the expression A.update(dist,s,Num.zero)
1247    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
1248    
1249    ----------------------------------------------------------------------
1250    Name: Matthias Blume (blume (at) tti - c (dot) org)
1251    Date: 2004/08/06 18:10:00 CDT
1252    Tag: blume-20040806-cmdline
1253    Description:
1254    
1255    Fiddled with handling of command-line options:
1256    
1257      * sml now quits after processing the command line
1258        if -H, -S, -h<n>, or -s<n> appears as the last
1259        command-line argument
1260      * a new option -q terminates the session when encountered on
1261        the command line; subsequent arguments will be ignored
1262      * bug fixes: short (erroneous) arguments are no longer ignored
1263        completely
1264    
1265    ----------------------------------------------------------------------
1266    Name: Allen Leung (leunga (at) reservoir (dot) com)
1267    Date: 2004/08/04 18:17:00 EST
1268    Tag: leunga-110_47-ppc-ibm-asm
1269    Description:
1270    
1271      - Added minimal IBM assembly syntax support for PowerPC.
1272    
1273      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
1274        been altered in the runtime.  We need an automatic way to keep the file
1275        in sync.
1276    
1277    ----------------------------------------------------------------------
1278    Name: Matthias Blume (blume (at) tti - c (dot) org)
1279    Date: 2004/08/04 14:00:00 CDT
1280    Tag: Release_110_47
1281    Description:
1282    
1283    New working version (110.47).  NEW BOOTFILES!
1284    
1285    ----------------------------------------------------------------------
1286    Name: Matthias Blume (blume (at) tti - c (dot) org)
1287    Date: 2004/08/03 14:25:00 CDT
1288    Tag: blume-20040803-callingconv
1289    Description:
1290    
1291    Added low-level support for choosing C calling conventions by
1292    twiddling the type of rawccall.  (See
1293    src/compiler/Semant/types/cproto.sml for details.)
1294    
1295    ----------------------------------------------------------------------
1296    Name: Matthias Blume (blume (at) tti - c (dot) org)
1297    Date: 2004/08/02 15:55:00 CDT
1298    Tag: blume-20040802-backout
1299    Description:
1300    
1301    Backed out of change to win32-filesys.c.  The earlier patch to
1302    get_file_time caused CM to produce files with the wrong time stamp.
1303    
1304    ----------------------------------------------------------------------
1305    Name: Matthias Blume (blume (at) tti - c (dot) org)
1306    Date: 2004/08/02 14:45:00 CDT
1307    Tag: blume-20040802-nlffi-win32
1308    Description:
1309    
1310    Added NLFFI support for Win32, adapted from a patch provided by David
1311    Hansel.  This is currently completely untested.  Also, the issue
1312    concerning stdcall vs. ccall is still unresolved.
1313    
1314    ----------------------------------------------------------------------
1315    Name: Matthias Blume (blume (at) tti - c (dot) org)
1316    Date: 2004/07/30 17:55:00 CDT
1317    Tag: blume-20040730-various
1318    Description:
1319    
1320    Gearing up towards 110.47...
1321    
1322    - various minor bugfixes to ml-nlffigen
1323    - a beginning of a manual for nlffi
1324    
1325    - eliminated 'export name=value' in config/install.sh as this does
1326      not work with certain versions of /bin/sh
1327      (Thanks to David King at Motorola for catching this.)
1328    
1329    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
1330      - added a test for tm==NULL to gmtime.c and localtime.c
1331      - applied patch for incorrect GetFileTime under win32
1332      - toSeconds -> toMilliseconds in Win32/win32-process.sml
1333    
1334    ----------------------------------------------------------------------
1335    Name: Matthias Blume (blume (at) tti - c (dot) org)
1336    Date: 2004/07/21 18:20:00 CDT
1337    Tag: blume-20040721-nlffigen
1338    Description:
1339    
1340    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
1341      for a typedef to an incomplete type, but leave out the "typ" member.
1342      (This is just for consistency.)
1343    - Started to produce what is supposed to become better (i.e., comprehensive)
1344      documentation of what ml-nlffigen does and produces.
1345    
1346    ----------------------------------------------------------------------
1347    Name: Matthias Blume (blume (at) tti - c (dot) org)
1348    Date: 2004/07/14 16:25:00 CDT
1349    Tag: blume-20040714-union
1350    Description:
1351    
1352    Added C_UNION to c-calls/c-types.sml and updated the machinery
1353    (ml-nlffigen, cproto.sml) that conveys C function interface
1354    information to the code generator.
1355    
1356    However, the actual architecture-specific implementation of function
1357    arguments and results that are C unions is still not implemented.
1358    
1359    ----------------------------------------------------------------------
1360    Name: Allen Leung (leunga (at) reservoir (dot) com)
1361    Date: 2004/07/14 14:38:00 EST
1362    Tag: leunga-110_46_1-ppc-lwzu
1363    Description:
1364    
1365        Added these instructions to the PowerPC architecture:
1366        LBZU(X), LHZU(X), LWZU(X),
1367        STWU(X), STFDU, STFSU
1368    
1369        etc...
1370    
1371        Note: I haven't added their instruction encoding into the description.
1372    
1373    ----------------------------------------------------------------------
1374    Name: Allen Leung (leunga (at) reservoir (dot) com)
1375    Date: 2004/07/13 15:04:00 EST
1376    Tag: leunga-110_46_1-ppc-lwarx
1377    Description:
1378    
1379       Added the two instructions LWARX and STWCX to the PowerPC
1380    instruction set.
1381    
1382       A (untested) rewrite of loop-structure.sml.  The old version
1383    is completely broken.
1384    
1385    ----------------------------------------------------------------------
1386    Name: Matthias Blume (blume (at) tti - c (dot) org)
1387    Date: 2004/07/13 13:50:00 CDT
1388    Tag: blume-20040713-nlffi
1389    Description:
1390    
1391    - use paramAlloc to report c-calls with too many arguments
1392      (for PPC version where parameter area is pre-allocated)
1393    - added ccall_maxargspace to machspec (to implement the above)
1394    - made "make" commend in CM's "make" tool configurable
1395    - added option (default: on) for passing the name of the SML/NJ's "bin"
1396      directory to "make"; the call looks like this:
1397    
1398         make <options> SMLNJ_BINDIR=<dir> <target>
1399    
1400      This can be used by the Makefile to, e.g., pick the "right" version
1401      of ml-nlffigen.
1402    - minor code tweaks
1403    
1404    ----------------------------------------------------------------------
1405    Name: Matthias Blume (blume (at) tti - c (dot) org)
1406    Date: 2004/07/12 22:50:00 CDT
1407    Tag: blume-110_46_1-macosx-nlffi
1408    Description:
1409    
1410    NLFFI under Mac OS X now working (sort of).  This is largely untested,
1411    though.
1412    
1413    Note:  1. You have to make a new, clean build of the runtime system.
1414           2. There are new BOOTFILES, you have to use them!
1415              (Doing the bootstrap process yourself would be *very* painful!
1416               If you absolutely have to do it, build the system under
1417               a different architecture and then cross-compile.)
1418    
1419    Version bumped to 110.46.1 to account for runtime data format changes.
1420    
1421    ----------------------------------------------------------------------
1422    Name: Matthias Blume (blume (at) tti - c (dot) org)
1423    Date: 2004/06/18 14:30:00 CDT
1424    Tag: blume-20040618-unix
1425    Description:
1426    
1427    Changed the implementation of structure Unix so that the same stream
1428    is returned every time one of the {text,bin}{In,Out}streamOf functions
1429    is invoked on the same proc.  This is not what the spec currently
1430    says -- although IMO it arguably should.  (See discussion below.)
1431    
1432    ----------------------------------------------------------------------
1433    Name: Matthias Blume (blume (at) tti - c (dot) org)
1434    Date: 2004/06/17 18:15:00 CDT
1435    Tag: Release_110_46
1436    Description:
1437    
1438    New working version (110.46).  NEW BOOTFILES!
1439    
1440    ----------------------------------------------------------------------
1441    Name: Matthias Blume (blume (at) tti - c (dot) org)
1442    Date: 2004/06/17 17:20:00 CDT
1443    Tag: blume-20040617-timer-unix
1444    Description:
1445    
1446    Changed the interface of structures Timer and Unix to match the most
1447    recent Basis spec.
1448    
1449    In the case of Unix there still seems to be an open/weird issue:
1450    
1451       The {text,bin}{In,Out}streamOf functions are supposed to create
1452       fresh streams whenever they are called -- as opposed to have them
1453       return the same stream every time.  This design is supposed to
1454       prevent space leaks caused by proc values hanging on to streams.
1455    
1456       The reap function, on the other hand, is supposed to close the
1457       streams.  This cannot be done without having a handle on the
1458       stream in proc after all...
1459    
1460    I took the liberty to implement the following stopgap solution:
1461    
1462      The proc value hangs on to the most recently created stream(s).
1463      Reap closes those.  If either or both of the two streams hadn't
1464      been created at all yet, then reap will close the corresponding
1465      file descriptors directly.
1466    
1467    PS: I don't understand the original space leak argument anymore.  If
1468    a proc hangs on to the imperative stream, then I/O operations on those
1469    will advance the state of the cached stream and avoid the space leak.
1470    
1471    ----------------------------------------------------------------------
1472    Name: Matthias Blume (blume (at) tti - c (dot) org)
1473    Date: 2004/05/28 16:45:00 CDT
1474    Tag: blume-20040528-basis
1475    Description:
1476    
1477    Added signature PACK_REAL and exported functor PrimIO.
1478    
1479    ----------------------------------------------------------------------
1480    Name: Matthias Blume (blume (at) tti - c (dot) org)
1481    Date: 2004/05/25 16:00:00 CDT
1482    Tag: blume-20040525-group-owner
1483    Description:
1484    
1485    CM now ignores (but still accepts) the "owner" information in group
1486    descriptions.  The owner of a group is its next enclosing
1487    library. Each group must have a unique owner.  (There is a virtual
1488    "toplevel" library that owns groups which are not nested within a real
1489    library.)  Previously, each group had to explicitly declare its owner,
1490    and CM would check that such a declaration is correct.  The new scheme
1491    is to have CM check that for each group there is precisely one owning
1492    library.
1493    
1494    The advantage of the new scheme is that the programmer no longer needs
1495    to maintain the somewhat annoying owner information.  The downside is
1496    that CM cannot enforce the ownership rule across multiple runs of
1497    CM.make.  Fortunately, enclosing the same group in two different
1498    libraries A and B which are not part of the same program does not
1499    cause real problems.
1500    
1501    ----------------------------------------------------------------------
1502    Name: Matthias Blume (blume (at) tti - c (dot) org)
1503    Date: 2004/05/20 16:00:00 CDT
1504    Tag: blume-20040520-win32
1505    Description:
1506    
1507    Made the win32 version work again.  (Strangely, a misplaced comma had
1508    slipped into win32-process.c which prevented the runtime from being
1509    compiled correctly.)
1510    
1511    Also, included a minor addition to ml-build.bat analogous to what was
1512    done in blume-20040519-ml-build.
1513    
1514    ----------------------------------------------------------------------
1515    Name: Matthias Blume (blume (at) tti - c (dot) org)
1516    Date: 2004/05/19 22:10:00 CDT
1517    Tag: blume-20040519-ml-build
1518    Description:
1519    
1520    Arranged for ml-build to clean up after itself a little bit better.
1521    The script generates a temporary SML source file and compiles it using
1522    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
1523    gets rid of those at the end, so they don't accumulate under .cm.
1524    
1525    This required a minor change to install.sh because the name of the
1526    metadata directory (default: .cm) is actually configurable at
1527    installation time.
1528    
1529    ----------------------------------------------------------------------
1530    Name: Matthias Blume (blume (at) tti - c (dot) org)
1531    Date: 2004/05/18 15:50:00 CDT
1532    Tag: blume-20040518-mkreader
1533    Description:
1534    
1535    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
1536    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
1537    
1538    ----------------------------------------------------------------------
1539    Name: Matthias Blume (blume (at) tti - c (dot) org)
1540    Date: 2004/05/11 14:35:00 CDT
1541    Tag: blume-20040511-win32sock
1542    Description:
1543    
1544    Added previously missing support for many socket-related functions
1545    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
1546    for the voluminous patch!
1547    
1548    (I have not tested this patch under win32 yet.)
1549    
1550    Here is David's e-mail:
1551    
1552    Hi,
1553    
1554    Attached to this email you find a diff against sml/nj 110.45
1555    that will enable socket support under Windows.
1556    
1557    To apply the patch (using unix or cygwin)
1558    1) gunzip runtime.diff.gz
1559    2) "cd" into "src/runtime" in the source tree of a fresh
1560       110.45 installation.
1561    3) patch -p 1 < [your/path/to]runtime.diff
1562    
1563    The code compiles fine but has NOT yet been extensively tested.
1564    I only ran a few tests for basic socket client functionality
1565    (which worked fine).  Especially the functions that use ioctl
1566    are not tested at all and might not work (see below).
1567    
1568    I implemented this since we want to move to a newer version of sml/nj
1569    but need socket support in order to use it.  This is the first time I
1570    even had a look at the sml/nj source,  so please review my changes
1571    before making this part of the distribution!  Here are a few issues
1572    that I think might be better for someone to solve who is more
1573    familiar with the sml/nj source (and socket programming):
1574    
1575    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
1576      exception since I could not figure out what the windows equivalent
1577      of these functions is
1578    
1579    - In sockets-osdep.h there are a some #include statements that are
1580      only used in a few files that include sockets-osdep.h
1581    
1582    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
1583      does not process its return value since I don't know how to
1584      report an error upwards.
1585    
1586    - It would probably be good to have a call to WSACleanup() when
1587      the library is unloaded (if there is such a possibility).
1588      Otherwise I think Windows will take care of this automatically
1589      when the process finishes.
1590    
1591    - I used ioctlsocket() as a replacement for ioctl() but I have
1592      no idea if that is actually the proper replacement on Windows.
1593    
1594    - All these issues are marked in the code by "FIXME" comments.
1595    
1596    We use sml/nj extensively in our products and are quite happy
1597    with it.  I hope this contribution will help you.
1598    
1599    Keep up the good work!
1600    
1601    David
1602    
1603    ----------------------------------------------------------------------
1604    Name: Matthias Blume (blume (at) tti - c (dot) org)
1605    Date: 2004/05/11 14:20:00 CDT
1606    Tag: blume-20040511-installml
1607    Description:
1608    
1609    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
1610    the patch.)
1611    
1612    ----------------------------------------------------------------------
1613    Name: Matthias Blume (blume (at) tti - c (dot) org)
1614    Date: 2004/05/11 14:05:00 CDT
1615    Tag: blume-20040511-nlffi-netbsd
1616    Description:
1617    
1618    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
1619    the patch.)
1620    
1621    ----------------------------------------------------------------------
1622    Name: Matthias Blume (blume (at) tti - c (dot) org)
1623    Date: 2004/05/11 12:05:00 CDT
1624    Tag: blume-20040511-exports
1625    Description:
1626    
1627    As per request by Adam Chlipala <adam@hcoop.net>, extended various
1628    export lists in compiler-related .cm-files.
1629    
1630    ----------------------------------------------------------------------
1631    Name: Matthias Blume (blume (at) tti - c (dot) org)
1632    Date: 2004/05/11 11:35:00 CDT
1633    Tag: blume-20040511-allsource
1634    Description:
1635    
1636    The installer now honors the "src-smlnj" target again, although its meaning
1637    has changed from "all sources required for the compiler" to "all sources
1638    the installer knows about".  In other words, if you enable "src-smlnj"
1639    in the "targets" file, then the installer will pull in sources for
1640    everything.  (Notice that this refers to source code only.  Compiled
1641    code is still only installed for modules that were requested explicitly
1642    or which are required for other modules that were requested explicitly.)
1643    
1644    ----------------------------------------------------------------------
1645    Name: Matthias Blume (blume (at) tti - c (dot) org)
1646    Date: 2004/04/23 17:40:00 CDT
1647    Tag: blume-20040423-ieee-scan
1648    Description:
1649    
1650    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
1651    in the exponent calculation we get INF or ZERO (depending on the mantissa
1652    and the sign of the exponent).
1653    
1654    ----------------------------------------------------------------------
1655    Name: Matthias Blume (blume (at) tti - c (dot) org)
1656    Date: 2004/04/23 10:40:00 CDT
1657    Tag: blume-20040423-ml-build
1658    Description:
1659    
1660    The ml-build script now terminates with a non-0 status when something
1661    goes wrong.
1662    
1663    ----------------------------------------------------------------------
1664    Name: Matthias Blume (blume (at) tti - c (dot) org)
1665    Date: 2004/04/22 16:35:00 CDT
1666    Tag: blume-20040422-Option
1667    Description:
1668    
1669    Made exception Option to be the same as exception Option.Option
1670    (as it should be).
1671    
1672    ----------------------------------------------------------------------
1673    Name: Allen Leung (leunga (at) reservoir (dot) com)
1674    Date: 2004/03/19 14:40:00 EST
1675    Tag: leunga-20040319-cygwin-nlffi
1676    Description:
1677    
1678    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
1679    of SML/NJ.  The problem is that
1680    
1681       lib = dlopen(NULL, ...)
1682       f   = dlsym(lib, "malloc");
1683    
1684    does not work on Windows unless we explicitly export symbols
1685    such as 'malloc' during linking.  We fixed this by explicitly
1686    exporting the required symbols with the magic gcc incantation:
1687    
1688        -Wl,--export-all cygwin.def
1689    
1690    where cygwin.def is a file containing all the symbols that
1691    we wish to export.
1692    
1693    I suspect this is a Windows problem and we'll have to
1694    do the same (somehow with windows compilers) when
1695    we build the native win32 version with the system
1696    calls LoadLibrary/GetProcAddress.
1697    
1698    ----------------------------------------------------------------------
1699    Name: Matthias Blume (blume (at) tti - c (dot) org)
1700    Date: 2004/03/04 16:35:00 CST
1701    Tag: blume-20040304-intinf-fmt
1702    Description:
1703    
1704    Fixed problem with IntInf.fmt (sign would show up on the right instead
1705    of on the left for BIN, OCT, and HEX).
1706    
1707    ----------------------------------------------------------------------
1708    Name: Matthias Blume (blume (at) tti - c (dot) org)
1709    Date: 2004/03/04 11:25:00 CST
1710    Tag: blume-20040304-symlinks
1711    Description:
1712    
1713    Fixed problem with installer script (unix only) where bin/ml-yacc and
1714    friends pointed (via symlinks) to absolute locations instead of just
1715    .run-sml.  This was reported by Vesa A Norrman.
1716    
1717    ----------------------------------------------------------------------
1718    Name: Matthias Blume (blume (at) tti - c (dot) org)
1719    Date: 2004/02/13 14:50:00 CST
1720    Tag: Release_110_45
1721    Description:
1722    
1723    New working version (110.45). New bootfiles.
1724    
1725    ----------------------------------------------------------------------
1726    Name: Matthias Blume (blume (at) tti - c (dot) org)
1727    Date: 2004/01/26 15:15:15 CST
1728    Tag: blume-20040126-toplevel
1729    Description:
1730    
1731    Improved handling of exceptions at the interactive toplevel.
1732    
1733    ----------------------------------------------------------------------
1734    Name: Matthias Blume (blume (at) tti - c (dot) org)
1735    Date: 2004/01/26 11:25:00
1736    Tag: blume-20040126-app
1737    Description:
1738    
1739    Type of top-level "app" corrected.
1740    Added code for setting vp_limitPtrMask to Win32-specific runtime.
1741    
1742    ----------------------------------------------------------------------
1743    Name: Matthias Blume (blume (at) tti - c (dot) org)
1744    Date: 2003/11/18 17:10 CST
1745    Tag: blume-20031118-basis-fiddle
1746    Description:
1747    
1748    - changed Timer interface to what might become the spec
1749    - POSIX_FLAGS -> BIT_FLAGS according to spec
1750    - some other minor discrepancies wrt. spec eliminated
1751    
1752    ----------------------------------------------------------------------
1753    Name: Matthias Blume (blume (at) tti - c (dot) org)
1754    Date: 2003/11/06 12:00:00 CST
1755    Tag: Release_110_44
1756    Description:
1757    
1758    New working version (110.44). New bootfiles.
1759    
1760    ----------------------------------------------------------------------
1761    Name: Matthias Blume (blume (at) tti - c (dot) org)
1762    Date: 2003/11/04 11:50:00 CST
1763    Tag: blume-20031104-move-libraries
1764    Description:
1765    
1766    Eliminated the "dont_move_libraries" directive in config/targets.
1767    (The mechanism was broken and could not be fixed easily.  Moreover,
1768    there does not seem to be any reason not to move all libraries into
1769    lib during installation.  I originally implemented this directive as a
1770    backward-compatibility feature when I first introduced the new CM.
1771    Now that things have been stable for a long time and going back to the
1772    old CM is not an option, there is no reason to keep it around.)
1773    
1774    ----------------------------------------------------------------------
1775    Name: Matthias Blume (blume (at) tti - c (dot) org)
1776    Date: 2003/11/03 16:00:00 CST
1777    Tag: blume-20031103-installdir
1778    Description:
1779    
1780    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
1781    Richards for pointing out the problem and providing the solution.)
1782    
1783    ----------------------------------------------------------------------
1784    Name: Matthias Blume (blume (at) tti - c (dot) org)
1785    Date: 2003/10/01 17:05:00 CDT
1786    Tag: blume-20031001-lal-mlrisc
1787    Description:
1788    
1789    MLRISC bug fix from Lal.
1790    
1791    ----------------------------------------------------------------------
1792    Name: Matthias Blume (blume (at) tti - c (dot) org)
1793    Date: 2003/09/30 16:10:00 CDT
1794    Tag: blume-20030930-primio-bat
1795    Description:
1796    
1797    1. Added openVector, nullRd, and nullWr to PRIM_IO.
1798    2. Improved .bat files (for Win32 port) to make things work under Win95.
1799       (thanks to Aaron S. Hawley for this one)
1800    
1801    ----------------------------------------------------------------------
1802    Name: Matthias Blume (blume (at) tti - c (dot) org)
1803    Date: 2003/09/26 16:05:00 CDT
1804    Tag: blume-20030926-wrappriv
1805    Description:
1806    
1807    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
1808    
1809    ----------------------------------------------------------------------
1810    Name: Matthias Blume (blume (at) tti - c (dot) org)
1811    Date: 2003/09/26 15:00:00 CDT
1812    Tag: blume-20030926-110_43_3
1813    Description:
1814    
1815    - additional cleanup
1816    - version number bump, NEW BOOTFILES
1817    
1818    ----------------------------------------------------------------------
1819    Name: Matthias Blume (blume (at) tti - c (dot) org)
1820    Date: 2003/09/26 12:00:00 CDT
1821    Tag: blume-20030926-ppautoload
1822    Description:
1823    
1824    I modified the read-eval-print loop so that the autoloader gets
1825    invoked whenever the prettyprinter tries to look up a symbol that
1826    is not currently defined in the toplevel environment but which
1827    appears in CM's autoload registry.  As a result, we see far fewer of
1828    those ?.Foo.Bar.xxx names in the prettyprinter's output.
1829    
1830    In addition to this I tried to clean up some pieces of the Basis
1831    implementation (e.g., Socket, Word8Array) in order to prevent other
1832    instances of these ?.Foo.Bar.xxx names from being printed.
1833    
1834    The mechanism that picks names for types still needs some work, though.
1835    (Right now it seems that if there is a type A.t which is defined to
1836    be B.u, but B is unavailable at toplevel, then A.t gets printed as
1837    "?.B.u" although the perhaps more sensible solution would be to use
1838    "A.t" in this case.  In other words, the prettyprinter should follow
1839    a chain of DEFtycs not farther than there are corresponding toplevel
1840    names in the current environment.)
1841    
1842    ----------------------------------------------------------------------
1843    Name: Matthias Blume (blume (at) tti - c (dot) org)
1844    Date: 2003/09/24 16:31:00 CDT
1845    Tag: blume-20030924-installer
1846    Description:
1847    
1848    Another installer tweak:  All the ML code for the installer is now
1849    compiled during CMB.make and put into a little library called
1850    $smlnj/installer.cm.  The installation then simply invokes
1851    
1852       sml -m $smlnj/installer.cm
1853    
1854    and everything happens automagically.
1855    
1856    Win32:  ML code senses value of environment variable SMLNJ_HOME.
1857    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
1858            and BINDIR.
1859    
1860    The new scheme guarantees that the ML code responsible for the installation
1861    is in sync with the APIs of the main system.  Also, the installer is
1862    somewhat faster because the installer script is precompiled.
1863    
1864    ----------------------------------------------------------------------
1865    Name: Matthias Blume (blume (at) tti - c (dot) org)
1866    Date: 2003/09/24 15:35:00 CDT
1867    Tag: blume-20030924-synsock
1868    Description:
1869    
1870    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
1871    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
1872    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
1873    implementations of non-blocking operations from CML's Socket
1874    structure.
1875    
1876    ----------------------------------------------------------------------
1877    Name: Matthias Blume (blume (at) tti - c (dot) org)
1878    Date: 2003/09/24 15:10:05 CDT
1879    Tag: blume-20030924-sockets
1880    Description:
1881    
1882    1. Fixed SOCKET API and implementation to match Basis spec.
1883       This required changing the internal representation of sockets to one
1884       that remembers (for each socket file descriptor) whether it is currently
1885       blocking or non-blocking.  This state is maintained lazily (i.e., a system
1886       call is made only if the state actually needs to change).
1887    
1888    2. OS-specific details of sockets were moved into separate files, thus
1889       making it possible to unify the bulk of the socket implementations
1890       between Unix and Win32.
1891    
1892    3. CML's socket API changed accordingly.
1893       (Note that we need to remove non-blocking functions from this API
1894       since they are redundant in the case of CML!)
1895    
1896    4. CML's socket implementation now makes use of non-blocking functions
1897       provided by Basis, thus removing all OS-dependent code from this part
1898       of CML.
1899    
1900    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
1901    
1902    ----------------------------------------------------------------------
1903    Name: Matthias Blume (blume (at) tti - c (dot) org)
1904    Date: 2003/09/22 12:10:00 CDT
1905    Tag: blume-20030922-110_43_2
1906    Description:
1907    
1908    Made a new interim version and bootfiles for developer's bootstrapping
1909    convenience.
1910    
1911       110.43.2 -- NEW BOOTFILES
1912    
1913    ----------------------------------------------------------------------
1914    Name: Matthias Blume (blume (at) tti - c (dot) org)
1915    Date: 2003/09/19 15:55:00 CDT
1916    Tag: blume-20030919-cmdir
1917    Description:
1918    
1919    1. new-install.sh -> install.sh
1920    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
1921    3. tweaked installer so that another name instead of .cm can be chosen
1922       at install time (by setting the CM_DIR_ARC environment variable
1923       during installation); once installation is complete, the name is
1924       fixed
1925    
1926    ----------------------------------------------------------------------
1927    Name: Matthias Blume (blume (at) tti - c (dot) org)
1928    Date: 2003/09/18 16:00:00 CDT
1929    Tag: blume-20030918-110_43_1
1930    Description:
1931    
1932    Made a new interim version and bootfiles for developer's bootstrapping
1933    convenience.
1934    
1935       110.43.1 -- NEW BOOTFILES
1936    
1937    ----------------------------------------------------------------------
1938    Name: Matthias Blume (blume (at) tti - c (dot) org)
1939    Date: 2003/09/18 15:20:00 CDT
1940    Tag: blume-20030918-misc
1941    Description:
1942    
1943    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
1944       this seems to be controversial at the moment) and used those in
1945       Posix.ProcEnv.times.
1946    
1947    2. Added Time.{from,to}Nanoseconds to Time.
1948    
1949    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
1950       For example, fromLargeInt never needs to look at more than 3 "big
1951       digits" to get its 53 bits of precision.
1952    
1953    ----------------------------------------------------------------------
1954    Name: Matthias Blume (blume (at) tti - c (dot) org)
1955    Date: 2003/09/17 16:30:00 CDT
1956    Tag: blume-20030917-real32-slices
1957    Description:
1958    
1959    Added an entry to the primitive environment
1960    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
1961    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
1962    
1963    Removed some of the "magic" constants in real64.sml and replaced them
1964    with code that generates these values from their corresponding
1965    integer counterparts.
1966    
1967    Made all(?) the slice-related changes to the Basis and made everything
1968    compile again...
1969    
1970    ----------------------------------------------------------------------
1971    Name: Matthias Blume (blume (at) tti - c (dot) org)
1972    Date: 2003/09/15 17:45:00 CDT
1973    Tag: blume-20030915-rbase
1974    Description:
1975    
1976    Fixed bug in Real.fromLargeInt.
1977    
1978    ----------------------------------------------------------------------
1979    Name: Matthias Blume (blume (at) tti - c (dot) org)
1980    Date: 2003/09/13 18:11:00 CDT
1981    Tag: blume-20030913-libinstall
1982    Description:
1983    
1984    Minor bugfix in config/libinstall (set anchor with path to
1985    standalone tool after installing it, otherwise libraries that
1986    need ml-lex or ml-yacc won't compile the first time the installer
1987    runs).
1988    
1989    ----------------------------------------------------------------------
1990    Name: Matthias Blume (blume (at) tti - c (dot) org)
1991    Date: 2003/09/12 11:45:00 CDT
1992    Tag: blume-20030912-various
1993    Description:
1994    
1995     - fixed bug in Real.toLargeInt
1996     - fixed bug in Posix.ProcEnv.times
1997     - changed inputLine functions to return an option
1998     - minor installer improvements / bugfixes
1999     - changed default @SMLalloc parameter for x86/celeron to 64k
2000    
2001    ----------------------------------------------------------------------
2002    Name: Matthias Blume (blume (at) tti - c (dot) org)
2003    Date: 2003/09/09 22:00:00 CDT
2004    Tag: Release_110_43
2005    Description:
2006    
2007        New working release 110.43.  New bootfiles.
2008    
2009    ----------------------------------------------------------------------
2010    Name: Matthias Blume (blume (at) tti - c (dot) org)
2011    Date: 2003/09/09 19:20:00 CDT
2012    Tag: blume-20030909-installer
2013    Description:
2014    
2015    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
2016    Modified config/install.bat to take advantage of it.  Also modified
2017    config/install.sh (and called it config/new-install.sh) to take advantage
2018    of it on Unix systems.  (The SML code is (supposed to be) platform-
2019    independent.)
2020    
2021    The installer can now install everything under Win32
2022    as well as under *nix as long as it compiles.
2023    
2024    Other changes:
2025    
2026      - made CML compile again under Win32
2027      - made eXene compile under Win32 (by providing a fake structure UnixSock
2028        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
2029      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
2030        same as type int;  under Win32 it isn't
2031      - fixed some slice-related problems in the win32-specific parts of CML
2032      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
2033        (under Win32, the volume name is case-insensitive, and the
2034        OS.Path code compares volume names for equality)
2035    
2036    ----------------------------------------------------------------------
2037    Name: Matthias Blume (blume (at) tti - c (dot) org)
2038    Date: 2003/09/08 11:55:00 CDT
2039    Tag: blume-20030908-fullpath
2040    Description:
2041    
2042    Made Win32 version of OS.FileSys.fullPath return current directory
2043    when given an empty string.  This is what the spec says, and incidentally,
2044    CM depends on it.  (CM otherwise goes into an infinite loop in certain
2045    cases when presented with the name of a non-existing .cm file.)
2046    
2047    ----------------------------------------------------------------------
2048    Name: Matthias Blume (blume (at) tti - c (dot) org)
2049    Date: 2003/09/04 16:30:00 CDT
2050    Tag: blume-20030905-slices-etc
2051    Description:
2052    
2053      1. Changed interface to vectors and arrays in Basis to match
2054         (draft) Basis spec.
2055      2. Added signatures and implementations of slices according to
2056         Basis spec.
2057      3. Edited source code throughout the system to make it compile again
2058         under 1. and 2.  (In some cases code had to be added to have it
2059         match the new signatures.)
2060      4. MLRISC should be backward-compatible: the copies of the originals
2061         of files that needed to change under 3. were retained, the .cm files
2062         check the compiler version number and use old versions when
2063         appropriate.
2064      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
2065         dirstream -> string option (in accordance with Basis spec).
2066      6. When generating code that counts lines, ml-lex used function
2067         CharVector.foldli, taking advantage of its old interface.
2068         This has been replaced with the corresponding code from
2069         CharVectorSlice.  (html-lex must be re-lexed!)
2070      7. BitArray in smlnj-lib/Util has been extended/modified to match the
2071         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
2072      8. Removed temporary additions (fromInternal, toInternal) from the
2073         (now obsolete) IntInf in smlnj-lib/Util.
2074      9. Cleaned up structure Byte.
2075     10. Added localOffset, scan, and fromString to Date (according to spec).
2076         Cleaned/corrected implementation of Date.
2077         (Still need to check for correctness; implement better canonicalizeDate.)
2078     11. Added "scan" to signature IEEE_REAL.
2079     12. Some improvements to IntInf [in particular: efficiency-hack for
2080         mod and rem when second operand is 2 (for parity checks).]
2081     13. Changed representation of type Time.time, using a single IntInf.int
2082         value counting microseconds.  This considerably simplified the
2083         implementation of structure Time.  We now support negative time
2084         values; scan and fromString handle signs.
2085     14. Functor PrimIO now takes two additional arguments (VectorSlice and
2086         ArraySlice).
2087    
2088    ----------------------------------------------------------------------
2089    Name: Matthias Blume (blume (at) tti - c (dot) org)
2090    Date: 2003/08/28 17:00:00 CDT
2091    Tag: blume-20030828-intinf
2092    Description:
2093    
2094    This is a major update which comes with a version number bump
2095    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
2096    and an implementation of IntInf in the Basis.
2097    
2098    There are a fairly large number of related changes and updates throughout
2099    the system:
2100    
2101    Basis:
2102            - Implemented IntInf.
2103            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
2104            - Added some missing Real64 operations, most notably Real.toLargeInt.
2105            - Added FixedInt as a synonym for Int32.
2106    
2107    compiler:
2108            * Added support for a built-in intinf type.
2109              - literals
2110              - pattern matching
2111              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
2112              - overloading on literals and operations
2113    
2114            This required adding a primitive type intinf, some additional
2115            primops, and implementations for several non-trivial intinf
2116            operations in Core.  (The intinf type is completely abstract
2117            to the compiler; all operations get delegated back to the Core.)
2118    
2119            * Intinf equality is handled by polyequal.  However, the compiler
2120            does not print its usual warning in this case (since polyequal
2121            is the right thing to do there).
2122    
2123            * Improved the organization of structure InlineT.
2124    
2125            * A word about conversion primops:
2126            If conversions involving intinf do not cancel out during
2127            CPS contract, then the compiler must insert calls to Core functions.
2128            Since all core access must be resolved already during the FLINT
2129            translate phase, it would be too late a the time of CPS contract
2130            to add new Core calls.  For this reason, conversion primops
2131            for intinf carry two arguments:  1. the numeric argument that
2132            they are supposed to convert, and 2. the Core function that
2133            can help with this conversion if necessary.  If CPS contract
2134            eliminates a primop, then the associated Core function becomes
2135            dead and goes away.  Intinf conversion primops that do not get
2136            eliminated by CPS contract get rewritten into calls of their
2137            core functions by a separate, new phase.
2138    
2139    interactive system:
2140            - Control.Print.intinfDepth controls max length of intinf constants
2141            being printed. (Analogous to Control.Print.stringDepth.)
2142            - Cleanup in printutil and pputil: got rid of unused stuff and
2143            duplicates; replaced some of the code with code that makes better
2144            use of library functionality.
2145    
2146    CM:
2147            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
2148            are no longer silent.
2149    
2150    CKIT:
2151            Fixed mismatched uses of Int32 and LargeInt.  I always decided
2152            in favor of LargeInt -- which is now the same as IntInf.
2153            CKIT-knowledgable people should check whether this is what's
2154            intended and otherwise change things back to using Int32 or
2155            FixedInt.
2156    
2157    Throughout the code:
2158            Started using IntInf.int literals and built-in operations
2159            (e.g., comparison with 0) where this seems appropriate.
2160    
2161    
2162    ----------------------------------------------------------------------
2163    Name: Dave MacQueen (dbm@cs.uchicago.edu)
2164    Date: 2003/08/13 11:36:00 CDT
2165    Tag: dbm-20030813-mcz-merge1
2166    Description:
2167    
2168    Merging changes from the mcz-branch development branch into trunk.
2169    These changes involve replacement of the emulated old prettyprinter
2170    interface with direct use of the SML/NJ Lib PP library, and fixing
2171    of a couple of bugs (895, 1186) relating to error messages.  A new
2172    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
2173    has been added.
2174    
2175    ----------------------------------------------------------------------
2176    Name: Matthias Blume (blume (at) tti - c (dot) org)
2177    Date: 2003/08/11 15:45:00 CDT
2178    Tag: blume-20030811-windows
2179    Description:
2180    
2181    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
2182    
2183        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
2184    
2185    This patch restores SML/NJ's ability to run under win32.  There are a
2186    number of changes, including fixes for several bugs that had gone
2187    unnoticed until now:
2188    
2189      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
2190        trying to run the win32 version from within cygwin.)
2191    
2192      - There are a number of simple .bat scripts that substitute for their
2193        corresponding Unix shell-scripts.  (See below.)
2194    
2195      - The internals of ml-build have been modified slightly.  The main
2196        difference is that instead of calling ".link-sml" (or link-sml.bat)
2197        using OS.Process.system, the ML process delegates this task back
2198        to the script.  Otherwise problems arise in mixed environments such
2199        as Cygwin where scripts look and work like Unix scripts, but
2200        where OS.Process.system cannot run them.
2201    
2202      - In CM, the srcpath pickler used native pathname syntax -- which
2203        is incorrect in the case of cross-compilation.  The new pickle format
2204        is independent of platform-specific naming conventions.
2205    
2206      - Path configuration files (such as lib/pathconfig) can now choose
2207        between native and standard syntax.  Placing a line of the form
2208    
2209            standard!
2210    
2211        into the file causes all subsequent paths to be interpreted using
2212        CM standard pathname syntax (= Unix conventions); a line
2213    
2214            native!
2215    
2216        switches back to native style.  This was needed so that
2217        path config files can be written portably, see src/system/pathconfig.
2218    
2219      - Runtime system:
2220    
2221          - win32-filesys.c:  get_file_time and set_file_time now
2222            access modification time, not creation time.
2223    
2224          - I/O code made aware of new array representation.
2225    
2226          - Bug fixes in X86.prim.masm.
2227    
2228       - src/system/makeml made aware of win32. (For use under cygwin
2229            and other Unix-environments for windows.)
2230    
2231       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
2232         which caused BinIO.inputAll to fail consistently.
2233    
2234    .bat scripts:
2235    
2236       Windows .bat scripts assume that SMLNJ_HOME is defined.
2237    
2238       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
2239         applications (sml, ml-yacc, ml-lex).
2240       - ml-build.bat: analogous to ml-build.
2241       - config\install.bat:  Analogous to config/install.sh.  This requires
2242         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
2243         (nmake etc. must be on the path, and vcvars32 must have been run.)
2244         Moreover, sources for ml-lex and ml-yacc need to exist under src,
2245         and the bootfile hierarchy must have been unpacked under
2246         sml.boot.x86-win32.
2247         The script is very primitive and does a poor job at error checking.
2248         It only installs the base system, ml-lex, and ml-yacc.  No other
2249         libraries are being installed (i.e., you get only those that
2250         are part of the compiler.)
2251       - link-sml.bat:  analogous to .link-sml, but not currently used
2252    
2253    Unrelated bug fixes:
2254    
2255      - ml-nlffigen now exports structures ST_* corresponding to incomplete
2256        types.
2257      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
2258        otherwise.)
2259    
2260    ----------------------------------------------------------------------
2261    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
2262    Date: 2003/06/17
2263    Tag: macqueen-20030617-bug895
2264    Description:
2265    
2266    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
2267    Tag will be used for new development branch (mcz-branch) for
2268    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
2269    
2270    ----------------------------------------------------------------------
2271    Name: Matthias Blume (blume (at) tti - c (dot) org)
2272    Date: 2003/05/27 16:55:00 CDT
2273    Tag: blume-20030527-polyeq
2274    Description:
2275    
2276    Tried to eliminated most cases of polymorphic equality.
2277    
2278    ----------------------------------------------------------------------
2279    Name: Matthias Blume (blume (at) tti - c (dot) org)
2280    Date: 2003/05/21 17:45:00 CDT
2281    Tag: blume-20030517-complete
2282    Description:
2283    
2284    Two changes:
2285    
2286      1. Added a flag for controlling whether non-exhaustive bindings will
2287         be treated as errors (default is false).
2288      2. Cleaned up the *entire* source tree so that CMB.make goes through
2289         without a single non-exhaustive match- or bind warning.
2290    
2291    ----------------------------------------------------------------------
2292    Name: Matthias Blume (blume (at) tti - c (dot) org)
2293    Date: 2003/05/17 10:20:00 CDT
2294    Tag: blume-20030517-absyn
2295    Description:
2296    
2297    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
2298    
2299       This mainly affects the quality of error messages.  However, some
2300       of the code is now more straightforward than before. (Treatment of
2301       the above four constructs in translate.sml is much simpler than
2302       the "macro-expansion" that was going on before.  Plus, the mach-
2303       compiler no longer gets invoked just to be able to compile an
2304       if-expression.)
2305    
2306    2. The ErrorMsg.Error exception is now caught and absorbed by the
2307       interactive loop.
2308    
2309    ----------------------------------------------------------------------
2310    Name: Allen Leung
2311    Date: 2003/05/16 13:05:00 CDT
2312    Tag: leunga-20030516-cygwin-runtime
2313    Description:
2314    
2315        Ported the runtime system to cygwin, which uses the unix
2316    x86-unix bin files.  Missing/buggy features:
2317    
2318       o getnetbyname, getnetbyaddr: these functions seem to be missing in
2319         the Cygwin library.
2320       o Ctrl-C handling may be flaky.
2321       o Windows system calls and Windows I/O are not supported.
2322    
2323       A new set of binfiles is located at:
2324    
2325         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
2326    
2327       This is only needed for bootstrapping the cygwin version of smlnj.
2328       Other x86 versions can use the existing binfiles.
2329    
2330    ----------------------------------------------------------------------
2331    Name: Matthias Blume
2332    Date: 2003/04/08 15:42:00 CDT
2333    Tag: blume-20030408-listpair
2334    Description:
2335    
2336    1. Added a target 'mlrisc' to installer.
2337    
2338    2. Added missing elements to structure ListPair.
2339    
2340    ----------------------------------------------------------------------
2341    Name: Allen Leung
2342    Date: 2003/01/07 10:40:00 EST
2343    Tag: leunga-20030107-int-rem
2344    Description:
2345    
2346    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
2347    The arguments to the SUBL instruction were swapped.
2348    
2349    ----------------------------------------------------------------------
2350  Name: Matthias Blume  Name: Matthias Blume
2351  Date: 2002/12/12 16:25:00 EST  Date: 2002/12/12 16:25:00 EST
2352  Tag: blume-20021212-risc-ra  Tag: blume-20021212-risc-ra

Legend:
Removed from v.1294  
changed lines
  Added in v.1873

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