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/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

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

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

Legend:
Removed from v.1389  
changed lines
  Added in v.1861

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