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

Legend:
Removed from v.1399  
changed lines
  Added in v.1794

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