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 1183, Fri Mar 29 19:09:48 2002 UTC revision 1356, Wed Sep 10 02:54:11 2003 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume (blume@tti-c.org)
17    Date: 2003/09/09 22:00:00 CDT
18    Tag: Release_110_43
19    Description:
20    
21        New working release 110.43.  New bootfiles.
22    
23    ----------------------------------------------------------------------
24    Name: Matthias Blume (blume@tti-c.org)
25    Date: 2003/09/09 19:20:00 CDT
26    Tag: blume-20030909-installer
27    Description:
28    
29    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
30    Modified config/install.bat to take advantage of it.  Also modified
31    config/install.sh (and called it config/new-install.sh) to take advantage
32    of it on Unix systems.  (The SML code is (supposed to be) platform-
33    independent.)
34    
35    The installer can now install everything under Win32
36    as well as under *nix as long as it compiles.
37    
38    Other changes:
39    
40      - made CML compile again under Win32
41      - made eXene compile under Win32 (by providing a fake structure UnixSock
42        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
43      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
44        same as type int;  under Win32 it isn't
45      - fixed some slice-related problems in the win32-specific parts of CML
46      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
47        (under Win32, the volume name is case-insensitive, and the
48        OS.Path code compares volume names for equality)
49    
50    ----------------------------------------------------------------------
51    Name: Matthias Blume (blume@tti-c.org)
52    Date: 2003/09/08 11:55:00 CDT
53    Tag: blume-20030908-fullpath
54    Description:
55    
56    Made Win32 version of OS.FileSys.fullPath return current directory
57    when given an empty string.  This is what the spec says, and incidentally,
58    CM depends on it.  (CM otherwise goes into an infinite loop in certain
59    cases when presented with the name of a non-existing .cm file.)
60    
61    ----------------------------------------------------------------------
62    Name: Matthias Blume (blume@tti-c.org)
63    Date: 2003/09/04 16:30:00 CDT
64    Tag: blume-20030905-slices-etc
65    Description:
66    
67      1. Changed interface to vectors and arrays in Basis to match
68         (draft) Basis spec.
69      2. Added signatures and implementations of slices according to
70         Basis spec.
71      3. Edited source code throughout the system to make it compile again
72         under 1. and 2.  (In some cases code had to be added to have it
73         match the new signatures.)
74      4. MLRISC should be backward-compatible: the copies of the originals
75         of files that needed to change under 3. were retained, the .cm files
76         check the compiler version number and use old versions when
77         appropriate.
78      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
79         dirstream -> string option (in accordance with Basis spec).
80      6. When generating code that counts lines, ml-lex used function
81         CharVector.foldli, taking advantage of its old interface.
82         This has been replaced with the corresponding code from
83         CharVectorSlice.  (html-lex must be re-lexed!)
84      7. BitArray in smlnj-lib/Util has been extended/modified to match the
85         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
86      8. Removed temporary additions (fromInternal, toInternal) from the
87         (now obsolete) IntInf in smlnj-lib/Util.
88      9. Cleaned up structure Byte.
89     10. Added localOffset, scan, and fromString to Date (according to spec).
90         Cleaned/corrected implementation of Date.
91         (Still need to check for correctness; implement better canonicalizeDate.)
92     11. Added "scan" to signature IEEE_REAL.
93     12. Some improvements to IntInf [in particular: efficiency-hack for
94         mod and rem when second operand is 2 (for parity checks).]
95     13. Changed representation of type Time.time, using a single IntInf.int
96         value counting microseconds.  This considerably simplified the
97         implementation of structure Time.  We now support negative time
98         values; scan and fromString handle signs.
99     14. Functor PrimIO now takes two additional arguments (VectorSlice and
100         ArraySlice).
101    
102    ----------------------------------------------------------------------
103    Name: Matthias Blume (blume@tti-c.org)
104    Date: 2003/08/28 17:00:00 CDT
105    Tag: blume-20030828-intinf
106    Description:
107    
108    This is a major update which comes with a version number bump
109    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
110    and an implementation of IntInf in the Basis.
111    
112    There are a fairly large number of related changes and updates throughout
113    the system:
114    
115    Basis:
116            - Implemented IntInf.
117            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
118            - Added some missing Real64 operations, most notably Real.toLargeInt.
119            - Added FixedInt as a synonym for Int32.
120    
121    compiler:
122            * Added support for a built-in intinf type.
123              - literals
124              - pattern matching
125              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
126              - overloading on literals and operations
127    
128            This required adding a primitive type intinf, some additional
129            primops, and implementations for several non-trivial intinf
130            operations in Core.  (The intinf type is completely abstract
131            to the compiler; all operations get delegated back to the Core.)
132    
133            * Intinf equality is handled by polyequal.  However, the compiler
134            does not print its usual warning in this case (since polyequal
135            is the right thing to do there).
136    
137            * Improved the organization of structure InlineT.
138    
139            * A word about conversion primops:
140            If conversions involving intinf do not cancel out during
141            CPS contract, then the compiler must insert calls to Core functions.
142            Since all core access must be resolved already during the FLINT
143            translate phase, it would be too late a the time of CPS contract
144            to add new Core calls.  For this reason, conversion primops
145            for intinf carry two arguments:  1. the numeric argument that
146            they are supposed to convert, and 2. the Core function that
147            can help with this conversion if necessary.  If CPS contract
148            eliminates a primop, then the associated Core function becomes
149            dead and goes away.  Intinf conversion primops that do not get
150            eliminated by CPS contract get rewritten into calls of their
151            core functions by a separate, new phase.
152    
153    interactive system:
154            - Control.Print.intinfDepth controls max length of intinf constants
155            being printed. (Analogous to Control.Print.stringDepth.)
156            - Cleanup in printutil and pputil: got rid of unused stuff and
157            duplicates; replaced some of the code with code that makes better
158            use of library functionality.
159    
160    CM:
161            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
162            are no longer silent.
163    
164    CKIT:
165            Fixed mismatched uses of Int32 and LargeInt.  I always decided
166            in favor of LargeInt -- which is now the same as IntInf.
167            CKIT-knowledgable people should check whether this is what's
168            intended and otherwise change things back to using Int32 or
169            FixedInt.
170    
171    Throughout the code:
172            Started using IntInf.int literals and built-in operations
173            (e.g., comparison with 0) where this seems appropriate.
174    
175    
176    ----------------------------------------------------------------------
177    Name: Dave MacQueen (dbm@cs.uchicago.edu)
178    Date: 2003/08/13 11:36:00 CDT
179    Tag: dbm-20030813-mcz-merge1
180    Description:
181    
182    Merging changes from the mcz-branch development branch into trunk.
183    These changes involve replacement of the emulated old prettyprinter
184    interface with direct use of the SML/NJ Lib PP library, and fixing
185    of a couple of bugs (895, 1186) relating to error messages.  A new
186    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
187    has been added.
188    
189    ----------------------------------------------------------------------
190    Name: Matthias Blume (blume@tti-c.org)
191    Date: 2003/08/11 15:45:00 CDT
192    Tag: blume-20030811-windows
193    Description:
194    
195    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
196    
197        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
198    
199    This patch restores SML/NJ's ability to run under win32.  There are a
200    number of changes, including fixes for several bugs that had gone
201    unnoticed until now:
202    
203      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
204        trying to run the win32 version from within cygwin.)
205    
206      - There are a number of simple .bat scripts that substitute for their
207        corresponding Unix shell-scripts.  (See below.)
208    
209      - The internals of ml-build have been modified slightly.  The main
210        difference is that instead of calling ".link-sml" (or link-sml.bat)
211        using OS.Process.system, the ML process delegates this task back
212        to the script.  Otherwise problems arise in mixed environments such
213        as Cygwin where scripts look and work like Unix scripts, but
214        where OS.Process.system cannot run them.
215    
216      - In CM, the srcpath pickler used native pathname syntax -- which
217        is incorrect in the case of cross-compilation.  The new pickle format
218        is independent of platform-specific naming conventions.
219    
220      - Path configuration files (such as lib/pathconfig) can now choose
221        between native and standard syntax.  Placing a line of the form
222    
223            standard!
224    
225        into the file causes all subsequent paths to be interpreted using
226        CM standard pathname syntax (= Unix conventions); a line
227    
228            native!
229    
230        switches back to native style.  This was needed so that
231        path config files can be written portably, see src/system/pathconfig.
232    
233      - Runtime system:
234    
235          - win32-filesys.c:  get_file_time and set_file_time now
236            access modification time, not creation time.
237    
238          - I/O code made aware of new array representation.
239    
240          - Bug fixes in X86.prim.masm.
241    
242       - src/system/makeml made aware of win32. (For use under cygwin
243            and other Unix-environments for windows.)
244    
245       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
246         which caused BinIO.inputAll to fail consistently.
247    
248    .bat scripts:
249    
250       Windows .bat scripts assume that SMLNJ_HOME is defined.
251    
252       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
253         applications (sml, ml-yacc, ml-lex).
254       - ml-build.bat: analogous to ml-build.
255       - config\install.bat:  Analogous to config/install.sh.  This requires
256         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
257         (nmake etc. must be on the path, and vcvars32 must have been run.)
258         Moreover, sources for ml-lex and ml-yacc need to exist under src,
259         and the bootfile hierarchy must have been unpacked under
260         sml.boot.x86-win32.
261         The script is very primitive and does a poor job at error checking.
262         It only installs the base system, ml-lex, and ml-yacc.  No other
263         libraries are being installed (i.e., you get only those that
264         are part of the compiler.)
265       - link-sml.bat:  analogous to .link-sml, but not currently used
266    
267    Unrelated bug fixes:
268    
269      - ml-nlffigen now exports structures ST_* corresponding to incomplete
270        types.
271      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
272        otherwise.)
273    
274    ----------------------------------------------------------------------
275    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
276    Date: 2003/06/17
277    Tag: macqueen-20030617-bug895
278    Description:
279    
280    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
281    Tag will be used for new development branch (mcz-branch) for
282    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
283    
284    ----------------------------------------------------------------------
285    Name: Matthias Blume (blume@tti-c.org)
286    Date: 2003/05/27 16:55:00 CDT
287    Tag: blume-20030527-polyeq
288    Description:
289    
290    Tried to eliminated most cases of polymorphic equality.
291    
292    ----------------------------------------------------------------------
293    Name: Matthias Blume (blume@tti-c.org)
294    Date: 2003/05/21 17:45:00 CDT
295    Tag: blume-20030517-complete
296    Description:
297    
298    Two changes:
299    
300      1. Added a flag for controlling whether non-exhaustive bindings will
301         be treated as errors (default is false).
302      2. Cleaned up the *entire* source tree so that CMB.make goes through
303         without a single non-exhaustive match- or bind warning.
304    
305    ----------------------------------------------------------------------
306    Name: Matthias Blume (blume@tti-c.org)
307    Date: 2003/05/17 10:20:00 CDT
308    Tag: blume-20030517-absyn
309    Description:
310    
311    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
312    
313       This mainly affects the quality of error messages.  However, some
314       of the code is now more straightforward than before. (Treatment of
315       the above four constructs in translate.sml is much simpler than
316       the "macro-expansion" that was going on before.  Plus, the mach-
317       compiler no longer gets invoked just to be able to compile an
318       if-expression.)
319    
320    2. The ErrorMsg.Error exception is now caught and absorbed by the
321       interactive loop.
322    
323    ----------------------------------------------------------------------
324    Name: Allen Leung
325    Date: 2003/05/16 13:05:00 CDT
326    Tag: leunga-20030516-cygwin-runtime
327    Description:
328    
329        Ported the runtime system to cygwin, which uses the unix
330    x86-unix bin files.  Missing/buggy features:
331    
332       o getnetbyname, getnetbyaddr: these functions seem to be missing in
333         the Cygwin library.
334       o Ctrl-C handling may be flaky.
335       o Windows system calls and Windows I/O are not supported.
336    
337       A new set of binfiles is located at:
338    
339         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
340    
341       This is only needed for bootstrapping the cygwin version of smlnj.
342       Other x86 versions can use the existing binfiles.
343    
344    ----------------------------------------------------------------------
345    Name: Matthias Blume
346    Date: 2003/04/08 15:42:00 CDT
347    Tag: blume-20030408-listpair
348    Description:
349    
350    1. Added a target 'mlrisc' to installer.
351    
352    2. Added missing elements to structure ListPair.
353    
354    ----------------------------------------------------------------------
355    Name: Allen Leung
356    Date: 2003/01/07 10:40:00 EST
357    Tag: leunga-20030107-int-rem
358    Description:
359    
360    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
361    The arguments to the SUBL instruction were swapped.
362    
363    ----------------------------------------------------------------------
364    Name: Matthias Blume
365    Date: 2002/12/12 16:25:00 EST
366    Tag: blume-20021212-risc-ra
367    Description:
368    
369    Fixed a serious bug in the rewrite code for FP spilling/reloading that
370    sent the RA into an infinite loop when floating point registers get
371    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
372    110.37 and 110.38.)
373    There was another set of potential problems related to the handling of
374    MLRISC annotations (but those did not yet cause real problems, apparently).
375    
376    ----------------------------------------------------------------------
377    Name: Matthias Blume
378    Date: 2002/12/06 22:40:00 EST
379    Tag: blume-20021206-cm-fileid
380    Description:
381    
382    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
383    This fixes the problem of CM getting confused by files that suddenly
384    change their identity (e.g., by getting unlinked and recreated by some
385    text editor such as vi).  There might be a better/cheaper/cleaner way
386    of doing this, but for now this will have to do.
387    
388    ----------------------------------------------------------------------
389    Name: Matthias Blume
390    Date: 2002/10/28 09:50:00 EST
391    Tag: blume-20021028-typecheck
392    Description:
393    
394    Exported structure Typecheck from $smlnj/viscomp/core.cm.
395    
396    ----------------------------------------------------------------------
397    Name: Matthias Blume
398    Date: 2002/10/17 09:10:00 EDT
399    Tag: Release_110_42
400    Description:
401    
402    In good old tradition, there has been a slight hiccup so that we have
403    to patch 110.42 after the fact.   The old release tag has been replaced
404    (see below).
405    
406    The change solves a problem with two competing approaches the
407    configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in
408    each other's way.
409    
410    This change only affects the runtime system code and the installer script.
411    (No new bootfiles.)
412    
413    ----------------------------------------------------------------------
414    Name: Matthias Blume
415    Date: 2002/10/16 12:00:00 EDT
416    Tag: Release_110_42_removed
417    Description:
418    
419    New working release.  New bootfiles.
420    
421    ----------------------------------------------------------------------
422    Name: Matthias Blume
423    Date: 2002/10/10 13:10:00 EDT
424    Tag: blume-20021010-ppc-divs
425    Description:
426    
427    The mltree operator DIVS must be implemented with an overflow check on
428    the PPC because the hardware indicates divide-by-zero using "overflow" as
429    well.
430    
431    ----------------------------------------------------------------------
432    Name: Matthias Blume
433    Date: 2002/07/23 11:45:00
434    Tag: blume-20020723-smlnj-home
435    Description:
436    
437    Sml now senses the SMLNJ_HOME environment variable.  If this is set,
438    then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless
439    CM_PATHCONFIG is also set), the path configuration file is assumed
440    to be in $SMLNJ_HOME/lib/pathconfig.  This way one can easily move
441    the entire tree to some other place and everything will "just work".
442    
443    (Companion commands such as ml-build and ml-makedepend also sense this
444    variable.)
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume
448    Date: 2002/07/12 21:19:00 EDT
449    Tag: blume-20020712-liveness
450    Description:
451    
452    Exported two useful "step" functions from liveness module (MLRISC).
453    
454    ----------------------------------------------------------------------
455    Name: Matthias Blume
456    Date: 2002/07/05 16:00 EDT
457    Tag: Release_110_41
458    Description:
459    
460    New working release.  New bootfiles.
461    
462    ----------------------------------------------------------------------
463    Name: Matthias Blume
464    Date: 2002/07/05 10:25:00 EDT
465    Tag: blume-20020705-btimp
466    Description:
467    
468    Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that
469    other clients can set up backtracing support.
470    
471    ----------------------------------------------------------------------
472    Name: Matthias Blume
473    Date: 2002/06/25 17:23:00 EDT
474    Tag: blume-20020625-fpmax
475    Description:
476    
477    Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point
478    case.  (The sense of the isNaN test was reversed -- which made min and
479    max always return their first argument.)
480    
481    ----------------------------------------------------------------------
482    Name: Matthias Blume
483    Date: 2002/06/11
484    Tag: blume-20020611-unixpath
485    Description:
486    
487    Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch.
488    
489    ----------------------------------------------------------------------
490    Name: Matthias Blume
491    Date: 2002/06/10 16:35:00 EDT
492    Tag: blume-20020610-ieeereal
493    Description:
494    
495    I back-ported my implementation of IEEEReal.fromString from the
496    idlbasis-devel branch so that we can test it.
497    
498    Another small change is that ppDec tries to give more information
499    than just "<sig>" in the case of functors.  However, this code is
500    broken in some mysterious way if the functor's body's signature
501    has not been declared by ascription but gets inferred from the
502    implementation.  This needs fixing...
503    
504    ----------------------------------------------------------------------
505    Name: Matthias Blume
506    Date: 2002/05/31
507    Tag: blume-20020531-btrace-mode
508    Description:
509    
510    Resurrected SMLofNJ.Internals.BTrace.mode.  (It accidentally fell by
511    the wayside when I switched over to using Controls everywhere.)
512    
513    ----------------------------------------------------------------------
514    Name: Lal George
515    Date: 2002/05/23 12:21:40 EDT
516    Tag: george-20020523-visual-labels
517    Description:
518    
519    Labels are now displayed in the graphical output to make
520    the fall-through and target blocks obvious.
521    
522    ----------------------------------------------------------------------
523    Name: Matthias Blume
524    Date: 2002/05/22 11:03:00 EDT
525    Tag: blume-20020522-shrink
526    Description:
527    
528    John tweaked yesterday's fix for 1131 to handle an out-of-memory
529    situation that comes up when allocating huge arrays.
530    
531    ----------------------------------------------------------------------
532    Name: Matthias Blume
533    Date: 2002/05/21 16:00:00 EDT
534    Tag: Release_110_40
535    Description:
536    
537    New working release (110.40).  New bootfiles.
538    
539    [Also: John Reppy fixed GC bug 1131.]
540    
541    ----------------------------------------------------------------------
542    Name: Matthias Blume
543    Date: 2002/05/21 12:35:00 EDT
544    Tag: blume-20020521-cmdoc
545    Description:
546    
547    CM documentation update.
548    
549    ----------------------------------------------------------------------
550    Name: Matthias Blume
551    Date: 2002/05/21 10:55:00 EDT
552    Tag: blume-20020521-misc
553    Description:
554    
555    - John tweaked runtime to be silent on heap export (except when
556      GC messages are on).
557    - I added a few more things (cross-compiling versions of CMB) to
558      config/preloads (as suggestions).
559    
560    ----------------------------------------------------------------------
561    Name: Matthias Blume
562    Date: 2002/05/20 22:25:00 EDT
563    Tag: blume-20020520-controls
564    Description:
565    
566    - Added ControlUtil structure to control-lib.cm.
567    - Use it throughout.
568    - Used Controls facility to define MLRISC controls (as opposed to
569      registering MLRISC control ref cells with Controls after the fact)
570    - Fixed messed-up controls priorities.
571    
572    * Removed again all the stuff from config/preloads that one wouldn't
573      be able to preload at the time the initial heap image is built.
574      (Many libraries, e.g., CML, do not exist yet at this time.  The
575       only libraries that can be preloaded via config/preloads are those
576       that come bundled with the bootfiles.)
577    
578    ----------------------------------------------------------------------
579    Name: Matthias Blume
580    Date: 2002/05/20 10:59:00 EDT
581    Tag: blume-20020520-preloads
582    Description:
583    
584    Added a lot of commented-out suggestions for things to be included
585    in config/preloads.
586    
587    ----------------------------------------------------------------------
588    Name: Allen Leung
589    Date: 2002/05/18 14:20:00 EDT
590    Tag: leunga-20020518-mdl
591    Description:
592    
593    o Made the mdl tool stuff compile and run again.
594    o I've disabled all the stuff that depends on RTL specifications; they
595      are all badly broken anyway.
596    
597    ----------------------------------------------------------------------
598    Name: Matthias Blume
599    Date: 2002/05/17 16:49:00 EDT
600    Tag: blume-20020517-controls
601    Description:
602    
603    0. John Reppy made several modifications to the SML/NJ library.
604       In particular, there is a shiny new controls-lib.cm.
605    
606    1. Pushed new controls interface through compiler so that everything
607       compiles again.
608    
609    2. Added FormatComb and FORMAT_COMB to the CML version of the
610       SML/NJ library (so that CML compiles again).
611    
612    3. Modified init scripts because XXX_DEFAULT environment variables
613       are no longer with us.  (Boot-time initialization is now done
614       using the same environment variables that are also used for
615       startup-time initialization of controls.)
616    
617    ----------------------------------------------------------------------
618    Name: Lal George
619    Date: 2002/05/15 09:20:10 EDT
620    Tag: george-20020515-pseudo-op-decls
621    Description:
622    
623            All pseudo-ops emitted before the first segment declaration
624    such as TEXT, DATA, and BSS directives are assumed to be global
625    declarations and are emitted first in the assembly file. This is
626    useful in a number of situations where one has pseudo-ops that are not
627    specific to any segment, and also works around the constraint that one
628    cannot have client pseudo-ops in the TEXT segment.
629    
630            Because no segment is associated with these declarations it is
631    an error to allocate any space or objects before the first segment
632    directive and an exception will be raised. However, we cannot make
633    this check for client pseudo-ops.
634    
635            These top level declarations are a field in the CFG graph_info.
636    In theory you can continue to add to this field after the CFG has been
637    built -- provided you know what you are doing;-)
638    
639    ----------------------------------------------------------------------
640    Name: Matthias Blume
641    Date: 2002/05/13 16:40:00 EDT
642    Tag: blume-20020513-pp-etc
643    Description:
644    
645    A few minor bugfixes:
646    
647      - Stopgap measure for bug recently reported by Elsa Gunter (ppDec).
648        (Bogus printouts for redefined bindings still occur.  Compiler
649        bug should no longer occur now.  We need to redo the prettyprinter
650        from scratch.)
651    
652      - CM pathname printer now also adds escape sequences for ( and )
653    
654      - commend and docu fixes for ml-nlffi
655    
656    ----------------------------------------------------------------------
657    Name: Matthias Blume
658    Date: 2002/05/10 16:40:00 EDT
659    Tag: blume-20020510-erg-textio
660    Description:
661    
662    Applied the following bugfix provided by Emden Gansner:
663    
664        Output is corrupted when outputSubstr is used rather than output.
665    
666        The problem occurs when a substring
667    
668            ss = (s, dataStart, dataLen)
669    
670        where dataStart > 0, fills a stream buffer with avail bytes left.
671        avail bytes of s, starting at index dataStart, are copied into the
672        buffer, the buffer is flushed, and then the remaining dataLen-avail
673        bytes of ss are copied into the beginning of the buffer. Instead of
674        starting this copy at index dataStart+avail in s, the current code
675        starts the copy at index avail.
676    
677        Fix:
678        In text-io-fn.sml, change line 695 from
679             val needsFlush = copyVec(v, avail, dataLen-avail, buf, 0)
680        to
681             val needsFlush = copyVec(v, dataStart+avail, dataLen-avail, buf, 0)
682    
683    ----------------------------------------------------------------------
684    Name: Matthias Blume
685    Date: 2002/04/12 13:55:00 EDT
686    Tag: blume-20020412-assyntax
687    Description:
688    
689    1. Grabbed newer assyntax.h from the XFree86 project.
690    2. Fiddled with how to compile X86.prim.asm without warnings.
691    3. (Very) Minor cleanup in CM.
692    
693    ----------------------------------------------------------------------
694    Name: Matthias Blume
695    Date: 2002/04/01 (no joke!) 17:07:00 EST
696    Tag: blume-20020401-x86div
697    Description:
698    
699    Added full support for div/mod/rem/quot on the x86, using the machine
700    instruction's two results (without clumsily recomputing the remainder)
701    directly where appropriate.
702    
703    Some more extensive power-of-two support was added to the x86 instruction
704    selector (avoiding expensive divs, mods, and muls where they can be
705    replaced with cheaper shifts and masks).  However, this sort of thing
706    ought to be done earlier, e.g., within the CPS optimizer so that
707    all architectures benefit from it.
708    
709    The compiler compiles to a fixed point, but changes might be somewhat
710    fragile nevertheless.  Please, report any strange things that you might
711    see wrt. div/mod/quot/rem...
712    
713    ----------------------------------------------------------------------
714    Name: Matthias Blume
715    Date: 2002/03/29 17:22:00
716    Tag: blume-20020329-div
717    Description:
718    
719    Fixed my broken div/mod logic.  Unfortunately, this means that the
720    inline code for div/mod now has one more comparison than before.
721    Fast paths (quotient > 0 or remainder = 0) are not affected, though.
722    The problem was with quotient = 0, because that alone does not tell
723    us which way the rounding went.  One then has to look at whether
724    remainder and divisor have the same sign...  :(
725    
726    Anyway, I replaced the bootfiles with fresh ones...
727    
728    ----------------------------------------------------------------------
729  Name: Matthias Blume  Name: Matthias Blume
730  Date: 2002/03/29 14:10:00 EST  Date: 2002/03/29 14:10:00 EST
731  Tag: blume-20020329-inlprims  Tag: blume-20020329-inlprims

Legend:
Removed from v.1183  
changed lines
  Added in v.1356

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