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 1390, Wed Sep 24 20:34:06 2003 UTC revision 1755, Thu Feb 10 23:54:06 2005 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2005/02/10 17:55:00 CST
18    Tag: blume-20050210-longlong
19    Description:
20    
21    Implemented "long long" arguments and results for NLFFI.  (Only the
22    PPC/MacOS implementation is complete, the other backends still need to
23    be updated.)
24    
25    ----------------------------------------------------------------------
26    Name: Matthias Blume (blume (at) tti - c (dot) org)
27    Date: 2005/01/24 17:40:00 CST
28    Tag: blume-20050124-mlyacc
29    Description:
30    
31    Minor cleanup in ML-Yacc rule printing mechanism.  This should fix a
32    problem with certain "as" patterns which previously got rendered
33    using incorrect syntax.
34    
35    ----------------------------------------------------------------------
36    Name: Matthias Blume (blume (at) tti - c (dot) org)
37    Date: 2005/01/18 12:00:00 CST
38    Tag: blume-20050118-profile
39    Description:
40    
41    Made time profiling code (interrupt handler) in runtime system aware
42    of new array representation.
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume (blume (at) tti - c (dot) org)
46    Date: 2005/01/14 18:00:00 CST
47    Tag: blume-20050114-heap2exec
48    Description:
49    
50    Implemented new (but still experimental) heap2exec facility.  This is
51    tested under Mac OS X and should work under Linux (will test shortly).
52    It will probably also work on the Sparc (will test some time later).
53    
54      - removed old "HACKED_STANDALONE" hack from runtime
55    
56    To be able to test this, uncomment the request for "heap2asm" in
57    config/targets prior to installation.  (Notice that this is different
58    from "heap2exec" mentioned below.  Not a typo.)
59    
60    To perform an actual test, run the command
61    
62       $ bin/heap2exec heapfile execfile
63    
64    (You can put heap2exec on your shell's path.)
65    
66    For example, run
67    
68      $ bin/heap2exec bin/.heap/ml-yacc.ppc-darwin mly
69    
70    This will create a standalone executable called "mly" which you can
71    then invoke directly as a command.
72    
73    ----------------------------------------------------------------------
74    Name: Matthias Blume (blume (at) tti - c (dot) org)
75    Date: 2005/01/07 11:44:00 CST
76    Tag: blume-20050107-mlstring
77    Description:
78    
79    fixed off-by-one error in ML_STRING macro (globals.c)
80    
81    ----------------------------------------------------------------------
82    Name: Matthias Blume (blume (at) tti - c (dot) org)
83    Date: 2004/12/23 18:00:00 CST
84    Tag: blume-20041223-santa
85    Description:
86    
87    Made ml-build script "smarter" (but only very little).
88    
89    ----------------------------------------------------------------------
90    Name: Matthias Blume (blume (at) tti - c (dot) org)
91    Date: 2004/12/21 15:05:00 CST
92    Tag: blume-20041221-longlong
93    Description:
94    
95    * Implemented access to signed and unsigned long long data in NLFFI.
96    (The parameter-passing part of the picture has not complete. But
97    data structure access seems to work.)
98    
99    * Fixed CM's incorrect assumption that the PPC is little-endian.
100      (On the Mac, it is big-endian.  And that's currently our only
101      PPC platform.)
102    
103    ----------------------------------------------------------------------
104    Name: Matthias Blume (blume (at) tti - c (dot) org)
105    Date: 2004/12/21 12:50:00 CST
106    Tag: blume-20041221-memory
107    Description:
108    
109    Some cleanup in the $c/memory.cm library: separated some concerns by
110    moving allocation code and memory access code each into their own
111    files.
112    
113    ----------------------------------------------------------------------
114    Name: Allen Leung (leunga (at) reservoir (dot) com)
115    Date: 2004/12/17 16:12:00 EST
116    Tag: leunga-20041217-cygwin-smlnj-home
117    Description:
118    
119        The Unix I/O library of SML/NJ on cygwin does not understand
120    Windows style pathname, so problems arise when SMLNJ_HOME is set
121    to a Windows style pathname.  _run-sml now converts SMLNJ_HOME
122    to a POSIX pathname on cygwin.
123    
124    ----------------------------------------------------------------------
125    Name: Matthias Blume (blume (at) tti - c (dot) org)
126    Date: 2004/12/16 13:35:00 CST
127    Tag: Release_110_52
128    Description:
129    
130    Last-minute changes incorporated into 110.52.  Release tag moved.
131    
132    The changes:
133       - HashString.hashString' -> HashString.hashSubstring
134       - bug fix in UnivariateStats
135    
136    ----------------------------------------------------------------------
137    Name: Matthias Blume (blume (at) tti - c (dot) org)
138    Date: 2004/12/15 23:40:00 CST
139    Tag: blume-20041215-hashSubstring
140    Description:
141    
142    - HashString.hashString' -> HashString.hashSubstring
143    - corresponding changes in atom.sml
144    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
145      added some comments
146    
147    ----------------------------------------------------------------------
148    Name: Matthias Blume (blume (at) tti - c (dot) org)
149    Date: 2004/12/15 15:30:00 CST
150    Tag: (Release_110_52)
151    Description:
152    
153    New working version (110.52).  NEW BOOTFILES!
154    
155    ----------------------------------------------------------------------
156    Name: Matthias Blume (blume (at) tti - c (dot) org)
157    Date: 2004/12/15 12:45:00 CST
158    Tag: blume-20041215-spaces
159    Description:
160    
161    More on the space problem (this time for Win32).
162    
163    ----------------------------------------------------------------------
164    Name: Matthias Blume (blume (at) tti - c (dot) org)
165    Date: 2004/12/14 17:30:00 CST
166    Tag: blume-20041214-spaces
167    Description:
168    
169    Hacked some of the scripts (in particular: the installer) to cope with
170    spaces in filenames a bit better.  But beware: the current "solution"
171    is likely still full of bugs and inherently incomplete.  (We need to
172    do away with those shell scripts for a comprehensive solution.)
173    
174    ----------------------------------------------------------------------
175    Name: Matthias Blume (blume (at) tti - c (dot) org)
176    Date: 2004/12/13 14:45:00 CST
177    Tag: blume-20041213-ml-makedepend
178    Description:
179    
180    Fixed bug in code for ml-makedepend.
181    
182    ----------------------------------------------------------------------
183    Name: Matthias Blume (blume (at) tti - c (dot) org)
184    Date: 2004/12/09 16:30:00 CST
185    Tag: blume-20041209-statistics
186    Description:
187    
188    Added two simple but potentially useful statistics modules to SML/NJ Library.
189    (See CHANGES file there.)
190    
191    ----------------------------------------------------------------------
192    Name: Matthias Blume (blume (at) tti - c (dot) org)
193    Date: 2004/12/01 16:50:00 CST
194    Tag: blume-20041201-atom
195    Description:
196    
197    smlnj-lib:
198    
199      Added function HashString.hashString' for substrings.
200      Hand-inlined CharVector.foldl into HashString (for speed).
201      Modified implementation of structure Atom to avoid extracting
202      strings from substrings unless necessary.
203      (Also see CHANGES file for smlnj-lib.)
204    
205    ----------------------------------------------------------------------
206    Name: Matthias Blume (blume (at) tti - c (dot) org)
207    Date: 2004/11/24 22:15:00 CST
208    Tag: blume-20041124-cml
209    Description:
210    
211    Made sure CML compiles when Position = Int64.
212    
213    ----------------------------------------------------------------------
214    Name: Matthias Blume (blume (at) tti - c (dot) org)
215    Date: 2004/11/24 14:30:00 CST
216    Tag: blume-20041124-position
217    Description:
218    
219    The compiler can now be compiled in a mode that makes structure Position
220    equal to Int64.  The default, however, is unchanged (Position = Int31)
221    for the time being.
222    
223    To enable 64-bit positions, use the following procedure:
224    
225    1. Start sml
226    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
227    3. Type
228          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
229    4. Run CMB.make() as usual.
230    
231    This is barely tested.  The only test so far was a little SML program
232    counting the number of characters in an 8-gigabyte file by
233    reading it character-by-character.  That test was successful.
234    
235    In support of 64-bit positions, a number of new functions have been
236    added to the runtime system.
237    
238    ----------------------------------------------------------------------
239    Name: Matthias Blume (blume (at) tti - c (dot) org)
240    Date: 2004/11/23 14:45:00 CST
241    Tag: blume-20041123-useFile
242    Description:
243    
244    Fixed a problem with unhelpful error messages related to problems with
245    .cm- or .sml files that appear as part of the sml command line.
246    
247    ----------------------------------------------------------------------
248    Name: Matthias Blume (blume (at) tti - c (dot) org)
249    Date: 2004/11/18 15:40:00 CST
250    Tag: Release_110_51
251    Description:
252    
253    New working version (110.51).  NEW BOOTFILES!
254    
255    ----------------------------------------------------------------------
256    Name: Matthias Blume (blume (at) tti - c (dot) org)
257    Date: 2004/11/18 15:35:00 CST
258    Tag: <none>
259    Description:
260    
261    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
262    Joemann).
263    
264    ----------------------------------------------------------------------
265    Name: Allen Leung (leunga (at) reservoir (dot) com)
266    Date: 2004/11/17 16:05:21 EST 2004
267    Tag: leunga-20041117-mlrisc-live-kill
268    Description:
269    
270       Added support for MLTree constructs LIVE and KILL
271    to all the architectures.
272    
273    ----------------------------------------------------------------------
274    Name: Matthias Blume (blume (at) tti - c (dot) org)
275    Date: 2004/11/13 00:20:00 CST
276    Tag: blume-20041113-versiontool
277    Description:
278    
279    - Stripped down the versiontool: It now only handles the version number.
280      The date string is generated at bootstrap time (during makeml).
281    
282    - In a previous commit, fixed a minor issue with how polyequal is being
283      translated.  In particular, the code now "looks through" abstractions.
284      This results in slightly fewer polyEqual warnings and hopefully slightly
285      more efficient code.  Important examples for where this matters are
286      the new int64 and word64 types.
287    
288    ----------------------------------------------------------------------
289    Name: Matthias Blume (blume (at) tti - c (dot) org)
290    Date: 2004/11/12 00:30:00 CST
291    Tag: blume-20041112-int64
292    Description:
293    
294    Structure Int64 fully hooked in.  (The implementation is not very
295    efficient, though.)
296    
297    ----------------------------------------------------------------------
298    Name: Matthias Blume (blume (at) tti - c (dot) org)
299    Date: 2004/11/11 17:30:00 CST
300    Tag: blume-20041111-more64
301    Description:
302    
303    All the pieces of Word64 are now there, with the exception of the
304    conversions from and to LargeWord. (Eventually these need to be identities,
305    but for the time being they don't even make sense because LargeWord is
306    32-bit wide.)
307    
308    Also started to add similar support for Int64, but major pieces of that
309    are still missing.
310    
311    ----------------------------------------------------------------------
312    Name: Matthias Blume (blume (at) tti - c (dot) org)
313    Date: 2004/11/11 00:15:00 CST
314    Tag: blume-20041111-word64
315    Description:
316    
317    Structure Word64 is now (almost) complete, word literals and patterns
318    seem to work.  There are a few odd pieces missing.  In particular,
319    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
320    at the moment.
321    
322    Making Word64 official would mean that LargeWord becomes Word64.  But
323    this requires extreme care because most word-word conversions have to
324    go through LargeWord, so making a mistake means loss of efficiency or
325    worse.  Eventually there will be a solution similar to (but actually
326    simpler than) what I did with IntInf.
327    
328    ----------------------------------------------------------------------
329    Name: Matthias Blume (blume (at) tti - c (dot) org)
330    Date: 2004/11/10 18:12:00 CST
331    Tag: blume-20041110-64bit
332    Description:
333    
334    More 64-bit hacking (but still not even half-way there yet).
335    Also, some assorted improvements to the handling of 8-bit words.
336    
337    ----------------------------------------------------------------------
338    Name: Matthias Blume (blume (at) tti - c (dot) org)
339    Date: 2004/11/09 17:50:00 CST
340    Tag: <none>
341    Description:
342    
343    Started adding some infrastructure for supporting 64-bit int- and
344    word-types.  (Still in its very early stages.)
345    
346    ----------------------------------------------------------------------
347    Name: Matthias Blume (blume (at) tti - c (dot) org)
348    Date: 2004/10/28 10:45:00 CDT
349    Tag: Release_110_50
350    Description:
351    
352    New working version (110.50).  NEW BOOTFILES!
353    
354                 =====================
355    
356    Also:
357    
358      - Changend config/srcarchiveurl from a file just
359        containing the URL string into a file containing
360        shell script code.  The code has access to the $VERSION variable.
361      - Made corresponding changes to config/install.sh and config/unpack.
362      - Default contents of config/srcarchiveurl uses $VERSION and
363        normally does not have to be edited to reflect a version change.
364    
365      (As a result, a version change can be done by just editing
366       config/version, the rest is now automatic.)
367    
368    ----------------------------------------------------------------------
369    Name: Matthias Blume (blume (at) tti - c (dot) org)
370    Date: 2004/10/27 17:50:00 CDT
371    Tag: blume-20041027-btrace-msg
372    Description:
373    
374    BackTrace.monitor now also reports the source of the exception that
375    triggered the trace.
376    
377    ----------------------------------------------------------------------
378    Name: Matthias Blume (blume (at) tti - c (dot) org)
379    Date: 2004/10/27 17:20:00 CDT
380    Tag: blume-20041027-x86-c-calls
381    Description:
382    
383    This is the HISTORY entry for two earlier commits, both concerning
384    the x86 c-calls code in MLRISC:
385    
386      - added a missing LOAD in the code that deals with struct arguments
387      - made sure the caller does not add the wrong number of bytes to the
388        stack pointer after a call of a function returning a struct
389        (the callee already pops the implicit argument which points to
390         the space reserved for the result)
391    
392    ----------------------------------------------------------------------
393    Name: Allen Leung (leunga (at) reservoir (dot) com)
394    Date: 2004/10/24 14:00:00 EST
395    Tag: leunga-20041024-x86-gas-fucomip
396    Description:
397    
398       John discovered a bug in the syntax of fucomip.
399       The opcodes FU?COMIP? have been changed to
400    
401           fu?comip? %st(i), %st
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume (blume (at) tti - c (dot) org)
405    Date: 2004/10/20 15:06:00 CDT
406    Tag: blume-20041020-standalone-backtrace
407    Description:
408    
409    Added a mechanism for getting back-trace information from standalone
410    programs.  Here is how it works:
411    
412       1. The part of the program from which you want to get backtrace
413          information (usually the whole program) should be wrapped with
414          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
415          main program could be modified from something like
416    
417             fun main (pgm, args) = ...
418    
419         to
420    
421            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
422    
423       2. To be able to access BackTrace.monitor, you have to add
424          library $smlnj-tdp/plugins.cm to the .cm file that contains your
425          main function.
426    
427       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
428          CM might have created in the past for your project).
429    
430       4. Build the system using this command line:
431    
432             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
433                      myprog.cm MyProg.main myprog
434    
435          instead of the usual
436    
437             ml-build myprog.cm MyProg.main myprog
438    
439    I changed a library name:
440    
441       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
442    
443    New libraries:
444    
445       $smlnj-tdp/back-trace.cm
446          -- when loaded causes the back-trace plugin to be installed
447       $smlnj-tdp/coverage.cm
448          -- when loaded causes the coverage plugin to be installed
449    
450    ----------------------------------------------------------------------
451    Name: Matthias Blume (blume (at) tti - c (dot) org)
452    Date: 2004/10/18 16:45:00 CDT
453    Tag: blume-20041018-groupowner
454    Description:
455    
456    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
457    
458    Eliminated group owner specs from .cm files throughout the source tree.
459    
460    ----------------------------------------------------------------------
461    Name: Matthias Blume (blume (at) tti - c (dot) org)
462    Date: 2004/10/15 15:45:00 CDT
463    Tag: blume-20041015-coverage
464    Description:
465    
466    * Test coverage tool added!
467    * Further reorganization of tracing-, debugging-, and profiling support:
468    
469        - moved original BTImp -- now called BackTrace -- into a separate
470          library called $/trace-debug-profile.cm
471        - eliminated all mentions of BTrace from SMLofNJ.Internals
472        - only the instrumentation mechanism is now left in the compiler proper
473        - BackTrace module is a plugin which is NOT plugged in by default
474        - Coverage module is another such plugin
475    
476    To get the benefits of any of these plugin modules, the code in
477    question must be compiled with tdp instrumentation turned on.  This
478    can be done by setting SMLofNJ.Internals.TDP.mode to true.
479    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
480    
481    Plugins are selected at link time.  (Pre-compiled instrumented code
482    can be re-loaded with different plugins in effect.)  When an
483    instrumented module is linked, whatever plugins are at that time
484    enabled will come into effect for that module.
485    
486    To enable the back-trace plugin, load library $/trace-debug-profile.cm
487    and invoke BackTrace.install() (e.g., from the interactive prompt).
488    To enable the coverage plugin, load the same library and invoke
489    Coverage.install().
490    
491    Back-traces are generated automatically on uncaught exceptions and
492    when the code in question explicitly invokes BackTrace.trigger().
493    
494    Coverage (and execution frequency-) information must be queried
495    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
496    
497    ----------------------------------------------------------------------
498    Name: Matthias Blume (blume (at) tti - c (dot) org)
499    Date: 2004/10/14 17:40:00 CDT
500    Tag: blume-20041014-tdp-core
501    Description:
502    
503    Snapshot of a significant overhaul of how the trace/debug/profile support
504    is hooked into the system (specifically: Core and SMLofNJ.Internals).
505    
506    ----------------------------------------------------------------------
507    Name: Matthias Blume (blume (at) tti - c (dot) org)
508    Date: 2004/10/13 16:34:00 CDT
509    Tag: blume-20041013-tdp
510    Description:
511    
512    Some rationalization of names:
513    
514       structure BTrace -> structure TDPInstrument
515       etc.
516    
517    This is is preparation of using the original back-trace
518    instrumentation for other purposes.  "TDP" stands for
519    Trace/Debug/Profile.
520    
521    The control flag controlling whether instrumentation is on or off is now
522    registered under a different name, so instead of running sml as
523    
524     sml -Cinstrument.btrace-mode=true
525    
526    one has to say
527    
528     sml -Ctdp.instrument=true
529    
530    ----------------------------------------------------------------------
531    Name: Matthias Blume (blume (at) tti - c (dot) org)
532    Date: 2004/10/11 16:37:00 CDT
533    Tag: blume-20041011-regions
534    Description:
535    
536    Made some minor modifications to elabcore.sml to have source regions
537    be propagated more tightly -- resulting in better (i.e., smaller)
538    regions being reported in error- and debug messages.
539    
540    ----------------------------------------------------------------------
541    Name: Matthias Blume (blume (at) tti - c (dot) org)
542    Date: 2004/10/08 22:50:00 CDT
543    Tag: blume-20041008-cmkw
544    Description:
545    
546    Fixed handling of keywords in .cm files: After seeing "is" the lexer
547    treats subsequent occurrences of "group", "library", "source", "is",
548    "*", and "-" as ordinary identifiers rather than keywords.
549    
550    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
551    is supposed to accept a tool argument called "source", but this did
552    not work because of the clash with the keyword.
553    
554    ----------------------------------------------------------------------
555    Name: Matthias Blume (blume (at) tti - c (dot) org)
556    Date: 2004/10/07 16:00:00 CDT
557    Tag: blume-20041007-cleanup
558    Description:
559    
560    Assorted cleanup work:
561    
562      - got rid of intstrmap in favor of using the library's
563        hash table implementation
564      - threw out most of the pathnames stuff, as it was not used anyway
565      - simplified tokentable implementation
566      - fixed some minor spelling errors
567    
568    ----------------------------------------------------------------------
569    Name: Matthias Blume (blume (at) tti - c (dot) org)
570    Date: 2004/10/06 15:15:15 CDT
571    Tag: blume-20041006-handler
572    Description:
573    
574    Cleaned up the absyn to reflect the invariant that HANDLE always
575    carries a FNexp as part of the type definition.  This eliminates some
576    superfluous sanity checks at runtime down the road.
577    
578    Some minor cleanup of the btrace code.
579    
580    ----------------------------------------------------------------------
581    Name: Matthias Blume (blume (at) tti - c (dot) org)
582    Date: 2004/10/01 10:20:30 CDT
583    Tag: blume-20041001-slave
584    Description:
585    
586    Added hack to make slave mode work in the presence of the version
587    tool.  (Still, since the master does two passes over the code for
588    CMB.make, the release number gets bumped twice when slaves are
589    attached.  I don't know if this is worth fixing...)
590    
591    ----------------------------------------------------------------------
592    Name: Matthias Blume (blume (at) tti - c (dot) org)
593    Date: 2004/09/30 10:55:00 CDT
594    Tag: blume-20040930-version
595    Description:
596    
597    * Moved the "version" magic into its own little library under
598      src/system/smlnj/internal.  This avoids expensive reconstruction of
599      a stable src/compiler/core.cm.
600    
601    * At the same time, structure CompilerVersion is now known as
602      structure SMLNJVersion.
603    
604    * Arranged for the version tool to NOT kick in when rebuilding the system
605      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
606      Also, loading the versiontool does not work when rebuilding the system
607      because CM is not properly initialized at that time.
608    
609    ----------------------------------------------------------------------
610    Name: Matthias Blume (blume (at) tti - c (dot) org)
611    Date: 2004/09/29 14:00:00 CDT
612    Tag: blume-20040929-autoversion
613    Description:
614    
615    Implemented some CM magic to have
616        file src/compiler/TopLevel/main/version.sml
617    generated automagically.
618    The version is taken from two files: config/version and config/release.
619    The first is expected to contain a two-part version number such as 110.49.
620    The second should contain a single number, but it may be missing.
621    
622    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
623    time the version tool is loaded (which is the first time you say CMB.make),
624    then the tool will increment the value stored in config/release every
625    time CMB.make is invoked.
626    
627    The binfile format is now insensitive to anything beyond the first
628    two components of a version number, so bumping the release does not render
629    binfiles incompatible.  Auto-bumping can be used to keep track of versions
630    during development without invalidating existing binfiles.
631    
632    In any case, every CMB.make updates the date information in version.sml.
633    (This is the date that is printed in the banner.)
634    
635    ----------------------------------------------------------------------
636    Name: Matthias Blume (blume (at) tti - c (dot) org)
637    Date: 2004/09/28 10:53:00 CDT
638    Tag: blume-20040928-controls
639    Description:
640    
641    Some cleanup of the controls code.
642    
643    ----------------------------------------------------------------------
644    Name: Matthias Blume (blume (at) tti - c (dot) org)
645    Date: 2004/09/27 22:08:00 CDT
646    Tag: blume-20040927-controls
647    Description:
648    
649    Added two pieces of functionality to the Controls interface:
650    
651    1.   val save'restore: 'a control -> unit -> unit
652    
653       grabs the current value of the control in stage 1 and restores it
654       in stage 2.
655    
656    2.   val set' : 'a control * 'a -> unit -> unit
657    
658       stores the given value into the control in stage 2 (i.e., delayed)
659       but does all error checking in stage 1.
660       (This is for string controls that need to do parse their argument --
661        something that might fail.  In some cases, notably in CM, one
662        already knows the intended argument but wants to delay the actual
663        assignment until a time when error recovery would be more difficult.)
664    
665    Changed the handling of controls in tool arguments to classes "sml" and
666    "lazysml":
667       - use Controls.save'restore as a more robust way of restoring the
668         old value (in particular: without having to re-parse the string)
669       - use controls to handle the "overload" keyword in the init group
670         (I believe this change actually fixes a long-standing obscure bug.)
671    
672    ----------------------------------------------------------------------
673    Name: Matthias Blume (blume (at) tti - c (dot) org)
674    Date: 2004/09/27 17:00:00 CDT
675    Tag: blume-20040927-lazysml
676    Description:
677    
678    Added a new tool class called "lazysml" to CM's tool chest.  The only
679    difference to "sml" is that compilation is done with Control.lazysml
680    set to true.  A source of class "lazysml" is automatically recognized
681    by a file name suffix of ".lml".
682    
683    In addition to the above feature, the original class "sml" now also
684    supports a tool argument "lazy" which has the same effect.  As a
685    result, the following three lines are equivalent:
686    
687        foo.sml : lazysml
688        foo.sml : sml (lazy)
689        foo.sml (lazy)
690    
691    The setting goes into effect both during parsing and during
692    compilation.  The original setting is restored right after parsing and
693    after compilation, respectively.
694    
695    In addition to all the above, there is also a general mechanism to set
696    ANY of the "controls" that are available at the command line via
697    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
698    apply as well. (In fact, "lazy" is implemented as a special case of
699    the general mechanism.)
700    
701    The .cm file syntax uses a new keyword tool argument called "with".
702    There are several ways of indicating the desired settings:
703    
704        foo.sml (with:parser.quotations=true)
705        foo.sml (with:(name:parser.quotations value:true))
706        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
707        foo.sml (with:(name1=value1 name2=value2 ...))
708        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
709    
710        etc.
711    
712    Another possible abbreviation is to leave out the =v or value:v part
713    if the name refers to a boolean control (in which case the value is
714    taken to be true).  Thus, one could get lazy sml also by saying:
715    
716        foo.sml (with:parser.lazy-keyword=true)
717        foo.sml (with:parser.lazy-keyword)
718        foo.sml (with:(name:parser.lazy-keyword value:true))
719        foo.sml (with:(name:parser.lazy-keyword))
720    
721    ----------------------------------------------------------------------
722    Name: Matthias Blume (blume (at) tti - c (dot) org)
723    Date: 2004/09/24 16:22:00 CDT
724    Tag: blume-20040924-ppc-long-branch
725    Description:
726    
727    Turned message about "emiting long form of branch" off by default.
728    Added a control flag to turn it back on when desired.
729    
730    ----------------------------------------------------------------------
731    Name: Matthias Blume (blume (at) tti - c (dot) org)
732    Date: 2004/09/24 16:05:00 CDT
733    Tag: blume-20040924-rounding
734    Description:
735    
736    Applied patch for setting rounding modes under Mac OS X.  Thanks to
737    Melissa O'Neill for providing the code!
738    
739    ----------------------------------------------------------------------
740    Name: Matthias Blume (blume (at) tti - c (dot) org)
741    Date: 2004/09/23 17:30:00 CDT
742    Tag: blume-20040923-envvars
743    Description:
744    
745    1. Changed definition of type ControlRegistry.registry_tree to
746       include control_info (i.e., the name of the controlling environment
747       variable).
748    
749    2. Added command-line flags -e and -E to print the names of environment
750       variables that can be used to control internal settings.
751       (This uses the new API mentioned in 1.)
752    
753    ----------------------------------------------------------------------
754    Name: Matthias Blume (blume (at) tti - c (dot) org)
755    Date: 2004/09/13 16:50:00 CDT
756    Tag: Release_110_49
757    Description:
758    
759    New working version (110.49).  NEW BOOTFILES!
760    
761    ----------------------------------------------------------------------
762    Name: Matthias Blume
763    Date: 2004/09/13 16:20:00 CDT
764    Tag: blume-20040913-config-mlrisc
765    Description:
766    
767    Put target "mlrisc" back into the default list.
768    (There is no harm in having it, and some users have expressed their
769    wish to have "mlrisc" included by default.)
770    
771    ----------------------------------------------------------------------
772    Name: John Reppy
773    Date: 2004/09/13
774    Tag: jhr-20040913-signals
775    Description:
776    
777    Fixed the signal masking code to properly nest mask/unmask operations
778    on a per-signal basis.
779    
780    ----------------------------------------------------------------------
781    Name: Matthias Blume (blume (at) tti - c (dot) org)
782    Date: 2004/09/08 13:20:00 CDT
783    Tag: blume-20040908-heap-magic
784    Description:
785    
786    Bumped the heap macig number to 0x09082004 to account for the changed
787    layout of the ML frame under MacOS X.
788    
789    ----------------------------------------------------------------------
790    Name: Allen Leung (leunga (at) reservoir (dot) com)
791    Date: 2004/09/03 11:26:00 EST
792    Tag: leunga-20040903-cygwin-install
793    Description:
794    
795       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
796    The Cygwin runtime is turned on by setting the environment
797    variable SMLNJ_CYGWIN_RUNTIME to 1.
798    
799    ----------------------------------------------------------------------
800    Name: Matthias Blume (blume (at) tti - c (dot) org)
801    Date: 2004/08/31 17:15:00 CDT
802    Tag: blume-20040831-core
803    Description:
804    
805    Added some exports to src/compiler/core.cm upon request by J. Joemann.
806    
807    ----------------------------------------------------------------------
808    Name: Matthias Blume (blume (at) tti - c (dot) org)
809    Date: 2004/08/30 17:55:00 CDT
810    Tag: blume-20040830-installer
811    Description:
812    
813    Upon request by Johannes Joemann:
814    
815    - improved ML code of installer to fall back to coping when renaming
816      fails (i.e., when source and target are on different file systems);
817      the code compiles but has yet to be tested in anger
818    - removed mlrisc from list of default targets (config/targets)
819    
820    ----------------------------------------------------------------------
821    Name: Matthias Blume (blume (at) tti - c (dot) org)
822    Date: 2004/08/27 17:20:00 CDT
823    Tag: blume-20040827-ptreql
824    Description:
825    
826    Added ptreql primop to structure InlineT (upon request from Larry
827    Paulson).
828    
829    ----------------------------------------------------------------------
830    Name: Allen Leung (leunga (at) reservoir (dot) com)
831    Date: 2004/08/15 21:21:00 EST
832    Tag: leunga-110_48-udgraph
833    Description:
834    
835    Another bug fix from Carl Hauser:
836    
837    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
838    > 48c48
839    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
840    > e::L)
841    > ---
842    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
843    > Without this, any deletion of an edge in an undirected graph does severe
844    > violence to the graph.
845    
846    ----------------------------------------------------------------------
847    Name: Allen Leung (leunga (at) reservoir (dot) com)
848    Date: 2004/08/10 23:35:00 EST
849    Tag: leunga-110_48-ppc
850    Description:
851    
852       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
853    
854    ----------------------------------------------------------------------
855    Name: Matthias Blume (blume (at) tti - c (dot) org)
856    Date: 2004/08/10 12:00:00 CDT
857    Tag: Release_110_48
858    Description:
859    
860    New working version (110.48).  NEW BOOTFILES!
861    
862    ----------------------------------------------------------------------
863    Name: Allen Leung (leunga (at) reservoir (dot) com)
864    Date: 2004/08/09 12:21:00 EST
865    Tag: leunga-110_47-dijsktra
866    Description:
867    
868    Bug fix from Carl Hauser:
869    
870    single_source_shortest_paths in dijkstra.sml was observed to get wrong
871    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
872    
873    The problem is that following the expression A.update(dist,s,Num.zero)
874    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
875    
876    ----------------------------------------------------------------------
877    Name: Matthias Blume (blume (at) tti - c (dot) org)
878    Date: 2004/08/06 18:10:00 CDT
879    Tag: blume-20040806-cmdline
880    Description:
881    
882    Fiddled with handling of command-line options:
883    
884      * sml now quits after processing the command line
885        if -H, -S, -h<n>, or -s<n> appears as the last
886        command-line argument
887      * a new option -q terminates the session when encountered on
888        the command line; subsequent arguments will be ignored
889      * bug fixes: short (erroneous) arguments are no longer ignored
890        completely
891    
892    ----------------------------------------------------------------------
893    Name: Allen Leung (leunga (at) reservoir (dot) com)
894    Date: 2004/08/04 18:17:00 EST
895    Tag: leunga-110_47-ppc-ibm-asm
896    Description:
897    
898      - Added minimal IBM assembly syntax support for PowerPC.
899    
900      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
901        been altered in the runtime.  We need an automatic way to keep the file
902        in sync.
903    
904    ----------------------------------------------------------------------
905    Name: Matthias Blume (blume (at) tti - c (dot) org)
906    Date: 2004/08/04 14:00:00 CDT
907    Tag: Release_110_47
908    Description:
909    
910    New working version (110.47).  NEW BOOTFILES!
911    
912    ----------------------------------------------------------------------
913    Name: Matthias Blume (blume (at) tti - c (dot) org)
914    Date: 2004/08/03 14:25:00 CDT
915    Tag: blume-20040803-callingconv
916    Description:
917    
918    Added low-level support for choosing C calling conventions by
919    twiddling the type of rawccall.  (See
920    src/compiler/Semant/types/cproto.sml for details.)
921    
922    ----------------------------------------------------------------------
923    Name: Matthias Blume (blume (at) tti - c (dot) org)
924    Date: 2004/08/02 15:55:00 CDT
925    Tag: blume-20040802-backout
926    Description:
927    
928    Backed out of change to win32-filesys.c.  The earlier patch to
929    get_file_time caused CM to produce files with the wrong time stamp.
930    
931    ----------------------------------------------------------------------
932    Name: Matthias Blume (blume (at) tti - c (dot) org)
933    Date: 2004/08/02 14:45:00 CDT
934    Tag: blume-20040802-nlffi-win32
935    Description:
936    
937    Added NLFFI support for Win32, adapted from a patch provided by David
938    Hansel.  This is currently completely untested.  Also, the issue
939    concerning stdcall vs. ccall is still unresolved.
940    
941    ----------------------------------------------------------------------
942    Name: Matthias Blume (blume (at) tti - c (dot) org)
943    Date: 2004/07/30 17:55:00 CDT
944    Tag: blume-20040730-various
945    Description:
946    
947    Gearing up towards 110.47...
948    
949    - various minor bugfixes to ml-nlffigen
950    - a beginning of a manual for nlffi
951    
952    - eliminated 'export name=value' in config/install.sh as this does
953      not work with certain versions of /bin/sh
954      (Thanks to David King at Motorola for catching this.)
955    
956    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
957      - added a test for tm==NULL to gmtime.c and localtime.c
958      - applied patch for incorrect GetFileTime under win32
959      - toSeconds -> toMilliseconds in Win32/win32-process.sml
960    
961    ----------------------------------------------------------------------
962    Name: Matthias Blume (blume (at) tti - c (dot) org)
963    Date: 2004/07/21 18:20:00 CDT
964    Tag: blume-20040721-nlffigen
965    Description:
966    
967    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
968      for a typedef to an incomplete type, but leave out the "typ" member.
969      (This is just for consistency.)
970    - Started to produce what is supposed to become better (i.e., comprehensive)
971      documentation of what ml-nlffigen does and produces.
972    
973    ----------------------------------------------------------------------
974    Name: Matthias Blume (blume (at) tti - c (dot) org)
975    Date: 2004/07/14 16:25:00 CDT
976    Tag: blume-20040714-union
977    Description:
978    
979    Added C_UNION to c-calls/c-types.sml and updated the machinery
980    (ml-nlffigen, cproto.sml) that conveys C function interface
981    information to the code generator.
982    
983    However, the actual architecture-specific implementation of function
984    arguments and results that are C unions is still not implemented.
985    
986    ----------------------------------------------------------------------
987    Name: Allen Leung (leunga (at) reservoir (dot) com)
988    Date: 2004/07/14 14:38:00 EST
989    Tag: leunga-110_46_1-ppc-lwzu
990    Description:
991    
992        Added these instructions to the PowerPC architecture:
993        LBZU(X), LHZU(X), LWZU(X),
994        STWU(X), STFDU, STFSU
995    
996        etc...
997    
998        Note: I haven't added their instruction encoding into the description.
999    
1000    ----------------------------------------------------------------------
1001    Name: Allen Leung (leunga (at) reservoir (dot) com)
1002    Date: 2004/07/13 15:04:00 EST
1003    Tag: leunga-110_46_1-ppc-lwarx
1004    Description:
1005    
1006       Added the two instructions LWARX and STWCX to the PowerPC
1007    instruction set.
1008    
1009       A (untested) rewrite of loop-structure.sml.  The old version
1010    is completely broken.
1011    
1012    ----------------------------------------------------------------------
1013    Name: Matthias Blume (blume (at) tti - c (dot) org)
1014    Date: 2004/07/13 13:50:00 CDT
1015    Tag: blume-20040713-nlffi
1016    Description:
1017    
1018    - use paramAlloc to report c-calls with too many arguments
1019      (for PPC version where parameter area is pre-allocated)
1020    - added ccall_maxargspace to machspec (to implement the above)
1021    - made "make" commend in CM's "make" tool configurable
1022    - added option (default: on) for passing the name of the SML/NJ's "bin"
1023      directory to "make"; the call looks like this:
1024    
1025         make <options> SMLNJ_BINDIR=<dir> <target>
1026    
1027      This can be used by the Makefile to, e.g., pick the "right" version
1028      of ml-nlffigen.
1029    - minor code tweaks
1030    
1031    ----------------------------------------------------------------------
1032    Name: Matthias Blume (blume (at) tti - c (dot) org)
1033    Date: 2004/07/12 22:50:00 CDT
1034    Tag: blume-110_46_1-macosx-nlffi
1035    Description:
1036    
1037    NLFFI under Mac OS X now working (sort of).  This is largely untested,
1038    though.
1039    
1040    Note:  1. You have to make a new, clean build of the runtime system.
1041           2. There are new BOOTFILES, you have to use them!
1042              (Doing the bootstrap process yourself would be *very* painful!
1043               If you absolutely have to do it, build the system under
1044               a different architecture and then cross-compile.)
1045    
1046    Version bumped to 110.46.1 to account for runtime data format changes.
1047    
1048    ----------------------------------------------------------------------
1049    Name: Matthias Blume (blume (at) tti - c (dot) org)
1050    Date: 2004/06/18 14:30:00 CDT
1051    Tag: blume-20040618-unix
1052    Description:
1053    
1054    Changed the implementation of structure Unix so that the same stream
1055    is returned every time one of the {text,bin}{In,Out}streamOf functions
1056    is invoked on the same proc.  This is not what the spec currently
1057    says -- although IMO it arguably should.  (See discussion below.)
1058    
1059    ----------------------------------------------------------------------
1060    Name: Matthias Blume (blume (at) tti - c (dot) org)
1061    Date: 2004/06/17 18:15:00 CDT
1062    Tag: Release_110_46
1063    Description:
1064    
1065    New working version (110.46).  NEW BOOTFILES!
1066    
1067    ----------------------------------------------------------------------
1068    Name: Matthias Blume (blume (at) tti - c (dot) org)
1069    Date: 2004/06/17 17:20:00 CDT
1070    Tag: blume-20040617-timer-unix
1071    Description:
1072    
1073    Changed the interface of structures Timer and Unix to match the most
1074    recent Basis spec.
1075    
1076    In the case of Unix there still seems to be an open/weird issue:
1077    
1078       The {text,bin}{In,Out}streamOf functions are supposed to create
1079       fresh streams whenever they are called -- as opposed to have them
1080       return the same stream every time.  This design is supposed to
1081       prevent space leaks caused by proc values hanging on to streams.
1082    
1083       The reap function, on the other hand, is supposed to close the
1084       streams.  This cannot be done without having a handle on the
1085       stream in proc after all...
1086    
1087    I took the liberty to implement the following stopgap solution:
1088    
1089      The proc value hangs on to the most recently created stream(s).
1090      Reap closes those.  If either or both of the two streams hadn't
1091      been created at all yet, then reap will close the corresponding
1092      file descriptors directly.
1093    
1094    PS: I don't understand the original space leak argument anymore.  If
1095    a proc hangs on to the imperative stream, then I/O operations on those
1096    will advance the state of the cached stream and avoid the space leak.
1097    
1098    ----------------------------------------------------------------------
1099    Name: Matthias Blume (blume (at) tti - c (dot) org)
1100    Date: 2004/05/28 16:45:00 CDT
1101    Tag: blume-20040528-basis
1102    Description:
1103    
1104    Added signature PACK_REAL and exported functor PrimIO.
1105    
1106    ----------------------------------------------------------------------
1107    Name: Matthias Blume (blume (at) tti - c (dot) org)
1108    Date: 2004/05/25 16:00:00 CDT
1109    Tag: blume-20040525-group-owner
1110    Description:
1111    
1112    CM now ignores (but still accepts) the "owner" information in group
1113    descriptions.  The owner of a group is its next enclosing
1114    library. Each group must have a unique owner.  (There is a virtual
1115    "toplevel" library that owns groups which are not nested within a real
1116    library.)  Previously, each group had to explicitly declare its owner,
1117    and CM would check that such a declaration is correct.  The new scheme
1118    is to have CM check that for each group there is precisely one owning
1119    library.
1120    
1121    The advantage of the new scheme is that the programmer no longer needs
1122    to maintain the somewhat annoying owner information.  The downside is
1123    that CM cannot enforce the ownership rule across multiple runs of
1124    CM.make.  Fortunately, enclosing the same group in two different
1125    libraries A and B which are not part of the same program does not
1126    cause real problems.
1127    
1128    ----------------------------------------------------------------------
1129    Name: Matthias Blume (blume (at) tti - c (dot) org)
1130    Date: 2004/05/20 16:00:00 CDT
1131    Tag: blume-20040520-win32
1132    Description:
1133    
1134    Made the win32 version work again.  (Strangely, a misplaced comma had
1135    slipped into win32-process.c which prevented the runtime from being
1136    compiled correctly.)
1137    
1138    Also, included a minor addition to ml-build.bat analogous to what was
1139    done in blume-20040519-ml-build.
1140    
1141    ----------------------------------------------------------------------
1142    Name: Matthias Blume (blume (at) tti - c (dot) org)
1143    Date: 2004/05/19 22:10:00 CDT
1144    Tag: blume-20040519-ml-build
1145    Description:
1146    
1147    Arranged for ml-build to clean up after itself a little bit better.
1148    The script generates a temporary SML source file and compiles it using
1149    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
1150    gets rid of those at the end, so they don't accumulate under .cm.
1151    
1152    This required a minor change to install.sh because the name of the
1153    metadata directory (default: .cm) is actually configurable at
1154    installation time.
1155    
1156    ----------------------------------------------------------------------
1157    Name: Matthias Blume (blume (at) tti - c (dot) org)
1158    Date: 2004/05/18 15:50:00 CDT
1159    Tag: blume-20040518-mkreader
1160    Description:
1161    
1162    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
1163    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
1164    
1165    ----------------------------------------------------------------------
1166    Name: Matthias Blume (blume (at) tti - c (dot) org)
1167    Date: 2004/05/11 14:35:00 CDT
1168    Tag: blume-20040511-win32sock
1169    Description:
1170    
1171    Added previously missing support for many socket-related functions
1172    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
1173    for the voluminous patch!
1174    
1175    (I have not tested this patch under win32 yet.)
1176    
1177    Here is David's e-mail:
1178    
1179    Hi,
1180    
1181    Attached to this email you find a diff against sml/nj 110.45
1182    that will enable socket support under Windows.
1183    
1184    To apply the patch (using unix or cygwin)
1185    1) gunzip runtime.diff.gz
1186    2) "cd" into "src/runtime" in the source tree of a fresh
1187       110.45 installation.
1188    3) patch -p 1 < [your/path/to]runtime.diff
1189    
1190    The code compiles fine but has NOT yet been extensively tested.
1191    I only ran a few tests for basic socket client functionality
1192    (which worked fine).  Especially the functions that use ioctl
1193    are not tested at all and might not work (see below).
1194    
1195    I implemented this since we want to move to a newer version of sml/nj
1196    but need socket support in order to use it.  This is the first time I
1197    even had a look at the sml/nj source,  so please review my changes
1198    before making this part of the distribution!  Here are a few issues
1199    that I think might be better for someone to solve who is more
1200    familiar with the sml/nj source (and socket programming):
1201    
1202    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
1203      exception since I could not figure out what the windows equivalent
1204      of these functions is
1205    
1206    - In sockets-osdep.h there are a some #include statements that are
1207      only used in a few files that include sockets-osdep.h
1208    
1209    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
1210      does not process its return value since I don't know how to
1211      report an error upwards.
1212    
1213    - It would probably be good to have a call to WSACleanup() when
1214      the library is unloaded (if there is such a possibility).
1215      Otherwise I think Windows will take care of this automatically
1216      when the process finishes.
1217    
1218    - I used ioctlsocket() as a replacement for ioctl() but I have
1219      no idea if that is actually the proper replacement on Windows.
1220    
1221    - All these issues are marked in the code by "FIXME" comments.
1222    
1223    We use sml/nj extensively in our products and are quite happy
1224    with it.  I hope this contribution will help you.
1225    
1226    Keep up the good work!
1227    
1228    David
1229    
1230    ----------------------------------------------------------------------
1231    Name: Matthias Blume (blume (at) tti - c (dot) org)
1232    Date: 2004/05/11 14:20:00 CDT
1233    Tag: blume-20040511-installml
1234    Description:
1235    
1236    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
1237    the patch.)
1238    
1239    ----------------------------------------------------------------------
1240    Name: Matthias Blume (blume (at) tti - c (dot) org)
1241    Date: 2004/05/11 14:05:00 CDT
1242    Tag: blume-20040511-nlffi-netbsd
1243    Description:
1244    
1245    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
1246    the patch.)
1247    
1248    ----------------------------------------------------------------------
1249    Name: Matthias Blume (blume (at) tti - c (dot) org)
1250    Date: 2004/05/11 12:05:00 CDT
1251    Tag: blume-20040511-exports
1252    Description:
1253    
1254    As per request by Adam Chlipala <adam@hcoop.net>, extended various
1255    export lists in compiler-related .cm-files.
1256    
1257    ----------------------------------------------------------------------
1258    Name: Matthias Blume (blume (at) tti - c (dot) org)
1259    Date: 2004/05/11 11:35:00 CDT
1260    Tag: blume-20040511-allsource
1261    Description:
1262    
1263    The installer now honors the "src-smlnj" target again, although its meaning
1264    has changed from "all sources required for the compiler" to "all sources
1265    the installer knows about".  In other words, if you enable "src-smlnj"
1266    in the "targets" file, then the installer will pull in sources for
1267    everything.  (Notice that this refers to source code only.  Compiled
1268    code is still only installed for modules that were requested explicitly
1269    or which are required for other modules that were requested explicitly.)
1270    
1271    ----------------------------------------------------------------------
1272    Name: Matthias Blume (blume (at) tti - c (dot) org)
1273    Date: 2004/04/23 17:40:00 CDT
1274    Tag: blume-20040423-ieee-scan
1275    Description:
1276    
1277    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
1278    in the exponent calculation we get INF or ZERO (depending on the mantissa
1279    and the sign of the exponent).
1280    
1281    ----------------------------------------------------------------------
1282    Name: Matthias Blume (blume (at) tti - c (dot) org)
1283    Date: 2004/04/23 10:40:00 CDT
1284    Tag: blume-20040423-ml-build
1285    Description:
1286    
1287    The ml-build script now terminates with a non-0 status when something
1288    goes wrong.
1289    
1290    ----------------------------------------------------------------------
1291    Name: Matthias Blume (blume (at) tti - c (dot) org)
1292    Date: 2004/04/22 16:35:00 CDT
1293    Tag: blume-20040422-Option
1294    Description:
1295    
1296    Made exception Option to be the same as exception Option.Option
1297    (as it should be).
1298    
1299    ----------------------------------------------------------------------
1300    Name: Allen Leung (leunga (at) reservoir (dot) com)
1301    Date: 2004/03/19 14:40:00 EST
1302    Tag: leunga-20040319-cygwin-nlffi
1303    Description:
1304    
1305    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
1306    of SML/NJ.  The problem is that
1307    
1308       lib = dlopen(NULL, ...)
1309       f   = dlsym(lib, "malloc");
1310    
1311    does not work on Windows unless we explicitly export symbols
1312    such as 'malloc' during linking.  We fixed this by explicitly
1313    exporting the required symbols with the magic gcc incantation:
1314    
1315        -Wl,--export-all cygwin.def
1316    
1317    where cygwin.def is a file containing all the symbols that
1318    we wish to export.
1319    
1320    I suspect this is a Windows problem and we'll have to
1321    do the same (somehow with windows compilers) when
1322    we build the native win32 version with the system
1323    calls LoadLibrary/GetProcAddress.
1324    
1325    ----------------------------------------------------------------------
1326    Name: Matthias Blume (blume (at) tti - c (dot) org)
1327    Date: 2004/03/04 16:35:00 CST
1328    Tag: blume-20040304-intinf-fmt
1329    Description:
1330    
1331    Fixed problem with IntInf.fmt (sign would show up on the right instead
1332    of on the left for BIN, OCT, and HEX).
1333    
1334    ----------------------------------------------------------------------
1335    Name: Matthias Blume (blume (at) tti - c (dot) org)
1336    Date: 2004/03/04 11:25:00 CST
1337    Tag: blume-20040304-symlinks
1338    Description:
1339    
1340    Fixed problem with installer script (unix only) where bin/ml-yacc and
1341    friends pointed (via symlinks) to absolute locations instead of just
1342    .run-sml.  This was reported by Vesa A Norrman.
1343    
1344    ----------------------------------------------------------------------
1345    Name: Matthias Blume (blume (at) tti - c (dot) org)
1346    Date: 2004/02/13 14:50:00 CST
1347    Tag: Release_110_45
1348    Description:
1349    
1350    New working version (110.45). New bootfiles.
1351    
1352    ----------------------------------------------------------------------
1353    Name: Matthias Blume (blume (at) tti - c (dot) org)
1354    Date: 2004/01/26 15:15:15 CST
1355    Tag: blume-20040126-toplevel
1356    Description:
1357    
1358    Improved handling of exceptions at the interactive toplevel.
1359    
1360    ----------------------------------------------------------------------
1361    Name: Matthias Blume (blume (at) tti - c (dot) org)
1362    Date: 2004/01/26 11:25:00
1363    Tag: blume-20040126-app
1364    Description:
1365    
1366    Type of top-level "app" corrected.
1367    Added code for setting vp_limitPtrMask to Win32-specific runtime.
1368    
1369    ----------------------------------------------------------------------
1370    Name: Matthias Blume (blume (at) tti - c (dot) org)
1371    Date: 2003/11/18 17:10 CST
1372    Tag: blume-20031118-basis-fiddle
1373    Description:
1374    
1375    - changed Timer interface to what might become the spec
1376    - POSIX_FLAGS -> BIT_FLAGS according to spec
1377    - some other minor discrepancies wrt. spec eliminated
1378    
1379    ----------------------------------------------------------------------
1380    Name: Matthias Blume (blume (at) tti - c (dot) org)
1381    Date: 2003/11/06 12:00:00 CST
1382    Tag: Release_110_44
1383    Description:
1384    
1385    New working version (110.44). New bootfiles.
1386    
1387    ----------------------------------------------------------------------
1388    Name: Matthias Blume (blume (at) tti - c (dot) org)
1389    Date: 2003/11/04 11:50:00 CST
1390    Tag: blume-20031104-move-libraries
1391    Description:
1392    
1393    Eliminated the "dont_move_libraries" directive in config/targets.
1394    (The mechanism was broken and could not be fixed easily.  Moreover,
1395    there does not seem to be any reason not to move all libraries into
1396    lib during installation.  I originally implemented this directive as a
1397    backward-compatibility feature when I first introduced the new CM.
1398    Now that things have been stable for a long time and going back to the
1399    old CM is not an option, there is no reason to keep it around.)
1400    
1401    ----------------------------------------------------------------------
1402    Name: Matthias Blume (blume (at) tti - c (dot) org)
1403    Date: 2003/11/03 16:00:00 CST
1404    Tag: blume-20031103-installdir
1405    Description:
1406    
1407    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
1408    Richards for pointing out the problem and providing the solution.)
1409    
1410    ----------------------------------------------------------------------
1411    Name: Matthias Blume (blume (at) tti - c (dot) org)
1412    Date: 2003/10/01 17:05:00 CDT
1413    Tag: blume-20031001-lal-mlrisc
1414    Description:
1415    
1416    MLRISC bug fix from Lal.
1417    
1418    ----------------------------------------------------------------------
1419    Name: Matthias Blume (blume (at) tti - c (dot) org)
1420    Date: 2003/09/30 16:10:00 CDT
1421    Tag: blume-20030930-primio-bat
1422    Description:
1423    
1424    1. Added openVector, nullRd, and nullWr to PRIM_IO.
1425    2. Improved .bat files (for Win32 port) to make things work under Win95.
1426       (thanks to Aaron S. Hawley for this one)
1427    
1428    ----------------------------------------------------------------------
1429    Name: Matthias Blume (blume (at) tti - c (dot) org)
1430    Date: 2003/09/26 16:05:00 CDT
1431    Tag: blume-20030926-wrappriv
1432    Description:
1433    
1434    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
1435    
1436    ----------------------------------------------------------------------
1437    Name: Matthias Blume (blume (at) tti - c (dot) org)
1438    Date: 2003/09/26 15:00:00 CDT
1439    Tag: blume-20030926-110_43_3
1440    Description:
1441    
1442    - additional cleanup
1443    - version number bump, NEW BOOTFILES
1444    
1445    ----------------------------------------------------------------------
1446    Name: Matthias Blume (blume (at) tti - c (dot) org)
1447    Date: 2003/09/26 12:00:00 CDT
1448    Tag: blume-20030926-ppautoload
1449    Description:
1450    
1451    I modified the read-eval-print loop so that the autoloader gets
1452    invoked whenever the prettyprinter tries to look up a symbol that
1453    is not currently defined in the toplevel environment but which
1454    appears in CM's autoload registry.  As a result, we see far fewer of
1455    those ?.Foo.Bar.xxx names in the prettyprinter's output.
1456    
1457    In addition to this I tried to clean up some pieces of the Basis
1458    implementation (e.g., Socket, Word8Array) in order to prevent other
1459    instances of these ?.Foo.Bar.xxx names from being printed.
1460    
1461    The mechanism that picks names for types still needs some work, though.
1462    (Right now it seems that if there is a type A.t which is defined to
1463    be B.u, but B is unavailable at toplevel, then A.t gets printed as
1464    "?.B.u" although the perhaps more sensible solution would be to use
1465    "A.t" in this case.  In other words, the prettyprinter should follow
1466    a chain of DEFtycs not farther than there are corresponding toplevel
1467    names in the current environment.)
1468    
1469    ----------------------------------------------------------------------
1470    Name: Matthias Blume (blume (at) tti - c (dot) org)
1471    Date: 2003/09/24 16:31:00 CDT
1472    Tag: blume-20030924-installer
1473    Description:
1474    
1475    Another installer tweak:  All the ML code for the installer is now
1476    compiled during CMB.make and put into a little library called
1477    $smlnj/installer.cm.  The installation then simply invokes
1478    
1479       sml -m $smlnj/installer.cm
1480    
1481    and everything happens automagically.
1482    
1483    Win32:  ML code senses value of environment variable SMLNJ_HOME.
1484    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
1485            and BINDIR.
1486    
1487    The new scheme guarantees that the ML code responsible for the installation
1488    is in sync with the APIs of the main system.  Also, the installer is
1489    somewhat faster because the installer script is precompiled.
1490    
1491    ----------------------------------------------------------------------
1492    Name: Matthias Blume (blume (at) tti - c (dot) org)
1493  Date: 2003/09/24 15:35:00 CDT  Date: 2003/09/24 15:35:00 CDT
1494  Tag: blume-20030924-synsock  Tag: blume-20030924-synsock
1495  Description:  Description:

Legend:
Removed from v.1390  
changed lines
  Added in v.1755

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