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 1054, Wed Feb 6 19:27:27 2002 UTC revision 1079, Wed Feb 20 01:16:15 2002 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2002/02/19 20:20:00 EST
18    Tag: leunga-20020219-mlrisc-tools
19    Description:
20    
21       Minor bug fixes to the mlrisc-tools library:
22    
23       1.  Fixed up parsing colon suffixed keywords
24       2.  Added the ability to shut the error messages up
25       3.  Reimplemented the pretty printer and fixed up/improved
26           the pretty printing of handle and -> types.
27       4.  Fixed up generation of literal symbols in the nowhere tool.
28       5.  Added some SML keywords to to sml.sty
29    
30    ----------------------------------------------------------------------
31    Name: Matthias Blume
32    Date: 2002/02/19 16:20:00 EST
33    Tag: blume-20020219-cmffi
34    Description:
35    
36    A wild mix of changes, some minor, some major:
37    
38    * All C FFI-related libraries are now anchored under $c:
39        $/c.cm      --> $c/c.cm
40        $/c-int.cm  --> $c/internals/c-int.cm
41        $/memory.cm --> $c/memory/memory.cm
42    
43    * "make" tool (in CM) now treats its argument pathname slightly
44      differently:
45        1. If the native expansion is an absolute name, then before invoking
46           the "make" command on it, CM will apply OS.Path.mkRelative
47           (with relativeTo = OS.FileSys.getDir()) to it.
48        2. The argument will be passed through to subsequent phases of CM
49           processing without "going native".  In particular, if the argument
50           was an anchored path, then "make" will not lose track of that anchor.
51    
52    * Compiler backends now "know" their respective C calling conventions
53      instead of having to be told about it by ml-nlffigen.  This relieves
54      ml-nlffigen from one of its burdens.
55    
56    * The X86Backend has been split into X86CCallBackend and X86StdCallBackend.
57    
58    * Export C_DEBUG and C_Debug from $c/c.cm.
59    
60    * C type encoding in ml-nlffi-lib has been improved to model the conceptual
61      subtyping relationship between incomplete pointers and their complete
62      counterparts.  For this, ('t, 'c) ptr has been changed to 'o ptr --
63      with the convention of instantiating 'o with ('t, 'c) obj whenever
64      the pointer target type is complete.  In the incomplete case, 'o
65      will be instantiated with some "'c iobj" -- a type obtained by
66      using one of the functors PointerToIncompleteType or PointerToCompleteType.
67    
68      Operations that work on both incomplete and complete pointer types are
69      typed as taking an 'o ptr while operations that require the target to
70      be known are typed as taking some ('t, 'c) obj ptr.
71    
72      voidptr is now a bit "more concrete", namely "type voidptr = void ptr'"
73      where void is an eqtype without any values.  This makes it possible
74      to work on voidptr values using functions meant to operate on light
75      incomplete pointers.
76    
77    * As a result of the above, signature POINTER_TO_INCOMPLETE_TYPE has
78      been vastly simplified.
79    
80    ----------------------------------------------------------------------
81    Name: Matthias Blume
82    Date: 2002/02/19 10:48:00 EST
83    Tag: blume-20020219-pqfix
84    Description:
85    
86    Applied Chris Okasaki's bug fix for priority queues.
87    
88    ----------------------------------------------------------------------
89    Name: Matthias Blume
90    Date: 2002/02/15 17:05:00
91    Tag: Release_110_39
92    Description:
93    
94    Last-minute retagging is becoming a tradition... :-(
95    
96    This is the working release 110.39.
97    
98    ----------------------------------------------------------------------
99    Name: Matthias Blume
100    Date: 2002/02/15 16:00:00 EST
101    Tag: Release_110_39-orig
102    Description:
103    
104    Working release 110.39.  New bootfiles.
105    
106    (Update: There was a small bug in the installer so it wouldn't work
107    with all shells.  So I retagged. -Matthias)
108    
109    ----------------------------------------------------------------------
110    Name: Matthias Blume
111    Date: 2002/02/15 14:17:00 EST
112    Tag: blume-20020215-showbindings
113    Description:
114    
115    Added EnvRef.listBoundSymbols and CM.State.showBindings.  Especially
116    the latter can be useful for exploring what bindings are available at
117    the interactive prompt.  (The first function returns only the list
118    of symbols that are really bound, the second prints those but also the
119    ones that CM's autoloading mechanism knows about.)
120    
121    ----------------------------------------------------------------------
122    Name: Matthias Blume
123    Date: 2002/02/15 12:08:00 EST
124    Tag: blume-20020215-iptrs
125    Description:
126    
127    Two improvements to ml-nlffigen:
128    
129      1. Write files only if they do not exist or if their current contents
130         do not coincide with what's being written.  (That is, avoid messing
131         with the time stamps unless absolutely necessary.)
132    
133      2. Implement a "repository" mechanism for generated files related
134         to "incomplete pointer types".   See the README file for details.
135    
136    ----------------------------------------------------------------------
137    Name: Matthias Blume
138    Date: 2002/02/14 11:50:00 EST
139    Tag: blume-20020214-quote
140    Description:
141    
142    Added a type 't t_' to tag.sml (in ml-nlffi-lib.cm).  This is required
143    because of the new and improved tag generation scheme.  (Thanks to Allen
144    Leung for pointing it out.)
145    
146    ----------------------------------------------------------------------
147    Name: Lal George
148    Date: 2002/02/14 09:55:27 EST 2002
149    Tag: george-20020214-isabelle-bug
150    Description:
151    
152    Fixed the MLRISC bug sent by Markus Wenzel regarding the compilation
153    of Isabelle on the x86.
154    
155    From Allen:
156    -----------
157     I've found the problem:
158    
159         in ra-core.sml, I use the counter "blocked" to keep track of the
160         true number of elements in the freeze queue.  When the counter goes
161         to zero, I skip examining the queue.  But I've messed up the
162         bookkeeping in combine():
163    
164             else ();
165             case !ucol of
166               PSEUDO => (if !cntv > 0 then
167                     (if !cntu > 0 then blocked := !blocked - 1 else ();
168                                        ^^^^^^^^^^^^^^^^^^^^^^^
169                      moveu := mergeMoveList(!movev, !moveu)
170                     )
171                  else ();
172    
173         combine() is called to coalesce two nodes u and v.
174         I think I was thinking that if the move counts of u and v are both
175         greater than zero then after they are coalesced then one node is
176         removed from the freeze queue.  Apparently I was thinking that
177         both u and v are of low degree, but that's clearly not necessarily true.
178    
179    
180    02/12/2002:
181        Here's the patch.  HOL now compiles.
182    
183        I don't know how this impact on performance (compile
184        time or runtime).  This bug caused the RA (especially on the x86)
185        to go thru the potential spill phase when there are still nodes on the
186        freeze queue.
187    
188    
189    
190    
191    ----------------------------------------------------------------------
192    Name: Matthias Blume
193    Date: 2002/02/13 22:40:00 EST
194    Tag: blume-20020213-fptr-rtti
195    Description:
196    
197    Fixed a bug in ml-nlffigen that was introduced with one of the previous
198    updates.
199    
200    ----------------------------------------------------------------------
201    Name: Matthias Blume
202    Date: 2002/02/13 16:41:00 EST
203    Tag: blume-20020213-cmlpq
204    Description:
205    
206    Added new priority queue export symbols (which have just been added to
207    smlnj-lib.cm) to CML's version of smlnj-lib.cm.  (Otherwise CML would
208    not compile and the installer would choke.)
209    
210    ----------------------------------------------------------------------
211    Name: Matthias Blume
212    Date: 2002/02/13 16:15:00 EST
213    Tag: blume-20020213-various
214    Description:
215    
216    1. More tweaks to ml-nlffigen:
217    
218       - better internal datastructures (resulting in slight speedup)
219       - "-match" option requires exact match
220       - "localized" gensym counters (untagged structs/unions nested within
221         other structs/unions or within typedefs get a fresh counter; their
222         tag will be prefixed by a concatenation of their parents' tags)
223       - bug fixes (related to calculation of transitive closure of types
224         to be included in the output)
225    
226    2. Minor Basis updates:
227    
228       - added implementations for List.collate and Option.app
229    
230    ----------------------------------------------------------------------
231    Name: Matthias Blume
232    Date: 2002/02/11 15:55:00 EST
233    Tag: blume-20020211-gensym
234    Description:
235    
236    Added a "-gensym" option to command line of ml-nlffigen.  This can be
237    used to specify a "stem" -- a string that is inserted in all "gensym'd"
238    names (ML structure names that correspond to unnamed C structs, unions,
239    and enums), so that separate runs of ml-nlffigen do not clash.
240    
241    ----------------------------------------------------------------------
242    Name: Matthias Blume
243    Date: 2002/02/11 12:05:00 EST
244    Tag: blume-20020211-gensml
245    Description:
246    
247    A quick fix for a problem with GenSML (in the pgraph-util library):
248    Make generation of toplevel "local" optional.  (Strictly speaking,
249    signature definitions within "local" are not legal SML.)
250    
251    Other than that: updates to INSTALL and cm/TODO.
252    
253    ----------------------------------------------------------------------
254    Name: Matthias Blume
255    Date: 2002/02/08 15:00:00 EST
256    Tag: blume-20020208-uniquepid
257    Description:
258    
259    0. Version number has been bumped to 110.38.1.  NEW BOOTFILES!!!
260    
261    1. The installer (config/install.sh) has gotten smarter:
262    
263         - Configuration options are a bit easier to specify now
264           (in config/targets).
265         - Bug in recognizing .tar.bz2 files fixed.
266         - Installer automatically resolves dependencies between
267           configuration options (e.g., if you ask for eXene, you will
268           also get cml -- regardless whether you asked for it or not).
269         - Installer can run in "quieter mode" by setting the environment
270           variable INSTALL_QUIETLY to "true".  "Quieter" does not mean
271           "completely silent", though.
272         - Build HashCons library as part of smlnj-lib.
273    
274    2. A new scheme for assigning persistent identifiers to compilation
275       units (and, by extension, to types etc.) has been put into place.
276       This fixes a long-standing bug where types and even dynamic values
277       can get internally confused, thereby compromising type safety
278       (abstraction) and dynamic correctness.  See
279    
280         http://cm.bell-labs.com/cm/cs/who/blume/pid-confusion.tgz
281    
282       for an example of how things could go wrong until now.
283    
284       The downside of the new scheme is that pids are not quite as
285       persistent as they used to be: CM will generate a fresh pid
286       for every compilation unit that it thinks it sees for the first
287       time.  That means that if you compile starting from a clean, fresh
288       source tree at two different times, you end up with different
289       binaries.
290    
291       Cutoff recompilation, however, has not been compromised because
292       CM keeps pid information in special caches between runs.
293    
294    ----------------------------------------------------------------------
295    Name: Lal George
296    Date: 2002/02/07 15:34:13 EST 2002
297    Tag: <none>
298    Description:
299    
300    Compilers that generate assembly code may produce  global labels
301    whose value is resolved at link time. The various peephole optimization
302    modules did not take this in account.
303    
304    TODO. The Labels.addrOf function should really return an option
305    type so that clients are forced to deal with this issue, rather
306    than an exception being raised.
307    
308    ----------------------------------------------------------------------
309  Name: Lal George  Name: Lal George
310  Date: 2002/02/06 13:55:02 EST  Date: 2002/02/06 13:55:02 EST
311  Tag: george-20020206-ra-breakup  Tag: george-20020206-ra-breakup

Legend:
Removed from v.1054  
changed lines
  Added in v.1079

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