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 1220, Wed May 22 15:04:10 2002 UTC revision 1489, Tue May 11 19:31:06 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/05/11 14:35:00 CDT
18    Tag: blume-20040511-win32sock
19    Description:
20    
21    Added previously missing support for many socket-related functions
22    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
23    for the voluminous patch!
24    
25    (I have not tested this patch under win32 yet.)
26    
27    ----------------------------------------------------------------------
28    Name: Matthias Blume (blume (at) tti - c (dot) org)
29    Date: 2004/05/11 14:20:00 CDT
30    Tag: blume-20040511-installml
31    Description:
32    
33    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
34    the patch.)
35    
36    ----------------------------------------------------------------------
37    Name: Matthias Blume (blume (at) tti - c (dot) org)
38    Date: 2004/05/11 14:05:00 CDT
39    Tag: blume-20040511-nlffi-netbsd
40    Description:
41    
42    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
43    the patch.)
44    
45    ----------------------------------------------------------------------
46    Name: Matthias Blume (blume (at) tti - c (dot) org)
47    Date: 2004/05/11 12:05:00 CDT
48    Tag: blume-20040511-exports
49    Description:
50    
51    As per request by Adam Chlipala <adam@hcoop.net>, extended various
52    export lists in compiler-related .cm-files.
53    
54    ----------------------------------------------------------------------
55    Name: Matthias Blume (blume (at) tti - c (dot) org)
56    Date: 2004/05/11 11:35:00 CDT
57    Tag: blume-20040511-allsource
58    Description:
59    
60    The installer now honors the "src-smlnj" target again, although its meaning
61    has changed from "all sources required for the compiler" to "all sources
62    the installer knows about".  In other words, if you enable "src-smlnj"
63    in the "targets" file, then the installer will pull in sources for
64    everything.  (Notice that this refers to source code only.  Compiled
65    code is still only installed for modules that were requested explicitly
66    or which are required for other modules that were requested explicitly.)
67    
68    ----------------------------------------------------------------------
69    Name: Matthias Blume (blume (at) tti - c (dot) org)
70    Date: 2004/04/23 17:40:00 CDT
71    Tag: blume-20040423-ieee-scan
72    Description:
73    
74    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
75    in the exponent calculation we get INF or ZERO (depending on the mantissa
76    and the sign of the exponent).
77    
78    ----------------------------------------------------------------------
79    Name: Matthias Blume (blume (at) tti - c (dot) org)
80    Date: 2004/04/23 10:40:00 CDT
81    Tag: blume-20040423-ml-build
82    Description:
83    
84    The ml-build script now terminates with a non-0 status when something
85    goes wrong.
86    
87    ----------------------------------------------------------------------
88    Name: Matthias Blume (blume (at) tti - c (dot) org)
89    Date: 2004/04/22 16:35:00 CDT
90    Tag: blume-20040422-Option
91    Description:
92    
93    Made exception Option to be the same as exception Option.Option
94    (as it should be).
95    
96    ----------------------------------------------------------------------
97    Name: Allen Leung (leunga (at) reservoir (dot) com)
98    Date: 2004/03/19 14:40:00 EST
99    Tag: leunga-20040319-cygwin-nlffi
100    Description:
101    
102    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
103    of SML/NJ.  The problem is that
104    
105       lib = dlopen(NULL, ...)
106       f   = dlsym(lib, "malloc");
107    
108    does not work on Windows unless we explicitly export symbols
109    such as 'malloc' during linking.  We fixed this by explicitly
110    exporting the required symbols with the magic gcc incantation:
111    
112        -Wl,--export-all cygwin.def
113    
114    where cygwin.def is a file containing all the symbols that
115    we wish to export.
116    
117    I suspect this is a Windows problem and we'll have to
118    do the same (somehow with windows compilers) when
119    we build the native win32 version with the system
120    calls LoadLibrary/GetProcAddress.
121    
122    ----------------------------------------------------------------------
123    Name: Matthias Blume (blume (at) tti - c (dot) org)
124    Date: 2004/03/04 16:35:00 CST
125    Tag: blume-20040304-intinf-fmt
126    Description:
127    
128    Fixed problem with IntInf.fmt (sign would show up on the right instead
129    of on the left for BIN, OCT, and HEX).
130    
131    ----------------------------------------------------------------------
132    Name: Matthias Blume (blume (at) tti - c (dot) org)
133    Date: 2004/03/04 11:25:00 CST
134    Tag: blume-20040304-symlinks
135    Description:
136    
137    Fixed problem with installer script (unix only) where bin/ml-yacc and
138    friends pointed (via symlinks) to absolute locations instead of just
139    .run-sml.  This was reported by Vesa A Norrman.
140    
141    ----------------------------------------------------------------------
142    Name: Matthias Blume (blume (at) tti - c (dot) org)
143    Date: 2004/02/13 14:50:00 CST
144    Tag: Release_110_45
145    Description:
146    
147    New working version (110.45). New bootfiles.
148    
149    ----------------------------------------------------------------------
150    Name: Matthias Blume (blume (at) tti - c (dot) org)
151    Date: 2004/01/26 15:15:15 CST
152    Tag: blume-20040126-toplevel
153    Description:
154    
155    Improved handling of exceptions at the interactive toplevel.
156    
157    ----------------------------------------------------------------------
158    Name: Matthias Blume (blume (at) tti - c (dot) org)
159    Date: 2004/01/26 11:25:00
160    Tag: blume-20040126-app
161    Description:
162    
163    Type of top-level "app" corrected.
164    Added code for setting vp_limitPtrMask to Win32-specific runtime.
165    
166    ----------------------------------------------------------------------
167    Name: Matthias Blume (blume (at) tti - c (dot) org)
168    Date: 2003/11/18 17:10 CST
169    Tag: blume-20031118-basis-fiddle
170    Description:
171    
172    - changed Timer interface to what might become the spec
173    - POSIX_FLAGS -> BIT_FLAGS according to spec
174    - some other minor discrepancies wrt. spec eliminated
175    
176    ----------------------------------------------------------------------
177    Name: Matthias Blume (blume (at) tti - c (dot) org)
178    Date: 2003/11/06 12:00:00 CST
179    Tag: Release_110_44
180    Description:
181    
182    New working version (110.44). New bootfiles.
183    
184    ----------------------------------------------------------------------
185    Name: Matthias Blume (blume (at) tti - c (dot) org)
186    Date: 2003/11/04 11:50:00 CST
187    Tag: blume-20031104-move-libraries
188    Description:
189    
190    Eliminated the "dont_move_libraries" directive in config/targets.
191    (The mechanism was broken and could not be fixed easily.  Moreover,
192    there does not seem to be any reason not to move all libraries into
193    lib during installation.  I originally implemented this directive as a
194    backward-compatibility feature when I first introduced the new CM.
195    Now that things have been stable for a long time and going back to the
196    old CM is not an option, there is no reason to keep it around.)
197    
198    ----------------------------------------------------------------------
199    Name: Matthias Blume (blume (at) tti - c (dot) org)
200    Date: 2003/11/03 16:00:00 CST
201    Tag: blume-20031103-installdir
202    Description:
203    
204    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
205    Richards for pointing out the problem and providing the solution.)
206    
207    ----------------------------------------------------------------------
208    Name: Matthias Blume (blume (at) tti - c (dot) org)
209    Date: 2003/10/01 17:05:00 CDT
210    Tag: blume-20031001-lal-mlrisc
211    Description:
212    
213    MLRISC bug fix from Lal.
214    
215    ----------------------------------------------------------------------
216    Name: Matthias Blume (blume (at) tti - c (dot) org)
217    Date: 2003/09/30 16:10:00 CDT
218    Tag: blume-20030930-primio-bat
219    Description:
220    
221    1. Added openVector, nullRd, and nullWr to PRIM_IO.
222    2. Improved .bat files (for Win32 port) to make things work under Win95.
223       (thanks to Aaron S. Hawley for this one)
224    
225    ----------------------------------------------------------------------
226    Name: Matthias Blume (blume (at) tti - c (dot) org)
227    Date: 2003/09/26 16:05:00 CDT
228    Tag: blume-20030926-wrappriv
229    Description:
230    
231    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
232    
233    ----------------------------------------------------------------------
234    Name: Matthias Blume (blume (at) tti - c (dot) org)
235    Date: 2003/09/26 15:00:00 CDT
236    Tag: blume-20030926-110_43_3
237    Description:
238    
239    - additional cleanup
240    - version number bump, NEW BOOTFILES
241    
242    ----------------------------------------------------------------------
243    Name: Matthias Blume (blume (at) tti - c (dot) org)
244    Date: 2003/09/26 12:00:00 CDT
245    Tag: blume-20030926-ppautoload
246    Description:
247    
248    I modified the read-eval-print loop so that the autoloader gets
249    invoked whenever the prettyprinter tries to look up a symbol that
250    is not currently defined in the toplevel environment but which
251    appears in CM's autoload registry.  As a result, we see far fewer of
252    those ?.Foo.Bar.xxx names in the prettyprinter's output.
253    
254    In addition to this I tried to clean up some pieces of the Basis
255    implementation (e.g., Socket, Word8Array) in order to prevent other
256    instances of these ?.Foo.Bar.xxx names from being printed.
257    
258    The mechanism that picks names for types still needs some work, though.
259    (Right now it seems that if there is a type A.t which is defined to
260    be B.u, but B is unavailable at toplevel, then A.t gets printed as
261    "?.B.u" although the perhaps more sensible solution would be to use
262    "A.t" in this case.  In other words, the prettyprinter should follow
263    a chain of DEFtycs not farther than there are corresponding toplevel
264    names in the current environment.)
265    
266    ----------------------------------------------------------------------
267    Name: Matthias Blume (blume (at) tti - c (dot) org)
268    Date: 2003/09/24 16:31:00 CDT
269    Tag: blume-20030924-installer
270    Description:
271    
272    Another installer tweak:  All the ML code for the installer is now
273    compiled during CMB.make and put into a little library called
274    $smlnj/installer.cm.  The installation then simply invokes
275    
276       sml -m $smlnj/installer.cm
277    
278    and everything happens automagically.
279    
280    Win32:  ML code senses value of environment variable SMLNJ_HOME.
281    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
282            and BINDIR.
283    
284    The new scheme guarantees that the ML code responsible for the installation
285    is in sync with the APIs of the main system.  Also, the installer is
286    somewhat faster because the installer script is precompiled.
287    
288    ----------------------------------------------------------------------
289    Name: Matthias Blume (blume (at) tti - c (dot) org)
290    Date: 2003/09/24 15:35:00 CDT
291    Tag: blume-20030924-synsock
292    Description:
293    
294    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
295    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
296    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
297    implementations of non-blocking operations from CML's Socket
298    structure.
299    
300    ----------------------------------------------------------------------
301    Name: Matthias Blume (blume (at) tti - c (dot) org)
302    Date: 2003/09/24 15:10:05 CDT
303    Tag: blume-20030924-sockets
304    Description:
305    
306    1. Fixed SOCKET API and implementation to match Basis spec.
307       This required changing the internal representation of sockets to one
308       that remembers (for each socket file descriptor) whether it is currently
309       blocking or non-blocking.  This state is maintained lazily (i.e., a system
310       call is made only if the state actually needs to change).
311    
312    2. OS-specific details of sockets were moved into separate files, thus
313       making it possible to unify the bulk of the socket implementations
314       between Unix and Win32.
315    
316    3. CML's socket API changed accordingly.
317       (Note that we need to remove non-blocking functions from this API
318       since they are redundant in the case of CML!)
319    
320    4. CML's socket implementation now makes use of non-blocking functions
321       provided by Basis, thus removing all OS-dependent code from this part
322       of CML.
323    
324    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
325    
326    ----------------------------------------------------------------------
327    Name: Matthias Blume (blume (at) tti - c (dot) org)
328    Date: 2003/09/22 12:10:00 CDT
329    Tag: blume-20030922-110_43_2
330    Description:
331    
332    Made a new interim version and bootfiles for developer's bootstrapping
333    convenience.
334    
335       110.43.2 -- NEW BOOTFILES
336    
337    ----------------------------------------------------------------------
338    Name: Matthias Blume (blume (at) tti - c (dot) org)
339    Date: 2003/09/19 15:55:00 CDT
340    Tag: blume-20030919-cmdir
341    Description:
342    
343    1. new-install.sh -> install.sh
344    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
345    3. tweaked installer so that another name instead of .cm can be chosen
346       at install time (by setting the CM_DIR_ARC environment variable
347       during installation); once installation is complete, the name is
348       fixed
349    
350    ----------------------------------------------------------------------
351    Name: Matthias Blume (blume (at) tti - c (dot) org)
352    Date: 2003/09/18 16:00:00 CDT
353    Tag: blume-20030918-110_43_1
354    Description:
355    
356    Made a new interim version and bootfiles for developer's bootstrapping
357    convenience.
358    
359       110.43.1 -- NEW BOOTFILES
360    
361    ----------------------------------------------------------------------
362    Name: Matthias Blume (blume (at) tti - c (dot) org)
363    Date: 2003/09/18 15:20:00 CDT
364    Tag: blume-20030918-misc
365    Description:
366    
367    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
368       this seems to be controversial at the moment) and used those in
369       Posix.ProcEnv.times.
370    
371    2. Added Time.{from,to}Nanoseconds to Time.
372    
373    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
374       For example, fromLargeInt never needs to look at more than 3 "big
375       digits" to get its 53 bits of precision.
376    
377    ----------------------------------------------------------------------
378    Name: Matthias Blume (blume (at) tti - c (dot) org)
379    Date: 2003/09/17 16:30:00 CDT
380    Tag: blume-20030917-real32-slices
381    Description:
382    
383    Added an entry to the primitive environment
384    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
385    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
386    
387    Removed some of the "magic" constants in real64.sml and replaced them
388    with code that generates these values from their corresponding
389    integer counterparts.
390    
391    Made all(?) the slice-related changes to the Basis and made everything
392    compile again...
393    
394    ----------------------------------------------------------------------
395    Name: Matthias Blume (blume (at) tti - c (dot) org)
396    Date: 2003/09/15 17:45:00 CDT
397    Tag: blume-20030915-rbase
398    Description:
399    
400    Fixed bug in Real.fromLargeInt.
401    
402    ----------------------------------------------------------------------
403    Name: Matthias Blume (blume (at) tti - c (dot) org)
404    Date: 2003/09/13 18:11:00 CDT
405    Tag: blume-20030913-libinstall
406    Description:
407    
408    Minor bugfix in config/libinstall (set anchor with path to
409    standalone tool after installing it, otherwise libraries that
410    need ml-lex or ml-yacc won't compile the first time the installer
411    runs).
412    
413    ----------------------------------------------------------------------
414    Name: Matthias Blume (blume (at) tti - c (dot) org)
415    Date: 2003/09/12 11:45:00 CDT
416    Tag: blume-20030912-various
417    Description:
418    
419     - fixed bug in Real.toLargeInt
420     - fixed bug in Posix.ProcEnv.times
421     - changed inputLine functions to return an option
422     - minor installer improvements / bugfixes
423     - changed default @SMLalloc parameter for x86/celeron to 64k
424    
425    ----------------------------------------------------------------------
426    Name: Matthias Blume (blume (at) tti - c (dot) org)
427    Date: 2003/09/09 22:00:00 CDT
428    Tag: Release_110_43
429    Description:
430    
431        New working release 110.43.  New bootfiles.
432    
433    ----------------------------------------------------------------------
434    Name: Matthias Blume (blume (at) tti - c (dot) org)
435    Date: 2003/09/09 19:20:00 CDT
436    Tag: blume-20030909-installer
437    Description:
438    
439    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
440    Modified config/install.bat to take advantage of it.  Also modified
441    config/install.sh (and called it config/new-install.sh) to take advantage
442    of it on Unix systems.  (The SML code is (supposed to be) platform-
443    independent.)
444    
445    The installer can now install everything under Win32
446    as well as under *nix as long as it compiles.
447    
448    Other changes:
449    
450      - made CML compile again under Win32
451      - made eXene compile under Win32 (by providing a fake structure UnixSock
452        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
453      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
454        same as type int;  under Win32 it isn't
455      - fixed some slice-related problems in the win32-specific parts of CML
456      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
457        (under Win32, the volume name is case-insensitive, and the
458        OS.Path code compares volume names for equality)
459    
460    ----------------------------------------------------------------------
461    Name: Matthias Blume (blume (at) tti - c (dot) org)
462    Date: 2003/09/08 11:55:00 CDT
463    Tag: blume-20030908-fullpath
464    Description:
465    
466    Made Win32 version of OS.FileSys.fullPath return current directory
467    when given an empty string.  This is what the spec says, and incidentally,
468    CM depends on it.  (CM otherwise goes into an infinite loop in certain
469    cases when presented with the name of a non-existing .cm file.)
470    
471    ----------------------------------------------------------------------
472    Name: Matthias Blume (blume (at) tti - c (dot) org)
473    Date: 2003/09/04 16:30:00 CDT
474    Tag: blume-20030905-slices-etc
475    Description:
476    
477      1. Changed interface to vectors and arrays in Basis to match
478         (draft) Basis spec.
479      2. Added signatures and implementations of slices according to
480         Basis spec.
481      3. Edited source code throughout the system to make it compile again
482         under 1. and 2.  (In some cases code had to be added to have it
483         match the new signatures.)
484      4. MLRISC should be backward-compatible: the copies of the originals
485         of files that needed to change under 3. were retained, the .cm files
486         check the compiler version number and use old versions when
487         appropriate.
488      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
489         dirstream -> string option (in accordance with Basis spec).
490      6. When generating code that counts lines, ml-lex used function
491         CharVector.foldli, taking advantage of its old interface.
492         This has been replaced with the corresponding code from
493         CharVectorSlice.  (html-lex must be re-lexed!)
494      7. BitArray in smlnj-lib/Util has been extended/modified to match the
495         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
496      8. Removed temporary additions (fromInternal, toInternal) from the
497         (now obsolete) IntInf in smlnj-lib/Util.
498      9. Cleaned up structure Byte.
499     10. Added localOffset, scan, and fromString to Date (according to spec).
500         Cleaned/corrected implementation of Date.
501         (Still need to check for correctness; implement better canonicalizeDate.)
502     11. Added "scan" to signature IEEE_REAL.
503     12. Some improvements to IntInf [in particular: efficiency-hack for
504         mod and rem when second operand is 2 (for parity checks).]
505     13. Changed representation of type Time.time, using a single IntInf.int
506         value counting microseconds.  This considerably simplified the
507         implementation of structure Time.  We now support negative time
508         values; scan and fromString handle signs.
509     14. Functor PrimIO now takes two additional arguments (VectorSlice and
510         ArraySlice).
511    
512    ----------------------------------------------------------------------
513    Name: Matthias Blume (blume (at) tti - c (dot) org)
514    Date: 2003/08/28 17:00:00 CDT
515    Tag: blume-20030828-intinf
516    Description:
517    
518    This is a major update which comes with a version number bump
519    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
520    and an implementation of IntInf in the Basis.
521    
522    There are a fairly large number of related changes and updates throughout
523    the system:
524    
525    Basis:
526            - Implemented IntInf.
527            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
528            - Added some missing Real64 operations, most notably Real.toLargeInt.
529            - Added FixedInt as a synonym for Int32.
530    
531    compiler:
532            * Added support for a built-in intinf type.
533              - literals
534              - pattern matching
535              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
536              - overloading on literals and operations
537    
538            This required adding a primitive type intinf, some additional
539            primops, and implementations for several non-trivial intinf
540            operations in Core.  (The intinf type is completely abstract
541            to the compiler; all operations get delegated back to the Core.)
542    
543            * Intinf equality is handled by polyequal.  However, the compiler
544            does not print its usual warning in this case (since polyequal
545            is the right thing to do there).
546    
547            * Improved the organization of structure InlineT.
548    
549            * A word about conversion primops:
550            If conversions involving intinf do not cancel out during
551            CPS contract, then the compiler must insert calls to Core functions.
552            Since all core access must be resolved already during the FLINT
553            translate phase, it would be too late a the time of CPS contract
554            to add new Core calls.  For this reason, conversion primops
555            for intinf carry two arguments:  1. the numeric argument that
556            they are supposed to convert, and 2. the Core function that
557            can help with this conversion if necessary.  If CPS contract
558            eliminates a primop, then the associated Core function becomes
559            dead and goes away.  Intinf conversion primops that do not get
560            eliminated by CPS contract get rewritten into calls of their
561            core functions by a separate, new phase.
562    
563    interactive system:
564            - Control.Print.intinfDepth controls max length of intinf constants
565            being printed. (Analogous to Control.Print.stringDepth.)
566            - Cleanup in printutil and pputil: got rid of unused stuff and
567            duplicates; replaced some of the code with code that makes better
568            use of library functionality.
569    
570    CM:
571            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
572            are no longer silent.
573    
574    CKIT:
575            Fixed mismatched uses of Int32 and LargeInt.  I always decided
576            in favor of LargeInt -- which is now the same as IntInf.
577            CKIT-knowledgable people should check whether this is what's
578            intended and otherwise change things back to using Int32 or
579            FixedInt.
580    
581    Throughout the code:
582            Started using IntInf.int literals and built-in operations
583            (e.g., comparison with 0) where this seems appropriate.
584    
585    
586    ----------------------------------------------------------------------
587    Name: Dave MacQueen (dbm@cs.uchicago.edu)
588    Date: 2003/08/13 11:36:00 CDT
589    Tag: dbm-20030813-mcz-merge1
590    Description:
591    
592    Merging changes from the mcz-branch development branch into trunk.
593    These changes involve replacement of the emulated old prettyprinter
594    interface with direct use of the SML/NJ Lib PP library, and fixing
595    of a couple of bugs (895, 1186) relating to error messages.  A new
596    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
597    has been added.
598    
599    ----------------------------------------------------------------------
600    Name: Matthias Blume (blume (at) tti - c (dot) org)
601    Date: 2003/08/11 15:45:00 CDT
602    Tag: blume-20030811-windows
603    Description:
604    
605    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
606    
607        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
608    
609    This patch restores SML/NJ's ability to run under win32.  There are a
610    number of changes, including fixes for several bugs that had gone
611    unnoticed until now:
612    
613      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
614        trying to run the win32 version from within cygwin.)
615    
616      - There are a number of simple .bat scripts that substitute for their
617        corresponding Unix shell-scripts.  (See below.)
618    
619      - The internals of ml-build have been modified slightly.  The main
620        difference is that instead of calling ".link-sml" (or link-sml.bat)
621        using OS.Process.system, the ML process delegates this task back
622        to the script.  Otherwise problems arise in mixed environments such
623        as Cygwin where scripts look and work like Unix scripts, but
624        where OS.Process.system cannot run them.
625    
626      - In CM, the srcpath pickler used native pathname syntax -- which
627        is incorrect in the case of cross-compilation.  The new pickle format
628        is independent of platform-specific naming conventions.
629    
630      - Path configuration files (such as lib/pathconfig) can now choose
631        between native and standard syntax.  Placing a line of the form
632    
633            standard!
634    
635        into the file causes all subsequent paths to be interpreted using
636        CM standard pathname syntax (= Unix conventions); a line
637    
638            native!
639    
640        switches back to native style.  This was needed so that
641        path config files can be written portably, see src/system/pathconfig.
642    
643      - Runtime system:
644    
645          - win32-filesys.c:  get_file_time and set_file_time now
646            access modification time, not creation time.
647    
648          - I/O code made aware of new array representation.
649    
650          - Bug fixes in X86.prim.masm.
651    
652       - src/system/makeml made aware of win32. (For use under cygwin
653            and other Unix-environments for windows.)
654    
655       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
656         which caused BinIO.inputAll to fail consistently.
657    
658    .bat scripts:
659    
660       Windows .bat scripts assume that SMLNJ_HOME is defined.
661    
662       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
663         applications (sml, ml-yacc, ml-lex).
664       - ml-build.bat: analogous to ml-build.
665       - config\install.bat:  Analogous to config/install.sh.  This requires
666         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
667         (nmake etc. must be on the path, and vcvars32 must have been run.)
668         Moreover, sources for ml-lex and ml-yacc need to exist under src,
669         and the bootfile hierarchy must have been unpacked under
670         sml.boot.x86-win32.
671         The script is very primitive and does a poor job at error checking.
672         It only installs the base system, ml-lex, and ml-yacc.  No other
673         libraries are being installed (i.e., you get only those that
674         are part of the compiler.)
675       - link-sml.bat:  analogous to .link-sml, but not currently used
676    
677    Unrelated bug fixes:
678    
679      - ml-nlffigen now exports structures ST_* corresponding to incomplete
680        types.
681      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
682        otherwise.)
683    
684    ----------------------------------------------------------------------
685    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
686    Date: 2003/06/17
687    Tag: macqueen-20030617-bug895
688    Description:
689    
690    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
691    Tag will be used for new development branch (mcz-branch) for
692    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
693    
694    ----------------------------------------------------------------------
695    Name: Matthias Blume (blume (at) tti - c (dot) org)
696    Date: 2003/05/27 16:55:00 CDT
697    Tag: blume-20030527-polyeq
698    Description:
699    
700    Tried to eliminated most cases of polymorphic equality.
701    
702    ----------------------------------------------------------------------
703    Name: Matthias Blume (blume (at) tti - c (dot) org)
704    Date: 2003/05/21 17:45:00 CDT
705    Tag: blume-20030517-complete
706    Description:
707    
708    Two changes:
709    
710      1. Added a flag for controlling whether non-exhaustive bindings will
711         be treated as errors (default is false).
712      2. Cleaned up the *entire* source tree so that CMB.make goes through
713         without a single non-exhaustive match- or bind warning.
714    
715    ----------------------------------------------------------------------
716    Name: Matthias Blume (blume (at) tti - c (dot) org)
717    Date: 2003/05/17 10:20:00 CDT
718    Tag: blume-20030517-absyn
719    Description:
720    
721    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
722    
723       This mainly affects the quality of error messages.  However, some
724       of the code is now more straightforward than before. (Treatment of
725       the above four constructs in translate.sml is much simpler than
726       the "macro-expansion" that was going on before.  Plus, the mach-
727       compiler no longer gets invoked just to be able to compile an
728       if-expression.)
729    
730    2. The ErrorMsg.Error exception is now caught and absorbed by the
731       interactive loop.
732    
733    ----------------------------------------------------------------------
734    Name: Allen Leung
735    Date: 2003/05/16 13:05:00 CDT
736    Tag: leunga-20030516-cygwin-runtime
737    Description:
738    
739        Ported the runtime system to cygwin, which uses the unix
740    x86-unix bin files.  Missing/buggy features:
741    
742       o getnetbyname, getnetbyaddr: these functions seem to be missing in
743         the Cygwin library.
744       o Ctrl-C handling may be flaky.
745       o Windows system calls and Windows I/O are not supported.
746    
747       A new set of binfiles is located at:
748    
749         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
750    
751       This is only needed for bootstrapping the cygwin version of smlnj.
752       Other x86 versions can use the existing binfiles.
753    
754    ----------------------------------------------------------------------
755    Name: Matthias Blume
756    Date: 2003/04/08 15:42:00 CDT
757    Tag: blume-20030408-listpair
758    Description:
759    
760    1. Added a target 'mlrisc' to installer.
761    
762    2. Added missing elements to structure ListPair.
763    
764    ----------------------------------------------------------------------
765    Name: Allen Leung
766    Date: 2003/01/07 10:40:00 EST
767    Tag: leunga-20030107-int-rem
768    Description:
769    
770    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
771    The arguments to the SUBL instruction were swapped.
772    
773    ----------------------------------------------------------------------
774    Name: Matthias Blume
775    Date: 2002/12/12 16:25:00 EST
776    Tag: blume-20021212-risc-ra
777    Description:
778    
779    Fixed a serious bug in the rewrite code for FP spilling/reloading that
780    sent the RA into an infinite loop when floating point registers get
781    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
782    110.37 and 110.38.)
783    There was another set of potential problems related to the handling of
784    MLRISC annotations (but those did not yet cause real problems, apparently).
785    
786    ----------------------------------------------------------------------
787    Name: Matthias Blume
788    Date: 2002/12/06 22:40:00 EST
789    Tag: blume-20021206-cm-fileid
790    Description:
791    
792    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
793    This fixes the problem of CM getting confused by files that suddenly
794    change their identity (e.g., by getting unlinked and recreated by some
795    text editor such as vi).  There might be a better/cheaper/cleaner way
796    of doing this, but for now this will have to do.
797    
798    ----------------------------------------------------------------------
799    Name: Matthias Blume
800    Date: 2002/10/28 09:50:00 EST
801    Tag: blume-20021028-typecheck
802    Description:
803    
804    Exported structure Typecheck from $smlnj/viscomp/core.cm.
805    
806    ----------------------------------------------------------------------
807    Name: Matthias Blume
808    Date: 2002/10/17 09:10:00 EDT
809    Tag: Release_110_42
810    Description:
811    
812    In good old tradition, there has been a slight hiccup so that we have
813    to patch 110.42 after the fact.   The old release tag has been replaced
814    (see below).
815    
816    The change solves a problem with two competing approaches the
817    configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in
818    each other's way.
819    
820    This change only affects the runtime system code and the installer script.
821    (No new bootfiles.)
822    
823    ----------------------------------------------------------------------
824    Name: Matthias Blume
825    Date: 2002/10/16 12:00:00 EDT
826    Tag: Release_110_42_removed
827    Description:
828    
829    New working release.  New bootfiles.
830    
831    ----------------------------------------------------------------------
832    Name: Matthias Blume
833    Date: 2002/10/10 13:10:00 EDT
834    Tag: blume-20021010-ppc-divs
835    Description:
836    
837    The mltree operator DIVS must be implemented with an overflow check on
838    the PPC because the hardware indicates divide-by-zero using "overflow" as
839    well.
840    
841    ----------------------------------------------------------------------
842    Name: Matthias Blume
843    Date: 2002/07/23 11:45:00
844    Tag: blume-20020723-smlnj-home
845    Description:
846    
847    Sml now senses the SMLNJ_HOME environment variable.  If this is set,
848    then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless
849    CM_PATHCONFIG is also set), the path configuration file is assumed
850    to be in $SMLNJ_HOME/lib/pathconfig.  This way one can easily move
851    the entire tree to some other place and everything will "just work".
852    
853    (Companion commands such as ml-build and ml-makedepend also sense this
854    variable.)
855    
856    ----------------------------------------------------------------------
857    Name: Matthias Blume
858    Date: 2002/07/12 21:19:00 EDT
859    Tag: blume-20020712-liveness
860    Description:
861    
862    Exported two useful "step" functions from liveness module (MLRISC).
863    
864    ----------------------------------------------------------------------
865    Name: Matthias Blume
866    Date: 2002/07/05 16:00 EDT
867    Tag: Release_110_41
868    Description:
869    
870    New working release.  New bootfiles.
871    
872    ----------------------------------------------------------------------
873    Name: Matthias Blume
874    Date: 2002/07/05 10:25:00 EDT
875    Tag: blume-20020705-btimp
876    Description:
877    
878    Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that
879    other clients can set up backtracing support.
880    
881    ----------------------------------------------------------------------
882    Name: Matthias Blume
883    Date: 2002/06/25 17:23:00 EDT
884    Tag: blume-20020625-fpmax
885    Description:
886    
887    Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point
888    case.  (The sense of the isNaN test was reversed -- which made min and
889    max always return their first argument.)
890    
891    ----------------------------------------------------------------------
892    Name: Matthias Blume
893    Date: 2002/06/11
894    Tag: blume-20020611-unixpath
895    Description:
896    
897    Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch.
898    
899    ----------------------------------------------------------------------
900    Name: Matthias Blume
901    Date: 2002/06/10 16:35:00 EDT
902    Tag: blume-20020610-ieeereal
903    Description:
904    
905    I back-ported my implementation of IEEEReal.fromString from the
906    idlbasis-devel branch so that we can test it.
907    
908    Another small change is that ppDec tries to give more information
909    than just "<sig>" in the case of functors.  However, this code is
910    broken in some mysterious way if the functor's body's signature
911    has not been declared by ascription but gets inferred from the
912    implementation.  This needs fixing...
913    
914    ----------------------------------------------------------------------
915    Name: Matthias Blume
916    Date: 2002/05/31
917    Tag: blume-20020531-btrace-mode
918    Description:
919    
920    Resurrected SMLofNJ.Internals.BTrace.mode.  (It accidentally fell by
921    the wayside when I switched over to using Controls everywhere.)
922    
923    ----------------------------------------------------------------------
924    Name: Lal George
925    Date: 2002/05/23 12:21:40 EDT
926    Tag: george-20020523-visual-labels
927    Description:
928    
929    Labels are now displayed in the graphical output to make
930    the fall-through and target blocks obvious.
931    
932    ----------------------------------------------------------------------
933  Name: Matthias Blume  Name: Matthias Blume
934  Date: 2002/05/22 11:03:00 EDT  Date: 2002/05/22 11:03:00 EDT
935  Tag: blume-20020522-shrink  Tag: blume-20020522-shrink

Legend:
Removed from v.1220  
changed lines
  Added in v.1489

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