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 1644, Sat Oct 9 03:50:36 2004 UTC revision 1855, Wed Nov 2 21:12:31 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/02
18    Description:
19    Fixed a Basis incompatibility: Pack<N>{Big,Little} structures should
20    be called PackWord<N>{Big,Little}.
21    
22    ----------------------------------------------------------------------
23    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
24    Date: 2005/10/28
25    Description:
26    Fixed a minor Basis incompatibility: hex digits should be upper case.
27    
28    ----------------------------------------------------------------------
29    Name: Matthias Blume (blume (at) tti - c (dot) org)
30    Date: 2005/10/25 16:00:00 CDT
31    Tag: Release_110_56
32    Description:
33    
34    New working version (110.56).  NEW BOOTFILES!
35    
36    ----------------------------------------------------------------------
37    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
38    Date: 2005/10/25
39    Description:
40    Added interval sets to utility library (signatures INTERVAL_DOMAIN
41    and INTERVAL_SET, and functor IntervalSetFn).
42    
43    ----------------------------------------------------------------------
44    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
45    Date: 2005/10/14
46    Description:
47    Add Zhong Shao's fix for datatype equality functions.
48    
49    ----------------------------------------------------------------------
50    Name: Allen Leung (leunga (at) reservoir (dot) com)
51    Date: 2005/10/14 12:30:00 EST
52    Tag: leunga-20051014-x86-spill
53    Description:
54    
55    Bug fix a bug found by Carl Hauser.
56    There was a typo in the reload code for FCMP in x86SpillInstr.sml.
57    
58    ----------------------------------------------------------------------
59    Name: Allen Leung (leunga (at) reservoir (dot) com)
60    Date: 2005/10/14 11:15:00 EST
61    Tag: leunga-20051014-x86-asm
62    Description:
63    
64    Removed some debugging code in file x86Asm.sml.
65    The function emit_operand was printing out debugging output.
66    
67    ----------------------------------------------------------------------
68    Name: John Reppy
69    Date: 2005/07/27
70    Tag:
71    Description:
72    
73    Fixed ml-lex to recognize "\r" as representing carriage return.
74    
75    ----------------------------------------------------------------------
76    Name: John Reppy
77    Date: 2005/07/27
78    Tag:
79    Description:
80    
81    Fixed ml-yacc to work on files with non-native end-of-line
82    encodings (e.g., Windows text file on a Unix system).
83    
84    ----------------------------------------------------------------------
85    Name: John Reppy
86    Date: 2005/07/20
87    Tag:
88    Description:
89    
90    Added changes from Dominic Evans (oldmanuk (at) gmail (dot) com)
91    to support HPUX 11.
92    
93    ----------------------------------------------------------------------
94    Name: John Reppy
95    Date: 2005/07/06
96    Tag:
97    Description:
98    
99    Changes to the SML/NJ library.  See smlnj-lib/CHANGES for details.
100    
101    ----------------------------------------------------------------------
102    Name: Matthias Blume (blume (at) tti - c (dot) org)
103    Date: 2005/07/06 00:45:00 CDT
104    Tag: blume-20050706-slice-copy
105    Description:
106    
107    Fixed reversed logic for deciding whether to "copy up" or "copy down"
108    in *-array-slice.sml.
109    
110    ----------------------------------------------------------------------
111    Name: Allen Leung (leunga (at) reservoir (dot) com)
112    Date: 2005/05/31 17:00:00 EST
113    Tag: leunga-20050531-cygwin-fault-2
114    Description:
115    
116    A typo in the cygwin code fixed.
117    
118    ----------------------------------------------------------------------
119    Name: Allen Leung (leunga (at) reservoir (dot) com)
120    Date: 2005/05/31 16:47:00 EST
121    Tag: leunga-20050531-cygwin-fault
122    Description:
123    
124    Updated Cygwin's fault/signal handling to match the Windows version.
125    Updated the export list.
126    
127    ----------------------------------------------------------------------
128    Name: Matthias Blume (blume (at) tti - c (dot) org)
129    Date: 2005/05/18 13:35:00 CDT
130    Tag: Release_110_54
131    Description:
132    
133    New working version (110.54).  NEW BOOTFILES!
134    
135    ----------------------------------------------------------------------
136    Name: Matthias Blume (blume (at) tti - c (dot) org)
137    Date: 2005/05/18 11:58:00 CDT
138    Tag: blume-20050518-installer
139    Description:
140    
141    Added support scripts for Mac OS X PackageMaker and modified
142    config/install.sh so that it supports re-dumping a heap image
143    after customization.
144    
145    ----------------------------------------------------------------------
146    Name: Matthias Blume (blume (at) tti - c (dot) org)
147    Date: 2005/05/18 10:55:00 CDT
148    Tag: blume-20050518-realdiv-noovld
149    Description:
150    
151    Un-overloaded / to work around bug in overloading resolution code.
152    
153    ----------------------------------------------------------------------
154    Name: Matthias Blume (blume (at) tti - c (dot) org)
155    Date: 2005/05/16 23:50:00 CDT
156    Tag: blume-20050516-redump-heap
157    Description:
158    
159    Added mechanism for re-creating a heap file for the interactive system
160    after configuration variables have been changed.
161    
162       CM.redump_heap : string -> unit
163    
164    This is much like SMLofNJ.exportML, but starting from the resulting
165    heap does not return to the caller of CM.redump_heap but
166    restarts the interactive system from scratch.  The original call of
167    CM.redump_heap does not return but ends the interactive session.
168    Thus, CM.redump_heap is a lot like SMLofNJ.exportFn.
169    
170    Internally, redump_heap winds the dynamic execution context back to
171    the point where the original heap image was created and re-executes
172    the heap image generation code in the boot code.
173    
174    ----------------------------------------------------------------------
175    Name: Matthias Blume (blume (at) tti - c (dot) org)
176    Date: 2005/05/09 21:55:00 CDT
177    Tag: blume-20050509-word64
178    Description:
179    
180    Added a hack to the existing hack known as Word64 to make fromString
181    behave correctly.  I am still not sure whether Word64.scan will work
182    as specified with respect to the interaction of radix and prefix.
183    
184    ----------------------------------------------------------------------
185    Name: Allen Leung (leunga (at) reservoir (dot) com)
186    Date: 2005/05/04 11:50:00 EST
187    Tag: leunga-20050504-checkgc
188    Description:
189    
190    Added a gc protocol checking phase.  This phase is enabled with
191    the flag "check-gc".  "debug-check-gc" turns on the verbose mode.
192    
193    ----------------------------------------------------------------------
194    Name: Matthias Blume (blume (at) tti - c (dot) org)
195    Date: 2005/05/04 10:45:00 CDT
196    Tag: blume-20050504-intinf
197    Description:
198    
199    Fixed a bug in the implementation of div and mod for IntInf.
200    Thanks to Neophytos Michael for reporting the problem.
201    
202    ----------------------------------------------------------------------
203    Name: Matthias Blume (blume (at) tti - c (dot) org)
204    Date: 2005/05/04 10:35:00 CDT
205    Tag: blume-20050504-join
206    Description:
207    
208    Added a "join" combinator to the ParserComb module in smlnj-lib.cm.
209    
210    ----------------------------------------------------------------------
211    Name: Matthias Blume (blume (at) tti - c (dot) org)
212    Date: 2005/02/28 23:40:00 CST
213    Tag: blume-20050228-mVar
214    Description:
215    
216    Fixed serious bug (brown paper bag variety) in new implementation of
217    structure Atom in CML.  (I had accidentally used a mailbox instead of
218    an mvar, leaving the door open for races.)
219    
220    ----------------------------------------------------------------------
221    Name: Matthias Blume (blume (at) tti - c (dot) org)
222    Date: 2005/02/25 15:00:00 CST
223    Tag: Release_110_53
224    Description:
225    
226    New working version (110.53).  NEW BOOTFILES!
227    
228    ----------------------------------------------------------------------
229    Name: Matthias Blume (blume (at) tti - c (dot) org)
230    Date: 2005/02/25 14:50:00 CST
231    Tag: blume-20050225-susp
232    Description:
233    
234    Brought back SMLofNJ.Susp.  The underlying suspension type is the one
235    implemented in Core -- which means that it is the same as the one used
236    by the lazy extension.
237    
238    ----------------------------------------------------------------------
239    Name: Matthias Blume (blume (at) tti - c (dot) org)
240    Date: 2005/02/24 16:50:00 CST
241    Tag: blume-20050224-cml-atom
242    Description:
243    
244    Simpler and at the same time more general implementation of structure
245    Atom in CML.
246    
247    ----------------------------------------------------------------------
248    Name: Matthias Blume (blume (at) tti - c (dot) org)
249    Date: 2005/02/15 17:35:00 CST
250    Tag: blume-20050215-tools
251    Description:
252    
253    Created new "tools" directory under "src" and moved "TraceDebugProf"
254    there.
255    
256    ----------------------------------------------------------------------
257    Name: Matthias Blume (blume (at) tti - c (dot) org)
258    Date: 2005/02/10 17:55:00 CST
259    Tag: blume-20050210-longlong
260    Description:
261    
262    Implemented "long long" arguments and results for NLFFI.  (Only the
263    PPC/MacOS implementation is complete, the other backends still need to
264    be updated.)
265    
266    ----------------------------------------------------------------------
267    Name: Matthias Blume (blume (at) tti - c (dot) org)
268    Date: 2005/01/24 17:40:00 CST
269    Tag: blume-20050124-mlyacc
270    Description:
271    
272    Minor cleanup in ML-Yacc rule printing mechanism.  This should fix a
273    problem with certain "as" patterns which previously got rendered
274    using incorrect syntax.
275    
276    ----------------------------------------------------------------------
277    Name: Matthias Blume (blume (at) tti - c (dot) org)
278    Date: 2005/01/18 12:00:00 CST
279    Tag: blume-20050118-profile
280    Description:
281    
282    Made time profiling code (interrupt handler) in runtime system aware
283    of new array representation.
284    
285    ----------------------------------------------------------------------
286    Name: Matthias Blume (blume (at) tti - c (dot) org)
287    Date: 2005/01/14 18:00:00 CST
288    Tag: blume-20050114-heap2exec
289    Description:
290    
291    Implemented new (but still experimental) heap2exec facility.  This is
292    tested under Mac OS X and should work under Linux (will test shortly).
293    It will probably also work on the Sparc (will test some time later).
294    
295      - removed old "HACKED_STANDALONE" hack from runtime
296    
297    To be able to test this, uncomment the request for "heap2asm" in
298    config/targets prior to installation.  (Notice that this is different
299    from "heap2exec" mentioned below.  Not a typo.)
300    
301    To perform an actual test, run the command
302    
303       $ bin/heap2exec heapfile execfile
304    
305    (You can put heap2exec on your shell's path.)
306    
307    For example, run
308    
309      $ bin/heap2exec bin/.heap/ml-yacc.ppc-darwin mly
310    
311    This will create a standalone executable called "mly" which you can
312    then invoke directly as a command.
313    
314    ----------------------------------------------------------------------
315    Name: Matthias Blume (blume (at) tti - c (dot) org)
316    Date: 2005/01/07 11:44:00 CST
317    Tag: blume-20050107-mlstring
318    Description:
319    
320    fixed off-by-one error in ML_STRING macro (globals.c)
321    
322    ----------------------------------------------------------------------
323    Name: Matthias Blume (blume (at) tti - c (dot) org)
324    Date: 2004/12/23 18:00:00 CST
325    Tag: blume-20041223-santa
326    Description:
327    
328    Made ml-build script "smarter" (but only very little).
329    
330    ----------------------------------------------------------------------
331    Name: Matthias Blume (blume (at) tti - c (dot) org)
332    Date: 2004/12/21 15:05:00 CST
333    Tag: blume-20041221-longlong
334    Description:
335    
336    * Implemented access to signed and unsigned long long data in NLFFI.
337    (The parameter-passing part of the picture has not complete. But
338    data structure access seems to work.)
339    
340    * Fixed CM's incorrect assumption that the PPC is little-endian.
341      (On the Mac, it is big-endian.  And that's currently our only
342      PPC platform.)
343    
344    ----------------------------------------------------------------------
345    Name: Matthias Blume (blume (at) tti - c (dot) org)
346    Date: 2004/12/21 12:50:00 CST
347    Tag: blume-20041221-memory
348    Description:
349    
350    Some cleanup in the $c/memory.cm library: separated some concerns by
351    moving allocation code and memory access code each into their own
352    files.
353    
354    ----------------------------------------------------------------------
355    Name: Allen Leung (leunga (at) reservoir (dot) com)
356    Date: 2004/12/17 16:12:00 EST
357    Tag: leunga-20041217-cygwin-smlnj-home
358    Description:
359    
360        The Unix I/O library of SML/NJ on cygwin does not understand
361    Windows style pathname, so problems arise when SMLNJ_HOME is set
362    to a Windows style pathname.  _run-sml now converts SMLNJ_HOME
363    to a POSIX pathname on cygwin.
364    
365    ----------------------------------------------------------------------
366    Name: Matthias Blume (blume (at) tti - c (dot) org)
367    Date: 2004/12/16 13:35:00 CST
368    Tag: Release_110_52
369    Description:
370    
371    Last-minute changes incorporated into 110.52.  Release tag moved.
372    
373    The changes:
374       - HashString.hashString' -> HashString.hashSubstring
375       - bug fix in UnivariateStats
376    
377    ----------------------------------------------------------------------
378    Name: Matthias Blume (blume (at) tti - c (dot) org)
379    Date: 2004/12/15 23:40:00 CST
380    Tag: blume-20041215-hashSubstring
381    Description:
382    
383    - HashString.hashString' -> HashString.hashSubstring
384    - corresponding changes in atom.sml
385    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
386      added some comments
387    
388    ----------------------------------------------------------------------
389    Name: Matthias Blume (blume (at) tti - c (dot) org)
390    Date: 2004/12/15 15:30:00 CST
391    Tag: (Release_110_52)
392    Description:
393    
394    New working version (110.52).  NEW BOOTFILES!
395    
396    ----------------------------------------------------------------------
397    Name: Matthias Blume (blume (at) tti - c (dot) org)
398    Date: 2004/12/15 12:45:00 CST
399    Tag: blume-20041215-spaces
400    Description:
401    
402    More on the space problem (this time for Win32).
403    
404    ----------------------------------------------------------------------
405    Name: Matthias Blume (blume (at) tti - c (dot) org)
406    Date: 2004/12/14 17:30:00 CST
407    Tag: blume-20041214-spaces
408    Description:
409    
410    Hacked some of the scripts (in particular: the installer) to cope with
411    spaces in filenames a bit better.  But beware: the current "solution"
412    is likely still full of bugs and inherently incomplete.  (We need to
413    do away with those shell scripts for a comprehensive solution.)
414    
415    ----------------------------------------------------------------------
416    Name: Matthias Blume (blume (at) tti - c (dot) org)
417    Date: 2004/12/13 14:45:00 CST
418    Tag: blume-20041213-ml-makedepend
419    Description:
420    
421    Fixed bug in code for ml-makedepend.
422    
423    ----------------------------------------------------------------------
424    Name: Matthias Blume (blume (at) tti - c (dot) org)
425    Date: 2004/12/09 16:30:00 CST
426    Tag: blume-20041209-statistics
427    Description:
428    
429    Added two simple but potentially useful statistics modules to SML/NJ Library.
430    (See CHANGES file there.)
431    
432    ----------------------------------------------------------------------
433    Name: Matthias Blume (blume (at) tti - c (dot) org)
434    Date: 2004/12/01 16:50:00 CST
435    Tag: blume-20041201-atom
436    Description:
437    
438    smlnj-lib:
439    
440      Added function HashString.hashString' for substrings.
441      Hand-inlined CharVector.foldl into HashString (for speed).
442      Modified implementation of structure Atom to avoid extracting
443      strings from substrings unless necessary.
444      (Also see CHANGES file for smlnj-lib.)
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume (blume (at) tti - c (dot) org)
448    Date: 2004/11/24 22:15:00 CST
449    Tag: blume-20041124-cml
450    Description:
451    
452    Made sure CML compiles when Position = Int64.
453    
454    ----------------------------------------------------------------------
455    Name: Matthias Blume (blume (at) tti - c (dot) org)
456    Date: 2004/11/24 14:30:00 CST
457    Tag: blume-20041124-position
458    Description:
459    
460    The compiler can now be compiled in a mode that makes structure Position
461    equal to Int64.  The default, however, is unchanged (Position = Int31)
462    for the time being.
463    
464    To enable 64-bit positions, use the following procedure:
465    
466    1. Start sml
467    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
468    3. Type
469          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
470    4. Run CMB.make() as usual.
471    
472    This is barely tested.  The only test so far was a little SML program
473    counting the number of characters in an 8-gigabyte file by
474    reading it character-by-character.  That test was successful.
475    
476    In support of 64-bit positions, a number of new functions have been
477    added to the runtime system.
478    
479    ----------------------------------------------------------------------
480    Name: Matthias Blume (blume (at) tti - c (dot) org)
481    Date: 2004/11/23 14:45:00 CST
482    Tag: blume-20041123-useFile
483    Description:
484    
485    Fixed a problem with unhelpful error messages related to problems with
486    .cm- or .sml files that appear as part of the sml command line.
487    
488    ----------------------------------------------------------------------
489    Name: Matthias Blume (blume (at) tti - c (dot) org)
490    Date: 2004/11/18 15:40:00 CST
491    Tag: Release_110_51
492    Description:
493    
494    New working version (110.51).  NEW BOOTFILES!
495    
496    ----------------------------------------------------------------------
497    Name: Matthias Blume (blume (at) tti - c (dot) org)
498    Date: 2004/11/18 15:35:00 CST
499    Tag: <none>
500    Description:
501    
502    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
503    Joemann).
504    
505    ----------------------------------------------------------------------
506    Name: Allen Leung (leunga (at) reservoir (dot) com)
507    Date: 2004/11/17 16:05:21 EST 2004
508    Tag: leunga-20041117-mlrisc-live-kill
509    Description:
510    
511       Added support for MLTree constructs LIVE and KILL
512    to all the architectures.
513    
514    ----------------------------------------------------------------------
515    Name: Matthias Blume (blume (at) tti - c (dot) org)
516    Date: 2004/11/13 00:20:00 CST
517    Tag: blume-20041113-versiontool
518    Description:
519    
520    - Stripped down the versiontool: It now only handles the version number.
521      The date string is generated at bootstrap time (during makeml).
522    
523    - In a previous commit, fixed a minor issue with how polyequal is being
524      translated.  In particular, the code now "looks through" abstractions.
525      This results in slightly fewer polyEqual warnings and hopefully slightly
526      more efficient code.  Important examples for where this matters are
527      the new int64 and word64 types.
528    
529    ----------------------------------------------------------------------
530    Name: Matthias Blume (blume (at) tti - c (dot) org)
531    Date: 2004/11/12 00:30:00 CST
532    Tag: blume-20041112-int64
533    Description:
534    
535    Structure Int64 fully hooked in.  (The implementation is not very
536    efficient, though.)
537    
538    ----------------------------------------------------------------------
539    Name: Matthias Blume (blume (at) tti - c (dot) org)
540    Date: 2004/11/11 17:30:00 CST
541    Tag: blume-20041111-more64
542    Description:
543    
544    All the pieces of Word64 are now there, with the exception of the
545    conversions from and to LargeWord. (Eventually these need to be identities,
546    but for the time being they don't even make sense because LargeWord is
547    32-bit wide.)
548    
549    Also started to add similar support for Int64, but major pieces of that
550    are still missing.
551    
552    ----------------------------------------------------------------------
553    Name: Matthias Blume (blume (at) tti - c (dot) org)
554    Date: 2004/11/11 00:15:00 CST
555    Tag: blume-20041111-word64
556    Description:
557    
558    Structure Word64 is now (almost) complete, word literals and patterns
559    seem to work.  There are a few odd pieces missing.  In particular,
560    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
561    at the moment.
562    
563    Making Word64 official would mean that LargeWord becomes Word64.  But
564    this requires extreme care because most word-word conversions have to
565    go through LargeWord, so making a mistake means loss of efficiency or
566    worse.  Eventually there will be a solution similar to (but actually
567    simpler than) what I did with IntInf.
568    
569    ----------------------------------------------------------------------
570    Name: Matthias Blume (blume (at) tti - c (dot) org)
571    Date: 2004/11/10 18:12:00 CST
572    Tag: blume-20041110-64bit
573    Description:
574    
575    More 64-bit hacking (but still not even half-way there yet).
576    Also, some assorted improvements to the handling of 8-bit words.
577    
578    ----------------------------------------------------------------------
579    Name: Matthias Blume (blume (at) tti - c (dot) org)
580    Date: 2004/11/09 17:50:00 CST
581    Tag: <none>
582    Description:
583    
584    Started adding some infrastructure for supporting 64-bit int- and
585    word-types.  (Still in its very early stages.)
586    
587    ----------------------------------------------------------------------
588    Name: Matthias Blume (blume (at) tti - c (dot) org)
589    Date: 2004/10/28 10:45:00 CDT
590    Tag: Release_110_50
591    Description:
592    
593    New working version (110.50).  NEW BOOTFILES!
594    
595                 =====================
596    
597    Also:
598    
599      - Changend config/srcarchiveurl from a file just
600        containing the URL string into a file containing
601        shell script code.  The code has access to the $VERSION variable.
602      - Made corresponding changes to config/install.sh and config/unpack.
603      - Default contents of config/srcarchiveurl uses $VERSION and
604        normally does not have to be edited to reflect a version change.
605    
606      (As a result, a version change can be done by just editing
607       config/version, the rest is now automatic.)
608    
609    ----------------------------------------------------------------------
610    Name: Matthias Blume (blume (at) tti - c (dot) org)
611    Date: 2004/10/27 17:50:00 CDT
612    Tag: blume-20041027-btrace-msg
613    Description:
614    
615    BackTrace.monitor now also reports the source of the exception that
616    triggered the trace.
617    
618    ----------------------------------------------------------------------
619    Name: Matthias Blume (blume (at) tti - c (dot) org)
620    Date: 2004/10/27 17:20:00 CDT
621    Tag: blume-20041027-x86-c-calls
622    Description:
623    
624    This is the HISTORY entry for two earlier commits, both concerning
625    the x86 c-calls code in MLRISC:
626    
627      - added a missing LOAD in the code that deals with struct arguments
628      - made sure the caller does not add the wrong number of bytes to the
629        stack pointer after a call of a function returning a struct
630        (the callee already pops the implicit argument which points to
631         the space reserved for the result)
632    
633    ----------------------------------------------------------------------
634    Name: Allen Leung (leunga (at) reservoir (dot) com)
635    Date: 2004/10/24 14:00:00 EST
636    Tag: leunga-20041024-x86-gas-fucomip
637    Description:
638    
639       John discovered a bug in the syntax of fucomip.
640       The opcodes FU?COMIP? have been changed to
641    
642           fu?comip? %st(i), %st
643    
644    ----------------------------------------------------------------------
645    Name: Matthias Blume (blume (at) tti - c (dot) org)
646    Date: 2004/10/20 15:06:00 CDT
647    Tag: blume-20041020-standalone-backtrace
648    Description:
649    
650    Added a mechanism for getting back-trace information from standalone
651    programs.  Here is how it works:
652    
653       1. The part of the program from which you want to get backtrace
654          information (usually the whole program) should be wrapped with
655          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
656          main program could be modified from something like
657    
658             fun main (pgm, args) = ...
659    
660         to
661    
662            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
663    
664       2. To be able to access BackTrace.monitor, you have to add
665          library $smlnj-tdp/plugins.cm to the .cm file that contains your
666          main function.
667    
668       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
669          CM might have created in the past for your project).
670    
671       4. Build the system using this command line:
672    
673             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
674                      myprog.cm MyProg.main myprog
675    
676          instead of the usual
677    
678             ml-build myprog.cm MyProg.main myprog
679    
680    I changed a library name:
681    
682       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
683    
684    New libraries:
685    
686       $smlnj-tdp/back-trace.cm
687          -- when loaded causes the back-trace plugin to be installed
688       $smlnj-tdp/coverage.cm
689          -- when loaded causes the coverage plugin to be installed
690    
691    ----------------------------------------------------------------------
692    Name: Matthias Blume (blume (at) tti - c (dot) org)
693    Date: 2004/10/18 16:45:00 CDT
694    Tag: blume-20041018-groupowner
695    Description:
696    
697    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
698    
699    Eliminated group owner specs from .cm files throughout the source tree.
700    
701    ----------------------------------------------------------------------
702    Name: Matthias Blume (blume (at) tti - c (dot) org)
703    Date: 2004/10/15 15:45:00 CDT
704    Tag: blume-20041015-coverage
705    Description:
706    
707    * Test coverage tool added!
708    * Further reorganization of tracing-, debugging-, and profiling support:
709    
710        - moved original BTImp -- now called BackTrace -- into a separate
711          library called $/trace-debug-profile.cm
712        - eliminated all mentions of BTrace from SMLofNJ.Internals
713        - only the instrumentation mechanism is now left in the compiler proper
714        - BackTrace module is a plugin which is NOT plugged in by default
715        - Coverage module is another such plugin
716    
717    To get the benefits of any of these plugin modules, the code in
718    question must be compiled with tdp instrumentation turned on.  This
719    can be done by setting SMLofNJ.Internals.TDP.mode to true.
720    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
721    
722    Plugins are selected at link time.  (Pre-compiled instrumented code
723    can be re-loaded with different plugins in effect.)  When an
724    instrumented module is linked, whatever plugins are at that time
725    enabled will come into effect for that module.
726    
727    To enable the back-trace plugin, load library $/trace-debug-profile.cm
728    and invoke BackTrace.install() (e.g., from the interactive prompt).
729    To enable the coverage plugin, load the same library and invoke
730    Coverage.install().
731    
732    Back-traces are generated automatically on uncaught exceptions and
733    when the code in question explicitly invokes BackTrace.trigger().
734    
735    Coverage (and execution frequency-) information must be queried
736    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
737    
738    ----------------------------------------------------------------------
739    Name: Matthias Blume (blume (at) tti - c (dot) org)
740    Date: 2004/10/14 17:40:00 CDT
741    Tag: blume-20041014-tdp-core
742    Description:
743    
744    Snapshot of a significant overhaul of how the trace/debug/profile support
745    is hooked into the system (specifically: Core and SMLofNJ.Internals).
746    
747    ----------------------------------------------------------------------
748    Name: Matthias Blume (blume (at) tti - c (dot) org)
749    Date: 2004/10/13 16:34:00 CDT
750    Tag: blume-20041013-tdp
751    Description:
752    
753    Some rationalization of names:
754    
755       structure BTrace -> structure TDPInstrument
756       etc.
757    
758    This is is preparation of using the original back-trace
759    instrumentation for other purposes.  "TDP" stands for
760    Trace/Debug/Profile.
761    
762    The control flag controlling whether instrumentation is on or off is now
763    registered under a different name, so instead of running sml as
764    
765     sml -Cinstrument.btrace-mode=true
766    
767    one has to say
768    
769     sml -Ctdp.instrument=true
770    
771    ----------------------------------------------------------------------
772    Name: Matthias Blume (blume (at) tti - c (dot) org)
773    Date: 2004/10/11 16:37:00 CDT
774    Tag: blume-20041011-regions
775    Description:
776    
777    Made some minor modifications to elabcore.sml to have source regions
778    be propagated more tightly -- resulting in better (i.e., smaller)
779    regions being reported in error- and debug messages.
780    
781    ----------------------------------------------------------------------
782  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
783  Date: 2004/10/08 22:50:00 CDT  Date: 2004/10/08 22:50:00 CDT
784  Tag: blume-20041008-cmkw  Tag: blume-20041008-cmkw
# Line 70  Line 836 
836  Description:  Description:
837    
838  * Moved the "version" magic into its own little library under  * Moved the "version" magic into its own little library under
839  src/system/smlnj/internal.  This avoids expensive reconstruction    src/system/smlnj/internal.  This avoids expensive reconstruction of
840  of a stable src/compiler/core.cm.    a stable src/compiler/core.cm.
841    
842  * At the same time, structure CompilerVersion is now known as structure  * At the same time, structure CompilerVersion is now known as
843  SMLNJVersion.    structure SMLNJVersion.
844    
845  * Arranged for the version tool to NOT kick in when rebuilding the system  * Arranged for the version tool to NOT kick in when rebuilding the system
846    (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.    (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.

Legend:
Removed from v.1644  
changed lines
  Added in v.1855

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