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

Legend:
Removed from v.1505  
changed lines
  Added in v.1686

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