Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

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

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

Legend:
Removed from v.1613  
changed lines
  Added in v.1840

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