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

SCM Repository

[smlnj] Diff of /sml/branches/primop-branch-3/NOTES/HISTORY
ViewVC logotype

Diff of /sml/branches/primop-branch-3/NOTES/HISTORY

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

revision 1220, Wed May 22 15:04:10 2002 UTC revision 1733, Thu Dec 16 05:37:04 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/12/15 23:40:00 CST
18    Tag: blume-20041215-hashSubstring
19    Description:
20    
21    - HashString.hashString' -> HashString.hashSubstring
22    - corresponding changes in atom.sml
23    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
24      added some comments
25    
26    ----------------------------------------------------------------------
27    Name: Matthias Blume (blume (at) tti - c (dot) org)
28    Date: 2004/12/15 15:30:00 CST
29    Tag: Release_110_52
30    Description:
31    
32    New working version (110.52).  NEW BOOTFILES!
33    
34    ----------------------------------------------------------------------
35    Name: Matthias Blume (blume (at) tti - c (dot) org)
36    Date: 2004/12/15 12:45:00 CST
37    Tag: blume-20041215-spaces
38    Description:
39    
40    More on the space problem (this time for Win32).
41    
42    ----------------------------------------------------------------------
43    Name: Matthias Blume (blume (at) tti - c (dot) org)
44    Date: 2004/12/14 17:30:00 CST
45    Tag: blume-20041214-spaces
46    Description:
47    
48    Hacked some of the scripts (in particular: the installer) to cope with
49    spaces in filenames a bit better.  But beware: the current "solution"
50    is likely still full of bugs and inherently incomplete.  (We need to
51    do away with those shell scripts for a comprehensive solution.)
52    
53    ----------------------------------------------------------------------
54    Name: Matthias Blume (blume (at) tti - c (dot) org)
55    Date: 2004/12/13 14:45:00 CST
56    Tag: blume-20041213-ml-makedepend
57    Description:
58    
59    Fixed bug in code for ml-makedepend.
60    
61    ----------------------------------------------------------------------
62    Name: Matthias Blume (blume (at) tti - c (dot) org)
63    Date: 2004/12/09 16:30:00 CST
64    Tag: blume-20041209-statistics
65    Description:
66    
67    Added two simple but potentially useful statistics modules to SML/NJ Library.
68    (See CHANGES file there.)
69    
70    ----------------------------------------------------------------------
71    Name: Matthias Blume (blume (at) tti - c (dot) org)
72    Date: 2004/12/01 16:50:00 CST
73    Tag: blume-20041201-atom
74    Description:
75    
76    smlnj-lib:
77    
78      Added function HashString.hashString' for substrings.
79      Hand-inlined CharVector.foldl into HashString (for speed).
80      Modified implementation of structure Atom to avoid extracting
81      strings from substrings unless necessary.
82      (Also see CHANGES file for smlnj-lib.)
83    
84    ----------------------------------------------------------------------
85    Name: Matthias Blume (blume (at) tti - c (dot) org)
86    Date: 2004/11/24 22:15:00 CST
87    Tag: blume-20041124-cml
88    Description:
89    
90    Made sure CML compiles when Position = Int64.
91    
92    ----------------------------------------------------------------------
93    Name: Matthias Blume (blume (at) tti - c (dot) org)
94    Date: 2004/11/24 14:30:00 CST
95    Tag: blume-20041124-position
96    Description:
97    
98    The compiler can now be compiled in a mode that makes structure Position
99    equal to Int64.  The default, however, is unchanged (Position = Int31)
100    for the time being.
101    
102    To enable 64-bit positions, use the following procedure:
103    
104    1. Start sml
105    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
106    3. Type
107          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
108    4. Run CMB.make() as usual.
109    
110    This is barely tested.  The only test so far was a little SML program
111    counting the number of characters in an 8-gigabyte file by
112    reading it character-by-character.  That test was successful.
113    
114    In support of 64-bit positions, a number of new functions have been
115    added to the runtime system.
116    
117    ----------------------------------------------------------------------
118    Name: Matthias Blume (blume (at) tti - c (dot) org)
119    Date: 2004/11/23 14:45:00 CST
120    Tag: blume-20041123-useFile
121    Description:
122    
123    Fixed a problem with unhelpful error messages related to problems with
124    .cm- or .sml files that appear as part of the sml command line.
125    
126    ----------------------------------------------------------------------
127    Name: Matthias Blume (blume (at) tti - c (dot) org)
128    Date: 2004/11/18 15:40:00 CST
129    Tag: Release_110_51
130    Description:
131    
132    New working version (110.51).  NEW BOOTFILES!
133    
134    ----------------------------------------------------------------------
135    Name: Matthias Blume (blume (at) tti - c (dot) org)
136    Date: 2004/11/18 15:35:00 CST
137    Tag: <none>
138    Description:
139    
140    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
141    Joemann).
142    
143    ----------------------------------------------------------------------
144    Name: Allen Leung (leunga (at) reservoir (dot) com)
145    Date: 2004/11/17 16:05:21 EST 2004
146    Tag: leunga-20041117-mlrisc-live-kill
147    Description:
148    
149       Added support for MLTree constructs LIVE and KILL
150    to all the architectures.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume (blume (at) tti - c (dot) org)
154    Date: 2004/11/13 00:20:00 CST
155    Tag: blume-20041113-versiontool
156    Description:
157    
158    - Stripped down the versiontool: It now only handles the version number.
159      The date string is generated at bootstrap time (during makeml).
160    
161    - In a previous commit, fixed a minor issue with how polyequal is being
162      translated.  In particular, the code now "looks through" abstractions.
163      This results in slightly fewer polyEqual warnings and hopefully slightly
164      more efficient code.  Important examples for where this matters are
165      the new int64 and word64 types.
166    
167    ----------------------------------------------------------------------
168    Name: Matthias Blume (blume (at) tti - c (dot) org)
169    Date: 2004/11/12 00:30:00 CST
170    Tag: blume-20041112-int64
171    Description:
172    
173    Structure Int64 fully hooked in.  (The implementation is not very
174    efficient, though.)
175    
176    ----------------------------------------------------------------------
177    Name: Matthias Blume (blume (at) tti - c (dot) org)
178    Date: 2004/11/11 17:30:00 CST
179    Tag: blume-20041111-more64
180    Description:
181    
182    All the pieces of Word64 are now there, with the exception of the
183    conversions from and to LargeWord. (Eventually these need to be identities,
184    but for the time being they don't even make sense because LargeWord is
185    32-bit wide.)
186    
187    Also started to add similar support for Int64, but major pieces of that
188    are still missing.
189    
190    ----------------------------------------------------------------------
191    Name: Matthias Blume (blume (at) tti - c (dot) org)
192    Date: 2004/11/11 00:15:00 CST
193    Tag: blume-20041111-word64
194    Description:
195    
196    Structure Word64 is now (almost) complete, word literals and patterns
197    seem to work.  There are a few odd pieces missing.  In particular,
198    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
199    at the moment.
200    
201    Making Word64 official would mean that LargeWord becomes Word64.  But
202    this requires extreme care because most word-word conversions have to
203    go through LargeWord, so making a mistake means loss of efficiency or
204    worse.  Eventually there will be a solution similar to (but actually
205    simpler than) what I did with IntInf.
206    
207    ----------------------------------------------------------------------
208    Name: Matthias Blume (blume (at) tti - c (dot) org)
209    Date: 2004/11/10 18:12:00 CST
210    Tag: blume-20041110-64bit
211    Description:
212    
213    More 64-bit hacking (but still not even half-way there yet).
214    Also, some assorted improvements to the handling of 8-bit words.
215    
216    ----------------------------------------------------------------------
217    Name: Matthias Blume (blume (at) tti - c (dot) org)
218    Date: 2004/11/09 17:50:00 CST
219    Tag: <none>
220    Description:
221    
222    Started adding some infrastructure for supporting 64-bit int- and
223    word-types.  (Still in its very early stages.)
224    
225    ----------------------------------------------------------------------
226    Name: Matthias Blume (blume (at) tti - c (dot) org)
227    Date: 2004/10/28 10:45:00 CDT
228    Tag: Release_110_50
229    Description:
230    
231    New working version (110.50).  NEW BOOTFILES!
232    
233                 =====================
234    
235    Also:
236    
237      - Changend config/srcarchiveurl from a file just
238        containing the URL string into a file containing
239        shell script code.  The code has access to the $VERSION variable.
240      - Made corresponding changes to config/install.sh and config/unpack.
241      - Default contents of config/srcarchiveurl uses $VERSION and
242        normally does not have to be edited to reflect a version change.
243    
244      (As a result, a version change can be done by just editing
245       config/version, the rest is now automatic.)
246    
247    ----------------------------------------------------------------------
248    Name: Matthias Blume (blume (at) tti - c (dot) org)
249    Date: 2004/10/27 17:50:00 CDT
250    Tag: blume-20041027-btrace-msg
251    Description:
252    
253    BackTrace.monitor now also reports the source of the exception that
254    triggered the trace.
255    
256    ----------------------------------------------------------------------
257    Name: Matthias Blume (blume (at) tti - c (dot) org)
258    Date: 2004/10/27 17:20:00 CDT
259    Tag: blume-20041027-x86-c-calls
260    Description:
261    
262    This is the HISTORY entry for two earlier commits, both concerning
263    the x86 c-calls code in MLRISC:
264    
265      - added a missing LOAD in the code that deals with struct arguments
266      - made sure the caller does not add the wrong number of bytes to the
267        stack pointer after a call of a function returning a struct
268        (the callee already pops the implicit argument which points to
269         the space reserved for the result)
270    
271    ----------------------------------------------------------------------
272    Name: Allen Leung (leunga (at) reservoir (dot) com)
273    Date: 2004/10/24 14:00:00 EST
274    Tag: leunga-20041024-x86-gas-fucomip
275    Description:
276    
277       John discovered a bug in the syntax of fucomip.
278       The opcodes FU?COMIP? have been changed to
279    
280           fu?comip? %st(i), %st
281    
282    ----------------------------------------------------------------------
283    Name: Matthias Blume (blume (at) tti - c (dot) org)
284    Date: 2004/10/20 15:06:00 CDT
285    Tag: blume-20041020-standalone-backtrace
286    Description:
287    
288    Added a mechanism for getting back-trace information from standalone
289    programs.  Here is how it works:
290    
291       1. The part of the program from which you want to get backtrace
292          information (usually the whole program) should be wrapped with
293          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
294          main program could be modified from something like
295    
296             fun main (pgm, args) = ...
297    
298         to
299    
300            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
301    
302       2. To be able to access BackTrace.monitor, you have to add
303          library $smlnj-tdp/plugins.cm to the .cm file that contains your
304          main function.
305    
306       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
307          CM might have created in the past for your project).
308    
309       4. Build the system using this command line:
310    
311             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
312                      myprog.cm MyProg.main myprog
313    
314          instead of the usual
315    
316             ml-build myprog.cm MyProg.main myprog
317    
318    I changed a library name:
319    
320       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
321    
322    New libraries:
323    
324       $smlnj-tdp/back-trace.cm
325          -- when loaded causes the back-trace plugin to be installed
326       $smlnj-tdp/coverage.cm
327          -- when loaded causes the coverage plugin to be installed
328    
329    ----------------------------------------------------------------------
330    Name: Matthias Blume (blume (at) tti - c (dot) org)
331    Date: 2004/10/18 16:45:00 CDT
332    Tag: blume-20041018-groupowner
333    Description:
334    
335    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
336    
337    Eliminated group owner specs from .cm files throughout the source tree.
338    
339    ----------------------------------------------------------------------
340    Name: Matthias Blume (blume (at) tti - c (dot) org)
341    Date: 2004/10/15 15:45:00 CDT
342    Tag: blume-20041015-coverage
343    Description:
344    
345    * Test coverage tool added!
346    * Further reorganization of tracing-, debugging-, and profiling support:
347    
348        - moved original BTImp -- now called BackTrace -- into a separate
349          library called $/trace-debug-profile.cm
350        - eliminated all mentions of BTrace from SMLofNJ.Internals
351        - only the instrumentation mechanism is now left in the compiler proper
352        - BackTrace module is a plugin which is NOT plugged in by default
353        - Coverage module is another such plugin
354    
355    To get the benefits of any of these plugin modules, the code in
356    question must be compiled with tdp instrumentation turned on.  This
357    can be done by setting SMLofNJ.Internals.TDP.mode to true.
358    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
359    
360    Plugins are selected at link time.  (Pre-compiled instrumented code
361    can be re-loaded with different plugins in effect.)  When an
362    instrumented module is linked, whatever plugins are at that time
363    enabled will come into effect for that module.
364    
365    To enable the back-trace plugin, load library $/trace-debug-profile.cm
366    and invoke BackTrace.install() (e.g., from the interactive prompt).
367    To enable the coverage plugin, load the same library and invoke
368    Coverage.install().
369    
370    Back-traces are generated automatically on uncaught exceptions and
371    when the code in question explicitly invokes BackTrace.trigger().
372    
373    Coverage (and execution frequency-) information must be queried
374    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
375    
376    ----------------------------------------------------------------------
377    Name: Matthias Blume (blume (at) tti - c (dot) org)
378    Date: 2004/10/14 17:40:00 CDT
379    Tag: blume-20041014-tdp-core
380    Description:
381    
382    Snapshot of a significant overhaul of how the trace/debug/profile support
383    is hooked into the system (specifically: Core and SMLofNJ.Internals).
384    
385    ----------------------------------------------------------------------
386    Name: Matthias Blume (blume (at) tti - c (dot) org)
387    Date: 2004/10/13 16:34:00 CDT
388    Tag: blume-20041013-tdp
389    Description:
390    
391    Some rationalization of names:
392    
393       structure BTrace -> structure TDPInstrument
394       etc.
395    
396    This is is preparation of using the original back-trace
397    instrumentation for other purposes.  "TDP" stands for
398    Trace/Debug/Profile.
399    
400    The control flag controlling whether instrumentation is on or off is now
401    registered under a different name, so instead of running sml as
402    
403     sml -Cinstrument.btrace-mode=true
404    
405    one has to say
406    
407     sml -Ctdp.instrument=true
408    
409    ----------------------------------------------------------------------
410    Name: Matthias Blume (blume (at) tti - c (dot) org)
411    Date: 2004/10/11 16:37:00 CDT
412    Tag: blume-20041011-regions
413    Description:
414    
415    Made some minor modifications to elabcore.sml to have source regions
416    be propagated more tightly -- resulting in better (i.e., smaller)
417    regions being reported in error- and debug messages.
418    
419    ----------------------------------------------------------------------
420    Name: Matthias Blume (blume (at) tti - c (dot) org)
421    Date: 2004/10/08 22:50:00 CDT
422    Tag: blume-20041008-cmkw
423    Description:
424    
425    Fixed handling of keywords in .cm files: After seeing "is" the lexer
426    treats subsequent occurrences of "group", "library", "source", "is",
427    "*", and "-" as ordinary identifiers rather than keywords.
428    
429    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
430    is supposed to accept a tool argument called "source", but this did
431    not work because of the clash with the keyword.
432    
433    ----------------------------------------------------------------------
434    Name: Matthias Blume (blume (at) tti - c (dot) org)
435    Date: 2004/10/07 16:00:00 CDT
436    Tag: blume-20041007-cleanup
437    Description:
438    
439    Assorted cleanup work:
440    
441      - got rid of intstrmap in favor of using the library's
442        hash table implementation
443      - threw out most of the pathnames stuff, as it was not used anyway
444      - simplified tokentable implementation
445      - fixed some minor spelling errors
446    
447    ----------------------------------------------------------------------
448    Name: Matthias Blume (blume (at) tti - c (dot) org)
449    Date: 2004/10/06 15:15:15 CDT
450    Tag: blume-20041006-handler
451    Description:
452    
453    Cleaned up the absyn to reflect the invariant that HANDLE always
454    carries a FNexp as part of the type definition.  This eliminates some
455    superfluous sanity checks at runtime down the road.
456    
457    Some minor cleanup of the btrace code.
458    
459    ----------------------------------------------------------------------
460    Name: Matthias Blume (blume (at) tti - c (dot) org)
461    Date: 2004/10/01 10:20:30 CDT
462    Tag: blume-20041001-slave
463    Description:
464    
465    Added hack to make slave mode work in the presence of the version
466    tool.  (Still, since the master does two passes over the code for
467    CMB.make, the release number gets bumped twice when slaves are
468    attached.  I don't know if this is worth fixing...)
469    
470    ----------------------------------------------------------------------
471    Name: Matthias Blume (blume (at) tti - c (dot) org)
472    Date: 2004/09/30 10:55:00 CDT
473    Tag: blume-20040930-version
474    Description:
475    
476    * Moved the "version" magic into its own little library under
477      src/system/smlnj/internal.  This avoids expensive reconstruction of
478      a stable src/compiler/core.cm.
479    
480    * At the same time, structure CompilerVersion is now known as
481      structure SMLNJVersion.
482    
483    * Arranged for the version tool to NOT kick in when rebuilding the system
484      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
485      Also, loading the versiontool does not work when rebuilding the system
486      because CM is not properly initialized at that time.
487    
488    ----------------------------------------------------------------------
489    Name: Matthias Blume (blume (at) tti - c (dot) org)
490    Date: 2004/09/29 14:00:00 CDT
491    Tag: blume-20040929-autoversion
492    Description:
493    
494    Implemented some CM magic to have
495        file src/compiler/TopLevel/main/version.sml
496    generated automagically.
497    The version is taken from two files: config/version and config/release.
498    The first is expected to contain a two-part version number such as 110.49.
499    The second should contain a single number, but it may be missing.
500    
501    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
502    time the version tool is loaded (which is the first time you say CMB.make),
503    then the tool will increment the value stored in config/release every
504    time CMB.make is invoked.
505    
506    The binfile format is now insensitive to anything beyond the first
507    two components of a version number, so bumping the release does not render
508    binfiles incompatible.  Auto-bumping can be used to keep track of versions
509    during development without invalidating existing binfiles.
510    
511    In any case, every CMB.make updates the date information in version.sml.
512    (This is the date that is printed in the banner.)
513    
514    ----------------------------------------------------------------------
515    Name: Matthias Blume (blume (at) tti - c (dot) org)
516    Date: 2004/09/28 10:53:00 CDT
517    Tag: blume-20040928-controls
518    Description:
519    
520    Some cleanup of the controls code.
521    
522    ----------------------------------------------------------------------
523    Name: Matthias Blume (blume (at) tti - c (dot) org)
524    Date: 2004/09/27 22:08:00 CDT
525    Tag: blume-20040927-controls
526    Description:
527    
528    Added two pieces of functionality to the Controls interface:
529    
530    1.   val save'restore: 'a control -> unit -> unit
531    
532       grabs the current value of the control in stage 1 and restores it
533       in stage 2.
534    
535    2.   val set' : 'a control * 'a -> unit -> unit
536    
537       stores the given value into the control in stage 2 (i.e., delayed)
538       but does all error checking in stage 1.
539       (This is for string controls that need to do parse their argument --
540        something that might fail.  In some cases, notably in CM, one
541        already knows the intended argument but wants to delay the actual
542        assignment until a time when error recovery would be more difficult.)
543    
544    Changed the handling of controls in tool arguments to classes "sml" and
545    "lazysml":
546       - use Controls.save'restore as a more robust way of restoring the
547         old value (in particular: without having to re-parse the string)
548       - use controls to handle the "overload" keyword in the init group
549         (I believe this change actually fixes a long-standing obscure bug.)
550    
551    ----------------------------------------------------------------------
552    Name: Matthias Blume (blume (at) tti - c (dot) org)
553    Date: 2004/09/27 17:00:00 CDT
554    Tag: blume-20040927-lazysml
555    Description:
556    
557    Added a new tool class called "lazysml" to CM's tool chest.  The only
558    difference to "sml" is that compilation is done with Control.lazysml
559    set to true.  A source of class "lazysml" is automatically recognized
560    by a file name suffix of ".lml".
561    
562    In addition to the above feature, the original class "sml" now also
563    supports a tool argument "lazy" which has the same effect.  As a
564    result, the following three lines are equivalent:
565    
566        foo.sml : lazysml
567        foo.sml : sml (lazy)
568        foo.sml (lazy)
569    
570    The setting goes into effect both during parsing and during
571    compilation.  The original setting is restored right after parsing and
572    after compilation, respectively.
573    
574    In addition to all the above, there is also a general mechanism to set
575    ANY of the "controls" that are available at the command line via
576    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
577    apply as well. (In fact, "lazy" is implemented as a special case of
578    the general mechanism.)
579    
580    The .cm file syntax uses a new keyword tool argument called "with".
581    There are several ways of indicating the desired settings:
582    
583        foo.sml (with:parser.quotations=true)
584        foo.sml (with:(name:parser.quotations value:true))
585        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
586        foo.sml (with:(name1=value1 name2=value2 ...))
587        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
588    
589        etc.
590    
591    Another possible abbreviation is to leave out the =v or value:v part
592    if the name refers to a boolean control (in which case the value is
593    taken to be true).  Thus, one could get lazy sml also by saying:
594    
595        foo.sml (with:parser.lazy-keyword=true)
596        foo.sml (with:parser.lazy-keyword)
597        foo.sml (with:(name:parser.lazy-keyword value:true))
598        foo.sml (with:(name:parser.lazy-keyword))
599    
600    ----------------------------------------------------------------------
601    Name: Matthias Blume (blume (at) tti - c (dot) org)
602    Date: 2004/09/24 16:22:00 CDT
603    Tag: blume-20040924-ppc-long-branch
604    Description:
605    
606    Turned message about "emiting long form of branch" off by default.
607    Added a control flag to turn it back on when desired.
608    
609    ----------------------------------------------------------------------
610    Name: Matthias Blume (blume (at) tti - c (dot) org)
611    Date: 2004/09/24 16:05:00 CDT
612    Tag: blume-20040924-rounding
613    Description:
614    
615    Applied patch for setting rounding modes under Mac OS X.  Thanks to
616    Melissa O'Neill for providing the code!
617    
618    ----------------------------------------------------------------------
619    Name: Matthias Blume (blume (at) tti - c (dot) org)
620    Date: 2004/09/23 17:30:00 CDT
621    Tag: blume-20040923-envvars
622    Description:
623    
624    1. Changed definition of type ControlRegistry.registry_tree to
625       include control_info (i.e., the name of the controlling environment
626       variable).
627    
628    2. Added command-line flags -e and -E to print the names of environment
629       variables that can be used to control internal settings.
630       (This uses the new API mentioned in 1.)
631    
632    ----------------------------------------------------------------------
633    Name: Matthias Blume (blume (at) tti - c (dot) org)
634    Date: 2004/09/13 16:50:00 CDT
635    Tag: Release_110_49
636    Description:
637    
638    New working version (110.49).  NEW BOOTFILES!
639    
640    ----------------------------------------------------------------------
641    Name: Matthias Blume
642    Date: 2004/09/13 16:20:00 CDT
643    Tag: blume-20040913-config-mlrisc
644    Description:
645    
646    Put target "mlrisc" back into the default list.
647    (There is no harm in having it, and some users have expressed their
648    wish to have "mlrisc" included by default.)
649    
650    ----------------------------------------------------------------------
651    Name: John Reppy
652    Date: 2004/09/13
653    Tag: jhr-20040913-signals
654    Description:
655    
656    Fixed the signal masking code to properly nest mask/unmask operations
657    on a per-signal basis.
658    
659    ----------------------------------------------------------------------
660    Name: Matthias Blume (blume (at) tti - c (dot) org)
661    Date: 2004/09/08 13:20:00 CDT
662    Tag: blume-20040908-heap-magic
663    Description:
664    
665    Bumped the heap macig number to 0x09082004 to account for the changed
666    layout of the ML frame under MacOS X.
667    
668    ----------------------------------------------------------------------
669    Name: Allen Leung (leunga (at) reservoir (dot) com)
670    Date: 2004/09/03 11:26:00 EST
671    Tag: leunga-20040903-cygwin-install
672    Description:
673    
674       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
675    The Cygwin runtime is turned on by setting the environment
676    variable SMLNJ_CYGWIN_RUNTIME to 1.
677    
678    ----------------------------------------------------------------------
679    Name: Matthias Blume (blume (at) tti - c (dot) org)
680    Date: 2004/08/31 17:15:00 CDT
681    Tag: blume-20040831-core
682    Description:
683    
684    Added some exports to src/compiler/core.cm upon request by J. Joemann.
685    
686    ----------------------------------------------------------------------
687    Name: Matthias Blume (blume (at) tti - c (dot) org)
688    Date: 2004/08/30 17:55:00 CDT
689    Tag: blume-20040830-installer
690    Description:
691    
692    Upon request by Johannes Joemann:
693    
694    - improved ML code of installer to fall back to coping when renaming
695      fails (i.e., when source and target are on different file systems);
696      the code compiles but has yet to be tested in anger
697    - removed mlrisc from list of default targets (config/targets)
698    
699    ----------------------------------------------------------------------
700    Name: Matthias Blume (blume (at) tti - c (dot) org)
701    Date: 2004/08/27 17:20:00 CDT
702    Tag: blume-20040827-ptreql
703    Description:
704    
705    Added ptreql primop to structure InlineT (upon request from Larry
706    Paulson).
707    
708    ----------------------------------------------------------------------
709    Name: Allen Leung (leunga (at) reservoir (dot) com)
710    Date: 2004/08/15 21:21:00 EST
711    Tag: leunga-110_48-udgraph
712    Description:
713    
714    Another bug fix from Carl Hauser:
715    
716    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
717    > 48c48
718    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
719    > e::L)
720    > ---
721    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
722    > Without this, any deletion of an edge in an undirected graph does severe
723    > violence to the graph.
724    
725    ----------------------------------------------------------------------
726    Name: Allen Leung (leunga (at) reservoir (dot) com)
727    Date: 2004/08/10 23:35:00 EST
728    Tag: leunga-110_48-ppc
729    Description:
730    
731       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
732    
733    ----------------------------------------------------------------------
734    Name: Matthias Blume (blume (at) tti - c (dot) org)
735    Date: 2004/08/10 12:00:00 CDT
736    Tag: Release_110_48
737    Description:
738    
739    New working version (110.48).  NEW BOOTFILES!
740    
741    ----------------------------------------------------------------------
742    Name: Allen Leung (leunga (at) reservoir (dot) com)
743    Date: 2004/08/09 12:21:00 EST
744    Tag: leunga-110_47-dijsktra
745    Description:
746    
747    Bug fix from Carl Hauser:
748    
749    single_source_shortest_paths in dijkstra.sml was observed to get wrong
750    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
751    
752    The problem is that following the expression A.update(dist,s,Num.zero)
753    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
754    
755    ----------------------------------------------------------------------
756    Name: Matthias Blume (blume (at) tti - c (dot) org)
757    Date: 2004/08/06 18:10:00 CDT
758    Tag: blume-20040806-cmdline
759    Description:
760    
761    Fiddled with handling of command-line options:
762    
763      * sml now quits after processing the command line
764        if -H, -S, -h<n>, or -s<n> appears as the last
765        command-line argument
766      * a new option -q terminates the session when encountered on
767        the command line; subsequent arguments will be ignored
768      * bug fixes: short (erroneous) arguments are no longer ignored
769        completely
770    
771    ----------------------------------------------------------------------
772    Name: Allen Leung (leunga (at) reservoir (dot) com)
773    Date: 2004/08/04 18:17:00 EST
774    Tag: leunga-110_47-ppc-ibm-asm
775    Description:
776    
777      - Added minimal IBM assembly syntax support for PowerPC.
778    
779      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
780        been altered in the runtime.  We need an automatic way to keep the file
781        in sync.
782    
783    ----------------------------------------------------------------------
784    Name: Matthias Blume (blume (at) tti - c (dot) org)
785    Date: 2004/08/04 14:00:00 CDT
786    Tag: Release_110_47
787    Description:
788    
789    New working version (110.47).  NEW BOOTFILES!
790    
791    ----------------------------------------------------------------------
792    Name: Matthias Blume (blume (at) tti - c (dot) org)
793    Date: 2004/08/03 14:25:00 CDT
794    Tag: blume-20040803-callingconv
795    Description:
796    
797    Added low-level support for choosing C calling conventions by
798    twiddling the type of rawccall.  (See
799    src/compiler/Semant/types/cproto.sml for details.)
800    
801    ----------------------------------------------------------------------
802    Name: Matthias Blume (blume (at) tti - c (dot) org)
803    Date: 2004/08/02 15:55:00 CDT
804    Tag: blume-20040802-backout
805    Description:
806    
807    Backed out of change to win32-filesys.c.  The earlier patch to
808    get_file_time caused CM to produce files with the wrong time stamp.
809    
810    ----------------------------------------------------------------------
811    Name: Matthias Blume (blume (at) tti - c (dot) org)
812    Date: 2004/08/02 14:45:00 CDT
813    Tag: blume-20040802-nlffi-win32
814    Description:
815    
816    Added NLFFI support for Win32, adapted from a patch provided by David
817    Hansel.  This is currently completely untested.  Also, the issue
818    concerning stdcall vs. ccall is still unresolved.
819    
820    ----------------------------------------------------------------------
821    Name: Matthias Blume (blume (at) tti - c (dot) org)
822    Date: 2004/07/30 17:55:00 CDT
823    Tag: blume-20040730-various
824    Description:
825    
826    Gearing up towards 110.47...
827    
828    - various minor bugfixes to ml-nlffigen
829    - a beginning of a manual for nlffi
830    
831    - eliminated 'export name=value' in config/install.sh as this does
832      not work with certain versions of /bin/sh
833      (Thanks to David King at Motorola for catching this.)
834    
835    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
836      - added a test for tm==NULL to gmtime.c and localtime.c
837      - applied patch for incorrect GetFileTime under win32
838      - toSeconds -> toMilliseconds in Win32/win32-process.sml
839    
840    ----------------------------------------------------------------------
841    Name: Matthias Blume (blume (at) tti - c (dot) org)
842    Date: 2004/07/21 18:20:00 CDT
843    Tag: blume-20040721-nlffigen
844    Description:
845    
846    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
847      for a typedef to an incomplete type, but leave out the "typ" member.
848      (This is just for consistency.)
849    - Started to produce what is supposed to become better (i.e., comprehensive)
850      documentation of what ml-nlffigen does and produces.
851    
852    ----------------------------------------------------------------------
853    Name: Matthias Blume (blume (at) tti - c (dot) org)
854    Date: 2004/07/14 16:25:00 CDT
855    Tag: blume-20040714-union
856    Description:
857    
858    Added C_UNION to c-calls/c-types.sml and updated the machinery
859    (ml-nlffigen, cproto.sml) that conveys C function interface
860    information to the code generator.
861    
862    However, the actual architecture-specific implementation of function
863    arguments and results that are C unions is still not implemented.
864    
865    ----------------------------------------------------------------------
866    Name: Allen Leung (leunga (at) reservoir (dot) com)
867    Date: 2004/07/14 14:38:00 EST
868    Tag: leunga-110_46_1-ppc-lwzu
869    Description:
870    
871        Added these instructions to the PowerPC architecture:
872        LBZU(X), LHZU(X), LWZU(X),
873        STWU(X), STFDU, STFSU
874    
875        etc...
876    
877        Note: I haven't added their instruction encoding into the description.
878    
879    ----------------------------------------------------------------------
880    Name: Allen Leung (leunga (at) reservoir (dot) com)
881    Date: 2004/07/13 15:04:00 EST
882    Tag: leunga-110_46_1-ppc-lwarx
883    Description:
884    
885       Added the two instructions LWARX and STWCX to the PowerPC
886    instruction set.
887    
888       A (untested) rewrite of loop-structure.sml.  The old version
889    is completely broken.
890    
891    ----------------------------------------------------------------------
892    Name: Matthias Blume (blume (at) tti - c (dot) org)
893    Date: 2004/07/13 13:50:00 CDT
894    Tag: blume-20040713-nlffi
895    Description:
896    
897    - use paramAlloc to report c-calls with too many arguments
898      (for PPC version where parameter area is pre-allocated)
899    - added ccall_maxargspace to machspec (to implement the above)
900    - made "make" commend in CM's "make" tool configurable
901    - added option (default: on) for passing the name of the SML/NJ's "bin"
902      directory to "make"; the call looks like this:
903    
904         make <options> SMLNJ_BINDIR=<dir> <target>
905    
906      This can be used by the Makefile to, e.g., pick the "right" version
907      of ml-nlffigen.
908    - minor code tweaks
909    
910    ----------------------------------------------------------------------
911    Name: Matthias Blume (blume (at) tti - c (dot) org)
912    Date: 2004/07/12 22:50:00 CDT
913    Tag: blume-110_46_1-macosx-nlffi
914    Description:
915    
916    NLFFI under Mac OS X now working (sort of).  This is largely untested,
917    though.
918    
919    Note:  1. You have to make a new, clean build of the runtime system.
920           2. There are new BOOTFILES, you have to use them!
921              (Doing the bootstrap process yourself would be *very* painful!
922               If you absolutely have to do it, build the system under
923               a different architecture and then cross-compile.)
924    
925    Version bumped to 110.46.1 to account for runtime data format changes.
926    
927    ----------------------------------------------------------------------
928    Name: Matthias Blume (blume (at) tti - c (dot) org)
929    Date: 2004/06/18 14:30:00 CDT
930    Tag: blume-20040618-unix
931    Description:
932    
933    Changed the implementation of structure Unix so that the same stream
934    is returned every time one of the {text,bin}{In,Out}streamOf functions
935    is invoked on the same proc.  This is not what the spec currently
936    says -- although IMO it arguably should.  (See discussion below.)
937    
938    ----------------------------------------------------------------------
939    Name: Matthias Blume (blume (at) tti - c (dot) org)
940    Date: 2004/06/17 18:15:00 CDT
941    Tag: Release_110_46
942    Description:
943    
944    New working version (110.46).  NEW BOOTFILES!
945    
946    ----------------------------------------------------------------------
947    Name: Matthias Blume (blume (at) tti - c (dot) org)
948    Date: 2004/06/17 17:20:00 CDT
949    Tag: blume-20040617-timer-unix
950    Description:
951    
952    Changed the interface of structures Timer and Unix to match the most
953    recent Basis spec.
954    
955    In the case of Unix there still seems to be an open/weird issue:
956    
957       The {text,bin}{In,Out}streamOf functions are supposed to create
958       fresh streams whenever they are called -- as opposed to have them
959       return the same stream every time.  This design is supposed to
960       prevent space leaks caused by proc values hanging on to streams.
961    
962       The reap function, on the other hand, is supposed to close the
963       streams.  This cannot be done without having a handle on the
964       stream in proc after all...
965    
966    I took the liberty to implement the following stopgap solution:
967    
968      The proc value hangs on to the most recently created stream(s).
969      Reap closes those.  If either or both of the two streams hadn't
970      been created at all yet, then reap will close the corresponding
971      file descriptors directly.
972    
973    PS: I don't understand the original space leak argument anymore.  If
974    a proc hangs on to the imperative stream, then I/O operations on those
975    will advance the state of the cached stream and avoid the space leak.
976    
977    ----------------------------------------------------------------------
978    Name: Matthias Blume (blume (at) tti - c (dot) org)
979    Date: 2004/05/28 16:45:00 CDT
980    Tag: blume-20040528-basis
981    Description:
982    
983    Added signature PACK_REAL and exported functor PrimIO.
984    
985    ----------------------------------------------------------------------
986    Name: Matthias Blume (blume (at) tti - c (dot) org)
987    Date: 2004/05/25 16:00:00 CDT
988    Tag: blume-20040525-group-owner
989    Description:
990    
991    CM now ignores (but still accepts) the "owner" information in group
992    descriptions.  The owner of a group is its next enclosing
993    library. Each group must have a unique owner.  (There is a virtual
994    "toplevel" library that owns groups which are not nested within a real
995    library.)  Previously, each group had to explicitly declare its owner,
996    and CM would check that such a declaration is correct.  The new scheme
997    is to have CM check that for each group there is precisely one owning
998    library.
999    
1000    The advantage of the new scheme is that the programmer no longer needs
1001    to maintain the somewhat annoying owner information.  The downside is
1002    that CM cannot enforce the ownership rule across multiple runs of
1003    CM.make.  Fortunately, enclosing the same group in two different
1004    libraries A and B which are not part of the same program does not
1005    cause real problems.
1006    
1007    ----------------------------------------------------------------------
1008    Name: Matthias Blume (blume (at) tti - c (dot) org)
1009    Date: 2004/05/20 16:00:00 CDT
1010    Tag: blume-20040520-win32
1011    Description:
1012    
1013    Made the win32 version work again.  (Strangely, a misplaced comma had
1014    slipped into win32-process.c which prevented the runtime from being
1015    compiled correctly.)
1016    
1017    Also, included a minor addition to ml-build.bat analogous to what was
1018    done in blume-20040519-ml-build.
1019    
1020    ----------------------------------------------------------------------
1021    Name: Matthias Blume (blume (at) tti - c (dot) org)
1022    Date: 2004/05/19 22:10:00 CDT
1023    Tag: blume-20040519-ml-build
1024    Description:
1025    
1026    Arranged for ml-build to clean up after itself a little bit better.
1027    The script generates a temporary SML source file and compiles it using
1028    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
1029    gets rid of those at the end, so they don't accumulate under .cm.
1030    
1031    This required a minor change to install.sh because the name of the
1032    metadata directory (default: .cm) is actually configurable at
1033    installation time.
1034    
1035    ----------------------------------------------------------------------
1036    Name: Matthias Blume (blume (at) tti - c (dot) org)
1037    Date: 2004/05/18 15:50:00 CDT
1038    Tag: blume-20040518-mkreader
1039    Description:
1040    
1041    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
1042    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
1043    
1044    ----------------------------------------------------------------------
1045    Name: Matthias Blume (blume (at) tti - c (dot) org)
1046    Date: 2004/05/11 14:35:00 CDT
1047    Tag: blume-20040511-win32sock
1048    Description:
1049    
1050    Added previously missing support for many socket-related functions
1051    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
1052    for the voluminous patch!
1053    
1054    (I have not tested this patch under win32 yet.)
1055    
1056    Here is David's e-mail:
1057    
1058    Hi,
1059    
1060    Attached to this email you find a diff against sml/nj 110.45
1061    that will enable socket support under Windows.
1062    
1063    To apply the patch (using unix or cygwin)
1064    1) gunzip runtime.diff.gz
1065    2) "cd" into "src/runtime" in the source tree of a fresh
1066       110.45 installation.
1067    3) patch -p 1 < [your/path/to]runtime.diff
1068    
1069    The code compiles fine but has NOT yet been extensively tested.
1070    I only ran a few tests for basic socket client functionality
1071    (which worked fine).  Especially the functions that use ioctl
1072    are not tested at all and might not work (see below).
1073    
1074    I implemented this since we want to move to a newer version of sml/nj
1075    but need socket support in order to use it.  This is the first time I
1076    even had a look at the sml/nj source,  so please review my changes
1077    before making this part of the distribution!  Here are a few issues
1078    that I think might be better for someone to solve who is more
1079    familiar with the sml/nj source (and socket programming):
1080    
1081    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
1082      exception since I could not figure out what the windows equivalent
1083      of these functions is
1084    
1085    - In sockets-osdep.h there are a some #include statements that are
1086      only used in a few files that include sockets-osdep.h
1087    
1088    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
1089      does not process its return value since I don't know how to
1090      report an error upwards.
1091    
1092    - It would probably be good to have a call to WSACleanup() when
1093      the library is unloaded (if there is such a possibility).
1094      Otherwise I think Windows will take care of this automatically
1095      when the process finishes.
1096    
1097    - I used ioctlsocket() as a replacement for ioctl() but I have
1098      no idea if that is actually the proper replacement on Windows.
1099    
1100    - All these issues are marked in the code by "FIXME" comments.
1101    
1102    We use sml/nj extensively in our products and are quite happy
1103    with it.  I hope this contribution will help you.
1104    
1105    Keep up the good work!
1106    
1107    David
1108    
1109    ----------------------------------------------------------------------
1110    Name: Matthias Blume (blume (at) tti - c (dot) org)
1111    Date: 2004/05/11 14:20:00 CDT
1112    Tag: blume-20040511-installml
1113    Description:
1114    
1115    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
1116    the patch.)
1117    
1118    ----------------------------------------------------------------------
1119    Name: Matthias Blume (blume (at) tti - c (dot) org)
1120    Date: 2004/05/11 14:05:00 CDT
1121    Tag: blume-20040511-nlffi-netbsd
1122    Description:
1123    
1124    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
1125    the patch.)
1126    
1127    ----------------------------------------------------------------------
1128    Name: Matthias Blume (blume (at) tti - c (dot) org)
1129    Date: 2004/05/11 12:05:00 CDT
1130    Tag: blume-20040511-exports
1131    Description:
1132    
1133    As per request by Adam Chlipala <adam@hcoop.net>, extended various
1134    export lists in compiler-related .cm-files.
1135    
1136    ----------------------------------------------------------------------
1137    Name: Matthias Blume (blume (at) tti - c (dot) org)
1138    Date: 2004/05/11 11:35:00 CDT
1139    Tag: blume-20040511-allsource
1140    Description:
1141    
1142    The installer now honors the "src-smlnj" target again, although its meaning
1143    has changed from "all sources required for the compiler" to "all sources
1144    the installer knows about".  In other words, if you enable "src-smlnj"
1145    in the "targets" file, then the installer will pull in sources for
1146    everything.  (Notice that this refers to source code only.  Compiled
1147    code is still only installed for modules that were requested explicitly
1148    or which are required for other modules that were requested explicitly.)
1149    
1150    ----------------------------------------------------------------------
1151    Name: Matthias Blume (blume (at) tti - c (dot) org)
1152    Date: 2004/04/23 17:40:00 CDT
1153    Tag: blume-20040423-ieee-scan
1154    Description:
1155    
1156    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
1157    in the exponent calculation we get INF or ZERO (depending on the mantissa
1158    and the sign of the exponent).
1159    
1160    ----------------------------------------------------------------------
1161    Name: Matthias Blume (blume (at) tti - c (dot) org)
1162    Date: 2004/04/23 10:40:00 CDT
1163    Tag: blume-20040423-ml-build
1164    Description:
1165    
1166    The ml-build script now terminates with a non-0 status when something
1167    goes wrong.
1168    
1169    ----------------------------------------------------------------------
1170    Name: Matthias Blume (blume (at) tti - c (dot) org)
1171    Date: 2004/04/22 16:35:00 CDT
1172    Tag: blume-20040422-Option
1173    Description:
1174    
1175    Made exception Option to be the same as exception Option.Option
1176    (as it should be).
1177    
1178    ----------------------------------------------------------------------
1179    Name: Allen Leung (leunga (at) reservoir (dot) com)
1180    Date: 2004/03/19 14:40:00 EST
1181    Tag: leunga-20040319-cygwin-nlffi
1182    Description:
1183    
1184    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
1185    of SML/NJ.  The problem is that
1186    
1187       lib = dlopen(NULL, ...)
1188       f   = dlsym(lib, "malloc");
1189    
1190    does not work on Windows unless we explicitly export symbols
1191    such as 'malloc' during linking.  We fixed this by explicitly
1192    exporting the required symbols with the magic gcc incantation:
1193    
1194        -Wl,--export-all cygwin.def
1195    
1196    where cygwin.def is a file containing all the symbols that
1197    we wish to export.
1198    
1199    I suspect this is a Windows problem and we'll have to
1200    do the same (somehow with windows compilers) when
1201    we build the native win32 version with the system
1202    calls LoadLibrary/GetProcAddress.
1203    
1204    ----------------------------------------------------------------------
1205    Name: Matthias Blume (blume (at) tti - c (dot) org)
1206    Date: 2004/03/04 16:35:00 CST
1207    Tag: blume-20040304-intinf-fmt
1208    Description:
1209    
1210    Fixed problem with IntInf.fmt (sign would show up on the right instead
1211    of on the left for BIN, OCT, and HEX).
1212    
1213    ----------------------------------------------------------------------
1214    Name: Matthias Blume (blume (at) tti - c (dot) org)
1215    Date: 2004/03/04 11:25:00 CST
1216    Tag: blume-20040304-symlinks
1217    Description:
1218    
1219    Fixed problem with installer script (unix only) where bin/ml-yacc and
1220    friends pointed (via symlinks) to absolute locations instead of just
1221    .run-sml.  This was reported by Vesa A Norrman.
1222    
1223    ----------------------------------------------------------------------
1224    Name: Matthias Blume (blume (at) tti - c (dot) org)
1225    Date: 2004/02/13 14:50:00 CST
1226    Tag: Release_110_45
1227    Description:
1228    
1229    New working version (110.45). New bootfiles.
1230    
1231    ----------------------------------------------------------------------
1232    Name: Matthias Blume (blume (at) tti - c (dot) org)
1233    Date: 2004/01/26 15:15:15 CST
1234    Tag: blume-20040126-toplevel
1235    Description:
1236    
1237    Improved handling of exceptions at the interactive toplevel.
1238    
1239    ----------------------------------------------------------------------
1240    Name: Matthias Blume (blume (at) tti - c (dot) org)
1241    Date: 2004/01/26 11:25:00
1242    Tag: blume-20040126-app
1243    Description:
1244    
1245    Type of top-level "app" corrected.
1246    Added code for setting vp_limitPtrMask to Win32-specific runtime.
1247    
1248    ----------------------------------------------------------------------
1249    Name: Matthias Blume (blume (at) tti - c (dot) org)
1250    Date: 2003/11/18 17:10 CST
1251    Tag: blume-20031118-basis-fiddle
1252    Description:
1253    
1254    - changed Timer interface to what might become the spec
1255    - POSIX_FLAGS -> BIT_FLAGS according to spec
1256    - some other minor discrepancies wrt. spec eliminated
1257    
1258    ----------------------------------------------------------------------
1259    Name: Matthias Blume (blume (at) tti - c (dot) org)
1260    Date: 2003/11/06 12:00:00 CST
1261    Tag: Release_110_44
1262    Description:
1263    
1264    New working version (110.44). New bootfiles.
1265    
1266    ----------------------------------------------------------------------
1267    Name: Matthias Blume (blume (at) tti - c (dot) org)
1268    Date: 2003/11/04 11:50:00 CST
1269    Tag: blume-20031104-move-libraries
1270    Description:
1271    
1272    Eliminated the "dont_move_libraries" directive in config/targets.
1273    (The mechanism was broken and could not be fixed easily.  Moreover,
1274    there does not seem to be any reason not to move all libraries into
1275    lib during installation.  I originally implemented this directive as a
1276    backward-compatibility feature when I first introduced the new CM.
1277    Now that things have been stable for a long time and going back to the
1278    old CM is not an option, there is no reason to keep it around.)
1279    
1280    ----------------------------------------------------------------------
1281    Name: Matthias Blume (blume (at) tti - c (dot) org)
1282    Date: 2003/11/03 16:00:00 CST
1283    Tag: blume-20031103-installdir
1284    Description:
1285    
1286    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
1287    Richards for pointing out the problem and providing the solution.)
1288    
1289    ----------------------------------------------------------------------
1290    Name: Matthias Blume (blume (at) tti - c (dot) org)
1291    Date: 2003/10/01 17:05:00 CDT
1292    Tag: blume-20031001-lal-mlrisc
1293    Description:
1294    
1295    MLRISC bug fix from Lal.
1296    
1297    ----------------------------------------------------------------------
1298    Name: Matthias Blume (blume (at) tti - c (dot) org)
1299    Date: 2003/09/30 16:10:00 CDT
1300    Tag: blume-20030930-primio-bat
1301    Description:
1302    
1303    1. Added openVector, nullRd, and nullWr to PRIM_IO.
1304    2. Improved .bat files (for Win32 port) to make things work under Win95.
1305       (thanks to Aaron S. Hawley for this one)
1306    
1307    ----------------------------------------------------------------------
1308    Name: Matthias Blume (blume (at) tti - c (dot) org)
1309    Date: 2003/09/26 16:05:00 CDT
1310    Tag: blume-20030926-wrappriv
1311    Description:
1312    
1313    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
1314    
1315    ----------------------------------------------------------------------
1316    Name: Matthias Blume (blume (at) tti - c (dot) org)
1317    Date: 2003/09/26 15:00:00 CDT
1318    Tag: blume-20030926-110_43_3
1319    Description:
1320    
1321    - additional cleanup
1322    - version number bump, NEW BOOTFILES
1323    
1324    ----------------------------------------------------------------------
1325    Name: Matthias Blume (blume (at) tti - c (dot) org)
1326    Date: 2003/09/26 12:00:00 CDT
1327    Tag: blume-20030926-ppautoload
1328    Description:
1329    
1330    I modified the read-eval-print loop so that the autoloader gets
1331    invoked whenever the prettyprinter tries to look up a symbol that
1332    is not currently defined in the toplevel environment but which
1333    appears in CM's autoload registry.  As a result, we see far fewer of
1334    those ?.Foo.Bar.xxx names in the prettyprinter's output.
1335    
1336    In addition to this I tried to clean up some pieces of the Basis
1337    implementation (e.g., Socket, Word8Array) in order to prevent other
1338    instances of these ?.Foo.Bar.xxx names from being printed.
1339    
1340    The mechanism that picks names for types still needs some work, though.
1341    (Right now it seems that if there is a type A.t which is defined to
1342    be B.u, but B is unavailable at toplevel, then A.t gets printed as
1343    "?.B.u" although the perhaps more sensible solution would be to use
1344    "A.t" in this case.  In other words, the prettyprinter should follow
1345    a chain of DEFtycs not farther than there are corresponding toplevel
1346    names in the current environment.)
1347    
1348    ----------------------------------------------------------------------
1349    Name: Matthias Blume (blume (at) tti - c (dot) org)
1350    Date: 2003/09/24 16:31:00 CDT
1351    Tag: blume-20030924-installer
1352    Description:
1353    
1354    Another installer tweak:  All the ML code for the installer is now
1355    compiled during CMB.make and put into a little library called
1356    $smlnj/installer.cm.  The installation then simply invokes
1357    
1358       sml -m $smlnj/installer.cm
1359    
1360    and everything happens automagically.
1361    
1362    Win32:  ML code senses value of environment variable SMLNJ_HOME.
1363    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
1364            and BINDIR.
1365    
1366    The new scheme guarantees that the ML code responsible for the installation
1367    is in sync with the APIs of the main system.  Also, the installer is
1368    somewhat faster because the installer script is precompiled.
1369    
1370    ----------------------------------------------------------------------
1371    Name: Matthias Blume (blume (at) tti - c (dot) org)
1372    Date: 2003/09/24 15:35:00 CDT
1373    Tag: blume-20030924-synsock
1374    Description:
1375    
1376    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
1377    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
1378    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
1379    implementations of non-blocking operations from CML's Socket
1380    structure.
1381    
1382    ----------------------------------------------------------------------
1383    Name: Matthias Blume (blume (at) tti - c (dot) org)
1384    Date: 2003/09/24 15:10:05 CDT
1385    Tag: blume-20030924-sockets
1386    Description:
1387    
1388    1. Fixed SOCKET API and implementation to match Basis spec.
1389       This required changing the internal representation of sockets to one
1390       that remembers (for each socket file descriptor) whether it is currently
1391       blocking or non-blocking.  This state is maintained lazily (i.e., a system
1392       call is made only if the state actually needs to change).
1393    
1394    2. OS-specific details of sockets were moved into separate files, thus
1395       making it possible to unify the bulk of the socket implementations
1396       between Unix and Win32.
1397    
1398    3. CML's socket API changed accordingly.
1399       (Note that we need to remove non-blocking functions from this API
1400       since they are redundant in the case of CML!)
1401    
1402    4. CML's socket implementation now makes use of non-blocking functions
1403       provided by Basis, thus removing all OS-dependent code from this part
1404       of CML.
1405    
1406    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
1407    
1408    ----------------------------------------------------------------------
1409    Name: Matthias Blume (blume (at) tti - c (dot) org)
1410    Date: 2003/09/22 12:10:00 CDT
1411    Tag: blume-20030922-110_43_2
1412    Description:
1413    
1414    Made a new interim version and bootfiles for developer's bootstrapping
1415    convenience.
1416    
1417       110.43.2 -- NEW BOOTFILES
1418    
1419    ----------------------------------------------------------------------
1420    Name: Matthias Blume (blume (at) tti - c (dot) org)
1421    Date: 2003/09/19 15:55:00 CDT
1422    Tag: blume-20030919-cmdir
1423    Description:
1424    
1425    1. new-install.sh -> install.sh
1426    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
1427    3. tweaked installer so that another name instead of .cm can be chosen
1428       at install time (by setting the CM_DIR_ARC environment variable
1429       during installation); once installation is complete, the name is
1430       fixed
1431    
1432    ----------------------------------------------------------------------
1433    Name: Matthias Blume (blume (at) tti - c (dot) org)
1434    Date: 2003/09/18 16:00:00 CDT
1435    Tag: blume-20030918-110_43_1
1436    Description:
1437    
1438    Made a new interim version and bootfiles for developer's bootstrapping
1439    convenience.
1440    
1441       110.43.1 -- NEW BOOTFILES
1442    
1443    ----------------------------------------------------------------------
1444    Name: Matthias Blume (blume (at) tti - c (dot) org)
1445    Date: 2003/09/18 15:20:00 CDT
1446    Tag: blume-20030918-misc
1447    Description:
1448    
1449    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
1450       this seems to be controversial at the moment) and used those in
1451       Posix.ProcEnv.times.
1452    
1453    2. Added Time.{from,to}Nanoseconds to Time.
1454    
1455    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
1456       For example, fromLargeInt never needs to look at more than 3 "big
1457       digits" to get its 53 bits of precision.
1458    
1459    ----------------------------------------------------------------------
1460    Name: Matthias Blume (blume (at) tti - c (dot) org)
1461    Date: 2003/09/17 16:30:00 CDT
1462    Tag: blume-20030917-real32-slices
1463    Description:
1464    
1465    Added an entry to the primitive environment
1466    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
1467    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
1468    
1469    Removed some of the "magic" constants in real64.sml and replaced them
1470    with code that generates these values from their corresponding
1471    integer counterparts.
1472    
1473    Made all(?) the slice-related changes to the Basis and made everything
1474    compile again...
1475    
1476    ----------------------------------------------------------------------
1477    Name: Matthias Blume (blume (at) tti - c (dot) org)
1478    Date: 2003/09/15 17:45:00 CDT
1479    Tag: blume-20030915-rbase
1480    Description:
1481    
1482    Fixed bug in Real.fromLargeInt.
1483    
1484    ----------------------------------------------------------------------
1485    Name: Matthias Blume (blume (at) tti - c (dot) org)
1486    Date: 2003/09/13 18:11:00 CDT
1487    Tag: blume-20030913-libinstall
1488    Description:
1489    
1490    Minor bugfix in config/libinstall (set anchor with path to
1491    standalone tool after installing it, otherwise libraries that
1492    need ml-lex or ml-yacc won't compile the first time the installer
1493    runs).
1494    
1495    ----------------------------------------------------------------------
1496    Name: Matthias Blume (blume (at) tti - c (dot) org)
1497    Date: 2003/09/12 11:45:00 CDT
1498    Tag: blume-20030912-various
1499    Description:
1500    
1501     - fixed bug in Real.toLargeInt
1502     - fixed bug in Posix.ProcEnv.times
1503     - changed inputLine functions to return an option
1504     - minor installer improvements / bugfixes
1505     - changed default @SMLalloc parameter for x86/celeron to 64k
1506    
1507    ----------------------------------------------------------------------
1508    Name: Matthias Blume (blume (at) tti - c (dot) org)
1509    Date: 2003/09/09 22:00:00 CDT
1510    Tag: Release_110_43
1511    Description:
1512    
1513        New working release 110.43.  New bootfiles.
1514    
1515    ----------------------------------------------------------------------
1516    Name: Matthias Blume (blume (at) tti - c (dot) org)
1517    Date: 2003/09/09 19:20:00 CDT
1518    Tag: blume-20030909-installer
1519    Description:
1520    
1521    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
1522    Modified config/install.bat to take advantage of it.  Also modified
1523    config/install.sh (and called it config/new-install.sh) to take advantage
1524    of it on Unix systems.  (The SML code is (supposed to be) platform-
1525    independent.)
1526    
1527    The installer can now install everything under Win32
1528    as well as under *nix as long as it compiles.
1529    
1530    Other changes:
1531    
1532      - made CML compile again under Win32
1533      - made eXene compile under Win32 (by providing a fake structure UnixSock
1534        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
1535      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
1536        same as type int;  under Win32 it isn't
1537      - fixed some slice-related problems in the win32-specific parts of CML
1538      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
1539        (under Win32, the volume name is case-insensitive, and the
1540        OS.Path code compares volume names for equality)
1541    
1542    ----------------------------------------------------------------------
1543    Name: Matthias Blume (blume (at) tti - c (dot) org)
1544    Date: 2003/09/08 11:55:00 CDT
1545    Tag: blume-20030908-fullpath
1546    Description:
1547    
1548    Made Win32 version of OS.FileSys.fullPath return current directory
1549    when given an empty string.  This is what the spec says, and incidentally,
1550    CM depends on it.  (CM otherwise goes into an infinite loop in certain
1551    cases when presented with the name of a non-existing .cm file.)
1552    
1553    ----------------------------------------------------------------------
1554    Name: Matthias Blume (blume (at) tti - c (dot) org)
1555    Date: 2003/09/04 16:30:00 CDT
1556    Tag: blume-20030905-slices-etc
1557    Description:
1558    
1559      1. Changed interface to vectors and arrays in Basis to match
1560         (draft) Basis spec.
1561      2. Added signatures and implementations of slices according to
1562         Basis spec.
1563      3. Edited source code throughout the system to make it compile again
1564         under 1. and 2.  (In some cases code had to be added to have it
1565         match the new signatures.)
1566      4. MLRISC should be backward-compatible: the copies of the originals
1567         of files that needed to change under 3. were retained, the .cm files
1568         check the compiler version number and use old versions when
1569         appropriate.
1570      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
1571         dirstream -> string option (in accordance with Basis spec).
1572      6. When generating code that counts lines, ml-lex used function
1573         CharVector.foldli, taking advantage of its old interface.
1574         This has been replaced with the corresponding code from
1575         CharVectorSlice.  (html-lex must be re-lexed!)
1576      7. BitArray in smlnj-lib/Util has been extended/modified to match the
1577         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
1578      8. Removed temporary additions (fromInternal, toInternal) from the
1579         (now obsolete) IntInf in smlnj-lib/Util.
1580      9. Cleaned up structure Byte.
1581     10. Added localOffset, scan, and fromString to Date (according to spec).
1582         Cleaned/corrected implementation of Date.
1583         (Still need to check for correctness; implement better canonicalizeDate.)
1584     11. Added "scan" to signature IEEE_REAL.
1585     12. Some improvements to IntInf [in particular: efficiency-hack for
1586         mod and rem when second operand is 2 (for parity checks).]
1587     13. Changed representation of type Time.time, using a single IntInf.int
1588         value counting microseconds.  This considerably simplified the
1589         implementation of structure Time.  We now support negative time
1590         values; scan and fromString handle signs.
1591     14. Functor PrimIO now takes two additional arguments (VectorSlice and
1592         ArraySlice).
1593    
1594    ----------------------------------------------------------------------
1595    Name: Matthias Blume (blume (at) tti - c (dot) org)
1596    Date: 2003/08/28 17:00:00 CDT
1597    Tag: blume-20030828-intinf
1598    Description:
1599    
1600    This is a major update which comes with a version number bump
1601    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
1602    and an implementation of IntInf in the Basis.
1603    
1604    There are a fairly large number of related changes and updates throughout
1605    the system:
1606    
1607    Basis:
1608            - Implemented IntInf.
1609            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
1610            - Added some missing Real64 operations, most notably Real.toLargeInt.
1611            - Added FixedInt as a synonym for Int32.
1612    
1613    compiler:
1614            * Added support for a built-in intinf type.
1615              - literals
1616              - pattern matching
1617              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
1618              - overloading on literals and operations
1619    
1620            This required adding a primitive type intinf, some additional
1621            primops, and implementations for several non-trivial intinf
1622            operations in Core.  (The intinf type is completely abstract
1623            to the compiler; all operations get delegated back to the Core.)
1624    
1625            * Intinf equality is handled by polyequal.  However, the compiler
1626            does not print its usual warning in this case (since polyequal
1627            is the right thing to do there).
1628    
1629            * Improved the organization of structure InlineT.
1630    
1631            * A word about conversion primops:
1632            If conversions involving intinf do not cancel out during
1633            CPS contract, then the compiler must insert calls to Core functions.
1634            Since all core access must be resolved already during the FLINT
1635            translate phase, it would be too late a the time of CPS contract
1636            to add new Core calls.  For this reason, conversion primops
1637            for intinf carry two arguments:  1. the numeric argument that
1638            they are supposed to convert, and 2. the Core function that
1639            can help with this conversion if necessary.  If CPS contract
1640            eliminates a primop, then the associated Core function becomes
1641            dead and goes away.  Intinf conversion primops that do not get
1642            eliminated by CPS contract get rewritten into calls of their
1643            core functions by a separate, new phase.
1644    
1645    interactive system:
1646            - Control.Print.intinfDepth controls max length of intinf constants
1647            being printed. (Analogous to Control.Print.stringDepth.)
1648            - Cleanup in printutil and pputil: got rid of unused stuff and
1649            duplicates; replaced some of the code with code that makes better
1650            use of library functionality.
1651    
1652    CM:
1653            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
1654            are no longer silent.
1655    
1656    CKIT:
1657            Fixed mismatched uses of Int32 and LargeInt.  I always decided
1658            in favor of LargeInt -- which is now the same as IntInf.
1659            CKIT-knowledgable people should check whether this is what's
1660            intended and otherwise change things back to using Int32 or
1661            FixedInt.
1662    
1663    Throughout the code:
1664            Started using IntInf.int literals and built-in operations
1665            (e.g., comparison with 0) where this seems appropriate.
1666    
1667    
1668    ----------------------------------------------------------------------
1669    Name: Dave MacQueen (dbm@cs.uchicago.edu)
1670    Date: 2003/08/13 11:36:00 CDT
1671    Tag: dbm-20030813-mcz-merge1
1672    Description:
1673    
1674    Merging changes from the mcz-branch development branch into trunk.
1675    These changes involve replacement of the emulated old prettyprinter
1676    interface with direct use of the SML/NJ Lib PP library, and fixing
1677    of a couple of bugs (895, 1186) relating to error messages.  A new
1678    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
1679    has been added.
1680    
1681    ----------------------------------------------------------------------
1682    Name: Matthias Blume (blume (at) tti - c (dot) org)
1683    Date: 2003/08/11 15:45:00 CDT
1684    Tag: blume-20030811-windows
1685    Description:
1686    
1687    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
1688    
1689        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
1690    
1691    This patch restores SML/NJ's ability to run under win32.  There are a
1692    number of changes, including fixes for several bugs that had gone
1693    unnoticed until now:
1694    
1695      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
1696        trying to run the win32 version from within cygwin.)
1697    
1698      - There are a number of simple .bat scripts that substitute for their
1699        corresponding Unix shell-scripts.  (See below.)
1700    
1701      - The internals of ml-build have been modified slightly.  The main
1702        difference is that instead of calling ".link-sml" (or link-sml.bat)
1703        using OS.Process.system, the ML process delegates this task back
1704        to the script.  Otherwise problems arise in mixed environments such
1705        as Cygwin where scripts look and work like Unix scripts, but
1706        where OS.Process.system cannot run them.
1707    
1708      - In CM, the srcpath pickler used native pathname syntax -- which
1709        is incorrect in the case of cross-compilation.  The new pickle format
1710        is independent of platform-specific naming conventions.
1711    
1712      - Path configuration files (such as lib/pathconfig) can now choose
1713        between native and standard syntax.  Placing a line of the form
1714    
1715            standard!
1716    
1717        into the file causes all subsequent paths to be interpreted using
1718        CM standard pathname syntax (= Unix conventions); a line
1719    
1720            native!
1721    
1722        switches back to native style.  This was needed so that
1723        path config files can be written portably, see src/system/pathconfig.
1724    
1725      - Runtime system:
1726    
1727          - win32-filesys.c:  get_file_time and set_file_time now
1728            access modification time, not creation time.
1729    
1730          - I/O code made aware of new array representation.
1731    
1732          - Bug fixes in X86.prim.masm.
1733    
1734       - src/system/makeml made aware of win32. (For use under cygwin
1735            and other Unix-environments for windows.)
1736    
1737       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
1738         which caused BinIO.inputAll to fail consistently.
1739    
1740    .bat scripts:
1741    
1742       Windows .bat scripts assume that SMLNJ_HOME is defined.
1743    
1744       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
1745         applications (sml, ml-yacc, ml-lex).
1746       - ml-build.bat: analogous to ml-build.
1747       - config\install.bat:  Analogous to config/install.sh.  This requires
1748         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
1749         (nmake etc. must be on the path, and vcvars32 must have been run.)
1750         Moreover, sources for ml-lex and ml-yacc need to exist under src,
1751         and the bootfile hierarchy must have been unpacked under
1752         sml.boot.x86-win32.
1753         The script is very primitive and does a poor job at error checking.
1754         It only installs the base system, ml-lex, and ml-yacc.  No other
1755         libraries are being installed (i.e., you get only those that
1756         are part of the compiler.)
1757       - link-sml.bat:  analogous to .link-sml, but not currently used
1758    
1759    Unrelated bug fixes:
1760    
1761      - ml-nlffigen now exports structures ST_* corresponding to incomplete
1762        types.
1763      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
1764        otherwise.)
1765    
1766    ----------------------------------------------------------------------
1767    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
1768    Date: 2003/06/17
1769    Tag: macqueen-20030617-bug895
1770    Description:
1771    
1772    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
1773    Tag will be used for new development branch (mcz-branch) for
1774    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
1775    
1776    ----------------------------------------------------------------------
1777    Name: Matthias Blume (blume (at) tti - c (dot) org)
1778    Date: 2003/05/27 16:55:00 CDT
1779    Tag: blume-20030527-polyeq
1780    Description:
1781    
1782    Tried to eliminated most cases of polymorphic equality.
1783    
1784    ----------------------------------------------------------------------
1785    Name: Matthias Blume (blume (at) tti - c (dot) org)
1786    Date: 2003/05/21 17:45:00 CDT
1787    Tag: blume-20030517-complete
1788    Description:
1789    
1790    Two changes:
1791    
1792      1. Added a flag for controlling whether non-exhaustive bindings will
1793         be treated as errors (default is false).
1794      2. Cleaned up the *entire* source tree so that CMB.make goes through
1795         without a single non-exhaustive match- or bind warning.
1796    
1797    ----------------------------------------------------------------------
1798    Name: Matthias Blume (blume (at) tti - c (dot) org)
1799    Date: 2003/05/17 10:20:00 CDT
1800    Tag: blume-20030517-absyn
1801    Description:
1802    
1803    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
1804    
1805       This mainly affects the quality of error messages.  However, some
1806       of the code is now more straightforward than before. (Treatment of
1807       the above four constructs in translate.sml is much simpler than
1808       the "macro-expansion" that was going on before.  Plus, the mach-
1809       compiler no longer gets invoked just to be able to compile an
1810       if-expression.)
1811    
1812    2. The ErrorMsg.Error exception is now caught and absorbed by the
1813       interactive loop.
1814    
1815    ----------------------------------------------------------------------
1816    Name: Allen Leung
1817    Date: 2003/05/16 13:05:00 CDT
1818    Tag: leunga-20030516-cygwin-runtime
1819    Description:
1820    
1821        Ported the runtime system to cygwin, which uses the unix
1822    x86-unix bin files.  Missing/buggy features:
1823    
1824       o getnetbyname, getnetbyaddr: these functions seem to be missing in
1825         the Cygwin library.
1826       o Ctrl-C handling may be flaky.
1827       o Windows system calls and Windows I/O are not supported.
1828    
1829       A new set of binfiles is located at:
1830    
1831         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
1832    
1833       This is only needed for bootstrapping the cygwin version of smlnj.
1834       Other x86 versions can use the existing binfiles.
1835    
1836    ----------------------------------------------------------------------
1837    Name: Matthias Blume
1838    Date: 2003/04/08 15:42:00 CDT
1839    Tag: blume-20030408-listpair
1840    Description:
1841    
1842    1. Added a target 'mlrisc' to installer.
1843    
1844    2. Added missing elements to structure ListPair.
1845    
1846    ----------------------------------------------------------------------
1847    Name: Allen Leung
1848    Date: 2003/01/07 10:40:00 EST
1849    Tag: leunga-20030107-int-rem
1850    Description:
1851    
1852    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
1853    The arguments to the SUBL instruction were swapped.
1854    
1855    ----------------------------------------------------------------------
1856    Name: Matthias Blume
1857    Date: 2002/12/12 16:25:00 EST
1858    Tag: blume-20021212-risc-ra
1859    Description:
1860    
1861    Fixed a serious bug in the rewrite code for FP spilling/reloading that
1862    sent the RA into an infinite loop when floating point registers get
1863    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
1864    110.37 and 110.38.)
1865    There was another set of potential problems related to the handling of
1866    MLRISC annotations (but those did not yet cause real problems, apparently).
1867    
1868    ----------------------------------------------------------------------
1869    Name: Matthias Blume
1870    Date: 2002/12/06 22:40:00 EST
1871    Tag: blume-20021206-cm-fileid
1872    Description:
1873    
1874    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
1875    This fixes the problem of CM getting confused by files that suddenly
1876    change their identity (e.g., by getting unlinked and recreated by some
1877    text editor such as vi).  There might be a better/cheaper/cleaner way
1878    of doing this, but for now this will have to do.
1879    
1880    ----------------------------------------------------------------------
1881    Name: Matthias Blume
1882    Date: 2002/10/28 09:50:00 EST
1883    Tag: blume-20021028-typecheck
1884    Description:
1885    
1886    Exported structure Typecheck from $smlnj/viscomp/core.cm.
1887    
1888    ----------------------------------------------------------------------
1889    Name: Matthias Blume
1890    Date: 2002/10/17 09:10:00 EDT
1891    Tag: Release_110_42
1892    Description:
1893    
1894    In good old tradition, there has been a slight hiccup so that we have
1895    to patch 110.42 after the fact.   The old release tag has been replaced
1896    (see below).
1897    
1898    The change solves a problem with two competing approaches the
1899    configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in
1900    each other's way.
1901    
1902    This change only affects the runtime system code and the installer script.
1903    (No new bootfiles.)
1904    
1905    ----------------------------------------------------------------------
1906    Name: Matthias Blume
1907    Date: 2002/10/16 12:00:00 EDT
1908    Tag: Release_110_42_removed
1909    Description:
1910    
1911    New working release.  New bootfiles.
1912    
1913    ----------------------------------------------------------------------
1914    Name: Matthias Blume
1915    Date: 2002/10/10 13:10:00 EDT
1916    Tag: blume-20021010-ppc-divs
1917    Description:
1918    
1919    The mltree operator DIVS must be implemented with an overflow check on
1920    the PPC because the hardware indicates divide-by-zero using "overflow" as
1921    well.
1922    
1923    ----------------------------------------------------------------------
1924    Name: Matthias Blume
1925    Date: 2002/07/23 11:45:00
1926    Tag: blume-20020723-smlnj-home
1927    Description:
1928    
1929    Sml now senses the SMLNJ_HOME environment variable.  If this is set,
1930    then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless
1931    CM_PATHCONFIG is also set), the path configuration file is assumed
1932    to be in $SMLNJ_HOME/lib/pathconfig.  This way one can easily move
1933    the entire tree to some other place and everything will "just work".
1934    
1935    (Companion commands such as ml-build and ml-makedepend also sense this
1936    variable.)
1937    
1938    ----------------------------------------------------------------------
1939    Name: Matthias Blume
1940    Date: 2002/07/12 21:19:00 EDT
1941    Tag: blume-20020712-liveness
1942    Description:
1943    
1944    Exported two useful "step" functions from liveness module (MLRISC).
1945    
1946    ----------------------------------------------------------------------
1947    Name: Matthias Blume
1948    Date: 2002/07/05 16:00 EDT
1949    Tag: Release_110_41
1950    Description:
1951    
1952    New working release.  New bootfiles.
1953    
1954    ----------------------------------------------------------------------
1955    Name: Matthias Blume
1956    Date: 2002/07/05 10:25:00 EDT
1957    Tag: blume-20020705-btimp
1958    Description:
1959    
1960    Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that
1961    other clients can set up backtracing support.
1962    
1963    ----------------------------------------------------------------------
1964    Name: Matthias Blume
1965    Date: 2002/06/25 17:23:00 EDT
1966    Tag: blume-20020625-fpmax
1967    Description:
1968    
1969    Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point
1970    case.  (The sense of the isNaN test was reversed -- which made min and
1971    max always return their first argument.)
1972    
1973    ----------------------------------------------------------------------
1974    Name: Matthias Blume
1975    Date: 2002/06/11
1976    Tag: blume-20020611-unixpath
1977    Description:
1978    
1979    Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch.
1980    
1981    ----------------------------------------------------------------------
1982    Name: Matthias Blume
1983    Date: 2002/06/10 16:35:00 EDT
1984    Tag: blume-20020610-ieeereal
1985    Description:
1986    
1987    I back-ported my implementation of IEEEReal.fromString from the
1988    idlbasis-devel branch so that we can test it.
1989    
1990    Another small change is that ppDec tries to give more information
1991    than just "<sig>" in the case of functors.  However, this code is
1992    broken in some mysterious way if the functor's body's signature
1993    has not been declared by ascription but gets inferred from the
1994    implementation.  This needs fixing...
1995    
1996    ----------------------------------------------------------------------
1997    Name: Matthias Blume
1998    Date: 2002/05/31
1999    Tag: blume-20020531-btrace-mode
2000    Description:
2001    
2002    Resurrected SMLofNJ.Internals.BTrace.mode.  (It accidentally fell by
2003    the wayside when I switched over to using Controls everywhere.)
2004    
2005    ----------------------------------------------------------------------
2006    Name: Lal George
2007    Date: 2002/05/23 12:21:40 EDT
2008    Tag: george-20020523-visual-labels
2009    Description:
2010    
2011    Labels are now displayed in the graphical output to make
2012    the fall-through and target blocks obvious.
2013    
2014    ----------------------------------------------------------------------
2015  Name: Matthias Blume  Name: Matthias Blume
2016  Date: 2002/05/22 11:03:00 EDT  Date: 2002/05/22 11:03:00 EDT
2017  Tag: blume-20020522-shrink  Tag: blume-20020522-shrink

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

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