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 1347, Thu Aug 28 21:59:15 2003 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@tti-c.org)  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  Date: 2003/08/28 17:00:00 CDT
627  Tag: blume-20030828-intinf  Tag: blume-20030828-intinf
628  Description:  Description:
# Line 28  Line 637 
637  Basis:  Basis:
638          - Implemented IntInf.          - Implemented IntInf.
639          - Made LargeInt a projection of IntInf (by filtering through INTEGER).          - Made LargeInt a projection of IntInf (by filtering through INTEGER).
640          - Added some missing Real54 operations, most notably Real.toLargeInt.          - Added some missing Real64 operations, most notably Real.toLargeInt.
641          - Added FixedInt as a synonym for Int32.          - Added FixedInt as a synonym for Int32.
642    
643  compiler:  compiler:
# Line 51  Line 660 
660    
661          * A word about conversion primops:          * A word about conversion primops:
662          If conversions involving intinf do not cancel out during          If conversions involving intinf do not cancel out during
663          CPS contract, the compiler must insert calls to Core functions.          CPS contract, then the compiler must insert calls to Core functions.
664          Since all core access must be resolved already during the FLINT          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          translate phase, it would be too late a the time of CPS contract
666          to add now Core calls.  For this reason, conversion primops          to add new Core calls.  For this reason, conversion primops
667          for intinf carry two arguments:  1. the numeric argument that          for intinf carry two arguments:  1. the numeric argument that
668          they are supposed to convert, and 2. the Core function that          they are supposed to convert, and 2. the Core function that
669          can help with this conversion if necessary.  If CPS contract          can help with this conversion if necessary.  If CPS contract
670          eliminates the primop, the Core functions become dead and go          eliminates a primop, then the associated Core function becomes
671          away.  Intinf conversion primops that do not get eliminated          dead and goes away.  Intinf conversion primops that do not get
672          by CPS contract get rewritten into calls of those core functions          eliminated by CPS contract get rewritten into calls of their
673          by a separate, new phase.          core functions by a separate, new phase.
674    
675  interactive system:  interactive system:
676          - Control.Print.intinfDepth controls max length of intinf constants          - Control.Print.intinfDepth controls max length of intinf constants
# Line 82  Line 691 
691          FixedInt.          FixedInt.
692    
693  Throughout the code:  Throughout the code:
694          Started useng IntInf.int literals and built-in operations          Started using IntInf.int literals and built-in operations
695          (e.g., comparison with 0) where this seems appropriate.          (e.g., comparison with 0) where this seems appropriate.
696    
697    
# Line 100  Line 709 
709  has been added.  has been added.
710    
711  ----------------------------------------------------------------------  ----------------------------------------------------------------------
712  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
713  Date: 2003/08/11 15:45:00 CDT  Date: 2003/08/11 15:45:00 CDT
714  Tag: blume-20030811-windows  Tag: blume-20030811-windows
715  Description:  Description:
# Line 195  Line 804 
804  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
805    
806  ----------------------------------------------------------------------  ----------------------------------------------------------------------
807  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
808  Date: 2003/05/27 16:55:00 CDT  Date: 2003/05/27 16:55:00 CDT
809  Tag: blume-20030527-polyeq  Tag: blume-20030527-polyeq
810  Description:  Description:
# Line 203  Line 812 
812  Tried to eliminated most cases of polymorphic equality.  Tried to eliminated most cases of polymorphic equality.
813    
814  ----------------------------------------------------------------------  ----------------------------------------------------------------------
815  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
816  Date: 2003/05/21 17:45:00 CDT  Date: 2003/05/21 17:45:00 CDT
817  Tag: blume-20030517-complete  Tag: blume-20030517-complete
818  Description:  Description:
# Line 216  Line 825 
825       without a single non-exhaustive match- or bind warning.       without a single non-exhaustive match- or bind warning.
826    
827  ----------------------------------------------------------------------  ----------------------------------------------------------------------
828  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
829  Date: 2003/05/17 10:20:00 CDT  Date: 2003/05/17 10:20:00 CDT
830  Tag: blume-20030517-absyn  Tag: blume-20030517-absyn
831  Description:  Description:

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

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