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

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

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