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 1633, Tue Sep 28 03:08:33 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/09/27 22:08:00 CDT
18    Tag: blume-20040927-controls
19    Description:
20    
21    Added two pieces of functionality to the Controls interface:
22    
23    1.   val save'restore: 'a control -> unit -> unit
24    
25       grabs the current value of the control in stage 1 and restores it
26       in stage 2.
27    
28    2.   val set' : 'a control * 'a -> unit -> unit
29    
30       stores the given value into the control in stage 2 (i.e., delayed)
31       but does all error checking in stage 1.
32       (This is for string controls that need to do parse their argument --
33        something that might fail.  In some cases, notably in CM, one
34        already knows the intended argument but wants to delay the actual
35        assignment until a time when error recovery would be more difficult.)
36    
37    Changed the handling of controls in tool arguments to classes "sml" and
38    "lazysml":
39       - use Controls.save'restore as a more robust way of restoring the
40         old value (in particular: without having to re-parse the string)
41       - use controls to handle the "overload" keyword in the init group
42         (I believe this change actually fixes a long-standing obscure bug.)
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume (blume (at) tti - c (dot) org)
46    Date: 2004/09/27 17:00:00 CDT
47    Tag: blume-20040927-lazysml
48    Description:
49    
50    Added a new tool class called "lazysml" to CM's tool chest.  The only
51    difference to "sml" is that compilation is done with Control.lazysml
52    set to true.  A source of class "lazysml" is automatically recognized
53    by a file name suffix of ".lml".
54    
55    In addition to the above feature, the original class "sml" now also
56    supports a tool argument "lazy" which has the same effect.  As a
57    result, the following three lines are equivalent:
58    
59        foo.sml : lazysml
60        foo.sml : sml (lazy)
61        foo.sml (lazy)
62    
63    The setting goes into effect both during parsing and during
64    compilation.  The original setting is restored right after parsing and
65    after compilation, respectively.
66    
67    In addition to all the above, there is also a general mechanism to set
68    ANY of the "controls" that are available at the command line via
69    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
70    apply as well. (In fact, "lazy" is implemented as a special case of
71    the general mechanism.)
72    
73    The .cm file syntax uses a new keyword tool argument called "with".
74    There are several ways of indicating the desired settings:
75    
76        foo.sml (with:parser.quotations=true)
77        foo.sml (with:(name:parser.quotations value:true))
78        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
79        foo.sml (with:(name1=value1 name2=value2 ...))
80        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
81    
82        etc.
83    
84    Another possible abbreviation is to leave out the =v or value:v part
85    if the name refers to a boolean control (in which case the value is
86    taken to be true).  Thus, one could get lazy sml also by saying:
87    
88        foo.sml (with:parser.lazy-keyword=true)
89        foo.sml (with:parser.lazy-keyword)
90        foo.sml (with:(name:parser.lazy-keyword value:true))
91        foo.sml (with:(name:parser.lazy-keyword))
92    
93    ----------------------------------------------------------------------
94    Name: Matthias Blume (blume (at) tti - c (dot) org)
95    Date: 2004/09/24 16:22:00 CDT
96    Tag: blume-20040924-ppc-long-branch
97    Description:
98    
99    Turned message about "emiting long form of branch" off by default.
100    Added a control flag to turn it back on when desired.
101    
102    ----------------------------------------------------------------------
103    Name: Matthias Blume (blume (at) tti - c (dot) org)
104    Date: 2004/09/24 16:05:00 CDT
105    Tag: blume-20040924-rounding
106    Description:
107    
108    Applied patch for setting rounding modes under Mac OS X.  Thanks to
109    Melissa O'Neill for providing the code!
110    
111    ----------------------------------------------------------------------
112    Name: Matthias Blume (blume (at) tti - c (dot) org)
113    Date: 2004/09/23 17:30:00 CDT
114    Tag: blume-20040923-envvars
115    Description:
116    
117    1. Changed definition of type ControlRegistry.registry_tree to
118       include control_info (i.e., the name of the controlling environment
119       variable).
120    
121    2. Added command-line flags -e and -E to print the names of environment
122       variables that can be used to control internal settings.
123       (This uses the new API mentioned in 1.)
124    
125    ----------------------------------------------------------------------
126    Name: Matthias Blume (blume (at) tti - c (dot) org)
127    Date: 2004/09/13 16:50:00 CDT
128    Tag: Release_110_49
129    Description:
130    
131    New working version (110.49).  NEW BOOTFILES!
132    
133    ----------------------------------------------------------------------
134    Name: Matthias Blume
135    Date: 2004/09/13 16:20:00 CDT
136    Tag: blume-20040913-config-mlrisc
137    Description:
138    
139    Put target "mlrisc" back into the default list.
140    (There is no harm in having it, and some users have expressed their
141    wish to have "mlrisc" included by default.)
142    
143    ----------------------------------------------------------------------
144    Name: John Reppy
145    Date: 2004/09/13
146    Tag: jhr-20040913-signals
147    Description:
148    
149    Fixed the signal masking code to properly nest mask/unmask operations
150    on a per-signal basis.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume (blume (at) tti - c (dot) org)
154    Date: 2004/09/08 13:20:00 CDT
155    Tag: blume-20040908-heap-magic
156    Description:
157    
158    Bumped the heap macig number to 0x09082004 to account for the changed
159    layout of the ML frame under MacOS X.
160    
161    ----------------------------------------------------------------------
162    Name: Allen Leung (leunga (at) reservoir (dot) com)
163    Date: 2004/09/03 11:26:00 EST
164    Tag: leunga-20040903-cygwin-install
165    Description:
166    
167       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
168    The Cygwin runtime is turned on by setting the environment
169    variable SMLNJ_CYGWIN_RUNTIME to 1.
170    
171    ----------------------------------------------------------------------
172    Name: Matthias Blume (blume (at) tti - c (dot) org)
173    Date: 2004/08/31 17:15:00 CDT
174    Tag: blume-20040831-core
175    Description:
176    
177    Added some exports to src/compiler/core.cm upon request by J. Joemann.
178    
179    ----------------------------------------------------------------------
180    Name: Matthias Blume (blume (at) tti - c (dot) org)
181    Date: 2004/08/30 17:55:00 CDT
182    Tag: blume-20040830-installer
183    Description:
184    
185    Upon request by Johannes Joemann:
186    
187    - improved ML code of installer to fall back to coping when renaming
188      fails (i.e., when source and target are on different file systems);
189      the code compiles but has yet to be tested in anger
190    - removed mlrisc from list of default targets (config/targets)
191    
192    ----------------------------------------------------------------------
193    Name: Matthias Blume (blume (at) tti - c (dot) org)
194    Date: 2004/08/27 17:20:00 CDT
195    Tag: blume-20040827-ptreql
196    Description:
197    
198    Added ptreql primop to structure InlineT (upon request from Larry
199    Paulson).
200    
201    ----------------------------------------------------------------------
202    Name: Allen Leung (leunga (at) reservoir (dot) com)
203    Date: 2004/08/15 21:21:00 EST
204    Tag: leunga-110_48-udgraph
205    Description:
206    
207    Another bug fix from Carl Hauser:
208    
209    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
210    > 48c48
211    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
212    > e::L)
213    > ---
214    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
215    > Without this, any deletion of an edge in an undirected graph does severe
216    > violence to the graph.
217    
218    ----------------------------------------------------------------------
219    Name: Allen Leung (leunga (at) reservoir (dot) com)
220    Date: 2004/08/10 23:35:00 EST
221    Tag: leunga-110_48-ppc
222    Description:
223    
224       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
225    
226    ----------------------------------------------------------------------
227    Name: Matthias Blume (blume (at) tti - c (dot) org)
228    Date: 2004/08/10 12:00:00 CDT
229    Tag: Release_110_48
230    Description:
231    
232    New working version (110.48).  NEW BOOTFILES!
233    
234    ----------------------------------------------------------------------
235    Name: Allen Leung (leunga (at) reservoir (dot) com)
236    Date: 2004/08/09 12:21:00 EST
237    Tag: leunga-110_47-dijsktra
238    Description:
239    
240    Bug fix from Carl Hauser:
241    
242    single_source_shortest_paths in dijkstra.sml was observed to get wrong
243    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
244    
245    The problem is that following the expression A.update(dist,s,Num.zero)
246    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
247    
248    ----------------------------------------------------------------------
249    Name: Matthias Blume (blume (at) tti - c (dot) org)
250    Date: 2004/08/06 18:10:00 CDT
251    Tag: blume-20040806-cmdline
252    Description:
253    
254    Fiddled with handling of command-line options:
255    
256      * sml now quits after processing the command line
257        if -H, -S, -h<n>, or -s<n> appears as the last
258        command-line argument
259      * a new option -q terminates the session when encountered on
260        the command line; subsequent arguments will be ignored
261      * bug fixes: short (erroneous) arguments are no longer ignored
262        completely
263    
264    ----------------------------------------------------------------------
265    Name: Allen Leung (leunga (at) reservoir (dot) com)
266    Date: 2004/08/04 18:17:00 EST
267    Tag: leunga-110_47-ppc-ibm-asm
268    Description:
269    
270      - Added minimal IBM assembly syntax support for PowerPC.
271    
272      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
273        been altered in the runtime.  We need an automatic way to keep the file
274        in sync.
275    
276    ----------------------------------------------------------------------
277    Name: Matthias Blume (blume (at) tti - c (dot) org)
278    Date: 2004/08/04 14:00:00 CDT
279    Tag: Release_110_47
280    Description:
281    
282    New working version (110.47).  NEW BOOTFILES!
283    
284    ----------------------------------------------------------------------
285    Name: Matthias Blume (blume (at) tti - c (dot) org)
286    Date: 2004/08/03 14:25:00 CDT
287    Tag: blume-20040803-callingconv
288    Description:
289    
290    Added low-level support for choosing C calling conventions by
291    twiddling the type of rawccall.  (See
292    src/compiler/Semant/types/cproto.sml for details.)
293    
294    ----------------------------------------------------------------------
295    Name: Matthias Blume (blume (at) tti - c (dot) org)
296    Date: 2004/08/02 15:55:00 CDT
297    Tag: blume-20040802-backout
298    Description:
299    
300    Backed out of change to win32-filesys.c.  The earlier patch to
301    get_file_time caused CM to produce files with the wrong time stamp.
302    
303    ----------------------------------------------------------------------
304    Name: Matthias Blume (blume (at) tti - c (dot) org)
305    Date: 2004/08/02 14:45:00 CDT
306    Tag: blume-20040802-nlffi-win32
307    Description:
308    
309    Added NLFFI support for Win32, adapted from a patch provided by David
310    Hansel.  This is currently completely untested.  Also, the issue
311    concerning stdcall vs. ccall is still unresolved.
312    
313    ----------------------------------------------------------------------
314    Name: Matthias Blume (blume (at) tti - c (dot) org)
315    Date: 2004/07/30 17:55:00 CDT
316    Tag: blume-20040730-various
317    Description:
318    
319    Gearing up towards 110.47...
320    
321    - various minor bugfixes to ml-nlffigen
322    - a beginning of a manual for nlffi
323    
324    - eliminated 'export name=value' in config/install.sh as this does
325      not work with certain versions of /bin/sh
326      (Thanks to David King at Motorola for catching this.)
327    
328    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
329      - added a test for tm==NULL to gmtime.c and localtime.c
330      - applied patch for incorrect GetFileTime under win32
331      - toSeconds -> toMilliseconds in Win32/win32-process.sml
332    
333    ----------------------------------------------------------------------
334    Name: Matthias Blume (blume (at) tti - c (dot) org)
335    Date: 2004/07/21 18:20:00 CDT
336    Tag: blume-20040721-nlffigen
337    Description:
338    
339    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
340      for a typedef to an incomplete type, but leave out the "typ" member.
341      (This is just for consistency.)
342    - Started to produce what is supposed to become better (i.e., comprehensive)
343      documentation of what ml-nlffigen does and produces.
344    
345    ----------------------------------------------------------------------
346    Name: Matthias Blume (blume (at) tti - c (dot) org)
347    Date: 2004/07/14 16:25:00 CDT
348    Tag: blume-20040714-union
349    Description:
350    
351    Added C_UNION to c-calls/c-types.sml and updated the machinery
352    (ml-nlffigen, cproto.sml) that conveys C function interface
353    information to the code generator.
354    
355    However, the actual architecture-specific implementation of function
356    arguments and results that are C unions is still not implemented.
357    
358    ----------------------------------------------------------------------
359    Name: Allen Leung (leunga (at) reservoir (dot) com)
360    Date: 2004/07/14 14:38:00 EST
361    Tag: leunga-110_46_1-ppc-lwzu
362    Description:
363    
364        Added these instructions to the PowerPC architecture:
365        LBZU(X), LHZU(X), LWZU(X),
366        STWU(X), STFDU, STFSU
367    
368        etc...
369    
370        Note: I haven't added their instruction encoding into the description.
371    
372    ----------------------------------------------------------------------
373    Name: Allen Leung (leunga (at) reservoir (dot) com)
374    Date: 2004/07/13 15:04:00 EST
375    Tag: leunga-110_46_1-ppc-lwarx
376    Description:
377    
378       Added the two instructions LWARX and STWCX to the PowerPC
379    instruction set.
380    
381       A (untested) rewrite of loop-structure.sml.  The old version
382    is completely broken.
383    
384    ----------------------------------------------------------------------
385    Name: Matthias Blume (blume (at) tti - c (dot) org)
386    Date: 2004/07/13 13:50:00 CDT
387    Tag: blume-20040713-nlffi
388    Description:
389    
390    - use paramAlloc to report c-calls with too many arguments
391      (for PPC version where parameter area is pre-allocated)
392    - added ccall_maxargspace to machspec (to implement the above)
393    - made "make" commend in CM's "make" tool configurable
394    - added option (default: on) for passing the name of the SML/NJ's "bin"
395      directory to "make"; the call looks like this:
396    
397         make <options> SMLNJ_BINDIR=<dir> <target>
398    
399      This can be used by the Makefile to, e.g., pick the "right" version
400      of ml-nlffigen.
401    - minor code tweaks
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume (blume (at) tti - c (dot) org)
405    Date: 2004/07/12 22:50:00 CDT
406    Tag: blume-110_46_1-macosx-nlffi
407    Description:
408    
409    NLFFI under Mac OS X now working (sort of).  This is largely untested,
410    though.
411    
412    Note:  1. You have to make a new, clean build of the runtime system.
413           2. There are new BOOTFILES, you have to use them!
414              (Doing the bootstrap process yourself would be *very* painful!
415               If you absolutely have to do it, build the system under
416               a different architecture and then cross-compile.)
417    
418    Version bumped to 110.46.1 to account for runtime data format changes.
419    
420    ----------------------------------------------------------------------
421    Name: Matthias Blume (blume (at) tti - c (dot) org)
422    Date: 2004/06/18 14:30:00 CDT
423    Tag: blume-20040618-unix
424    Description:
425    
426    Changed the implementation of structure Unix so that the same stream
427    is returned every time one of the {text,bin}{In,Out}streamOf functions
428    is invoked on the same proc.  This is not what the spec currently
429    says -- although IMO it arguably should.  (See discussion below.)
430    
431    ----------------------------------------------------------------------
432    Name: Matthias Blume (blume (at) tti - c (dot) org)
433    Date: 2004/06/17 18:15:00 CDT
434    Tag: Release_110_46
435    Description:
436    
437    New working version (110.46).  NEW BOOTFILES!
438    
439    ----------------------------------------------------------------------
440    Name: Matthias Blume (blume (at) tti - c (dot) org)
441  Date: 2004/06/17 17:20:00 CDT  Date: 2004/06/17 17:20:00 CDT
442  Tag: blume-20040617-timer-unix  Tag: blume-20040617-timer-unix
443  Description:  Description:

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

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