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 1496, Thu May 20 20:58:32 2004 UTC revision 1687, Fri Nov 12 06:31:53 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/11/12 00:30:00 CST
18    Tag: blume-20041112-int64
19    Description:
20    
21    Structure Int64 fully hooked in.  (The implementation is not very
22    efficient, though.)
23    
24    ----------------------------------------------------------------------
25    Name: Matthias Blume (blume (at) tti - c (dot) org)
26    Date: 2004/11/11 17:30:00 CST
27    Tag: blume-20041111-more64
28    Description:
29    
30    All the pieces of Word64 are now there, with the exception of the
31    conversions from and to LargeWord. (Eventually these need to be identities,
32    but for the time being they don't even make sense because LargeWord is
33    32-bit wide.)
34    
35    Also started to add similar support for Int64, but major pieces of that
36    are still missing.
37    
38    ----------------------------------------------------------------------
39    Name: Matthias Blume (blume (at) tti - c (dot) org)
40    Date: 2004/11/11 00:15:00 CST
41    Tag: blume-20041111-word64
42    Description:
43    
44    Structure Word64 is now (almost) complete, word literals and patterns
45    seem to work.  There are a few odd pieces missing.  In particular,
46    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
47    at the moment.
48    
49    Making Word64 official would mean that LargeWord becomes Word64.  But
50    this requires extreme care because most word-word conversions have to
51    go through LargeWord, so making a mistake means loss of efficiency or
52    worse.  Eventually there will be a solution similar to (but actually
53    simpler than) what I did with IntInf.
54    
55    ----------------------------------------------------------------------
56    Name: Matthias Blume (blume (at) tti - c (dot) org)
57    Date: 2004/11/10 18:12:00 CST
58    Tag: blume-20041110-64bit
59    Description:
60    
61    More 64-bit hacking (but still not even half-way there yet).
62    Also, some assorted improvements to the handling of 8-bit words.
63    
64    ----------------------------------------------------------------------
65    Name: Matthias Blume (blume (at) tti - c (dot) org)
66    Date: 2004/11/09 17:50:00 CST
67    Tag: <none>
68    Description:
69    
70    Started adding some infrastructure for supporting 64-bit int- and
71    word-types.  (Still in its very early stages.)
72    
73    ----------------------------------------------------------------------
74    Name: Matthias Blume (blume (at) tti - c (dot) org)
75    Date: 2004/10/28 10:45:00 CDT
76    Tag: Release_110_50
77    Description:
78    
79    New working version (110.50).  NEW BOOTFILES!
80    
81                 =====================
82    
83    Also:
84    
85      - Changend config/srcarchiveurl from a file just
86        containing the URL string into a file containing
87        shell script code.  The code has access to the $VERSION variable.
88      - Made corresponding changes to config/install.sh and config/unpack.
89      - Default contents of config/srcarchiveurl uses $VERSION and
90        normally does not have to be edited to reflect a version change.
91    
92      (As a result, a version change can be done by just editing
93       config/version, the rest is now automatic.)
94    
95    ----------------------------------------------------------------------
96    Name: Matthias Blume (blume (at) tti - c (dot) org)
97    Date: 2004/10/27 17:50:00 CDT
98    Tag: blume-20041027-btrace-msg
99    Description:
100    
101    BackTrace.monitor now also reports the source of the exception that
102    triggered the trace.
103    
104    ----------------------------------------------------------------------
105    Name: Matthias Blume (blume (at) tti - c (dot) org)
106    Date: 2004/10/27 17:20:00 CDT
107    Tag: blume-20041027-x86-c-calls
108    Description:
109    
110    This is the HISTORY entry for two earlier commits, both concerning
111    the x86 c-calls code in MLRISC:
112    
113      - added a missing LOAD in the code that deals with struct arguments
114      - made sure the caller does not add the wrong number of bytes to the
115        stack pointer after a call of a function returning a struct
116        (the callee already pops the implicit argument which points to
117         the space reserved for the result)
118    
119    ----------------------------------------------------------------------
120    Name: Allen Leung (leunga (at) reservoir (dot) com)
121    Date: 2004/10/24 14:00:00 EST
122    Tag: leunga-20041024-x86-gas-fucomip
123    Description:
124    
125       John discovered a bug in the syntax of fucomip.
126       The opcodes FU?COMIP? have been changed to
127    
128           fu?comip? %st(i), %st
129    
130    ----------------------------------------------------------------------
131    Name: Matthias Blume (blume (at) tti - c (dot) org)
132    Date: 2004/10/20 15:06:00 CDT
133    Tag: blume-20041020-standalone-backtrace
134    Description:
135    
136    Added a mechanism for getting back-trace information from standalone
137    programs.  Here is how it works:
138    
139       1. The part of the program from which you want to get backtrace
140          information (usually the whole program) should be wrapped with
141          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
142          main program could be modified from something like
143    
144             fun main (pgm, args) = ...
145    
146         to
147    
148            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
149    
150       2. To be able to access BackTrace.monitor, you have to add
151          library $smlnj-tdp/plugins.cm to the .cm file that contains your
152          main function.
153    
154       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
155          CM might have created in the past for your project).
156    
157       4. Build the system using this command line:
158    
159             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
160                      myprog.cm MyProg.main myprog
161    
162          instead of the usual
163    
164             ml-build myprog.cm MyProg.main myprog
165    
166    I changed a library name:
167    
168       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
169    
170    New libraries:
171    
172       $smlnj-tdp/back-trace.cm
173          -- when loaded causes the back-trace plugin to be installed
174       $smlnj-tdp/coverage.cm
175          -- when loaded causes the coverage plugin to be installed
176    
177    ----------------------------------------------------------------------
178    Name: Matthias Blume (blume (at) tti - c (dot) org)
179    Date: 2004/10/18 16:45:00 CDT
180    Tag: blume-20041018-groupowner
181    Description:
182    
183    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
184    
185    Eliminated group owner specs from .cm files throughout the source tree.
186    
187    ----------------------------------------------------------------------
188    Name: Matthias Blume (blume (at) tti - c (dot) org)
189    Date: 2004/10/15 15:45:00 CDT
190    Tag: blume-20041015-coverage
191    Description:
192    
193    * Test coverage tool added!
194    * Further reorganization of tracing-, debugging-, and profiling support:
195    
196        - moved original BTImp -- now called BackTrace -- into a separate
197          library called $/trace-debug-profile.cm
198        - eliminated all mentions of BTrace from SMLofNJ.Internals
199        - only the instrumentation mechanism is now left in the compiler proper
200        - BackTrace module is a plugin which is NOT plugged in by default
201        - Coverage module is another such plugin
202    
203    To get the benefits of any of these plugin modules, the code in
204    question must be compiled with tdp instrumentation turned on.  This
205    can be done by setting SMLofNJ.Internals.TDP.mode to true.
206    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
207    
208    Plugins are selected at link time.  (Pre-compiled instrumented code
209    can be re-loaded with different plugins in effect.)  When an
210    instrumented module is linked, whatever plugins are at that time
211    enabled will come into effect for that module.
212    
213    To enable the back-trace plugin, load library $/trace-debug-profile.cm
214    and invoke BackTrace.install() (e.g., from the interactive prompt).
215    To enable the coverage plugin, load the same library and invoke
216    Coverage.install().
217    
218    Back-traces are generated automatically on uncaught exceptions and
219    when the code in question explicitly invokes BackTrace.trigger().
220    
221    Coverage (and execution frequency-) information must be queried
222    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
223    
224    ----------------------------------------------------------------------
225    Name: Matthias Blume (blume (at) tti - c (dot) org)
226    Date: 2004/10/14 17:40:00 CDT
227    Tag: blume-20041014-tdp-core
228    Description:
229    
230    Snapshot of a significant overhaul of how the trace/debug/profile support
231    is hooked into the system (specifically: Core and SMLofNJ.Internals).
232    
233    ----------------------------------------------------------------------
234    Name: Matthias Blume (blume (at) tti - c (dot) org)
235    Date: 2004/10/13 16:34:00 CDT
236    Tag: blume-20041013-tdp
237    Description:
238    
239    Some rationalization of names:
240    
241       structure BTrace -> structure TDPInstrument
242       etc.
243    
244    This is is preparation of using the original back-trace
245    instrumentation for other purposes.  "TDP" stands for
246    Trace/Debug/Profile.
247    
248    The control flag controlling whether instrumentation is on or off is now
249    registered under a different name, so instead of running sml as
250    
251     sml -Cinstrument.btrace-mode=true
252    
253    one has to say
254    
255     sml -Ctdp.instrument=true
256    
257    ----------------------------------------------------------------------
258    Name: Matthias Blume (blume (at) tti - c (dot) org)
259    Date: 2004/10/11 16:37:00 CDT
260    Tag: blume-20041011-regions
261    Description:
262    
263    Made some minor modifications to elabcore.sml to have source regions
264    be propagated more tightly -- resulting in better (i.e., smaller)
265    regions being reported in error- and debug messages.
266    
267    ----------------------------------------------------------------------
268    Name: Matthias Blume (blume (at) tti - c (dot) org)
269    Date: 2004/10/08 22:50:00 CDT
270    Tag: blume-20041008-cmkw
271    Description:
272    
273    Fixed handling of keywords in .cm files: After seeing "is" the lexer
274    treats subsequent occurrences of "group", "library", "source", "is",
275    "*", and "-" as ordinary identifiers rather than keywords.
276    
277    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
278    is supposed to accept a tool argument called "source", but this did
279    not work because of the clash with the keyword.
280    
281    ----------------------------------------------------------------------
282    Name: Matthias Blume (blume (at) tti - c (dot) org)
283    Date: 2004/10/07 16:00:00 CDT
284    Tag: blume-20041007-cleanup
285    Description:
286    
287    Assorted cleanup work:
288    
289      - got rid of intstrmap in favor of using the library's
290        hash table implementation
291      - threw out most of the pathnames stuff, as it was not used anyway
292      - simplified tokentable implementation
293      - fixed some minor spelling errors
294    
295    ----------------------------------------------------------------------
296    Name: Matthias Blume (blume (at) tti - c (dot) org)
297    Date: 2004/10/06 15:15:15 CDT
298    Tag: blume-20041006-handler
299    Description:
300    
301    Cleaned up the absyn to reflect the invariant that HANDLE always
302    carries a FNexp as part of the type definition.  This eliminates some
303    superfluous sanity checks at runtime down the road.
304    
305    Some minor cleanup of the btrace code.
306    
307    ----------------------------------------------------------------------
308    Name: Matthias Blume (blume (at) tti - c (dot) org)
309    Date: 2004/10/01 10:20:30 CDT
310    Tag: blume-20041001-slave
311    Description:
312    
313    Added hack to make slave mode work in the presence of the version
314    tool.  (Still, since the master does two passes over the code for
315    CMB.make, the release number gets bumped twice when slaves are
316    attached.  I don't know if this is worth fixing...)
317    
318    ----------------------------------------------------------------------
319    Name: Matthias Blume (blume (at) tti - c (dot) org)
320    Date: 2004/09/30 10:55:00 CDT
321    Tag: blume-20040930-version
322    Description:
323    
324    * Moved the "version" magic into its own little library under
325      src/system/smlnj/internal.  This avoids expensive reconstruction of
326      a stable src/compiler/core.cm.
327    
328    * At the same time, structure CompilerVersion is now known as
329      structure SMLNJVersion.
330    
331    * Arranged for the version tool to NOT kick in when rebuilding the system
332      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
333      Also, loading the versiontool does not work when rebuilding the system
334      because CM is not properly initialized at that time.
335    
336    ----------------------------------------------------------------------
337    Name: Matthias Blume (blume (at) tti - c (dot) org)
338    Date: 2004/09/29 14:00:00 CDT
339    Tag: blume-20040929-autoversion
340    Description:
341    
342    Implemented some CM magic to have
343        file src/compiler/TopLevel/main/version.sml
344    generated automagically.
345    The version is taken from two files: config/version and config/release.
346    The first is expected to contain a two-part version number such as 110.49.
347    The second should contain a single number, but it may be missing.
348    
349    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
350    time the version tool is loaded (which is the first time you say CMB.make),
351    then the tool will increment the value stored in config/release every
352    time CMB.make is invoked.
353    
354    The binfile format is now insensitive to anything beyond the first
355    two components of a version number, so bumping the release does not render
356    binfiles incompatible.  Auto-bumping can be used to keep track of versions
357    during development without invalidating existing binfiles.
358    
359    In any case, every CMB.make updates the date information in version.sml.
360    (This is the date that is printed in the banner.)
361    
362    ----------------------------------------------------------------------
363    Name: Matthias Blume (blume (at) tti - c (dot) org)
364    Date: 2004/09/28 10:53:00 CDT
365    Tag: blume-20040928-controls
366    Description:
367    
368    Some cleanup of the controls code.
369    
370    ----------------------------------------------------------------------
371    Name: Matthias Blume (blume (at) tti - c (dot) org)
372    Date: 2004/09/27 22:08:00 CDT
373    Tag: blume-20040927-controls
374    Description:
375    
376    Added two pieces of functionality to the Controls interface:
377    
378    1.   val save'restore: 'a control -> unit -> unit
379    
380       grabs the current value of the control in stage 1 and restores it
381       in stage 2.
382    
383    2.   val set' : 'a control * 'a -> unit -> unit
384    
385       stores the given value into the control in stage 2 (i.e., delayed)
386       but does all error checking in stage 1.
387       (This is for string controls that need to do parse their argument --
388        something that might fail.  In some cases, notably in CM, one
389        already knows the intended argument but wants to delay the actual
390        assignment until a time when error recovery would be more difficult.)
391    
392    Changed the handling of controls in tool arguments to classes "sml" and
393    "lazysml":
394       - use Controls.save'restore as a more robust way of restoring the
395         old value (in particular: without having to re-parse the string)
396       - use controls to handle the "overload" keyword in the init group
397         (I believe this change actually fixes a long-standing obscure bug.)
398    
399    ----------------------------------------------------------------------
400    Name: Matthias Blume (blume (at) tti - c (dot) org)
401    Date: 2004/09/27 17:00:00 CDT
402    Tag: blume-20040927-lazysml
403    Description:
404    
405    Added a new tool class called "lazysml" to CM's tool chest.  The only
406    difference to "sml" is that compilation is done with Control.lazysml
407    set to true.  A source of class "lazysml" is automatically recognized
408    by a file name suffix of ".lml".
409    
410    In addition to the above feature, the original class "sml" now also
411    supports a tool argument "lazy" which has the same effect.  As a
412    result, the following three lines are equivalent:
413    
414        foo.sml : lazysml
415        foo.sml : sml (lazy)
416        foo.sml (lazy)
417    
418    The setting goes into effect both during parsing and during
419    compilation.  The original setting is restored right after parsing and
420    after compilation, respectively.
421    
422    In addition to all the above, there is also a general mechanism to set
423    ANY of the "controls" that are available at the command line via
424    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
425    apply as well. (In fact, "lazy" is implemented as a special case of
426    the general mechanism.)
427    
428    The .cm file syntax uses a new keyword tool argument called "with".
429    There are several ways of indicating the desired settings:
430    
431        foo.sml (with:parser.quotations=true)
432        foo.sml (with:(name:parser.quotations value:true))
433        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
434        foo.sml (with:(name1=value1 name2=value2 ...))
435        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
436    
437        etc.
438    
439    Another possible abbreviation is to leave out the =v or value:v part
440    if the name refers to a boolean control (in which case the value is
441    taken to be true).  Thus, one could get lazy sml also by saying:
442    
443        foo.sml (with:parser.lazy-keyword=true)
444        foo.sml (with:parser.lazy-keyword)
445        foo.sml (with:(name:parser.lazy-keyword value:true))
446        foo.sml (with:(name:parser.lazy-keyword))
447    
448    ----------------------------------------------------------------------
449    Name: Matthias Blume (blume (at) tti - c (dot) org)
450    Date: 2004/09/24 16:22:00 CDT
451    Tag: blume-20040924-ppc-long-branch
452    Description:
453    
454    Turned message about "emiting long form of branch" off by default.
455    Added a control flag to turn it back on when desired.
456    
457    ----------------------------------------------------------------------
458    Name: Matthias Blume (blume (at) tti - c (dot) org)
459    Date: 2004/09/24 16:05:00 CDT
460    Tag: blume-20040924-rounding
461    Description:
462    
463    Applied patch for setting rounding modes under Mac OS X.  Thanks to
464    Melissa O'Neill for providing the code!
465    
466    ----------------------------------------------------------------------
467    Name: Matthias Blume (blume (at) tti - c (dot) org)
468    Date: 2004/09/23 17:30:00 CDT
469    Tag: blume-20040923-envvars
470    Description:
471    
472    1. Changed definition of type ControlRegistry.registry_tree to
473       include control_info (i.e., the name of the controlling environment
474       variable).
475    
476    2. Added command-line flags -e and -E to print the names of environment
477       variables that can be used to control internal settings.
478       (This uses the new API mentioned in 1.)
479    
480    ----------------------------------------------------------------------
481    Name: Matthias Blume (blume (at) tti - c (dot) org)
482    Date: 2004/09/13 16:50:00 CDT
483    Tag: Release_110_49
484    Description:
485    
486    New working version (110.49).  NEW BOOTFILES!
487    
488    ----------------------------------------------------------------------
489    Name: Matthias Blume
490    Date: 2004/09/13 16:20:00 CDT
491    Tag: blume-20040913-config-mlrisc
492    Description:
493    
494    Put target "mlrisc" back into the default list.
495    (There is no harm in having it, and some users have expressed their
496    wish to have "mlrisc" included by default.)
497    
498    ----------------------------------------------------------------------
499    Name: John Reppy
500    Date: 2004/09/13
501    Tag: jhr-20040913-signals
502    Description:
503    
504    Fixed the signal masking code to properly nest mask/unmask operations
505    on a per-signal basis.
506    
507    ----------------------------------------------------------------------
508    Name: Matthias Blume (blume (at) tti - c (dot) org)
509    Date: 2004/09/08 13:20:00 CDT
510    Tag: blume-20040908-heap-magic
511    Description:
512    
513    Bumped the heap macig number to 0x09082004 to account for the changed
514    layout of the ML frame under MacOS X.
515    
516    ----------------------------------------------------------------------
517    Name: Allen Leung (leunga (at) reservoir (dot) com)
518    Date: 2004/09/03 11:26:00 EST
519    Tag: leunga-20040903-cygwin-install
520    Description:
521    
522       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
523    The Cygwin runtime is turned on by setting the environment
524    variable SMLNJ_CYGWIN_RUNTIME to 1.
525    
526    ----------------------------------------------------------------------
527    Name: Matthias Blume (blume (at) tti - c (dot) org)
528    Date: 2004/08/31 17:15:00 CDT
529    Tag: blume-20040831-core
530    Description:
531    
532    Added some exports to src/compiler/core.cm upon request by J. Joemann.
533    
534    ----------------------------------------------------------------------
535    Name: Matthias Blume (blume (at) tti - c (dot) org)
536    Date: 2004/08/30 17:55:00 CDT
537    Tag: blume-20040830-installer
538    Description:
539    
540    Upon request by Johannes Joemann:
541    
542    - improved ML code of installer to fall back to coping when renaming
543      fails (i.e., when source and target are on different file systems);
544      the code compiles but has yet to be tested in anger
545    - removed mlrisc from list of default targets (config/targets)
546    
547    ----------------------------------------------------------------------
548    Name: Matthias Blume (blume (at) tti - c (dot) org)
549    Date: 2004/08/27 17:20:00 CDT
550    Tag: blume-20040827-ptreql
551    Description:
552    
553    Added ptreql primop to structure InlineT (upon request from Larry
554    Paulson).
555    
556    ----------------------------------------------------------------------
557    Name: Allen Leung (leunga (at) reservoir (dot) com)
558    Date: 2004/08/15 21:21:00 EST
559    Tag: leunga-110_48-udgraph
560    Description:
561    
562    Another bug fix from Carl Hauser:
563    
564    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
565    > 48c48
566    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
567    > e::L)
568    > ---
569    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
570    > Without this, any deletion of an edge in an undirected graph does severe
571    > violence to the graph.
572    
573    ----------------------------------------------------------------------
574    Name: Allen Leung (leunga (at) reservoir (dot) com)
575    Date: 2004/08/10 23:35:00 EST
576    Tag: leunga-110_48-ppc
577    Description:
578    
579       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
580    
581    ----------------------------------------------------------------------
582    Name: Matthias Blume (blume (at) tti - c (dot) org)
583    Date: 2004/08/10 12:00:00 CDT
584    Tag: Release_110_48
585    Description:
586    
587    New working version (110.48).  NEW BOOTFILES!
588    
589    ----------------------------------------------------------------------
590    Name: Allen Leung (leunga (at) reservoir (dot) com)
591    Date: 2004/08/09 12:21:00 EST
592    Tag: leunga-110_47-dijsktra
593    Description:
594    
595    Bug fix from Carl Hauser:
596    
597    single_source_shortest_paths in dijkstra.sml was observed to get wrong
598    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
599    
600    The problem is that following the expression A.update(dist,s,Num.zero)
601    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
602    
603    ----------------------------------------------------------------------
604    Name: Matthias Blume (blume (at) tti - c (dot) org)
605    Date: 2004/08/06 18:10:00 CDT
606    Tag: blume-20040806-cmdline
607    Description:
608    
609    Fiddled with handling of command-line options:
610    
611      * sml now quits after processing the command line
612        if -H, -S, -h<n>, or -s<n> appears as the last
613        command-line argument
614      * a new option -q terminates the session when encountered on
615        the command line; subsequent arguments will be ignored
616      * bug fixes: short (erroneous) arguments are no longer ignored
617        completely
618    
619    ----------------------------------------------------------------------
620    Name: Allen Leung (leunga (at) reservoir (dot) com)
621    Date: 2004/08/04 18:17:00 EST
622    Tag: leunga-110_47-ppc-ibm-asm
623    Description:
624    
625      - Added minimal IBM assembly syntax support for PowerPC.
626    
627      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
628        been altered in the runtime.  We need an automatic way to keep the file
629        in sync.
630    
631    ----------------------------------------------------------------------
632    Name: Matthias Blume (blume (at) tti - c (dot) org)
633    Date: 2004/08/04 14:00:00 CDT
634    Tag: Release_110_47
635    Description:
636    
637    New working version (110.47).  NEW BOOTFILES!
638    
639    ----------------------------------------------------------------------
640    Name: Matthias Blume (blume (at) tti - c (dot) org)
641    Date: 2004/08/03 14:25:00 CDT
642    Tag: blume-20040803-callingconv
643    Description:
644    
645    Added low-level support for choosing C calling conventions by
646    twiddling the type of rawccall.  (See
647    src/compiler/Semant/types/cproto.sml for details.)
648    
649    ----------------------------------------------------------------------
650    Name: Matthias Blume (blume (at) tti - c (dot) org)
651    Date: 2004/08/02 15:55:00 CDT
652    Tag: blume-20040802-backout
653    Description:
654    
655    Backed out of change to win32-filesys.c.  The earlier patch to
656    get_file_time caused CM to produce files with the wrong time stamp.
657    
658    ----------------------------------------------------------------------
659    Name: Matthias Blume (blume (at) tti - c (dot) org)
660    Date: 2004/08/02 14:45:00 CDT
661    Tag: blume-20040802-nlffi-win32
662    Description:
663    
664    Added NLFFI support for Win32, adapted from a patch provided by David
665    Hansel.  This is currently completely untested.  Also, the issue
666    concerning stdcall vs. ccall is still unresolved.
667    
668    ----------------------------------------------------------------------
669    Name: Matthias Blume (blume (at) tti - c (dot) org)
670    Date: 2004/07/30 17:55:00 CDT
671    Tag: blume-20040730-various
672    Description:
673    
674    Gearing up towards 110.47...
675    
676    - various minor bugfixes to ml-nlffigen
677    - a beginning of a manual for nlffi
678    
679    - eliminated 'export name=value' in config/install.sh as this does
680      not work with certain versions of /bin/sh
681      (Thanks to David King at Motorola for catching this.)
682    
683    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
684      - added a test for tm==NULL to gmtime.c and localtime.c
685      - applied patch for incorrect GetFileTime under win32
686      - toSeconds -> toMilliseconds in Win32/win32-process.sml
687    
688    ----------------------------------------------------------------------
689    Name: Matthias Blume (blume (at) tti - c (dot) org)
690    Date: 2004/07/21 18:20:00 CDT
691    Tag: blume-20040721-nlffigen
692    Description:
693    
694    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
695      for a typedef to an incomplete type, but leave out the "typ" member.
696      (This is just for consistency.)
697    - Started to produce what is supposed to become better (i.e., comprehensive)
698      documentation of what ml-nlffigen does and produces.
699    
700    ----------------------------------------------------------------------
701    Name: Matthias Blume (blume (at) tti - c (dot) org)
702    Date: 2004/07/14 16:25:00 CDT
703    Tag: blume-20040714-union
704    Description:
705    
706    Added C_UNION to c-calls/c-types.sml and updated the machinery
707    (ml-nlffigen, cproto.sml) that conveys C function interface
708    information to the code generator.
709    
710    However, the actual architecture-specific implementation of function
711    arguments and results that are C unions is still not implemented.
712    
713    ----------------------------------------------------------------------
714    Name: Allen Leung (leunga (at) reservoir (dot) com)
715    Date: 2004/07/14 14:38:00 EST
716    Tag: leunga-110_46_1-ppc-lwzu
717    Description:
718    
719        Added these instructions to the PowerPC architecture:
720        LBZU(X), LHZU(X), LWZU(X),
721        STWU(X), STFDU, STFSU
722    
723        etc...
724    
725        Note: I haven't added their instruction encoding into the description.
726    
727    ----------------------------------------------------------------------
728    Name: Allen Leung (leunga (at) reservoir (dot) com)
729    Date: 2004/07/13 15:04:00 EST
730    Tag: leunga-110_46_1-ppc-lwarx
731    Description:
732    
733       Added the two instructions LWARX and STWCX to the PowerPC
734    instruction set.
735    
736       A (untested) rewrite of loop-structure.sml.  The old version
737    is completely broken.
738    
739    ----------------------------------------------------------------------
740    Name: Matthias Blume (blume (at) tti - c (dot) org)
741    Date: 2004/07/13 13:50:00 CDT
742    Tag: blume-20040713-nlffi
743    Description:
744    
745    - use paramAlloc to report c-calls with too many arguments
746      (for PPC version where parameter area is pre-allocated)
747    - added ccall_maxargspace to machspec (to implement the above)
748    - made "make" commend in CM's "make" tool configurable
749    - added option (default: on) for passing the name of the SML/NJ's "bin"
750      directory to "make"; the call looks like this:
751    
752         make <options> SMLNJ_BINDIR=<dir> <target>
753    
754      This can be used by the Makefile to, e.g., pick the "right" version
755      of ml-nlffigen.
756    - minor code tweaks
757    
758    ----------------------------------------------------------------------
759    Name: Matthias Blume (blume (at) tti - c (dot) org)
760    Date: 2004/07/12 22:50:00 CDT
761    Tag: blume-110_46_1-macosx-nlffi
762    Description:
763    
764    NLFFI under Mac OS X now working (sort of).  This is largely untested,
765    though.
766    
767    Note:  1. You have to make a new, clean build of the runtime system.
768           2. There are new BOOTFILES, you have to use them!
769              (Doing the bootstrap process yourself would be *very* painful!
770               If you absolutely have to do it, build the system under
771               a different architecture and then cross-compile.)
772    
773    Version bumped to 110.46.1 to account for runtime data format changes.
774    
775    ----------------------------------------------------------------------
776    Name: Matthias Blume (blume (at) tti - c (dot) org)
777    Date: 2004/06/18 14:30:00 CDT
778    Tag: blume-20040618-unix
779    Description:
780    
781    Changed the implementation of structure Unix so that the same stream
782    is returned every time one of the {text,bin}{In,Out}streamOf functions
783    is invoked on the same proc.  This is not what the spec currently
784    says -- although IMO it arguably should.  (See discussion below.)
785    
786    ----------------------------------------------------------------------
787    Name: Matthias Blume (blume (at) tti - c (dot) org)
788    Date: 2004/06/17 18:15:00 CDT
789    Tag: Release_110_46
790    Description:
791    
792    New working version (110.46).  NEW BOOTFILES!
793    
794    ----------------------------------------------------------------------
795    Name: Matthias Blume (blume (at) tti - c (dot) org)
796    Date: 2004/06/17 17:20:00 CDT
797    Tag: blume-20040617-timer-unix
798    Description:
799    
800    Changed the interface of structures Timer and Unix to match the most
801    recent Basis spec.
802    
803    In the case of Unix there still seems to be an open/weird issue:
804    
805       The {text,bin}{In,Out}streamOf functions are supposed to create
806       fresh streams whenever they are called -- as opposed to have them
807       return the same stream every time.  This design is supposed to
808       prevent space leaks caused by proc values hanging on to streams.
809    
810       The reap function, on the other hand, is supposed to close the
811       streams.  This cannot be done without having a handle on the
812       stream in proc after all...
813    
814    I took the liberty to implement the following stopgap solution:
815    
816      The proc value hangs on to the most recently created stream(s).
817      Reap closes those.  If either or both of the two streams hadn't
818      been created at all yet, then reap will close the corresponding
819      file descriptors directly.
820    
821    PS: I don't understand the original space leak argument anymore.  If
822    a proc hangs on to the imperative stream, then I/O operations on those
823    will advance the state of the cached stream and avoid the space leak.
824    
825    ----------------------------------------------------------------------
826    Name: Matthias Blume (blume (at) tti - c (dot) org)
827    Date: 2004/05/28 16:45:00 CDT
828    Tag: blume-20040528-basis
829    Description:
830    
831    Added signature PACK_REAL and exported functor PrimIO.
832    
833    ----------------------------------------------------------------------
834    Name: Matthias Blume (blume (at) tti - c (dot) org)
835    Date: 2004/05/25 16:00:00 CDT
836    Tag: blume-20040525-group-owner
837    Description:
838    
839    CM now ignores (but still accepts) the "owner" information in group
840    descriptions.  The owner of a group is its next enclosing
841    library. Each group must have a unique owner.  (There is a virtual
842    "toplevel" library that owns groups which are not nested within a real
843    library.)  Previously, each group had to explicitly declare its owner,
844    and CM would check that such a declaration is correct.  The new scheme
845    is to have CM check that for each group there is precisely one owning
846    library.
847    
848    The advantage of the new scheme is that the programmer no longer needs
849    to maintain the somewhat annoying owner information.  The downside is
850    that CM cannot enforce the ownership rule across multiple runs of
851    CM.make.  Fortunately, enclosing the same group in two different
852    libraries A and B which are not part of the same program does not
853    cause real problems.
854    
855    ----------------------------------------------------------------------
856    Name: Matthias Blume (blume (at) tti - c (dot) org)
857  Date: 2004/05/20 16:00:00 CDT  Date: 2004/05/20 16:00:00 CDT
858  Tag: blume-20040520-win32  Tag: blume-20040520-win32
859  Description:  Description:

Legend:
Removed from v.1496  
changed lines
  Added in v.1687

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