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

SCM Repository

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

Diff of /sml/trunk/HISTORY

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

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

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

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