Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

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

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

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

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