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 1640, Fri Oct 1 15:20:40 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/01 10:20:30 CDT
18    Tag: blume-20041001-slave
19    Description:
20    
21    Added hack to make slave mode work in the presence of the version
22    tool.  (Still, since the master does two passes over the code for
23    CMB.make, the release number gets bumped twice when slaves are
24    attached.  I don't know if this is worth fixing...)
25    
26    ----------------------------------------------------------------------
27    Name: Matthias Blume (blume (at) tti - c (dot) org)
28    Date: 2004/09/30 10:55:00 CDT
29    Tag: blume-20040930-version
30    Description:
31    
32    * Moved the "version" magic into its own little library under
33    src/system/smlnj/internal.  This avoids expensive reconstruction
34    of a stable src/compiler/core.cm.
35    
36    * At the same time, structure CompilerVersion is now known as structure
37    SMLNJVersion.
38    
39    * Arranged for the version tool to NOT kick in when rebuilding the system
40      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
41      Also, loading the versiontool does not work when rebuilding the system
42      because CM is not properly initialized at that time.
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume (blume (at) tti - c (dot) org)
46    Date: 2004/09/29 14:00:00 CDT
47    Tag: blume-20040929-autoversion
48    Description:
49    
50    Implemented some CM magic to have
51        file src/compiler/TopLevel/main/version.sml
52    generated automagically.
53    The version is taken from two files: config/version and config/release.
54    The first is expected to contain a two-part version number such as 110.49.
55    The second should contain a single number, but it may be missing.
56    
57    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
58    time the version tool is loaded (which is the first time you say CMB.make),
59    then the tool will increment the value stored in config/release every
60    time CMB.make is invoked.
61    
62    The binfile format is now insensitive to anything beyond the first
63    two components of a version number, so bumping the release does not render
64    binfiles incompatible.  Auto-bumping can be used to keep track of versions
65    during development without invalidating existing binfiles.
66    
67    In any case, every CMB.make updates the date information in version.sml.
68    (This is the date that is printed in the banner.)
69    
70    ----------------------------------------------------------------------
71    Name: Matthias Blume (blume (at) tti - c (dot) org)
72    Date: 2004/09/28 10:53:00 CDT
73    Tag: blume-20040928-controls
74    Description:
75    
76    Some cleanup of the controls code.
77    
78    ----------------------------------------------------------------------
79    Name: Matthias Blume (blume (at) tti - c (dot) org)
80    Date: 2004/09/27 22:08:00 CDT
81    Tag: blume-20040927-controls
82    Description:
83    
84    Added two pieces of functionality to the Controls interface:
85    
86    1.   val save'restore: 'a control -> unit -> unit
87    
88       grabs the current value of the control in stage 1 and restores it
89       in stage 2.
90    
91    2.   val set' : 'a control * 'a -> unit -> unit
92    
93       stores the given value into the control in stage 2 (i.e., delayed)
94       but does all error checking in stage 1.
95       (This is for string controls that need to do parse their argument --
96        something that might fail.  In some cases, notably in CM, one
97        already knows the intended argument but wants to delay the actual
98        assignment until a time when error recovery would be more difficult.)
99    
100    Changed the handling of controls in tool arguments to classes "sml" and
101    "lazysml":
102       - use Controls.save'restore as a more robust way of restoring the
103         old value (in particular: without having to re-parse the string)
104       - use controls to handle the "overload" keyword in the init group
105         (I believe this change actually fixes a long-standing obscure bug.)
106    
107    ----------------------------------------------------------------------
108    Name: Matthias Blume (blume (at) tti - c (dot) org)
109    Date: 2004/09/27 17:00:00 CDT
110    Tag: blume-20040927-lazysml
111    Description:
112    
113    Added a new tool class called "lazysml" to CM's tool chest.  The only
114    difference to "sml" is that compilation is done with Control.lazysml
115    set to true.  A source of class "lazysml" is automatically recognized
116    by a file name suffix of ".lml".
117    
118    In addition to the above feature, the original class "sml" now also
119    supports a tool argument "lazy" which has the same effect.  As a
120    result, the following three lines are equivalent:
121    
122        foo.sml : lazysml
123        foo.sml : sml (lazy)
124        foo.sml (lazy)
125    
126    The setting goes into effect both during parsing and during
127    compilation.  The original setting is restored right after parsing and
128    after compilation, respectively.
129    
130    In addition to all the above, there is also a general mechanism to set
131    ANY of the "controls" that are available at the command line via
132    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
133    apply as well. (In fact, "lazy" is implemented as a special case of
134    the general mechanism.)
135    
136    The .cm file syntax uses a new keyword tool argument called "with".
137    There are several ways of indicating the desired settings:
138    
139        foo.sml (with:parser.quotations=true)
140        foo.sml (with:(name:parser.quotations value:true))
141        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
142        foo.sml (with:(name1=value1 name2=value2 ...))
143        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
144    
145        etc.
146    
147    Another possible abbreviation is to leave out the =v or value:v part
148    if the name refers to a boolean control (in which case the value is
149    taken to be true).  Thus, one could get lazy sml also by saying:
150    
151        foo.sml (with:parser.lazy-keyword=true)
152        foo.sml (with:parser.lazy-keyword)
153        foo.sml (with:(name:parser.lazy-keyword value:true))
154        foo.sml (with:(name:parser.lazy-keyword))
155    
156    ----------------------------------------------------------------------
157    Name: Matthias Blume (blume (at) tti - c (dot) org)
158    Date: 2004/09/24 16:22:00 CDT
159    Tag: blume-20040924-ppc-long-branch
160    Description:
161    
162    Turned message about "emiting long form of branch" off by default.
163    Added a control flag to turn it back on when desired.
164    
165    ----------------------------------------------------------------------
166    Name: Matthias Blume (blume (at) tti - c (dot) org)
167    Date: 2004/09/24 16:05:00 CDT
168    Tag: blume-20040924-rounding
169    Description:
170    
171    Applied patch for setting rounding modes under Mac OS X.  Thanks to
172    Melissa O'Neill for providing the code!
173    
174    ----------------------------------------------------------------------
175    Name: Matthias Blume (blume (at) tti - c (dot) org)
176    Date: 2004/09/23 17:30:00 CDT
177    Tag: blume-20040923-envvars
178    Description:
179    
180    1. Changed definition of type ControlRegistry.registry_tree to
181       include control_info (i.e., the name of the controlling environment
182       variable).
183    
184    2. Added command-line flags -e and -E to print the names of environment
185       variables that can be used to control internal settings.
186       (This uses the new API mentioned in 1.)
187    
188    ----------------------------------------------------------------------
189    Name: Matthias Blume (blume (at) tti - c (dot) org)
190    Date: 2004/09/13 16:50:00 CDT
191    Tag: Release_110_49
192    Description:
193    
194    New working version (110.49).  NEW BOOTFILES!
195    
196    ----------------------------------------------------------------------
197    Name: Matthias Blume
198    Date: 2004/09/13 16:20:00 CDT
199    Tag: blume-20040913-config-mlrisc
200    Description:
201    
202    Put target "mlrisc" back into the default list.
203    (There is no harm in having it, and some users have expressed their
204    wish to have "mlrisc" included by default.)
205    
206    ----------------------------------------------------------------------
207    Name: John Reppy
208    Date: 2004/09/13
209    Tag: jhr-20040913-signals
210    Description:
211    
212    Fixed the signal masking code to properly nest mask/unmask operations
213    on a per-signal basis.
214    
215    ----------------------------------------------------------------------
216    Name: Matthias Blume (blume (at) tti - c (dot) org)
217  Date: 2004/09/08 13:20:00 CDT  Date: 2004/09/08 13:20:00 CDT
218  Tag: blume-20040908-heap-magic  Tag: blume-20040908-heap-magic
219  Description:  Description:

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

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