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 1282, Thu Oct 17 13:07:53 2002 UTC revision 1381, Wed Sep 17 21:28:41 2003 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name:  Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2003/09/17 16:30:00 CDT
18    Tag: blume-20030917-real32-slices
19    Description:
20    
21    Added an entry to the primitive environment
22    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
23    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
24    
25    Removed some of the "magic" constants in real64.sml and replaced them
26    with code that generates these values from their corresponding
27    integer counterparts.
28    
29    Made all(?) the slice-related changes to the Basis and made everything
30    compile again...
31    
32    ----------------------------------------------------------------------
33    Name: Matthias Blume (blume (at) tti - c (dot) org)
34    Date: 2003/09/15 17:45:00 CDT
35    Tag: blume-20030915-rbase
36    Description:
37    
38    Fixed bug in Real.fromLargeInt.
39    
40    ----------------------------------------------------------------------
41    Name: Matthias Blume (blume (at) tti - c (dot) org)
42    Date: 2003/09/13 18:11:00 CDT
43    Tag: blume-20030913-libinstall
44    Description:
45    
46    Minor bugfix in config/libinstall (set anchor with path to
47    standalone tool after installing it, otherwise libraries that
48    need ml-lex or ml-yacc won't compile the first time the installer
49    runs).
50    
51    ----------------------------------------------------------------------
52    Name: Matthias Blume (blume (at) tti - c (dot) org)
53    Date: 2003/09/12 11:45:00 CDT
54    Tag: blume-20030912-various
55    Description:
56    
57     - fixed bug in Real.toLargeInt
58     - fixed bug in Posix.ProcEnv.times
59     - changed inputLine functions to return an option
60     - minor installer improvements / bugfixes
61     - changed default @SMLalloc parameter for x86/celeron to 64k
62    
63    ----------------------------------------------------------------------
64    Name: Matthias Blume (blume (at) tti - c (dot) org)
65    Date: 2003/09/09 22:00:00 CDT
66    Tag: Release_110_43
67    Description:
68    
69        New working release 110.43.  New bootfiles.
70    
71    ----------------------------------------------------------------------
72    Name: Matthias Blume (blume (at) tti - c (dot) org)
73    Date: 2003/09/09 19:20:00 CDT
74    Tag: blume-20030909-installer
75    Description:
76    
77    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
78    Modified config/install.bat to take advantage of it.  Also modified
79    config/install.sh (and called it config/new-install.sh) to take advantage
80    of it on Unix systems.  (The SML code is (supposed to be) platform-
81    independent.)
82    
83    The installer can now install everything under Win32
84    as well as under *nix as long as it compiles.
85    
86    Other changes:
87    
88      - made CML compile again under Win32
89      - made eXene compile under Win32 (by providing a fake structure UnixSock
90        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
91      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
92        same as type int;  under Win32 it isn't
93      - fixed some slice-related problems in the win32-specific parts of CML
94      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
95        (under Win32, the volume name is case-insensitive, and the
96        OS.Path code compares volume names for equality)
97    
98    ----------------------------------------------------------------------
99    Name: Matthias Blume (blume (at) tti - c (dot) org)
100    Date: 2003/09/08 11:55:00 CDT
101    Tag: blume-20030908-fullpath
102    Description:
103    
104    Made Win32 version of OS.FileSys.fullPath return current directory
105    when given an empty string.  This is what the spec says, and incidentally,
106    CM depends on it.  (CM otherwise goes into an infinite loop in certain
107    cases when presented with the name of a non-existing .cm file.)
108    
109    ----------------------------------------------------------------------
110    Name: Matthias Blume (blume (at) tti - c (dot) org)
111    Date: 2003/09/04 16:30:00 CDT
112    Tag: blume-20030905-slices-etc
113    Description:
114    
115      1. Changed interface to vectors and arrays in Basis to match
116         (draft) Basis spec.
117      2. Added signatures and implementations of slices according to
118         Basis spec.
119      3. Edited source code throughout the system to make it compile again
120         under 1. and 2.  (In some cases code had to be added to have it
121         match the new signatures.)
122      4. MLRISC should be backward-compatible: the copies of the originals
123         of files that needed to change under 3. were retained, the .cm files
124         check the compiler version number and use old versions when
125         appropriate.
126      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
127         dirstream -> string option (in accordance with Basis spec).
128      6. When generating code that counts lines, ml-lex used function
129         CharVector.foldli, taking advantage of its old interface.
130         This has been replaced with the corresponding code from
131         CharVectorSlice.  (html-lex must be re-lexed!)
132      7. BitArray in smlnj-lib/Util has been extended/modified to match the
133         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
134      8. Removed temporary additions (fromInternal, toInternal) from the
135         (now obsolete) IntInf in smlnj-lib/Util.
136      9. Cleaned up structure Byte.
137     10. Added localOffset, scan, and fromString to Date (according to spec).
138         Cleaned/corrected implementation of Date.
139         (Still need to check for correctness; implement better canonicalizeDate.)
140     11. Added "scan" to signature IEEE_REAL.
141     12. Some improvements to IntInf [in particular: efficiency-hack for
142         mod and rem when second operand is 2 (for parity checks).]
143     13. Changed representation of type Time.time, using a single IntInf.int
144         value counting microseconds.  This considerably simplified the
145         implementation of structure Time.  We now support negative time
146         values; scan and fromString handle signs.
147     14. Functor PrimIO now takes two additional arguments (VectorSlice and
148         ArraySlice).
149    
150    ----------------------------------------------------------------------
151    Name: Matthias Blume (blume (at) tti - c (dot) org)
152    Date: 2003/08/28 17:00:00 CDT
153    Tag: blume-20030828-intinf
154    Description:
155    
156    This is a major update which comes with a version number bump
157    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
158    and an implementation of IntInf in the Basis.
159    
160    There are a fairly large number of related changes and updates throughout
161    the system:
162    
163    Basis:
164            - Implemented IntInf.
165            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
166            - Added some missing Real64 operations, most notably Real.toLargeInt.
167            - Added FixedInt as a synonym for Int32.
168    
169    compiler:
170            * Added support for a built-in intinf type.
171              - literals
172              - pattern matching
173              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
174              - overloading on literals and operations
175    
176            This required adding a primitive type intinf, some additional
177            primops, and implementations for several non-trivial intinf
178            operations in Core.  (The intinf type is completely abstract
179            to the compiler; all operations get delegated back to the Core.)
180    
181            * Intinf equality is handled by polyequal.  However, the compiler
182            does not print its usual warning in this case (since polyequal
183            is the right thing to do there).
184    
185            * Improved the organization of structure InlineT.
186    
187            * A word about conversion primops:
188            If conversions involving intinf do not cancel out during
189            CPS contract, then the compiler must insert calls to Core functions.
190            Since all core access must be resolved already during the FLINT
191            translate phase, it would be too late a the time of CPS contract
192            to add new Core calls.  For this reason, conversion primops
193            for intinf carry two arguments:  1. the numeric argument that
194            they are supposed to convert, and 2. the Core function that
195            can help with this conversion if necessary.  If CPS contract
196            eliminates a primop, then the associated Core function becomes
197            dead and goes away.  Intinf conversion primops that do not get
198            eliminated by CPS contract get rewritten into calls of their
199            core functions by a separate, new phase.
200    
201    interactive system:
202            - Control.Print.intinfDepth controls max length of intinf constants
203            being printed. (Analogous to Control.Print.stringDepth.)
204            - Cleanup in printutil and pputil: got rid of unused stuff and
205            duplicates; replaced some of the code with code that makes better
206            use of library functionality.
207    
208    CM:
209            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
210            are no longer silent.
211    
212    CKIT:
213            Fixed mismatched uses of Int32 and LargeInt.  I always decided
214            in favor of LargeInt -- which is now the same as IntInf.
215            CKIT-knowledgable people should check whether this is what's
216            intended and otherwise change things back to using Int32 or
217            FixedInt.
218    
219    Throughout the code:
220            Started using IntInf.int literals and built-in operations
221            (e.g., comparison with 0) where this seems appropriate.
222    
223    
224    ----------------------------------------------------------------------
225    Name: Dave MacQueen (dbm@cs.uchicago.edu)
226    Date: 2003/08/13 11:36:00 CDT
227    Tag: dbm-20030813-mcz-merge1
228    Description:
229    
230    Merging changes from the mcz-branch development branch into trunk.
231    These changes involve replacement of the emulated old prettyprinter
232    interface with direct use of the SML/NJ Lib PP library, and fixing
233    of a couple of bugs (895, 1186) relating to error messages.  A new
234    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
235    has been added.
236    
237    ----------------------------------------------------------------------
238    Name: Matthias Blume (blume (at) tti - c (dot) org)
239    Date: 2003/08/11 15:45:00 CDT
240    Tag: blume-20030811-windows
241    Description:
242    
243    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
244    
245        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
246    
247    This patch restores SML/NJ's ability to run under win32.  There are a
248    number of changes, including fixes for several bugs that had gone
249    unnoticed until now:
250    
251      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
252        trying to run the win32 version from within cygwin.)
253    
254      - There are a number of simple .bat scripts that substitute for their
255        corresponding Unix shell-scripts.  (See below.)
256    
257      - The internals of ml-build have been modified slightly.  The main
258        difference is that instead of calling ".link-sml" (or link-sml.bat)
259        using OS.Process.system, the ML process delegates this task back
260        to the script.  Otherwise problems arise in mixed environments such
261        as Cygwin where scripts look and work like Unix scripts, but
262        where OS.Process.system cannot run them.
263    
264      - In CM, the srcpath pickler used native pathname syntax -- which
265        is incorrect in the case of cross-compilation.  The new pickle format
266        is independent of platform-specific naming conventions.
267    
268      - Path configuration files (such as lib/pathconfig) can now choose
269        between native and standard syntax.  Placing a line of the form
270    
271            standard!
272    
273        into the file causes all subsequent paths to be interpreted using
274        CM standard pathname syntax (= Unix conventions); a line
275    
276            native!
277    
278        switches back to native style.  This was needed so that
279        path config files can be written portably, see src/system/pathconfig.
280    
281      - Runtime system:
282    
283          - win32-filesys.c:  get_file_time and set_file_time now
284            access modification time, not creation time.
285    
286          - I/O code made aware of new array representation.
287    
288          - Bug fixes in X86.prim.masm.
289    
290       - src/system/makeml made aware of win32. (For use under cygwin
291            and other Unix-environments for windows.)
292    
293       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
294         which caused BinIO.inputAll to fail consistently.
295    
296    .bat scripts:
297    
298       Windows .bat scripts assume that SMLNJ_HOME is defined.
299    
300       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
301         applications (sml, ml-yacc, ml-lex).
302       - ml-build.bat: analogous to ml-build.
303       - config\install.bat:  Analogous to config/install.sh.  This requires
304         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
305         (nmake etc. must be on the path, and vcvars32 must have been run.)
306         Moreover, sources for ml-lex and ml-yacc need to exist under src,
307         and the bootfile hierarchy must have been unpacked under
308         sml.boot.x86-win32.
309         The script is very primitive and does a poor job at error checking.
310         It only installs the base system, ml-lex, and ml-yacc.  No other
311         libraries are being installed (i.e., you get only those that
312         are part of the compiler.)
313       - link-sml.bat:  analogous to .link-sml, but not currently used
314    
315    Unrelated bug fixes:
316    
317      - ml-nlffigen now exports structures ST_* corresponding to incomplete
318        types.
319      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
320        otherwise.)
321    
322    ----------------------------------------------------------------------
323    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
324    Date: 2003/06/17
325    Tag: macqueen-20030617-bug895
326    Description:
327    
328    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
329    Tag will be used for new development branch (mcz-branch) for
330    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
331    
332    ----------------------------------------------------------------------
333    Name: Matthias Blume (blume (at) tti - c (dot) org)
334    Date: 2003/05/27 16:55:00 CDT
335    Tag: blume-20030527-polyeq
336    Description:
337    
338    Tried to eliminated most cases of polymorphic equality.
339    
340    ----------------------------------------------------------------------
341    Name: Matthias Blume (blume (at) tti - c (dot) org)
342    Date: 2003/05/21 17:45:00 CDT
343    Tag: blume-20030517-complete
344    Description:
345    
346    Two changes:
347    
348      1. Added a flag for controlling whether non-exhaustive bindings will
349         be treated as errors (default is false).
350      2. Cleaned up the *entire* source tree so that CMB.make goes through
351         without a single non-exhaustive match- or bind warning.
352    
353    ----------------------------------------------------------------------
354    Name: Matthias Blume (blume (at) tti - c (dot) org)
355    Date: 2003/05/17 10:20:00 CDT
356    Tag: blume-20030517-absyn
357    Description:
358    
359    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
360    
361       This mainly affects the quality of error messages.  However, some
362       of the code is now more straightforward than before. (Treatment of
363       the above four constructs in translate.sml is much simpler than
364       the "macro-expansion" that was going on before.  Plus, the mach-
365       compiler no longer gets invoked just to be able to compile an
366       if-expression.)
367    
368    2. The ErrorMsg.Error exception is now caught and absorbed by the
369       interactive loop.
370    
371    ----------------------------------------------------------------------
372    Name: Allen Leung
373    Date: 2003/05/16 13:05:00 CDT
374    Tag: leunga-20030516-cygwin-runtime
375    Description:
376    
377        Ported the runtime system to cygwin, which uses the unix
378    x86-unix bin files.  Missing/buggy features:
379    
380       o getnetbyname, getnetbyaddr: these functions seem to be missing in
381         the Cygwin library.
382       o Ctrl-C handling may be flaky.
383       o Windows system calls and Windows I/O are not supported.
384    
385       A new set of binfiles is located at:
386    
387         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
388    
389       This is only needed for bootstrapping the cygwin version of smlnj.
390       Other x86 versions can use the existing binfiles.
391    
392    ----------------------------------------------------------------------
393    Name: Matthias Blume
394    Date: 2003/04/08 15:42:00 CDT
395    Tag: blume-20030408-listpair
396    Description:
397    
398    1. Added a target 'mlrisc' to installer.
399    
400    2. Added missing elements to structure ListPair.
401    
402    ----------------------------------------------------------------------
403    Name: Allen Leung
404    Date: 2003/01/07 10:40:00 EST
405    Tag: leunga-20030107-int-rem
406    Description:
407    
408    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
409    The arguments to the SUBL instruction were swapped.
410    
411    ----------------------------------------------------------------------
412    Name: Matthias Blume
413    Date: 2002/12/12 16:25:00 EST
414    Tag: blume-20021212-risc-ra
415    Description:
416    
417    Fixed a serious bug in the rewrite code for FP spilling/reloading that
418    sent the RA into an infinite loop when floating point registers get
419    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
420    110.37 and 110.38.)
421    There was another set of potential problems related to the handling of
422    MLRISC annotations (but those did not yet cause real problems, apparently).
423    
424    ----------------------------------------------------------------------
425    Name: Matthias Blume
426    Date: 2002/12/06 22:40:00 EST
427    Tag: blume-20021206-cm-fileid
428    Description:
429    
430    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
431    This fixes the problem of CM getting confused by files that suddenly
432    change their identity (e.g., by getting unlinked and recreated by some
433    text editor such as vi).  There might be a better/cheaper/cleaner way
434    of doing this, but for now this will have to do.
435    
436    ----------------------------------------------------------------------
437    Name: Matthias Blume
438    Date: 2002/10/28 09:50:00 EST
439    Tag: blume-20021028-typecheck
440    Description:
441    
442    Exported structure Typecheck from $smlnj/viscomp/core.cm.
443    
444    ----------------------------------------------------------------------
445  Name: Matthias Blume  Name: Matthias Blume
446  Date: 2002/10/17 09:10:00 EDT  Date: 2002/10/17 09:10:00 EDT
447  Tag: Release_110_42  Tag: Release_110_42

Legend:
Removed from v.1282  
changed lines
  Added in v.1381

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