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 1619, Wed Sep 8 18:19:45 2004 UTC revision 1655, Mon Oct 18 21:45:30 2004 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/10/18 16:45:00 CDT
18    Tag: blume-20041018-groupowner
19    Description:
20    
21    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
22    
23    Eliminated group owner specs from .cm files throughout the source tree.
24    
25    ----------------------------------------------------------------------
26    Name: Matthias Blume (blume (at) tti - c (dot) org)
27    Date: 2004/10/15 15:45:00 CDT
28    Tag: blume-20041015-coverage
29    Description:
30    
31    * Test coverage tool added!
32    * Further reorganization of tracing-, debugging-, and profiling support:
33    
34        - moved original BTImp -- now called BackTrace -- into a separate
35          library called $/trace-debug-profile.cm
36        - eliminated all mentions of BTrace from SMLofNJ.Internals
37        - only the instrumentation mechanism is now left in the compiler proper
38        - BackTrace module is a plugin which is NOT plugged in by default
39        - Coverage module is another such plugin
40    
41    To get the benefits of any of these plugin modules, the code in
42    question must be compiled with tdp instrumentation turned on.  This
43    can be done by setting SMLofNJ.Internals.TDP.mode to true.
44    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
45    
46    Plugins are selected at link time.  (Pre-compiled instrumented code
47    can be re-loaded with different plugins in effect.)  When an
48    instrumented module is linked, whatever plugins are at that time
49    enabled will come into effect for that module.
50    
51    To enable the back-trace plugin, load library $/trace-debug-profile.cm
52    and invoke BackTrace.install() (e.g., from the interactive prompt).
53    To enable the coverage plugin, load the same library and invoke
54    Coverage.install().
55    
56    Back-traces are generated automatically on uncaught exceptions and
57    when the code in question explicitly invokes BackTrace.trigger().
58    
59    Coverage (and execution frequency-) information must be queried
60    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
61    
62    ----------------------------------------------------------------------
63    Name: Matthias Blume (blume (at) tti - c (dot) org)
64    Date: 2004/10/14 17:40:00 CDT
65    Tag: blume-20041014-tdp-core
66    Description:
67    
68    Snapshot of a significant overhaul of how the trace/debug/profile support
69    is hooked into the system (specifically: Core and SMLofNJ.Internals).
70    
71    ----------------------------------------------------------------------
72    Name: Matthias Blume (blume (at) tti - c (dot) org)
73    Date: 2004/10/13 16:34:00 CDT
74    Tag: blume-20041013-tdp
75    Description:
76    
77    Some rationalization of names:
78    
79       structure BTrace -> structure TDPInstrument
80       etc.
81    
82    This is is preparation of using the original back-trace
83    instrumentation for other purposes.  "TDP" stands for
84    Trace/Debug/Profile.
85    
86    The control flag controlling whether instrumentation is on or off is now
87    registered under a different name, so instead of running sml as
88    
89     sml -Cinstrument.btrace-mode=true
90    
91    one has to say
92    
93     sml -Ctdp.instrument=true
94    
95    ----------------------------------------------------------------------
96    Name: Matthias Blume (blume (at) tti - c (dot) org)
97    Date: 2004/10/11 16:37:00 CDT
98    Tag: blume-20041011-regions
99    Description:
100    
101    Made some minor modifications to elabcore.sml to have source regions
102    be propagated more tightly -- resulting in better (i.e., smaller)
103    regions being reported in error- and debug messages.
104    
105    ----------------------------------------------------------------------
106    Name: Matthias Blume (blume (at) tti - c (dot) org)
107    Date: 2004/10/08 22:50:00 CDT
108    Tag: blume-20041008-cmkw
109    Description:
110    
111    Fixed handling of keywords in .cm files: After seeing "is" the lexer
112    treats subsequent occurrences of "group", "library", "source", "is",
113    "*", and "-" as ordinary identifiers rather than keywords.
114    
115    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
116    is supposed to accept a tool argument called "source", but this did
117    not work because of the clash with the keyword.
118    
119    ----------------------------------------------------------------------
120    Name: Matthias Blume (blume (at) tti - c (dot) org)
121    Date: 2004/10/07 16:00:00 CDT
122    Tag: blume-20041007-cleanup
123    Description:
124    
125    Assorted cleanup work:
126    
127      - got rid of intstrmap in favor of using the library's
128        hash table implementation
129      - threw out most of the pathnames stuff, as it was not used anyway
130      - simplified tokentable implementation
131      - fixed some minor spelling errors
132    
133    ----------------------------------------------------------------------
134    Name: Matthias Blume (blume (at) tti - c (dot) org)
135    Date: 2004/10/06 15:15:15 CDT
136    Tag: blume-20041006-handler
137    Description:
138    
139    Cleaned up the absyn to reflect the invariant that HANDLE always
140    carries a FNexp as part of the type definition.  This eliminates some
141    superfluous sanity checks at runtime down the road.
142    
143    Some minor cleanup of the btrace code.
144    
145    ----------------------------------------------------------------------
146    Name: Matthias Blume (blume (at) tti - c (dot) org)
147    Date: 2004/10/01 10:20:30 CDT
148    Tag: blume-20041001-slave
149    Description:
150    
151    Added hack to make slave mode work in the presence of the version
152    tool.  (Still, since the master does two passes over the code for
153    CMB.make, the release number gets bumped twice when slaves are
154    attached.  I don't know if this is worth fixing...)
155    
156    ----------------------------------------------------------------------
157    Name: Matthias Blume (blume (at) tti - c (dot) org)
158    Date: 2004/09/30 10:55:00 CDT
159    Tag: blume-20040930-version
160    Description:
161    
162    * Moved the "version" magic into its own little library under
163    src/system/smlnj/internal.  This avoids expensive reconstruction
164    of a stable src/compiler/core.cm.
165    
166    * At the same time, structure CompilerVersion is now known as structure
167    SMLNJVersion.
168    
169    * Arranged for the version tool to NOT kick in when rebuilding the system
170      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
171      Also, loading the versiontool does not work when rebuilding the system
172      because CM is not properly initialized at that time.
173    
174    ----------------------------------------------------------------------
175    Name: Matthias Blume (blume (at) tti - c (dot) org)
176    Date: 2004/09/29 14:00:00 CDT
177    Tag: blume-20040929-autoversion
178    Description:
179    
180    Implemented some CM magic to have
181        file src/compiler/TopLevel/main/version.sml
182    generated automagically.
183    The version is taken from two files: config/version and config/release.
184    The first is expected to contain a two-part version number such as 110.49.
185    The second should contain a single number, but it may be missing.
186    
187    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
188    time the version tool is loaded (which is the first time you say CMB.make),
189    then the tool will increment the value stored in config/release every
190    time CMB.make is invoked.
191    
192    The binfile format is now insensitive to anything beyond the first
193    two components of a version number, so bumping the release does not render
194    binfiles incompatible.  Auto-bumping can be used to keep track of versions
195    during development without invalidating existing binfiles.
196    
197    In any case, every CMB.make updates the date information in version.sml.
198    (This is the date that is printed in the banner.)
199    
200    ----------------------------------------------------------------------
201    Name: Matthias Blume (blume (at) tti - c (dot) org)
202    Date: 2004/09/28 10:53:00 CDT
203    Tag: blume-20040928-controls
204    Description:
205    
206    Some cleanup of the controls code.
207    
208    ----------------------------------------------------------------------
209    Name: Matthias Blume (blume (at) tti - c (dot) org)
210    Date: 2004/09/27 22:08:00 CDT
211    Tag: blume-20040927-controls
212    Description:
213    
214    Added two pieces of functionality to the Controls interface:
215    
216    1.   val save'restore: 'a control -> unit -> unit
217    
218       grabs the current value of the control in stage 1 and restores it
219       in stage 2.
220    
221    2.   val set' : 'a control * 'a -> unit -> unit
222    
223       stores the given value into the control in stage 2 (i.e., delayed)
224       but does all error checking in stage 1.
225       (This is for string controls that need to do parse their argument --
226        something that might fail.  In some cases, notably in CM, one
227        already knows the intended argument but wants to delay the actual
228        assignment until a time when error recovery would be more difficult.)
229    
230    Changed the handling of controls in tool arguments to classes "sml" and
231    "lazysml":
232       - use Controls.save'restore as a more robust way of restoring the
233         old value (in particular: without having to re-parse the string)
234       - use controls to handle the "overload" keyword in the init group
235         (I believe this change actually fixes a long-standing obscure bug.)
236    
237    ----------------------------------------------------------------------
238    Name: Matthias Blume (blume (at) tti - c (dot) org)
239    Date: 2004/09/27 17:00:00 CDT
240    Tag: blume-20040927-lazysml
241    Description:
242    
243    Added a new tool class called "lazysml" to CM's tool chest.  The only
244    difference to "sml" is that compilation is done with Control.lazysml
245    set to true.  A source of class "lazysml" is automatically recognized
246    by a file name suffix of ".lml".
247    
248    In addition to the above feature, the original class "sml" now also
249    supports a tool argument "lazy" which has the same effect.  As a
250    result, the following three lines are equivalent:
251    
252        foo.sml : lazysml
253        foo.sml : sml (lazy)
254        foo.sml (lazy)
255    
256    The setting goes into effect both during parsing and during
257    compilation.  The original setting is restored right after parsing and
258    after compilation, respectively.
259    
260    In addition to all the above, there is also a general mechanism to set
261    ANY of the "controls" that are available at the command line via
262    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
263    apply as well. (In fact, "lazy" is implemented as a special case of
264    the general mechanism.)
265    
266    The .cm file syntax uses a new keyword tool argument called "with".
267    There are several ways of indicating the desired settings:
268    
269        foo.sml (with:parser.quotations=true)
270        foo.sml (with:(name:parser.quotations value:true))
271        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
272        foo.sml (with:(name1=value1 name2=value2 ...))
273        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
274    
275        etc.
276    
277    Another possible abbreviation is to leave out the =v or value:v part
278    if the name refers to a boolean control (in which case the value is
279    taken to be true).  Thus, one could get lazy sml also by saying:
280    
281        foo.sml (with:parser.lazy-keyword=true)
282        foo.sml (with:parser.lazy-keyword)
283        foo.sml (with:(name:parser.lazy-keyword value:true))
284        foo.sml (with:(name:parser.lazy-keyword))
285    
286    ----------------------------------------------------------------------
287    Name: Matthias Blume (blume (at) tti - c (dot) org)
288    Date: 2004/09/24 16:22:00 CDT
289    Tag: blume-20040924-ppc-long-branch
290    Description:
291    
292    Turned message about "emiting long form of branch" off by default.
293    Added a control flag to turn it back on when desired.
294    
295    ----------------------------------------------------------------------
296    Name: Matthias Blume (blume (at) tti - c (dot) org)
297    Date: 2004/09/24 16:05:00 CDT
298    Tag: blume-20040924-rounding
299    Description:
300    
301    Applied patch for setting rounding modes under Mac OS X.  Thanks to
302    Melissa O'Neill for providing the code!
303    
304    ----------------------------------------------------------------------
305    Name: Matthias Blume (blume (at) tti - c (dot) org)
306    Date: 2004/09/23 17:30:00 CDT
307    Tag: blume-20040923-envvars
308    Description:
309    
310    1. Changed definition of type ControlRegistry.registry_tree to
311       include control_info (i.e., the name of the controlling environment
312       variable).
313    
314    2. Added command-line flags -e and -E to print the names of environment
315       variables that can be used to control internal settings.
316       (This uses the new API mentioned in 1.)
317    
318    ----------------------------------------------------------------------
319    Name: Matthias Blume (blume (at) tti - c (dot) org)
320    Date: 2004/09/13 16:50:00 CDT
321    Tag: Release_110_49
322    Description:
323    
324    New working version (110.49).  NEW BOOTFILES!
325    
326    ----------------------------------------------------------------------
327    Name: Matthias Blume
328    Date: 2004/09/13 16:20:00 CDT
329    Tag: blume-20040913-config-mlrisc
330    Description:
331    
332    Put target "mlrisc" back into the default list.
333    (There is no harm in having it, and some users have expressed their
334    wish to have "mlrisc" included by default.)
335    
336    ----------------------------------------------------------------------
337    Name: John Reppy
338    Date: 2004/09/13
339    Tag: jhr-20040913-signals
340    Description:
341    
342    Fixed the signal masking code to properly nest mask/unmask operations
343    on a per-signal basis.
344    
345    ----------------------------------------------------------------------
346    Name: Matthias Blume (blume (at) tti - c (dot) org)
347  Date: 2004/09/08 13:20:00 CDT  Date: 2004/09/08 13:20:00 CDT
348  Tag: blume-20040908-heap-magic  Tag: blume-20040908-heap-magic
349  Description:  Description:

Legend:
Removed from v.1619  
changed lines
  Added in v.1655

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