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/branches/primop-branch-3/NOTES/HISTORY
ViewVC logotype

Diff of /sml/branches/primop-branch-3/NOTES/HISTORY

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

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

Legend:
Removed from v.1390  
changed lines
  Added in v.1890

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