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

Legend:
Removed from v.1506  
changed lines
  Added in v.1836

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