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 1645, Mon Oct 11 21:37:17 2004 UTC revision 1724, Mon Dec 13 20:45:51 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/12/13 14:45:00 CST
18    Tag: blume-20041213-ml-makedepend
19    Description:
20    
21    Fixed bug in code for ml-makedepend.
22    
23    ----------------------------------------------------------------------
24    Name: Matthias Blume (blume (at) tti - c (dot) org)
25    Date: 2004/12/09 16:30:00 CST
26    Tag: blume-20041209-statistics
27    Description:
28    
29    Added two simple but potentially useful statistics modules to SML/NJ Library.
30    (See CHANGES file there.)
31    
32    ----------------------------------------------------------------------
33    Name: Matthias Blume (blume (at) tti - c (dot) org)
34    Date: 2004/12/01 16:50:00 CST
35    Tag: blume-20041201-atom
36    Description:
37    
38    smlnj-lib:
39    
40      Added function HashString.hashString' for substrings.
41      Hand-inlined CharVector.foldl into HashString (for speed).
42      Modified implementation of structure Atom to avoid extracting
43      strings from substrings unless necessary.
44      (Also see CHANGES file for smlnj-lib.)
45    
46    ----------------------------------------------------------------------
47    Name: Matthias Blume (blume (at) tti - c (dot) org)
48    Date: 2004/11/24 22:15:00 CST
49    Tag: blume-20041124-cml
50    Description:
51    
52    Made sure CML compiles when Position = Int64.
53    
54    ----------------------------------------------------------------------
55    Name: Matthias Blume (blume (at) tti - c (dot) org)
56    Date: 2004/11/24 14:30:00 CST
57    Tag: blume-20041124-position
58    Description:
59    
60    The compiler can now be compiled in a mode that makes structure Position
61    equal to Int64.  The default, however, is unchanged (Position = Int31)
62    for the time being.
63    
64    To enable 64-bit positions, use the following procedure:
65    
66    1. Start sml
67    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
68    3. Type
69          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
70    4. Run CMB.make() as usual.
71    
72    This is barely tested.  The only test so far was a little SML program
73    counting the number of characters in an 8-gigabyte file by
74    reading it character-by-character.  That test was successful.
75    
76    In support of 64-bit positions, a number of new functions have been
77    added to the runtime system.
78    
79    ----------------------------------------------------------------------
80    Name: Matthias Blume (blume (at) tti - c (dot) org)
81    Date: 2004/11/23 14:45:00 CST
82    Tag: blume-20041123-useFile
83    Description:
84    
85    Fixed a problem with unhelpful error messages related to problems with
86    .cm- or .sml files that appear as part of the sml command line.
87    
88    ----------------------------------------------------------------------
89    Name: Matthias Blume (blume (at) tti - c (dot) org)
90    Date: 2004/11/18 15:40:00 CST
91    Tag: Release_110_51
92    Description:
93    
94    New working version (110.51).  NEW BOOTFILES!
95    
96    ----------------------------------------------------------------------
97    Name: Matthias Blume (blume (at) tti - c (dot) org)
98    Date: 2004/11/18 15:35:00 CST
99    Tag: <none>
100    Description:
101    
102    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
103    Joemann).
104    
105    ----------------------------------------------------------------------
106    Name: Allen Leung (leunga (at) reservoir (dot) com)
107    Date: 2004/11/17 16:05:21 EST 2004
108    Tag: leunga-20041117-mlrisc-live-kill
109    Description:
110    
111       Added support for MLTree constructs LIVE and KILL
112    to all the architectures.
113    
114    ----------------------------------------------------------------------
115    Name: Matthias Blume (blume (at) tti - c (dot) org)
116    Date: 2004/11/13 00:20:00 CST
117    Tag: blume-20041113-versiontool
118    Description:
119    
120    - Stripped down the versiontool: It now only handles the version number.
121      The date string is generated at bootstrap time (during makeml).
122    
123    - In a previous commit, fixed a minor issue with how polyequal is being
124      translated.  In particular, the code now "looks through" abstractions.
125      This results in slightly fewer polyEqual warnings and hopefully slightly
126      more efficient code.  Important examples for where this matters are
127      the new int64 and word64 types.
128    
129    ----------------------------------------------------------------------
130    Name: Matthias Blume (blume (at) tti - c (dot) org)
131    Date: 2004/11/12 00:30:00 CST
132    Tag: blume-20041112-int64
133    Description:
134    
135    Structure Int64 fully hooked in.  (The implementation is not very
136    efficient, though.)
137    
138    ----------------------------------------------------------------------
139    Name: Matthias Blume (blume (at) tti - c (dot) org)
140    Date: 2004/11/11 17:30:00 CST
141    Tag: blume-20041111-more64
142    Description:
143    
144    All the pieces of Word64 are now there, with the exception of the
145    conversions from and to LargeWord. (Eventually these need to be identities,
146    but for the time being they don't even make sense because LargeWord is
147    32-bit wide.)
148    
149    Also started to add similar support for Int64, but major pieces of that
150    are still missing.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume (blume (at) tti - c (dot) org)
154    Date: 2004/11/11 00:15:00 CST
155    Tag: blume-20041111-word64
156    Description:
157    
158    Structure Word64 is now (almost) complete, word literals and patterns
159    seem to work.  There are a few odd pieces missing.  In particular,
160    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
161    at the moment.
162    
163    Making Word64 official would mean that LargeWord becomes Word64.  But
164    this requires extreme care because most word-word conversions have to
165    go through LargeWord, so making a mistake means loss of efficiency or
166    worse.  Eventually there will be a solution similar to (but actually
167    simpler than) what I did with IntInf.
168    
169    ----------------------------------------------------------------------
170    Name: Matthias Blume (blume (at) tti - c (dot) org)
171    Date: 2004/11/10 18:12:00 CST
172    Tag: blume-20041110-64bit
173    Description:
174    
175    More 64-bit hacking (but still not even half-way there yet).
176    Also, some assorted improvements to the handling of 8-bit words.
177    
178    ----------------------------------------------------------------------
179    Name: Matthias Blume (blume (at) tti - c (dot) org)
180    Date: 2004/11/09 17:50:00 CST
181    Tag: <none>
182    Description:
183    
184    Started adding some infrastructure for supporting 64-bit int- and
185    word-types.  (Still in its very early stages.)
186    
187    ----------------------------------------------------------------------
188    Name: Matthias Blume (blume (at) tti - c (dot) org)
189    Date: 2004/10/28 10:45:00 CDT
190    Tag: Release_110_50
191    Description:
192    
193    New working version (110.50).  NEW BOOTFILES!
194    
195                 =====================
196    
197    Also:
198    
199      - Changend config/srcarchiveurl from a file just
200        containing the URL string into a file containing
201        shell script code.  The code has access to the $VERSION variable.
202      - Made corresponding changes to config/install.sh and config/unpack.
203      - Default contents of config/srcarchiveurl uses $VERSION and
204        normally does not have to be edited to reflect a version change.
205    
206      (As a result, a version change can be done by just editing
207       config/version, the rest is now automatic.)
208    
209    ----------------------------------------------------------------------
210    Name: Matthias Blume (blume (at) tti - c (dot) org)
211    Date: 2004/10/27 17:50:00 CDT
212    Tag: blume-20041027-btrace-msg
213    Description:
214    
215    BackTrace.monitor now also reports the source of the exception that
216    triggered the trace.
217    
218    ----------------------------------------------------------------------
219    Name: Matthias Blume (blume (at) tti - c (dot) org)
220    Date: 2004/10/27 17:20:00 CDT
221    Tag: blume-20041027-x86-c-calls
222    Description:
223    
224    This is the HISTORY entry for two earlier commits, both concerning
225    the x86 c-calls code in MLRISC:
226    
227      - added a missing LOAD in the code that deals with struct arguments
228      - made sure the caller does not add the wrong number of bytes to the
229        stack pointer after a call of a function returning a struct
230        (the callee already pops the implicit argument which points to
231         the space reserved for the result)
232    
233    ----------------------------------------------------------------------
234    Name: Allen Leung (leunga (at) reservoir (dot) com)
235    Date: 2004/10/24 14:00:00 EST
236    Tag: leunga-20041024-x86-gas-fucomip
237    Description:
238    
239       John discovered a bug in the syntax of fucomip.
240       The opcodes FU?COMIP? have been changed to
241    
242           fu?comip? %st(i), %st
243    
244    ----------------------------------------------------------------------
245    Name: Matthias Blume (blume (at) tti - c (dot) org)
246    Date: 2004/10/20 15:06:00 CDT
247    Tag: blume-20041020-standalone-backtrace
248    Description:
249    
250    Added a mechanism for getting back-trace information from standalone
251    programs.  Here is how it works:
252    
253       1. The part of the program from which you want to get backtrace
254          information (usually the whole program) should be wrapped with
255          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
256          main program could be modified from something like
257    
258             fun main (pgm, args) = ...
259    
260         to
261    
262            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
263    
264       2. To be able to access BackTrace.monitor, you have to add
265          library $smlnj-tdp/plugins.cm to the .cm file that contains your
266          main function.
267    
268       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
269          CM might have created in the past for your project).
270    
271       4. Build the system using this command line:
272    
273             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
274                      myprog.cm MyProg.main myprog
275    
276          instead of the usual
277    
278             ml-build myprog.cm MyProg.main myprog
279    
280    I changed a library name:
281    
282       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
283    
284    New libraries:
285    
286       $smlnj-tdp/back-trace.cm
287          -- when loaded causes the back-trace plugin to be installed
288       $smlnj-tdp/coverage.cm
289          -- when loaded causes the coverage plugin to be installed
290    
291    ----------------------------------------------------------------------
292    Name: Matthias Blume (blume (at) tti - c (dot) org)
293    Date: 2004/10/18 16:45:00 CDT
294    Tag: blume-20041018-groupowner
295    Description:
296    
297    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
298    
299    Eliminated group owner specs from .cm files throughout the source tree.
300    
301    ----------------------------------------------------------------------
302    Name: Matthias Blume (blume (at) tti - c (dot) org)
303    Date: 2004/10/15 15:45:00 CDT
304    Tag: blume-20041015-coverage
305    Description:
306    
307    * Test coverage tool added!
308    * Further reorganization of tracing-, debugging-, and profiling support:
309    
310        - moved original BTImp -- now called BackTrace -- into a separate
311          library called $/trace-debug-profile.cm
312        - eliminated all mentions of BTrace from SMLofNJ.Internals
313        - only the instrumentation mechanism is now left in the compiler proper
314        - BackTrace module is a plugin which is NOT plugged in by default
315        - Coverage module is another such plugin
316    
317    To get the benefits of any of these plugin modules, the code in
318    question must be compiled with tdp instrumentation turned on.  This
319    can be done by setting SMLofNJ.Internals.TDP.mode to true.
320    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
321    
322    Plugins are selected at link time.  (Pre-compiled instrumented code
323    can be re-loaded with different plugins in effect.)  When an
324    instrumented module is linked, whatever plugins are at that time
325    enabled will come into effect for that module.
326    
327    To enable the back-trace plugin, load library $/trace-debug-profile.cm
328    and invoke BackTrace.install() (e.g., from the interactive prompt).
329    To enable the coverage plugin, load the same library and invoke
330    Coverage.install().
331    
332    Back-traces are generated automatically on uncaught exceptions and
333    when the code in question explicitly invokes BackTrace.trigger().
334    
335    Coverage (and execution frequency-) information must be queried
336    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
337    
338    ----------------------------------------------------------------------
339    Name: Matthias Blume (blume (at) tti - c (dot) org)
340    Date: 2004/10/14 17:40:00 CDT
341    Tag: blume-20041014-tdp-core
342    Description:
343    
344    Snapshot of a significant overhaul of how the trace/debug/profile support
345    is hooked into the system (specifically: Core and SMLofNJ.Internals).
346    
347    ----------------------------------------------------------------------
348    Name: Matthias Blume (blume (at) tti - c (dot) org)
349    Date: 2004/10/13 16:34:00 CDT
350    Tag: blume-20041013-tdp
351    Description:
352    
353    Some rationalization of names:
354    
355       structure BTrace -> structure TDPInstrument
356       etc.
357    
358    This is is preparation of using the original back-trace
359    instrumentation for other purposes.  "TDP" stands for
360    Trace/Debug/Profile.
361    
362    The control flag controlling whether instrumentation is on or off is now
363    registered under a different name, so instead of running sml as
364    
365     sml -Cinstrument.btrace-mode=true
366    
367    one has to say
368    
369     sml -Ctdp.instrument=true
370    
371    ----------------------------------------------------------------------
372    Name: Matthias Blume (blume (at) tti - c (dot) org)
373  Date: 2004/10/11 16:37:00 CDT  Date: 2004/10/11 16:37:00 CDT
374  Tag: blume-20041011-regions  Tag: blume-20041011-regions
375  Description:  Description:
# Line 80  Line 436 
436  Description:  Description:
437    
438  * Moved the "version" magic into its own little library under  * Moved the "version" magic into its own little library under
439  src/system/smlnj/internal.  This avoids expensive reconstruction    src/system/smlnj/internal.  This avoids expensive reconstruction of
440  of a stable src/compiler/core.cm.    a stable src/compiler/core.cm.
441    
442  * At the same time, structure CompilerVersion is now known as structure  * At the same time, structure CompilerVersion is now known as
443  SMLNJVersion.    structure SMLNJVersion.
444    
445  * Arranged for the version tool to NOT kick in when rebuilding the system  * Arranged for the version tool to NOT kick in when rebuilding the system
446    (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.    (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.

Legend:
Removed from v.1645  
changed lines
  Added in v.1724

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