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

SCM Repository

[smlnj] Diff of /sml/trunk/HISTORY
ViewVC logotype

Diff of /sml/trunk/HISTORY

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

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

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

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