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

Legend:
Removed from v.1486  
changed lines
  Added in v.1727

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