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 1573, Mon Aug 2 19:44:48 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)
783    Date: 2004/10/08 22:50:00 CDT
784    Tag: blume-20041008-cmkw
785    Description:
786    
787    Fixed handling of keywords in .cm files: After seeing "is" the lexer
788    treats subsequent occurrences of "group", "library", "source", "is",
789    "*", and "-" as ordinary identifiers rather than keywords.
790    
791    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
792    is supposed to accept a tool argument called "source", but this did
793    not work because of the clash with the keyword.
794    
795    ----------------------------------------------------------------------
796    Name: Matthias Blume (blume (at) tti - c (dot) org)
797    Date: 2004/10/07 16:00:00 CDT
798    Tag: blume-20041007-cleanup
799    Description:
800    
801    Assorted cleanup work:
802    
803      - got rid of intstrmap in favor of using the library's
804        hash table implementation
805      - threw out most of the pathnames stuff, as it was not used anyway
806      - simplified tokentable implementation
807      - fixed some minor spelling errors
808    
809    ----------------------------------------------------------------------
810    Name: Matthias Blume (blume (at) tti - c (dot) org)
811    Date: 2004/10/06 15:15:15 CDT
812    Tag: blume-20041006-handler
813    Description:
814    
815    Cleaned up the absyn to reflect the invariant that HANDLE always
816    carries a FNexp as part of the type definition.  This eliminates some
817    superfluous sanity checks at runtime down the road.
818    
819    Some minor cleanup of the btrace code.
820    
821    ----------------------------------------------------------------------
822    Name: Matthias Blume (blume (at) tti - c (dot) org)
823    Date: 2004/10/01 10:20:30 CDT
824    Tag: blume-20041001-slave
825    Description:
826    
827    Added hack to make slave mode work in the presence of the version
828    tool.  (Still, since the master does two passes over the code for
829    CMB.make, the release number gets bumped twice when slaves are
830    attached.  I don't know if this is worth fixing...)
831    
832    ----------------------------------------------------------------------
833    Name: Matthias Blume (blume (at) tti - c (dot) org)
834    Date: 2004/09/30 10:55:00 CDT
835    Tag: blume-20040930-version
836    Description:
837    
838    * Moved the "version" magic into its own little library under
839      src/system/smlnj/internal.  This avoids expensive reconstruction of
840      a stable src/compiler/core.cm.
841    
842    * At the same time, structure CompilerVersion is now known as
843      structure SMLNJVersion.
844    
845    * Arranged for the version tool to NOT kick in when rebuilding the system
846      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
847      Also, loading the versiontool does not work when rebuilding the system
848      because CM is not properly initialized at that time.
849    
850    ----------------------------------------------------------------------
851    Name: Matthias Blume (blume (at) tti - c (dot) org)
852    Date: 2004/09/29 14:00:00 CDT
853    Tag: blume-20040929-autoversion
854    Description:
855    
856    Implemented some CM magic to have
857        file src/compiler/TopLevel/main/version.sml
858    generated automagically.
859    The version is taken from two files: config/version and config/release.
860    The first is expected to contain a two-part version number such as 110.49.
861    The second should contain a single number, but it may be missing.
862    
863    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
864    time the version tool is loaded (which is the first time you say CMB.make),
865    then the tool will increment the value stored in config/release every
866    time CMB.make is invoked.
867    
868    The binfile format is now insensitive to anything beyond the first
869    two components of a version number, so bumping the release does not render
870    binfiles incompatible.  Auto-bumping can be used to keep track of versions
871    during development without invalidating existing binfiles.
872    
873    In any case, every CMB.make updates the date information in version.sml.
874    (This is the date that is printed in the banner.)
875    
876    ----------------------------------------------------------------------
877    Name: Matthias Blume (blume (at) tti - c (dot) org)
878    Date: 2004/09/28 10:53:00 CDT
879    Tag: blume-20040928-controls
880    Description:
881    
882    Some cleanup of the controls code.
883    
884    ----------------------------------------------------------------------
885    Name: Matthias Blume (blume (at) tti - c (dot) org)
886    Date: 2004/09/27 22:08:00 CDT
887    Tag: blume-20040927-controls
888    Description:
889    
890    Added two pieces of functionality to the Controls interface:
891    
892    1.   val save'restore: 'a control -> unit -> unit
893    
894       grabs the current value of the control in stage 1 and restores it
895       in stage 2.
896    
897    2.   val set' : 'a control * 'a -> unit -> unit
898    
899       stores the given value into the control in stage 2 (i.e., delayed)
900       but does all error checking in stage 1.
901       (This is for string controls that need to do parse their argument --
902        something that might fail.  In some cases, notably in CM, one
903        already knows the intended argument but wants to delay the actual
904        assignment until a time when error recovery would be more difficult.)
905    
906    Changed the handling of controls in tool arguments to classes "sml" and
907    "lazysml":
908       - use Controls.save'restore as a more robust way of restoring the
909         old value (in particular: without having to re-parse the string)
910       - use controls to handle the "overload" keyword in the init group
911         (I believe this change actually fixes a long-standing obscure bug.)
912    
913    ----------------------------------------------------------------------
914    Name: Matthias Blume (blume (at) tti - c (dot) org)
915    Date: 2004/09/27 17:00:00 CDT
916    Tag: blume-20040927-lazysml
917    Description:
918    
919    Added a new tool class called "lazysml" to CM's tool chest.  The only
920    difference to "sml" is that compilation is done with Control.lazysml
921    set to true.  A source of class "lazysml" is automatically recognized
922    by a file name suffix of ".lml".
923    
924    In addition to the above feature, the original class "sml" now also
925    supports a tool argument "lazy" which has the same effect.  As a
926    result, the following three lines are equivalent:
927    
928        foo.sml : lazysml
929        foo.sml : sml (lazy)
930        foo.sml (lazy)
931    
932    The setting goes into effect both during parsing and during
933    compilation.  The original setting is restored right after parsing and
934    after compilation, respectively.
935    
936    In addition to all the above, there is also a general mechanism to set
937    ANY of the "controls" that are available at the command line via
938    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
939    apply as well. (In fact, "lazy" is implemented as a special case of
940    the general mechanism.)
941    
942    The .cm file syntax uses a new keyword tool argument called "with".
943    There are several ways of indicating the desired settings:
944    
945        foo.sml (with:parser.quotations=true)
946        foo.sml (with:(name:parser.quotations value:true))
947        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
948        foo.sml (with:(name1=value1 name2=value2 ...))
949        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
950    
951        etc.
952    
953    Another possible abbreviation is to leave out the =v or value:v part
954    if the name refers to a boolean control (in which case the value is
955    taken to be true).  Thus, one could get lazy sml also by saying:
956    
957        foo.sml (with:parser.lazy-keyword=true)
958        foo.sml (with:parser.lazy-keyword)
959        foo.sml (with:(name:parser.lazy-keyword value:true))
960        foo.sml (with:(name:parser.lazy-keyword))
961    
962    ----------------------------------------------------------------------
963    Name: Matthias Blume (blume (at) tti - c (dot) org)
964    Date: 2004/09/24 16:22:00 CDT
965    Tag: blume-20040924-ppc-long-branch
966    Description:
967    
968    Turned message about "emiting long form of branch" off by default.
969    Added a control flag to turn it back on when desired.
970    
971    ----------------------------------------------------------------------
972    Name: Matthias Blume (blume (at) tti - c (dot) org)
973    Date: 2004/09/24 16:05:00 CDT
974    Tag: blume-20040924-rounding
975    Description:
976    
977    Applied patch for setting rounding modes under Mac OS X.  Thanks to
978    Melissa O'Neill for providing the code!
979    
980    ----------------------------------------------------------------------
981    Name: Matthias Blume (blume (at) tti - c (dot) org)
982    Date: 2004/09/23 17:30:00 CDT
983    Tag: blume-20040923-envvars
984    Description:
985    
986    1. Changed definition of type ControlRegistry.registry_tree to
987       include control_info (i.e., the name of the controlling environment
988       variable).
989    
990    2. Added command-line flags -e and -E to print the names of environment
991       variables that can be used to control internal settings.
992       (This uses the new API mentioned in 1.)
993    
994    ----------------------------------------------------------------------
995    Name: Matthias Blume (blume (at) tti - c (dot) org)
996    Date: 2004/09/13 16:50:00 CDT
997    Tag: Release_110_49
998    Description:
999    
1000    New working version (110.49).  NEW BOOTFILES!
1001    
1002    ----------------------------------------------------------------------
1003    Name: Matthias Blume
1004    Date: 2004/09/13 16:20:00 CDT
1005    Tag: blume-20040913-config-mlrisc
1006    Description:
1007    
1008    Put target "mlrisc" back into the default list.
1009    (There is no harm in having it, and some users have expressed their
1010    wish to have "mlrisc" included by default.)
1011    
1012    ----------------------------------------------------------------------
1013    Name: John Reppy
1014    Date: 2004/09/13
1015    Tag: jhr-20040913-signals
1016    Description:
1017    
1018    Fixed the signal masking code to properly nest mask/unmask operations
1019    on a per-signal basis.
1020    
1021    ----------------------------------------------------------------------
1022    Name: Matthias Blume (blume (at) tti - c (dot) org)
1023    Date: 2004/09/08 13:20:00 CDT
1024    Tag: blume-20040908-heap-magic
1025    Description:
1026    
1027    Bumped the heap macig number to 0x09082004 to account for the changed
1028    layout of the ML frame under MacOS X.
1029    
1030    ----------------------------------------------------------------------
1031    Name: Allen Leung (leunga (at) reservoir (dot) com)
1032    Date: 2004/09/03 11:26:00 EST
1033    Tag: leunga-20040903-cygwin-install
1034    Description:
1035    
1036       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
1037    The Cygwin runtime is turned on by setting the environment
1038    variable SMLNJ_CYGWIN_RUNTIME to 1.
1039    
1040    ----------------------------------------------------------------------
1041    Name: Matthias Blume (blume (at) tti - c (dot) org)
1042    Date: 2004/08/31 17:15:00 CDT
1043    Tag: blume-20040831-core
1044    Description:
1045    
1046    Added some exports to src/compiler/core.cm upon request by J. Joemann.
1047    
1048    ----------------------------------------------------------------------
1049    Name: Matthias Blume (blume (at) tti - c (dot) org)
1050    Date: 2004/08/30 17:55:00 CDT
1051    Tag: blume-20040830-installer
1052    Description:
1053    
1054    Upon request by Johannes Joemann:
1055    
1056    - improved ML code of installer to fall back to coping when renaming
1057      fails (i.e., when source and target are on different file systems);
1058      the code compiles but has yet to be tested in anger
1059    - removed mlrisc from list of default targets (config/targets)
1060    
1061    ----------------------------------------------------------------------
1062    Name: Matthias Blume (blume (at) tti - c (dot) org)
1063    Date: 2004/08/27 17:20:00 CDT
1064    Tag: blume-20040827-ptreql
1065    Description:
1066    
1067    Added ptreql primop to structure InlineT (upon request from Larry
1068    Paulson).
1069    
1070    ----------------------------------------------------------------------
1071    Name: Allen Leung (leunga (at) reservoir (dot) com)
1072    Date: 2004/08/15 21:21:00 EST
1073    Tag: leunga-110_48-udgraph
1074    Description:
1075    
1076    Another bug fix from Carl Hauser:
1077    
1078    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
1079    > 48c48
1080    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
1081    > e::L)
1082    > ---
1083    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
1084    > Without this, any deletion of an edge in an undirected graph does severe
1085    > violence to the graph.
1086    
1087    ----------------------------------------------------------------------
1088    Name: Allen Leung (leunga (at) reservoir (dot) com)
1089    Date: 2004/08/10 23:35:00 EST
1090    Tag: leunga-110_48-ppc
1091    Description:
1092    
1093       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
1094    
1095    ----------------------------------------------------------------------
1096    Name: Matthias Blume (blume (at) tti - c (dot) org)
1097    Date: 2004/08/10 12:00:00 CDT
1098    Tag: Release_110_48
1099    Description:
1100    
1101    New working version (110.48).  NEW BOOTFILES!
1102    
1103    ----------------------------------------------------------------------
1104    Name: Allen Leung (leunga (at) reservoir (dot) com)
1105    Date: 2004/08/09 12:21:00 EST
1106    Tag: leunga-110_47-dijsktra
1107    Description:
1108    
1109    Bug fix from Carl Hauser:
1110    
1111    single_source_shortest_paths in dijkstra.sml was observed to get wrong
1112    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
1113    
1114    The problem is that following the expression A.update(dist,s,Num.zero)
1115    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
1116    
1117    ----------------------------------------------------------------------
1118    Name: Matthias Blume (blume (at) tti - c (dot) org)
1119    Date: 2004/08/06 18:10:00 CDT
1120    Tag: blume-20040806-cmdline
1121    Description:
1122    
1123    Fiddled with handling of command-line options:
1124    
1125      * sml now quits after processing the command line
1126        if -H, -S, -h<n>, or -s<n> appears as the last
1127        command-line argument
1128      * a new option -q terminates the session when encountered on
1129        the command line; subsequent arguments will be ignored
1130      * bug fixes: short (erroneous) arguments are no longer ignored
1131        completely
1132    
1133    ----------------------------------------------------------------------
1134    Name: Allen Leung (leunga (at) reservoir (dot) com)
1135    Date: 2004/08/04 18:17:00 EST
1136    Tag: leunga-110_47-ppc-ibm-asm
1137    Description:
1138    
1139      - Added minimal IBM assembly syntax support for PowerPC.
1140    
1141      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
1142        been altered in the runtime.  We need an automatic way to keep the file
1143        in sync.
1144    
1145    ----------------------------------------------------------------------
1146    Name: Matthias Blume (blume (at) tti - c (dot) org)
1147    Date: 2004/08/04 14:00:00 CDT
1148    Tag: Release_110_47
1149    Description:
1150    
1151    New working version (110.47).  NEW BOOTFILES!
1152    
1153    ----------------------------------------------------------------------
1154    Name: Matthias Blume (blume (at) tti - c (dot) org)
1155    Date: 2004/08/03 14:25:00 CDT
1156    Tag: blume-20040803-callingconv
1157    Description:
1158    
1159    Added low-level support for choosing C calling conventions by
1160    twiddling the type of rawccall.  (See
1161    src/compiler/Semant/types/cproto.sml for details.)
1162    
1163    ----------------------------------------------------------------------
1164    Name: Matthias Blume (blume (at) tti - c (dot) org)
1165    Date: 2004/08/02 15:55:00 CDT
1166    Tag: blume-20040802-backout
1167    Description:
1168    
1169    Backed out of change to win32-filesys.c.  The earlier patch to
1170    get_file_time caused CM to produce files with the wrong time stamp.
1171    
1172    ----------------------------------------------------------------------
1173  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1174  Date: 2004/08/02 14:45:00 CDT  Date: 2004/08/02 14:45:00 CDT
1175  Tag: blume-20040802-nlffi-win32  Tag: blume-20040802-nlffi-win32

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

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