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/HISTORY
ViewVC logotype

Diff of /sml/trunk/HISTORY

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

revision 1204, Mon May 20 14:58:33 2002 UTC revision 1354, Wed Sep 10 00:27:30 2003 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume (blume@tti-c.org)
17    Date: 2003/09/09 19:20:00 CDT
18    Tag: blume-20030909-installer
19    Description:
20    
21    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
22    Modified config/install.bat to take advantage of it.  Also modified
23    config/install.sh (and called it config/new-install.sh) to take advantage
24    of it on Unix systems.  (The SML code is (supposed to be) platform-
25    independent.)
26    
27    The installer can now install everything under Win32
28    as well as under *nix as long as it compiles.
29    
30    Other changes:
31    
32      - made CML compile again under Win32
33      - made eXene compile under Win32 (by providing a fake structure UnixSock
34        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
35      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
36        same as type int;  under Win32 it isn't
37      - fixed some slice-related problems in the win32-specific parts of CML
38      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
39        (under Win32, the volume name is case-insensitive, and the
40        OS.Path code compares volume names for equality)
41    
42    ----------------------------------------------------------------------
43    Name: Matthias Blume (blume@tti-c.org)
44    Date: 2003/09/08 11:55:00 CDT
45    Tag: blume-20030908-fullpath
46    Description:
47    
48    Made Win32 version of OS.FileSys.fullPath return current directory
49    when given an empty string.  This is what the spec says, and incidentally,
50    CM depends on it.  (CM otherwise goes into an infinite loop in certain
51    cases when presented with the name of a non-existing .cm file.)
52    
53    ----------------------------------------------------------------------
54    Name: Matthias Blume (blume@tti-c.org)
55    Date: 2003/09/04 16:30:00 CDT
56    Tag: blume-20030905-slices-etc
57    Description:
58    
59      1. Changed interface to vectors and arrays in Basis to match
60         (draft) Basis spec.
61      2. Added signatures and implementations of slices according to
62         Basis spec.
63      3. Edited source code throughout the system to make it compile again
64         under 1. and 2.  (In some cases code had to be added to have it
65         match the new signatures.)
66      4. MLRISC should be backward-compatible: the copies of the originals
67         of files that needed to change under 3. were retained, the .cm files
68         check the compiler version number and use old versions when
69         appropriate.
70      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
71         dirstream -> string option (in accordance with Basis spec).
72      6. When generating code that counts lines, ml-lex used function
73         CharVector.foldli, taking advantage of its old interface.
74         This has been replaced with the corresponding code from
75         CharVectorSlice.  (html-lex must be re-lexed!)
76      7. BitArray in smlnj-lib/Util has been extended/modified to match the
77         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
78      8. Removed temporary additions (fromInternal, toInternal) from the
79         (now obsolete) IntInf in smlnj-lib/Util.
80      9. Cleaned up structure Byte.
81     10. Added localOffset, scan, and fromString to Date (according to spec).
82         Cleaned/corrected implementation of Date.
83         (Still need to check for correctness; implement better canonicalizeDate.)
84     11. Added "scan" to signature IEEE_REAL.
85     12. Some improvements to IntInf [in particular: efficiency-hack for
86         mod and rem when second operand is 2 (for parity checks).]
87     13. Changed representation of type Time.time, using a single IntInf.int
88         value counting microseconds.  This considerably simplified the
89         implementation of structure Time.  We now support negative time
90         values; scan and fromString handle signs.
91     14. Functor PrimIO now takes two additional arguments (VectorSlice and
92         ArraySlice).
93    
94    ----------------------------------------------------------------------
95    Name: Matthias Blume (blume@tti-c.org)
96    Date: 2003/08/28 17:00:00 CDT
97    Tag: blume-20030828-intinf
98    Description:
99    
100    This is a major update which comes with a version number bump
101    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
102    and an implementation of IntInf in the Basis.
103    
104    There are a fairly large number of related changes and updates throughout
105    the system:
106    
107    Basis:
108            - Implemented IntInf.
109            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
110            - Added some missing Real64 operations, most notably Real.toLargeInt.
111            - Added FixedInt as a synonym for Int32.
112    
113    compiler:
114            * Added support for a built-in intinf type.
115              - literals
116              - pattern matching
117              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
118              - overloading on literals and operations
119    
120            This required adding a primitive type intinf, some additional
121            primops, and implementations for several non-trivial intinf
122            operations in Core.  (The intinf type is completely abstract
123            to the compiler; all operations get delegated back to the Core.)
124    
125            * Intinf equality is handled by polyequal.  However, the compiler
126            does not print its usual warning in this case (since polyequal
127            is the right thing to do there).
128    
129            * Improved the organization of structure InlineT.
130    
131            * A word about conversion primops:
132            If conversions involving intinf do not cancel out during
133            CPS contract, then the compiler must insert calls to Core functions.
134            Since all core access must be resolved already during the FLINT
135            translate phase, it would be too late a the time of CPS contract
136            to add new Core calls.  For this reason, conversion primops
137            for intinf carry two arguments:  1. the numeric argument that
138            they are supposed to convert, and 2. the Core function that
139            can help with this conversion if necessary.  If CPS contract
140            eliminates a primop, then the associated Core function becomes
141            dead and goes away.  Intinf conversion primops that do not get
142            eliminated by CPS contract get rewritten into calls of their
143            core functions by a separate, new phase.
144    
145    interactive system:
146            - Control.Print.intinfDepth controls max length of intinf constants
147            being printed. (Analogous to Control.Print.stringDepth.)
148            - Cleanup in printutil and pputil: got rid of unused stuff and
149            duplicates; replaced some of the code with code that makes better
150            use of library functionality.
151    
152    CM:
153            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
154            are no longer silent.
155    
156    CKIT:
157            Fixed mismatched uses of Int32 and LargeInt.  I always decided
158            in favor of LargeInt -- which is now the same as IntInf.
159            CKIT-knowledgable people should check whether this is what's
160            intended and otherwise change things back to using Int32 or
161            FixedInt.
162    
163    Throughout the code:
164            Started using IntInf.int literals and built-in operations
165            (e.g., comparison with 0) where this seems appropriate.
166    
167    
168    ----------------------------------------------------------------------
169    Name: Dave MacQueen (dbm@cs.uchicago.edu)
170    Date: 2003/08/13 11:36:00 CDT
171    Tag: dbm-20030813-mcz-merge1
172    Description:
173    
174    Merging changes from the mcz-branch development branch into trunk.
175    These changes involve replacement of the emulated old prettyprinter
176    interface with direct use of the SML/NJ Lib PP library, and fixing
177    of a couple of bugs (895, 1186) relating to error messages.  A new
178    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
179    has been added.
180    
181    ----------------------------------------------------------------------
182    Name: Matthias Blume (blume@tti-c.org)
183    Date: 2003/08/11 15:45:00 CDT
184    Tag: blume-20030811-windows
185    Description:
186    
187    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
188    
189        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
190    
191    This patch restores SML/NJ's ability to run under win32.  There are a
192    number of changes, including fixes for several bugs that had gone
193    unnoticed until now:
194    
195      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
196        trying to run the win32 version from within cygwin.)
197    
198      - There are a number of simple .bat scripts that substitute for their
199        corresponding Unix shell-scripts.  (See below.)
200    
201      - The internals of ml-build have been modified slightly.  The main
202        difference is that instead of calling ".link-sml" (or link-sml.bat)
203        using OS.Process.system, the ML process delegates this task back
204        to the script.  Otherwise problems arise in mixed environments such
205        as Cygwin where scripts look and work like Unix scripts, but
206        where OS.Process.system cannot run them.
207    
208      - In CM, the srcpath pickler used native pathname syntax -- which
209        is incorrect in the case of cross-compilation.  The new pickle format
210        is independent of platform-specific naming conventions.
211    
212      - Path configuration files (such as lib/pathconfig) can now choose
213        between native and standard syntax.  Placing a line of the form
214    
215            standard!
216    
217        into the file causes all subsequent paths to be interpreted using
218        CM standard pathname syntax (= Unix conventions); a line
219    
220            native!
221    
222        switches back to native style.  This was needed so that
223        path config files can be written portably, see src/system/pathconfig.
224    
225      - Runtime system:
226    
227          - win32-filesys.c:  get_file_time and set_file_time now
228            access modification time, not creation time.
229    
230          - I/O code made aware of new array representation.
231    
232          - Bug fixes in X86.prim.masm.
233    
234       - src/system/makeml made aware of win32. (For use under cygwin
235            and other Unix-environments for windows.)
236    
237       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
238         which caused BinIO.inputAll to fail consistently.
239    
240    .bat scripts:
241    
242       Windows .bat scripts assume that SMLNJ_HOME is defined.
243    
244       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
245         applications (sml, ml-yacc, ml-lex).
246       - ml-build.bat: analogous to ml-build.
247       - config\install.bat:  Analogous to config/install.sh.  This requires
248         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
249         (nmake etc. must be on the path, and vcvars32 must have been run.)
250         Moreover, sources for ml-lex and ml-yacc need to exist under src,
251         and the bootfile hierarchy must have been unpacked under
252         sml.boot.x86-win32.
253         The script is very primitive and does a poor job at error checking.
254         It only installs the base system, ml-lex, and ml-yacc.  No other
255         libraries are being installed (i.e., you get only those that
256         are part of the compiler.)
257       - link-sml.bat:  analogous to .link-sml, but not currently used
258    
259    Unrelated bug fixes:
260    
261      - ml-nlffigen now exports structures ST_* corresponding to incomplete
262        types.
263      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
264        otherwise.)
265    
266    ----------------------------------------------------------------------
267    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
268    Date: 2003/06/17
269    Tag: macqueen-20030617-bug895
270    Description:
271    
272    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
273    Tag will be used for new development branch (mcz-branch) for
274    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
275    
276    ----------------------------------------------------------------------
277    Name: Matthias Blume (blume@tti-c.org)
278    Date: 2003/05/27 16:55:00 CDT
279    Tag: blume-20030527-polyeq
280    Description:
281    
282    Tried to eliminated most cases of polymorphic equality.
283    
284    ----------------------------------------------------------------------
285    Name: Matthias Blume (blume@tti-c.org)
286    Date: 2003/05/21 17:45:00 CDT
287    Tag: blume-20030517-complete
288    Description:
289    
290    Two changes:
291    
292      1. Added a flag for controlling whether non-exhaustive bindings will
293         be treated as errors (default is false).
294      2. Cleaned up the *entire* source tree so that CMB.make goes through
295         without a single non-exhaustive match- or bind warning.
296    
297    ----------------------------------------------------------------------
298    Name: Matthias Blume (blume@tti-c.org)
299    Date: 2003/05/17 10:20:00 CDT
300    Tag: blume-20030517-absyn
301    Description:
302    
303    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
304    
305       This mainly affects the quality of error messages.  However, some
306       of the code is now more straightforward than before. (Treatment of
307       the above four constructs in translate.sml is much simpler than
308       the "macro-expansion" that was going on before.  Plus, the mach-
309       compiler no longer gets invoked just to be able to compile an
310       if-expression.)
311    
312    2. The ErrorMsg.Error exception is now caught and absorbed by the
313       interactive loop.
314    
315    ----------------------------------------------------------------------
316    Name: Allen Leung
317    Date: 2003/05/16 13:05:00 CDT
318    Tag: leunga-20030516-cygwin-runtime
319    Description:
320    
321        Ported the runtime system to cygwin, which uses the unix
322    x86-unix bin files.  Missing/buggy features:
323    
324       o getnetbyname, getnetbyaddr: these functions seem to be missing in
325         the Cygwin library.
326       o Ctrl-C handling may be flaky.
327       o Windows system calls and Windows I/O are not supported.
328    
329       A new set of binfiles is located at:
330    
331         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
332    
333       This is only needed for bootstrapping the cygwin version of smlnj.
334       Other x86 versions can use the existing binfiles.
335    
336    ----------------------------------------------------------------------
337    Name: Matthias Blume
338    Date: 2003/04/08 15:42:00 CDT
339    Tag: blume-20030408-listpair
340    Description:
341    
342    1. Added a target 'mlrisc' to installer.
343    
344    2. Added missing elements to structure ListPair.
345    
346    ----------------------------------------------------------------------
347    Name: Allen Leung
348    Date: 2003/01/07 10:40:00 EST
349    Tag: leunga-20030107-int-rem
350    Description:
351    
352    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
353    The arguments to the SUBL instruction were swapped.
354    
355    ----------------------------------------------------------------------
356    Name: Matthias Blume
357    Date: 2002/12/12 16:25:00 EST
358    Tag: blume-20021212-risc-ra
359    Description:
360    
361    Fixed a serious bug in the rewrite code for FP spilling/reloading that
362    sent the RA into an infinite loop when floating point registers get
363    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
364    110.37 and 110.38.)
365    There was another set of potential problems related to the handling of
366    MLRISC annotations (but those did not yet cause real problems, apparently).
367    
368    ----------------------------------------------------------------------
369    Name: Matthias Blume
370    Date: 2002/12/06 22:40:00 EST
371    Tag: blume-20021206-cm-fileid
372    Description:
373    
374    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
375    This fixes the problem of CM getting confused by files that suddenly
376    change their identity (e.g., by getting unlinked and recreated by some
377    text editor such as vi).  There might be a better/cheaper/cleaner way
378    of doing this, but for now this will have to do.
379    
380    ----------------------------------------------------------------------
381    Name: Matthias Blume
382    Date: 2002/10/28 09:50:00 EST
383    Tag: blume-20021028-typecheck
384    Description:
385    
386    Exported structure Typecheck from $smlnj/viscomp/core.cm.
387    
388    ----------------------------------------------------------------------
389    Name: Matthias Blume
390    Date: 2002/10/17 09:10:00 EDT
391    Tag: Release_110_42
392    Description:
393    
394    In good old tradition, there has been a slight hiccup so that we have
395    to patch 110.42 after the fact.   The old release tag has been replaced
396    (see below).
397    
398    The change solves a problem with two competing approaches the
399    configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in
400    each other's way.
401    
402    This change only affects the runtime system code and the installer script.
403    (No new bootfiles.)
404    
405    ----------------------------------------------------------------------
406    Name: Matthias Blume
407    Date: 2002/10/16 12:00:00 EDT
408    Tag: Release_110_42_removed
409    Description:
410    
411    New working release.  New bootfiles.
412    
413    ----------------------------------------------------------------------
414    Name: Matthias Blume
415    Date: 2002/10/10 13:10:00 EDT
416    Tag: blume-20021010-ppc-divs
417    Description:
418    
419    The mltree operator DIVS must be implemented with an overflow check on
420    the PPC because the hardware indicates divide-by-zero using "overflow" as
421    well.
422    
423    ----------------------------------------------------------------------
424    Name: Matthias Blume
425    Date: 2002/07/23 11:45:00
426    Tag: blume-20020723-smlnj-home
427    Description:
428    
429    Sml now senses the SMLNJ_HOME environment variable.  If this is set,
430    then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless
431    CM_PATHCONFIG is also set), the path configuration file is assumed
432    to be in $SMLNJ_HOME/lib/pathconfig.  This way one can easily move
433    the entire tree to some other place and everything will "just work".
434    
435    (Companion commands such as ml-build and ml-makedepend also sense this
436    variable.)
437    
438    ----------------------------------------------------------------------
439    Name: Matthias Blume
440    Date: 2002/07/12 21:19:00 EDT
441    Tag: blume-20020712-liveness
442    Description:
443    
444    Exported two useful "step" functions from liveness module (MLRISC).
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume
448    Date: 2002/07/05 16:00 EDT
449    Tag: Release_110_41
450    Description:
451    
452    New working release.  New bootfiles.
453    
454    ----------------------------------------------------------------------
455    Name: Matthias Blume
456    Date: 2002/07/05 10:25:00 EDT
457    Tag: blume-20020705-btimp
458    Description:
459    
460    Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that
461    other clients can set up backtracing support.
462    
463    ----------------------------------------------------------------------
464    Name: Matthias Blume
465    Date: 2002/06/25 17:23:00 EDT
466    Tag: blume-20020625-fpmax
467    Description:
468    
469    Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point
470    case.  (The sense of the isNaN test was reversed -- which made min and
471    max always return their first argument.)
472    
473    ----------------------------------------------------------------------
474    Name: Matthias Blume
475    Date: 2002/06/11
476    Tag: blume-20020611-unixpath
477    Description:
478    
479    Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch.
480    
481    ----------------------------------------------------------------------
482    Name: Matthias Blume
483    Date: 2002/06/10 16:35:00 EDT
484    Tag: blume-20020610-ieeereal
485    Description:
486    
487    I back-ported my implementation of IEEEReal.fromString from the
488    idlbasis-devel branch so that we can test it.
489    
490    Another small change is that ppDec tries to give more information
491    than just "<sig>" in the case of functors.  However, this code is
492    broken in some mysterious way if the functor's body's signature
493    has not been declared by ascription but gets inferred from the
494    implementation.  This needs fixing...
495    
496    ----------------------------------------------------------------------
497    Name: Matthias Blume
498    Date: 2002/05/31
499    Tag: blume-20020531-btrace-mode
500    Description:
501    
502    Resurrected SMLofNJ.Internals.BTrace.mode.  (It accidentally fell by
503    the wayside when I switched over to using Controls everywhere.)
504    
505    ----------------------------------------------------------------------
506    Name: Lal George
507    Date: 2002/05/23 12:21:40 EDT
508    Tag: george-20020523-visual-labels
509    Description:
510    
511    Labels are now displayed in the graphical output to make
512    the fall-through and target blocks obvious.
513    
514    ----------------------------------------------------------------------
515    Name: Matthias Blume
516    Date: 2002/05/22 11:03:00 EDT
517    Tag: blume-20020522-shrink
518    Description:
519    
520    John tweaked yesterday's fix for 1131 to handle an out-of-memory
521    situation that comes up when allocating huge arrays.
522    
523    ----------------------------------------------------------------------
524    Name: Matthias Blume
525    Date: 2002/05/21 16:00:00 EDT
526    Tag: Release_110_40
527    Description:
528    
529    New working release (110.40).  New bootfiles.
530    
531    [Also: John Reppy fixed GC bug 1131.]
532    
533    ----------------------------------------------------------------------
534    Name: Matthias Blume
535    Date: 2002/05/21 12:35:00 EDT
536    Tag: blume-20020521-cmdoc
537    Description:
538    
539    CM documentation update.
540    
541    ----------------------------------------------------------------------
542    Name: Matthias Blume
543    Date: 2002/05/21 10:55:00 EDT
544    Tag: blume-20020521-misc
545    Description:
546    
547    - John tweaked runtime to be silent on heap export (except when
548      GC messages are on).
549    - I added a few more things (cross-compiling versions of CMB) to
550      config/preloads (as suggestions).
551    
552    ----------------------------------------------------------------------
553    Name: Matthias Blume
554    Date: 2002/05/20 22:25:00 EDT
555    Tag: blume-20020520-controls
556    Description:
557    
558    - Added ControlUtil structure to control-lib.cm.
559    - Use it throughout.
560    - Used Controls facility to define MLRISC controls (as opposed to
561      registering MLRISC control ref cells with Controls after the fact)
562    - Fixed messed-up controls priorities.
563    
564    * Removed again all the stuff from config/preloads that one wouldn't
565      be able to preload at the time the initial heap image is built.
566      (Many libraries, e.g., CML, do not exist yet at this time.  The
567       only libraries that can be preloaded via config/preloads are those
568       that come bundled with the bootfiles.)
569    
570    ----------------------------------------------------------------------
571  Name: Matthias Blume  Name: Matthias Blume
572  Date: 2002/05/20 10:59:00 EDT  Date: 2002/05/20 10:59:00 EDT
573  Tag: blume-20020520-preloads  Tag: blume-20020520-preloads

Legend:
Removed from v.1204  
changed lines
  Added in v.1354

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