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 1348, Fri Aug 29 17:06:53 2003 UTC revision 1736, Thu Dec 16 19:31:17 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume@tti-c.org)  Date: 2004/12/16 13:35:00 CST
17    Tag: Release_110_52
18    Description:
19    
20    Last-minute changes incorporated into 110.52.  Release tag moved.
21    
22    The changes:
23       - HashString.hashString' -> HashString.hashSubstring
24       - bug fix in UnivariateStats
25    
26    ----------------------------------------------------------------------
27    Name: Matthias Blume (blume (at) tti - c (dot) org)
28    Date: 2004/12/15 23:40:00 CST
29    Tag: blume-20041215-hashSubstring
30    Description:
31    
32    - HashString.hashString' -> HashString.hashSubstring
33    - corresponding changes in atom.sml
34    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
35      added some comments
36    
37    ----------------------------------------------------------------------
38    Name: Matthias Blume (blume (at) tti - c (dot) org)
39    Date: 2004/12/15 15:30:00 CST
40    Tag: (Release_110_52)
41    Description:
42    
43    New working version (110.52).  NEW BOOTFILES!
44    
45    ----------------------------------------------------------------------
46    Name: Matthias Blume (blume (at) tti - c (dot) org)
47    Date: 2004/12/15 12:45:00 CST
48    Tag: blume-20041215-spaces
49    Description:
50    
51    More on the space problem (this time for Win32).
52    
53    ----------------------------------------------------------------------
54    Name: Matthias Blume (blume (at) tti - c (dot) org)
55    Date: 2004/12/14 17:30:00 CST
56    Tag: blume-20041214-spaces
57    Description:
58    
59    Hacked some of the scripts (in particular: the installer) to cope with
60    spaces in filenames a bit better.  But beware: the current "solution"
61    is likely still full of bugs and inherently incomplete.  (We need to
62    do away with those shell scripts for a comprehensive solution.)
63    
64    ----------------------------------------------------------------------
65    Name: Matthias Blume (blume (at) tti - c (dot) org)
66    Date: 2004/12/13 14:45:00 CST
67    Tag: blume-20041213-ml-makedepend
68    Description:
69    
70    Fixed bug in code for ml-makedepend.
71    
72    ----------------------------------------------------------------------
73    Name: Matthias Blume (blume (at) tti - c (dot) org)
74    Date: 2004/12/09 16:30:00 CST
75    Tag: blume-20041209-statistics
76    Description:
77    
78    Added two simple but potentially useful statistics modules to SML/NJ Library.
79    (See CHANGES file there.)
80    
81    ----------------------------------------------------------------------
82    Name: Matthias Blume (blume (at) tti - c (dot) org)
83    Date: 2004/12/01 16:50:00 CST
84    Tag: blume-20041201-atom
85    Description:
86    
87    smlnj-lib:
88    
89      Added function HashString.hashString' for substrings.
90      Hand-inlined CharVector.foldl into HashString (for speed).
91      Modified implementation of structure Atom to avoid extracting
92      strings from substrings unless necessary.
93      (Also see CHANGES file for smlnj-lib.)
94    
95    ----------------------------------------------------------------------
96    Name: Matthias Blume (blume (at) tti - c (dot) org)
97    Date: 2004/11/24 22:15:00 CST
98    Tag: blume-20041124-cml
99    Description:
100    
101    Made sure CML compiles when Position = Int64.
102    
103    ----------------------------------------------------------------------
104    Name: Matthias Blume (blume (at) tti - c (dot) org)
105    Date: 2004/11/24 14:30:00 CST
106    Tag: blume-20041124-position
107    Description:
108    
109    The compiler can now be compiled in a mode that makes structure Position
110    equal to Int64.  The default, however, is unchanged (Position = Int31)
111    for the time being.
112    
113    To enable 64-bit positions, use the following procedure:
114    
115    1. Start sml
116    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
117    3. Type
118          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
119    4. Run CMB.make() as usual.
120    
121    This is barely tested.  The only test so far was a little SML program
122    counting the number of characters in an 8-gigabyte file by
123    reading it character-by-character.  That test was successful.
124    
125    In support of 64-bit positions, a number of new functions have been
126    added to the runtime system.
127    
128    ----------------------------------------------------------------------
129    Name: Matthias Blume (blume (at) tti - c (dot) org)
130    Date: 2004/11/23 14:45:00 CST
131    Tag: blume-20041123-useFile
132    Description:
133    
134    Fixed a problem with unhelpful error messages related to problems with
135    .cm- or .sml files that appear as part of the sml command line.
136    
137    ----------------------------------------------------------------------
138    Name: Matthias Blume (blume (at) tti - c (dot) org)
139    Date: 2004/11/18 15:40:00 CST
140    Tag: Release_110_51
141    Description:
142    
143    New working version (110.51).  NEW BOOTFILES!
144    
145    ----------------------------------------------------------------------
146    Name: Matthias Blume (blume (at) tti - c (dot) org)
147    Date: 2004/11/18 15:35:00 CST
148    Tag: <none>
149    Description:
150    
151    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
152    Joemann).
153    
154    ----------------------------------------------------------------------
155    Name: Allen Leung (leunga (at) reservoir (dot) com)
156    Date: 2004/11/17 16:05:21 EST 2004
157    Tag: leunga-20041117-mlrisc-live-kill
158    Description:
159    
160       Added support for MLTree constructs LIVE and KILL
161    to all the architectures.
162    
163    ----------------------------------------------------------------------
164    Name: Matthias Blume (blume (at) tti - c (dot) org)
165    Date: 2004/11/13 00:20:00 CST
166    Tag: blume-20041113-versiontool
167    Description:
168    
169    - Stripped down the versiontool: It now only handles the version number.
170      The date string is generated at bootstrap time (during makeml).
171    
172    - In a previous commit, fixed a minor issue with how polyequal is being
173      translated.  In particular, the code now "looks through" abstractions.
174      This results in slightly fewer polyEqual warnings and hopefully slightly
175      more efficient code.  Important examples for where this matters are
176      the new int64 and word64 types.
177    
178    ----------------------------------------------------------------------
179    Name: Matthias Blume (blume (at) tti - c (dot) org)
180    Date: 2004/11/12 00:30:00 CST
181    Tag: blume-20041112-int64
182    Description:
183    
184    Structure Int64 fully hooked in.  (The implementation is not very
185    efficient, though.)
186    
187    ----------------------------------------------------------------------
188    Name: Matthias Blume (blume (at) tti - c (dot) org)
189    Date: 2004/11/11 17:30:00 CST
190    Tag: blume-20041111-more64
191    Description:
192    
193    All the pieces of Word64 are now there, with the exception of the
194    conversions from and to LargeWord. (Eventually these need to be identities,
195    but for the time being they don't even make sense because LargeWord is
196    32-bit wide.)
197    
198    Also started to add similar support for Int64, but major pieces of that
199    are still missing.
200    
201    ----------------------------------------------------------------------
202    Name: Matthias Blume (blume (at) tti - c (dot) org)
203    Date: 2004/11/11 00:15:00 CST
204    Tag: blume-20041111-word64
205    Description:
206    
207    Structure Word64 is now (almost) complete, word literals and patterns
208    seem to work.  There are a few odd pieces missing.  In particular,
209    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
210    at the moment.
211    
212    Making Word64 official would mean that LargeWord becomes Word64.  But
213    this requires extreme care because most word-word conversions have to
214    go through LargeWord, so making a mistake means loss of efficiency or
215    worse.  Eventually there will be a solution similar to (but actually
216    simpler than) what I did with IntInf.
217    
218    ----------------------------------------------------------------------
219    Name: Matthias Blume (blume (at) tti - c (dot) org)
220    Date: 2004/11/10 18:12:00 CST
221    Tag: blume-20041110-64bit
222    Description:
223    
224    More 64-bit hacking (but still not even half-way there yet).
225    Also, some assorted improvements to the handling of 8-bit words.
226    
227    ----------------------------------------------------------------------
228    Name: Matthias Blume (blume (at) tti - c (dot) org)
229    Date: 2004/11/09 17:50:00 CST
230    Tag: <none>
231    Description:
232    
233    Started adding some infrastructure for supporting 64-bit int- and
234    word-types.  (Still in its very early stages.)
235    
236    ----------------------------------------------------------------------
237    Name: Matthias Blume (blume (at) tti - c (dot) org)
238    Date: 2004/10/28 10:45:00 CDT
239    Tag: Release_110_50
240    Description:
241    
242    New working version (110.50).  NEW BOOTFILES!
243    
244                 =====================
245    
246    Also:
247    
248      - Changend config/srcarchiveurl from a file just
249        containing the URL string into a file containing
250        shell script code.  The code has access to the $VERSION variable.
251      - Made corresponding changes to config/install.sh and config/unpack.
252      - Default contents of config/srcarchiveurl uses $VERSION and
253        normally does not have to be edited to reflect a version change.
254    
255      (As a result, a version change can be done by just editing
256       config/version, the rest is now automatic.)
257    
258    ----------------------------------------------------------------------
259    Name: Matthias Blume (blume (at) tti - c (dot) org)
260    Date: 2004/10/27 17:50:00 CDT
261    Tag: blume-20041027-btrace-msg
262    Description:
263    
264    BackTrace.monitor now also reports the source of the exception that
265    triggered the trace.
266    
267    ----------------------------------------------------------------------
268    Name: Matthias Blume (blume (at) tti - c (dot) org)
269    Date: 2004/10/27 17:20:00 CDT
270    Tag: blume-20041027-x86-c-calls
271    Description:
272    
273    This is the HISTORY entry for two earlier commits, both concerning
274    the x86 c-calls code in MLRISC:
275    
276      - added a missing LOAD in the code that deals with struct arguments
277      - made sure the caller does not add the wrong number of bytes to the
278        stack pointer after a call of a function returning a struct
279        (the callee already pops the implicit argument which points to
280         the space reserved for the result)
281    
282    ----------------------------------------------------------------------
283    Name: Allen Leung (leunga (at) reservoir (dot) com)
284    Date: 2004/10/24 14:00:00 EST
285    Tag: leunga-20041024-x86-gas-fucomip
286    Description:
287    
288       John discovered a bug in the syntax of fucomip.
289       The opcodes FU?COMIP? have been changed to
290    
291           fu?comip? %st(i), %st
292    
293    ----------------------------------------------------------------------
294    Name: Matthias Blume (blume (at) tti - c (dot) org)
295    Date: 2004/10/20 15:06:00 CDT
296    Tag: blume-20041020-standalone-backtrace
297    Description:
298    
299    Added a mechanism for getting back-trace information from standalone
300    programs.  Here is how it works:
301    
302       1. The part of the program from which you want to get backtrace
303          information (usually the whole program) should be wrapped with
304          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
305          main program could be modified from something like
306    
307             fun main (pgm, args) = ...
308    
309         to
310    
311            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
312    
313       2. To be able to access BackTrace.monitor, you have to add
314          library $smlnj-tdp/plugins.cm to the .cm file that contains your
315          main function.
316    
317       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
318          CM might have created in the past for your project).
319    
320       4. Build the system using this command line:
321    
322             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
323                      myprog.cm MyProg.main myprog
324    
325          instead of the usual
326    
327             ml-build myprog.cm MyProg.main myprog
328    
329    I changed a library name:
330    
331       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
332    
333    New libraries:
334    
335       $smlnj-tdp/back-trace.cm
336          -- when loaded causes the back-trace plugin to be installed
337       $smlnj-tdp/coverage.cm
338          -- when loaded causes the coverage plugin to be installed
339    
340    ----------------------------------------------------------------------
341    Name: Matthias Blume (blume (at) tti - c (dot) org)
342    Date: 2004/10/18 16:45:00 CDT
343    Tag: blume-20041018-groupowner
344    Description:
345    
346    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
347    
348    Eliminated group owner specs from .cm files throughout the source tree.
349    
350    ----------------------------------------------------------------------
351    Name: Matthias Blume (blume (at) tti - c (dot) org)
352    Date: 2004/10/15 15:45:00 CDT
353    Tag: blume-20041015-coverage
354    Description:
355    
356    * Test coverage tool added!
357    * Further reorganization of tracing-, debugging-, and profiling support:
358    
359        - moved original BTImp -- now called BackTrace -- into a separate
360          library called $/trace-debug-profile.cm
361        - eliminated all mentions of BTrace from SMLofNJ.Internals
362        - only the instrumentation mechanism is now left in the compiler proper
363        - BackTrace module is a plugin which is NOT plugged in by default
364        - Coverage module is another such plugin
365    
366    To get the benefits of any of these plugin modules, the code in
367    question must be compiled with tdp instrumentation turned on.  This
368    can be done by setting SMLofNJ.Internals.TDP.mode to true.
369    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
370    
371    Plugins are selected at link time.  (Pre-compiled instrumented code
372    can be re-loaded with different plugins in effect.)  When an
373    instrumented module is linked, whatever plugins are at that time
374    enabled will come into effect for that module.
375    
376    To enable the back-trace plugin, load library $/trace-debug-profile.cm
377    and invoke BackTrace.install() (e.g., from the interactive prompt).
378    To enable the coverage plugin, load the same library and invoke
379    Coverage.install().
380    
381    Back-traces are generated automatically on uncaught exceptions and
382    when the code in question explicitly invokes BackTrace.trigger().
383    
384    Coverage (and execution frequency-) information must be queried
385    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
386    
387    ----------------------------------------------------------------------
388    Name: Matthias Blume (blume (at) tti - c (dot) org)
389    Date: 2004/10/14 17:40:00 CDT
390    Tag: blume-20041014-tdp-core
391    Description:
392    
393    Snapshot of a significant overhaul of how the trace/debug/profile support
394    is hooked into the system (specifically: Core and SMLofNJ.Internals).
395    
396    ----------------------------------------------------------------------
397    Name: Matthias Blume (blume (at) tti - c (dot) org)
398    Date: 2004/10/13 16:34:00 CDT
399    Tag: blume-20041013-tdp
400    Description:
401    
402    Some rationalization of names:
403    
404       structure BTrace -> structure TDPInstrument
405       etc.
406    
407    This is is preparation of using the original back-trace
408    instrumentation for other purposes.  "TDP" stands for
409    Trace/Debug/Profile.
410    
411    The control flag controlling whether instrumentation is on or off is now
412    registered under a different name, so instead of running sml as
413    
414     sml -Cinstrument.btrace-mode=true
415    
416    one has to say
417    
418     sml -Ctdp.instrument=true
419    
420    ----------------------------------------------------------------------
421    Name: Matthias Blume (blume (at) tti - c (dot) org)
422    Date: 2004/10/11 16:37:00 CDT
423    Tag: blume-20041011-regions
424    Description:
425    
426    Made some minor modifications to elabcore.sml to have source regions
427    be propagated more tightly -- resulting in better (i.e., smaller)
428    regions being reported in error- and debug messages.
429    
430    ----------------------------------------------------------------------
431    Name: Matthias Blume (blume (at) tti - c (dot) org)
432    Date: 2004/10/08 22:50:00 CDT
433    Tag: blume-20041008-cmkw
434    Description:
435    
436    Fixed handling of keywords in .cm files: After seeing "is" the lexer
437    treats subsequent occurrences of "group", "library", "source", "is",
438    "*", and "-" as ordinary identifiers rather than keywords.
439    
440    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
441    is supposed to accept a tool argument called "source", but this did
442    not work because of the clash with the keyword.
443    
444    ----------------------------------------------------------------------
445    Name: Matthias Blume (blume (at) tti - c (dot) org)
446    Date: 2004/10/07 16:00:00 CDT
447    Tag: blume-20041007-cleanup
448    Description:
449    
450    Assorted cleanup work:
451    
452      - got rid of intstrmap in favor of using the library's
453        hash table implementation
454      - threw out most of the pathnames stuff, as it was not used anyway
455      - simplified tokentable implementation
456      - fixed some minor spelling errors
457    
458    ----------------------------------------------------------------------
459    Name: Matthias Blume (blume (at) tti - c (dot) org)
460    Date: 2004/10/06 15:15:15 CDT
461    Tag: blume-20041006-handler
462    Description:
463    
464    Cleaned up the absyn to reflect the invariant that HANDLE always
465    carries a FNexp as part of the type definition.  This eliminates some
466    superfluous sanity checks at runtime down the road.
467    
468    Some minor cleanup of the btrace code.
469    
470    ----------------------------------------------------------------------
471    Name: Matthias Blume (blume (at) tti - c (dot) org)
472    Date: 2004/10/01 10:20:30 CDT
473    Tag: blume-20041001-slave
474    Description:
475    
476    Added hack to make slave mode work in the presence of the version
477    tool.  (Still, since the master does two passes over the code for
478    CMB.make, the release number gets bumped twice when slaves are
479    attached.  I don't know if this is worth fixing...)
480    
481    ----------------------------------------------------------------------
482    Name: Matthias Blume (blume (at) tti - c (dot) org)
483    Date: 2004/09/30 10:55:00 CDT
484    Tag: blume-20040930-version
485    Description:
486    
487    * Moved the "version" magic into its own little library under
488      src/system/smlnj/internal.  This avoids expensive reconstruction of
489      a stable src/compiler/core.cm.
490    
491    * At the same time, structure CompilerVersion is now known as
492      structure SMLNJVersion.
493    
494    * Arranged for the version tool to NOT kick in when rebuilding the system
495      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
496      Also, loading the versiontool does not work when rebuilding the system
497      because CM is not properly initialized at that time.
498    
499    ----------------------------------------------------------------------
500    Name: Matthias Blume (blume (at) tti - c (dot) org)
501    Date: 2004/09/29 14:00:00 CDT
502    Tag: blume-20040929-autoversion
503    Description:
504    
505    Implemented some CM magic to have
506        file src/compiler/TopLevel/main/version.sml
507    generated automagically.
508    The version is taken from two files: config/version and config/release.
509    The first is expected to contain a two-part version number such as 110.49.
510    The second should contain a single number, but it may be missing.
511    
512    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
513    time the version tool is loaded (which is the first time you say CMB.make),
514    then the tool will increment the value stored in config/release every
515    time CMB.make is invoked.
516    
517    The binfile format is now insensitive to anything beyond the first
518    two components of a version number, so bumping the release does not render
519    binfiles incompatible.  Auto-bumping can be used to keep track of versions
520    during development without invalidating existing binfiles.
521    
522    In any case, every CMB.make updates the date information in version.sml.
523    (This is the date that is printed in the banner.)
524    
525    ----------------------------------------------------------------------
526    Name: Matthias Blume (blume (at) tti - c (dot) org)
527    Date: 2004/09/28 10:53:00 CDT
528    Tag: blume-20040928-controls
529    Description:
530    
531    Some cleanup of the controls code.
532    
533    ----------------------------------------------------------------------
534    Name: Matthias Blume (blume (at) tti - c (dot) org)
535    Date: 2004/09/27 22:08:00 CDT
536    Tag: blume-20040927-controls
537    Description:
538    
539    Added two pieces of functionality to the Controls interface:
540    
541    1.   val save'restore: 'a control -> unit -> unit
542    
543       grabs the current value of the control in stage 1 and restores it
544       in stage 2.
545    
546    2.   val set' : 'a control * 'a -> unit -> unit
547    
548       stores the given value into the control in stage 2 (i.e., delayed)
549       but does all error checking in stage 1.
550       (This is for string controls that need to do parse their argument --
551        something that might fail.  In some cases, notably in CM, one
552        already knows the intended argument but wants to delay the actual
553        assignment until a time when error recovery would be more difficult.)
554    
555    Changed the handling of controls in tool arguments to classes "sml" and
556    "lazysml":
557       - use Controls.save'restore as a more robust way of restoring the
558         old value (in particular: without having to re-parse the string)
559       - use controls to handle the "overload" keyword in the init group
560         (I believe this change actually fixes a long-standing obscure bug.)
561    
562    ----------------------------------------------------------------------
563    Name: Matthias Blume (blume (at) tti - c (dot) org)
564    Date: 2004/09/27 17:00:00 CDT
565    Tag: blume-20040927-lazysml
566    Description:
567    
568    Added a new tool class called "lazysml" to CM's tool chest.  The only
569    difference to "sml" is that compilation is done with Control.lazysml
570    set to true.  A source of class "lazysml" is automatically recognized
571    by a file name suffix of ".lml".
572    
573    In addition to the above feature, the original class "sml" now also
574    supports a tool argument "lazy" which has the same effect.  As a
575    result, the following three lines are equivalent:
576    
577        foo.sml : lazysml
578        foo.sml : sml (lazy)
579        foo.sml (lazy)
580    
581    The setting goes into effect both during parsing and during
582    compilation.  The original setting is restored right after parsing and
583    after compilation, respectively.
584    
585    In addition to all the above, there is also a general mechanism to set
586    ANY of the "controls" that are available at the command line via
587    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
588    apply as well. (In fact, "lazy" is implemented as a special case of
589    the general mechanism.)
590    
591    The .cm file syntax uses a new keyword tool argument called "with".
592    There are several ways of indicating the desired settings:
593    
594        foo.sml (with:parser.quotations=true)
595        foo.sml (with:(name:parser.quotations value:true))
596        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
597        foo.sml (with:(name1=value1 name2=value2 ...))
598        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
599    
600        etc.
601    
602    Another possible abbreviation is to leave out the =v or value:v part
603    if the name refers to a boolean control (in which case the value is
604    taken to be true).  Thus, one could get lazy sml also by saying:
605    
606        foo.sml (with:parser.lazy-keyword=true)
607        foo.sml (with:parser.lazy-keyword)
608        foo.sml (with:(name:parser.lazy-keyword value:true))
609        foo.sml (with:(name:parser.lazy-keyword))
610    
611    ----------------------------------------------------------------------
612    Name: Matthias Blume (blume (at) tti - c (dot) org)
613    Date: 2004/09/24 16:22:00 CDT
614    Tag: blume-20040924-ppc-long-branch
615    Description:
616    
617    Turned message about "emiting long form of branch" off by default.
618    Added a control flag to turn it back on when desired.
619    
620    ----------------------------------------------------------------------
621    Name: Matthias Blume (blume (at) tti - c (dot) org)
622    Date: 2004/09/24 16:05:00 CDT
623    Tag: blume-20040924-rounding
624    Description:
625    
626    Applied patch for setting rounding modes under Mac OS X.  Thanks to
627    Melissa O'Neill for providing the code!
628    
629    ----------------------------------------------------------------------
630    Name: Matthias Blume (blume (at) tti - c (dot) org)
631    Date: 2004/09/23 17:30:00 CDT
632    Tag: blume-20040923-envvars
633    Description:
634    
635    1. Changed definition of type ControlRegistry.registry_tree to
636       include control_info (i.e., the name of the controlling environment
637       variable).
638    
639    2. Added command-line flags -e and -E to print the names of environment
640       variables that can be used to control internal settings.
641       (This uses the new API mentioned in 1.)
642    
643    ----------------------------------------------------------------------
644    Name: Matthias Blume (blume (at) tti - c (dot) org)
645    Date: 2004/09/13 16:50:00 CDT
646    Tag: Release_110_49
647    Description:
648    
649    New working version (110.49).  NEW BOOTFILES!
650    
651    ----------------------------------------------------------------------
652    Name: Matthias Blume
653    Date: 2004/09/13 16:20:00 CDT
654    Tag: blume-20040913-config-mlrisc
655    Description:
656    
657    Put target "mlrisc" back into the default list.
658    (There is no harm in having it, and some users have expressed their
659    wish to have "mlrisc" included by default.)
660    
661    ----------------------------------------------------------------------
662    Name: John Reppy
663    Date: 2004/09/13
664    Tag: jhr-20040913-signals
665    Description:
666    
667    Fixed the signal masking code to properly nest mask/unmask operations
668    on a per-signal basis.
669    
670    ----------------------------------------------------------------------
671    Name: Matthias Blume (blume (at) tti - c (dot) org)
672    Date: 2004/09/08 13:20:00 CDT
673    Tag: blume-20040908-heap-magic
674    Description:
675    
676    Bumped the heap macig number to 0x09082004 to account for the changed
677    layout of the ML frame under MacOS X.
678    
679    ----------------------------------------------------------------------
680    Name: Allen Leung (leunga (at) reservoir (dot) com)
681    Date: 2004/09/03 11:26:00 EST
682    Tag: leunga-20040903-cygwin-install
683    Description:
684    
685       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
686    The Cygwin runtime is turned on by setting the environment
687    variable SMLNJ_CYGWIN_RUNTIME to 1.
688    
689    ----------------------------------------------------------------------
690    Name: Matthias Blume (blume (at) tti - c (dot) org)
691    Date: 2004/08/31 17:15:00 CDT
692    Tag: blume-20040831-core
693    Description:
694    
695    Added some exports to src/compiler/core.cm upon request by J. Joemann.
696    
697    ----------------------------------------------------------------------
698    Name: Matthias Blume (blume (at) tti - c (dot) org)
699    Date: 2004/08/30 17:55:00 CDT
700    Tag: blume-20040830-installer
701    Description:
702    
703    Upon request by Johannes Joemann:
704    
705    - improved ML code of installer to fall back to coping when renaming
706      fails (i.e., when source and target are on different file systems);
707      the code compiles but has yet to be tested in anger
708    - removed mlrisc from list of default targets (config/targets)
709    
710    ----------------------------------------------------------------------
711    Name: Matthias Blume (blume (at) tti - c (dot) org)
712    Date: 2004/08/27 17:20:00 CDT
713    Tag: blume-20040827-ptreql
714    Description:
715    
716    Added ptreql primop to structure InlineT (upon request from Larry
717    Paulson).
718    
719    ----------------------------------------------------------------------
720    Name: Allen Leung (leunga (at) reservoir (dot) com)
721    Date: 2004/08/15 21:21:00 EST
722    Tag: leunga-110_48-udgraph
723    Description:
724    
725    Another bug fix from Carl Hauser:
726    
727    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
728    > 48c48
729    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
730    > e::L)
731    > ---
732    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
733    > Without this, any deletion of an edge in an undirected graph does severe
734    > violence to the graph.
735    
736    ----------------------------------------------------------------------
737    Name: Allen Leung (leunga (at) reservoir (dot) com)
738    Date: 2004/08/10 23:35:00 EST
739    Tag: leunga-110_48-ppc
740    Description:
741    
742       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
743    
744    ----------------------------------------------------------------------
745    Name: Matthias Blume (blume (at) tti - c (dot) org)
746    Date: 2004/08/10 12:00:00 CDT
747    Tag: Release_110_48
748    Description:
749    
750    New working version (110.48).  NEW BOOTFILES!
751    
752    ----------------------------------------------------------------------
753    Name: Allen Leung (leunga (at) reservoir (dot) com)
754    Date: 2004/08/09 12:21:00 EST
755    Tag: leunga-110_47-dijsktra
756    Description:
757    
758    Bug fix from Carl Hauser:
759    
760    single_source_shortest_paths in dijkstra.sml was observed to get wrong
761    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
762    
763    The problem is that following the expression A.update(dist,s,Num.zero)
764    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
765    
766    ----------------------------------------------------------------------
767    Name: Matthias Blume (blume (at) tti - c (dot) org)
768    Date: 2004/08/06 18:10:00 CDT
769    Tag: blume-20040806-cmdline
770    Description:
771    
772    Fiddled with handling of command-line options:
773    
774      * sml now quits after processing the command line
775        if -H, -S, -h<n>, or -s<n> appears as the last
776        command-line argument
777      * a new option -q terminates the session when encountered on
778        the command line; subsequent arguments will be ignored
779      * bug fixes: short (erroneous) arguments are no longer ignored
780        completely
781    
782    ----------------------------------------------------------------------
783    Name: Allen Leung (leunga (at) reservoir (dot) com)
784    Date: 2004/08/04 18:17:00 EST
785    Tag: leunga-110_47-ppc-ibm-asm
786    Description:
787    
788      - Added minimal IBM assembly syntax support for PowerPC.
789    
790      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
791        been altered in the runtime.  We need an automatic way to keep the file
792        in sync.
793    
794    ----------------------------------------------------------------------
795    Name: Matthias Blume (blume (at) tti - c (dot) org)
796    Date: 2004/08/04 14:00:00 CDT
797    Tag: Release_110_47
798    Description:
799    
800    New working version (110.47).  NEW BOOTFILES!
801    
802    ----------------------------------------------------------------------
803    Name: Matthias Blume (blume (at) tti - c (dot) org)
804    Date: 2004/08/03 14:25:00 CDT
805    Tag: blume-20040803-callingconv
806    Description:
807    
808    Added low-level support for choosing C calling conventions by
809    twiddling the type of rawccall.  (See
810    src/compiler/Semant/types/cproto.sml for details.)
811    
812    ----------------------------------------------------------------------
813    Name: Matthias Blume (blume (at) tti - c (dot) org)
814    Date: 2004/08/02 15:55:00 CDT
815    Tag: blume-20040802-backout
816    Description:
817    
818    Backed out of change to win32-filesys.c.  The earlier patch to
819    get_file_time caused CM to produce files with the wrong time stamp.
820    
821    ----------------------------------------------------------------------
822    Name: Matthias Blume (blume (at) tti - c (dot) org)
823    Date: 2004/08/02 14:45:00 CDT
824    Tag: blume-20040802-nlffi-win32
825    Description:
826    
827    Added NLFFI support for Win32, adapted from a patch provided by David
828    Hansel.  This is currently completely untested.  Also, the issue
829    concerning stdcall vs. ccall is still unresolved.
830    
831    ----------------------------------------------------------------------
832    Name: Matthias Blume (blume (at) tti - c (dot) org)
833    Date: 2004/07/30 17:55:00 CDT
834    Tag: blume-20040730-various
835    Description:
836    
837    Gearing up towards 110.47...
838    
839    - various minor bugfixes to ml-nlffigen
840    - a beginning of a manual for nlffi
841    
842    - eliminated 'export name=value' in config/install.sh as this does
843      not work with certain versions of /bin/sh
844      (Thanks to David King at Motorola for catching this.)
845    
846    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
847      - added a test for tm==NULL to gmtime.c and localtime.c
848      - applied patch for incorrect GetFileTime under win32
849      - toSeconds -> toMilliseconds in Win32/win32-process.sml
850    
851    ----------------------------------------------------------------------
852    Name: Matthias Blume (blume (at) tti - c (dot) org)
853    Date: 2004/07/21 18:20:00 CDT
854    Tag: blume-20040721-nlffigen
855    Description:
856    
857    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
858      for a typedef to an incomplete type, but leave out the "typ" member.
859      (This is just for consistency.)
860    - Started to produce what is supposed to become better (i.e., comprehensive)
861      documentation of what ml-nlffigen does and produces.
862    
863    ----------------------------------------------------------------------
864    Name: Matthias Blume (blume (at) tti - c (dot) org)
865    Date: 2004/07/14 16:25:00 CDT
866    Tag: blume-20040714-union
867    Description:
868    
869    Added C_UNION to c-calls/c-types.sml and updated the machinery
870    (ml-nlffigen, cproto.sml) that conveys C function interface
871    information to the code generator.
872    
873    However, the actual architecture-specific implementation of function
874    arguments and results that are C unions is still not implemented.
875    
876    ----------------------------------------------------------------------
877    Name: Allen Leung (leunga (at) reservoir (dot) com)
878    Date: 2004/07/14 14:38:00 EST
879    Tag: leunga-110_46_1-ppc-lwzu
880    Description:
881    
882        Added these instructions to the PowerPC architecture:
883        LBZU(X), LHZU(X), LWZU(X),
884        STWU(X), STFDU, STFSU
885    
886        etc...
887    
888        Note: I haven't added their instruction encoding into the description.
889    
890    ----------------------------------------------------------------------
891    Name: Allen Leung (leunga (at) reservoir (dot) com)
892    Date: 2004/07/13 15:04:00 EST
893    Tag: leunga-110_46_1-ppc-lwarx
894    Description:
895    
896       Added the two instructions LWARX and STWCX to the PowerPC
897    instruction set.
898    
899       A (untested) rewrite of loop-structure.sml.  The old version
900    is completely broken.
901    
902    ----------------------------------------------------------------------
903    Name: Matthias Blume (blume (at) tti - c (dot) org)
904    Date: 2004/07/13 13:50:00 CDT
905    Tag: blume-20040713-nlffi
906    Description:
907    
908    - use paramAlloc to report c-calls with too many arguments
909      (for PPC version where parameter area is pre-allocated)
910    - added ccall_maxargspace to machspec (to implement the above)
911    - made "make" commend in CM's "make" tool configurable
912    - added option (default: on) for passing the name of the SML/NJ's "bin"
913      directory to "make"; the call looks like this:
914    
915         make <options> SMLNJ_BINDIR=<dir> <target>
916    
917      This can be used by the Makefile to, e.g., pick the "right" version
918      of ml-nlffigen.
919    - minor code tweaks
920    
921    ----------------------------------------------------------------------
922    Name: Matthias Blume (blume (at) tti - c (dot) org)
923    Date: 2004/07/12 22:50:00 CDT
924    Tag: blume-110_46_1-macosx-nlffi
925    Description:
926    
927    NLFFI under Mac OS X now working (sort of).  This is largely untested,
928    though.
929    
930    Note:  1. You have to make a new, clean build of the runtime system.
931           2. There are new BOOTFILES, you have to use them!
932              (Doing the bootstrap process yourself would be *very* painful!
933               If you absolutely have to do it, build the system under
934               a different architecture and then cross-compile.)
935    
936    Version bumped to 110.46.1 to account for runtime data format changes.
937    
938    ----------------------------------------------------------------------
939    Name: Matthias Blume (blume (at) tti - c (dot) org)
940    Date: 2004/06/18 14:30:00 CDT
941    Tag: blume-20040618-unix
942    Description:
943    
944    Changed the implementation of structure Unix so that the same stream
945    is returned every time one of the {text,bin}{In,Out}streamOf functions
946    is invoked on the same proc.  This is not what the spec currently
947    says -- although IMO it arguably should.  (See discussion below.)
948    
949    ----------------------------------------------------------------------
950    Name: Matthias Blume (blume (at) tti - c (dot) org)
951    Date: 2004/06/17 18:15:00 CDT
952    Tag: Release_110_46
953    Description:
954    
955    New working version (110.46).  NEW BOOTFILES!
956    
957    ----------------------------------------------------------------------
958    Name: Matthias Blume (blume (at) tti - c (dot) org)
959    Date: 2004/06/17 17:20:00 CDT
960    Tag: blume-20040617-timer-unix
961    Description:
962    
963    Changed the interface of structures Timer and Unix to match the most
964    recent Basis spec.
965    
966    In the case of Unix there still seems to be an open/weird issue:
967    
968       The {text,bin}{In,Out}streamOf functions are supposed to create
969       fresh streams whenever they are called -- as opposed to have them
970       return the same stream every time.  This design is supposed to
971       prevent space leaks caused by proc values hanging on to streams.
972    
973       The reap function, on the other hand, is supposed to close the
974       streams.  This cannot be done without having a handle on the
975       stream in proc after all...
976    
977    I took the liberty to implement the following stopgap solution:
978    
979      The proc value hangs on to the most recently created stream(s).
980      Reap closes those.  If either or both of the two streams hadn't
981      been created at all yet, then reap will close the corresponding
982      file descriptors directly.
983    
984    PS: I don't understand the original space leak argument anymore.  If
985    a proc hangs on to the imperative stream, then I/O operations on those
986    will advance the state of the cached stream and avoid the space leak.
987    
988    ----------------------------------------------------------------------
989    Name: Matthias Blume (blume (at) tti - c (dot) org)
990    Date: 2004/05/28 16:45:00 CDT
991    Tag: blume-20040528-basis
992    Description:
993    
994    Added signature PACK_REAL and exported functor PrimIO.
995    
996    ----------------------------------------------------------------------
997    Name: Matthias Blume (blume (at) tti - c (dot) org)
998    Date: 2004/05/25 16:00:00 CDT
999    Tag: blume-20040525-group-owner
1000    Description:
1001    
1002    CM now ignores (but still accepts) the "owner" information in group
1003    descriptions.  The owner of a group is its next enclosing
1004    library. Each group must have a unique owner.  (There is a virtual
1005    "toplevel" library that owns groups which are not nested within a real
1006    library.)  Previously, each group had to explicitly declare its owner,
1007    and CM would check that such a declaration is correct.  The new scheme
1008    is to have CM check that for each group there is precisely one owning
1009    library.
1010    
1011    The advantage of the new scheme is that the programmer no longer needs
1012    to maintain the somewhat annoying owner information.  The downside is
1013    that CM cannot enforce the ownership rule across multiple runs of
1014    CM.make.  Fortunately, enclosing the same group in two different
1015    libraries A and B which are not part of the same program does not
1016    cause real problems.
1017    
1018    ----------------------------------------------------------------------
1019    Name: Matthias Blume (blume (at) tti - c (dot) org)
1020    Date: 2004/05/20 16:00:00 CDT
1021    Tag: blume-20040520-win32
1022    Description:
1023    
1024    Made the win32 version work again.  (Strangely, a misplaced comma had
1025    slipped into win32-process.c which prevented the runtime from being
1026    compiled correctly.)
1027    
1028    Also, included a minor addition to ml-build.bat analogous to what was
1029    done in blume-20040519-ml-build.
1030    
1031    ----------------------------------------------------------------------
1032    Name: Matthias Blume (blume (at) tti - c (dot) org)
1033    Date: 2004/05/19 22:10:00 CDT
1034    Tag: blume-20040519-ml-build
1035    Description:
1036    
1037    Arranged for ml-build to clean up after itself a little bit better.
1038    The script generates a temporary SML source file and compiles it using
1039    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
1040    gets rid of those at the end, so they don't accumulate under .cm.
1041    
1042    This required a minor change to install.sh because the name of the
1043    metadata directory (default: .cm) is actually configurable at
1044    installation time.
1045    
1046    ----------------------------------------------------------------------
1047    Name: Matthias Blume (blume (at) tti - c (dot) org)
1048    Date: 2004/05/18 15:50:00 CDT
1049    Tag: blume-20040518-mkreader
1050    Description:
1051    
1052    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
1053    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
1054    
1055    ----------------------------------------------------------------------
1056    Name: Matthias Blume (blume (at) tti - c (dot) org)
1057    Date: 2004/05/11 14:35:00 CDT
1058    Tag: blume-20040511-win32sock
1059    Description:
1060    
1061    Added previously missing support for many socket-related functions
1062    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
1063    for the voluminous patch!
1064    
1065    (I have not tested this patch under win32 yet.)
1066    
1067    Here is David's e-mail:
1068    
1069    Hi,
1070    
1071    Attached to this email you find a diff against sml/nj 110.45
1072    that will enable socket support under Windows.
1073    
1074    To apply the patch (using unix or cygwin)
1075    1) gunzip runtime.diff.gz
1076    2) "cd" into "src/runtime" in the source tree of a fresh
1077       110.45 installation.
1078    3) patch -p 1 < [your/path/to]runtime.diff
1079    
1080    The code compiles fine but has NOT yet been extensively tested.
1081    I only ran a few tests for basic socket client functionality
1082    (which worked fine).  Especially the functions that use ioctl
1083    are not tested at all and might not work (see below).
1084    
1085    I implemented this since we want to move to a newer version of sml/nj
1086    but need socket support in order to use it.  This is the first time I
1087    even had a look at the sml/nj source,  so please review my changes
1088    before making this part of the distribution!  Here are a few issues
1089    that I think might be better for someone to solve who is more
1090    familiar with the sml/nj source (and socket programming):
1091    
1092    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
1093      exception since I could not figure out what the windows equivalent
1094      of these functions is
1095    
1096    - In sockets-osdep.h there are a some #include statements that are
1097      only used in a few files that include sockets-osdep.h
1098    
1099    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
1100      does not process its return value since I don't know how to
1101      report an error upwards.
1102    
1103    - It would probably be good to have a call to WSACleanup() when
1104      the library is unloaded (if there is such a possibility).
1105      Otherwise I think Windows will take care of this automatically
1106      when the process finishes.
1107    
1108    - I used ioctlsocket() as a replacement for ioctl() but I have
1109      no idea if that is actually the proper replacement on Windows.
1110    
1111    - All these issues are marked in the code by "FIXME" comments.
1112    
1113    We use sml/nj extensively in our products and are quite happy
1114    with it.  I hope this contribution will help you.
1115    
1116    Keep up the good work!
1117    
1118    David
1119    
1120    ----------------------------------------------------------------------
1121    Name: Matthias Blume (blume (at) tti - c (dot) org)
1122    Date: 2004/05/11 14:20:00 CDT
1123    Tag: blume-20040511-installml
1124    Description:
1125    
1126    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
1127    the patch.)
1128    
1129    ----------------------------------------------------------------------
1130    Name: Matthias Blume (blume (at) tti - c (dot) org)
1131    Date: 2004/05/11 14:05:00 CDT
1132    Tag: blume-20040511-nlffi-netbsd
1133    Description:
1134    
1135    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
1136    the patch.)
1137    
1138    ----------------------------------------------------------------------
1139    Name: Matthias Blume (blume (at) tti - c (dot) org)
1140    Date: 2004/05/11 12:05:00 CDT
1141    Tag: blume-20040511-exports
1142    Description:
1143    
1144    As per request by Adam Chlipala <adam@hcoop.net>, extended various
1145    export lists in compiler-related .cm-files.
1146    
1147    ----------------------------------------------------------------------
1148    Name: Matthias Blume (blume (at) tti - c (dot) org)
1149    Date: 2004/05/11 11:35:00 CDT
1150    Tag: blume-20040511-allsource
1151    Description:
1152    
1153    The installer now honors the "src-smlnj" target again, although its meaning
1154    has changed from "all sources required for the compiler" to "all sources
1155    the installer knows about".  In other words, if you enable "src-smlnj"
1156    in the "targets" file, then the installer will pull in sources for
1157    everything.  (Notice that this refers to source code only.  Compiled
1158    code is still only installed for modules that were requested explicitly
1159    or which are required for other modules that were requested explicitly.)
1160    
1161    ----------------------------------------------------------------------
1162    Name: Matthias Blume (blume (at) tti - c (dot) org)
1163    Date: 2004/04/23 17:40:00 CDT
1164    Tag: blume-20040423-ieee-scan
1165    Description:
1166    
1167    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
1168    in the exponent calculation we get INF or ZERO (depending on the mantissa
1169    and the sign of the exponent).
1170    
1171    ----------------------------------------------------------------------
1172    Name: Matthias Blume (blume (at) tti - c (dot) org)
1173    Date: 2004/04/23 10:40:00 CDT
1174    Tag: blume-20040423-ml-build
1175    Description:
1176    
1177    The ml-build script now terminates with a non-0 status when something
1178    goes wrong.
1179    
1180    ----------------------------------------------------------------------
1181    Name: Matthias Blume (blume (at) tti - c (dot) org)
1182    Date: 2004/04/22 16:35:00 CDT
1183    Tag: blume-20040422-Option
1184    Description:
1185    
1186    Made exception Option to be the same as exception Option.Option
1187    (as it should be).
1188    
1189    ----------------------------------------------------------------------
1190    Name: Allen Leung (leunga (at) reservoir (dot) com)
1191    Date: 2004/03/19 14:40:00 EST
1192    Tag: leunga-20040319-cygwin-nlffi
1193    Description:
1194    
1195    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
1196    of SML/NJ.  The problem is that
1197    
1198       lib = dlopen(NULL, ...)
1199       f   = dlsym(lib, "malloc");
1200    
1201    does not work on Windows unless we explicitly export symbols
1202    such as 'malloc' during linking.  We fixed this by explicitly
1203    exporting the required symbols with the magic gcc incantation:
1204    
1205        -Wl,--export-all cygwin.def
1206    
1207    where cygwin.def is a file containing all the symbols that
1208    we wish to export.
1209    
1210    I suspect this is a Windows problem and we'll have to
1211    do the same (somehow with windows compilers) when
1212    we build the native win32 version with the system
1213    calls LoadLibrary/GetProcAddress.
1214    
1215    ----------------------------------------------------------------------
1216    Name: Matthias Blume (blume (at) tti - c (dot) org)
1217    Date: 2004/03/04 16:35:00 CST
1218    Tag: blume-20040304-intinf-fmt
1219    Description:
1220    
1221    Fixed problem with IntInf.fmt (sign would show up on the right instead
1222    of on the left for BIN, OCT, and HEX).
1223    
1224    ----------------------------------------------------------------------
1225    Name: Matthias Blume (blume (at) tti - c (dot) org)
1226    Date: 2004/03/04 11:25:00 CST
1227    Tag: blume-20040304-symlinks
1228    Description:
1229    
1230    Fixed problem with installer script (unix only) where bin/ml-yacc and
1231    friends pointed (via symlinks) to absolute locations instead of just
1232    .run-sml.  This was reported by Vesa A Norrman.
1233    
1234    ----------------------------------------------------------------------
1235    Name: Matthias Blume (blume (at) tti - c (dot) org)
1236    Date: 2004/02/13 14:50:00 CST
1237    Tag: Release_110_45
1238    Description:
1239    
1240    New working version (110.45). New bootfiles.
1241    
1242    ----------------------------------------------------------------------
1243    Name: Matthias Blume (blume (at) tti - c (dot) org)
1244    Date: 2004/01/26 15:15:15 CST
1245    Tag: blume-20040126-toplevel
1246    Description:
1247    
1248    Improved handling of exceptions at the interactive toplevel.
1249    
1250    ----------------------------------------------------------------------
1251    Name: Matthias Blume (blume (at) tti - c (dot) org)
1252    Date: 2004/01/26 11:25:00
1253    Tag: blume-20040126-app
1254    Description:
1255    
1256    Type of top-level "app" corrected.
1257    Added code for setting vp_limitPtrMask to Win32-specific runtime.
1258    
1259    ----------------------------------------------------------------------
1260    Name: Matthias Blume (blume (at) tti - c (dot) org)
1261    Date: 2003/11/18 17:10 CST
1262    Tag: blume-20031118-basis-fiddle
1263    Description:
1264    
1265    - changed Timer interface to what might become the spec
1266    - POSIX_FLAGS -> BIT_FLAGS according to spec
1267    - some other minor discrepancies wrt. spec eliminated
1268    
1269    ----------------------------------------------------------------------
1270    Name: Matthias Blume (blume (at) tti - c (dot) org)
1271    Date: 2003/11/06 12:00:00 CST
1272    Tag: Release_110_44
1273    Description:
1274    
1275    New working version (110.44). New bootfiles.
1276    
1277    ----------------------------------------------------------------------
1278    Name: Matthias Blume (blume (at) tti - c (dot) org)
1279    Date: 2003/11/04 11:50:00 CST
1280    Tag: blume-20031104-move-libraries
1281    Description:
1282    
1283    Eliminated the "dont_move_libraries" directive in config/targets.
1284    (The mechanism was broken and could not be fixed easily.  Moreover,
1285    there does not seem to be any reason not to move all libraries into
1286    lib during installation.  I originally implemented this directive as a
1287    backward-compatibility feature when I first introduced the new CM.
1288    Now that things have been stable for a long time and going back to the
1289    old CM is not an option, there is no reason to keep it around.)
1290    
1291    ----------------------------------------------------------------------
1292    Name: Matthias Blume (blume (at) tti - c (dot) org)
1293    Date: 2003/11/03 16:00:00 CST
1294    Tag: blume-20031103-installdir
1295    Description:
1296    
1297    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
1298    Richards for pointing out the problem and providing the solution.)
1299    
1300    ----------------------------------------------------------------------
1301    Name: Matthias Blume (blume (at) tti - c (dot) org)
1302    Date: 2003/10/01 17:05:00 CDT
1303    Tag: blume-20031001-lal-mlrisc
1304    Description:
1305    
1306    MLRISC bug fix from Lal.
1307    
1308    ----------------------------------------------------------------------
1309    Name: Matthias Blume (blume (at) tti - c (dot) org)
1310    Date: 2003/09/30 16:10:00 CDT
1311    Tag: blume-20030930-primio-bat
1312    Description:
1313    
1314    1. Added openVector, nullRd, and nullWr to PRIM_IO.
1315    2. Improved .bat files (for Win32 port) to make things work under Win95.
1316       (thanks to Aaron S. Hawley for this one)
1317    
1318    ----------------------------------------------------------------------
1319    Name: Matthias Blume (blume (at) tti - c (dot) org)
1320    Date: 2003/09/26 16:05:00 CDT
1321    Tag: blume-20030926-wrappriv
1322    Description:
1323    
1324    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
1325    
1326    ----------------------------------------------------------------------
1327    Name: Matthias Blume (blume (at) tti - c (dot) org)
1328    Date: 2003/09/26 15:00:00 CDT
1329    Tag: blume-20030926-110_43_3
1330    Description:
1331    
1332    - additional cleanup
1333    - version number bump, NEW BOOTFILES
1334    
1335    ----------------------------------------------------------------------
1336    Name: Matthias Blume (blume (at) tti - c (dot) org)
1337    Date: 2003/09/26 12:00:00 CDT
1338    Tag: blume-20030926-ppautoload
1339    Description:
1340    
1341    I modified the read-eval-print loop so that the autoloader gets
1342    invoked whenever the prettyprinter tries to look up a symbol that
1343    is not currently defined in the toplevel environment but which
1344    appears in CM's autoload registry.  As a result, we see far fewer of
1345    those ?.Foo.Bar.xxx names in the prettyprinter's output.
1346    
1347    In addition to this I tried to clean up some pieces of the Basis
1348    implementation (e.g., Socket, Word8Array) in order to prevent other
1349    instances of these ?.Foo.Bar.xxx names from being printed.
1350    
1351    The mechanism that picks names for types still needs some work, though.
1352    (Right now it seems that if there is a type A.t which is defined to
1353    be B.u, but B is unavailable at toplevel, then A.t gets printed as
1354    "?.B.u" although the perhaps more sensible solution would be to use
1355    "A.t" in this case.  In other words, the prettyprinter should follow
1356    a chain of DEFtycs not farther than there are corresponding toplevel
1357    names in the current environment.)
1358    
1359    ----------------------------------------------------------------------
1360    Name: Matthias Blume (blume (at) tti - c (dot) org)
1361    Date: 2003/09/24 16:31:00 CDT
1362    Tag: blume-20030924-installer
1363    Description:
1364    
1365    Another installer tweak:  All the ML code for the installer is now
1366    compiled during CMB.make and put into a little library called
1367    $smlnj/installer.cm.  The installation then simply invokes
1368    
1369       sml -m $smlnj/installer.cm
1370    
1371    and everything happens automagically.
1372    
1373    Win32:  ML code senses value of environment variable SMLNJ_HOME.
1374    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
1375            and BINDIR.
1376    
1377    The new scheme guarantees that the ML code responsible for the installation
1378    is in sync with the APIs of the main system.  Also, the installer is
1379    somewhat faster because the installer script is precompiled.
1380    
1381    ----------------------------------------------------------------------
1382    Name: Matthias Blume (blume (at) tti - c (dot) org)
1383    Date: 2003/09/24 15:35:00 CDT
1384    Tag: blume-20030924-synsock
1385    Description:
1386    
1387    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
1388    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
1389    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
1390    implementations of non-blocking operations from CML's Socket
1391    structure.
1392    
1393    ----------------------------------------------------------------------
1394    Name: Matthias Blume (blume (at) tti - c (dot) org)
1395    Date: 2003/09/24 15:10:05 CDT
1396    Tag: blume-20030924-sockets
1397    Description:
1398    
1399    1. Fixed SOCKET API and implementation to match Basis spec.
1400       This required changing the internal representation of sockets to one
1401       that remembers (for each socket file descriptor) whether it is currently
1402       blocking or non-blocking.  This state is maintained lazily (i.e., a system
1403       call is made only if the state actually needs to change).
1404    
1405    2. OS-specific details of sockets were moved into separate files, thus
1406       making it possible to unify the bulk of the socket implementations
1407       between Unix and Win32.
1408    
1409    3. CML's socket API changed accordingly.
1410       (Note that we need to remove non-blocking functions from this API
1411       since they are redundant in the case of CML!)
1412    
1413    4. CML's socket implementation now makes use of non-blocking functions
1414       provided by Basis, thus removing all OS-dependent code from this part
1415       of CML.
1416    
1417    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
1418    
1419    ----------------------------------------------------------------------
1420    Name: Matthias Blume (blume (at) tti - c (dot) org)
1421    Date: 2003/09/22 12:10:00 CDT
1422    Tag: blume-20030922-110_43_2
1423    Description:
1424    
1425    Made a new interim version and bootfiles for developer's bootstrapping
1426    convenience.
1427    
1428       110.43.2 -- NEW BOOTFILES
1429    
1430    ----------------------------------------------------------------------
1431    Name: Matthias Blume (blume (at) tti - c (dot) org)
1432    Date: 2003/09/19 15:55:00 CDT
1433    Tag: blume-20030919-cmdir
1434    Description:
1435    
1436    1. new-install.sh -> install.sh
1437    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
1438    3. tweaked installer so that another name instead of .cm can be chosen
1439       at install time (by setting the CM_DIR_ARC environment variable
1440       during installation); once installation is complete, the name is
1441       fixed
1442    
1443    ----------------------------------------------------------------------
1444    Name: Matthias Blume (blume (at) tti - c (dot) org)
1445    Date: 2003/09/18 16:00:00 CDT
1446    Tag: blume-20030918-110_43_1
1447    Description:
1448    
1449    Made a new interim version and bootfiles for developer's bootstrapping
1450    convenience.
1451    
1452       110.43.1 -- NEW BOOTFILES
1453    
1454    ----------------------------------------------------------------------
1455    Name: Matthias Blume (blume (at) tti - c (dot) org)
1456    Date: 2003/09/18 15:20:00 CDT
1457    Tag: blume-20030918-misc
1458    Description:
1459    
1460    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
1461       this seems to be controversial at the moment) and used those in
1462       Posix.ProcEnv.times.
1463    
1464    2. Added Time.{from,to}Nanoseconds to Time.
1465    
1466    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
1467       For example, fromLargeInt never needs to look at more than 3 "big
1468       digits" to get its 53 bits of precision.
1469    
1470    ----------------------------------------------------------------------
1471    Name: Matthias Blume (blume (at) tti - c (dot) org)
1472    Date: 2003/09/17 16:30:00 CDT
1473    Tag: blume-20030917-real32-slices
1474    Description:
1475    
1476    Added an entry to the primitive environment
1477    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
1478    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
1479    
1480    Removed some of the "magic" constants in real64.sml and replaced them
1481    with code that generates these values from their corresponding
1482    integer counterparts.
1483    
1484    Made all(?) the slice-related changes to the Basis and made everything
1485    compile again...
1486    
1487    ----------------------------------------------------------------------
1488    Name: Matthias Blume (blume (at) tti - c (dot) org)
1489    Date: 2003/09/15 17:45:00 CDT
1490    Tag: blume-20030915-rbase
1491    Description:
1492    
1493    Fixed bug in Real.fromLargeInt.
1494    
1495    ----------------------------------------------------------------------
1496    Name: Matthias Blume (blume (at) tti - c (dot) org)
1497    Date: 2003/09/13 18:11:00 CDT
1498    Tag: blume-20030913-libinstall
1499    Description:
1500    
1501    Minor bugfix in config/libinstall (set anchor with path to
1502    standalone tool after installing it, otherwise libraries that
1503    need ml-lex or ml-yacc won't compile the first time the installer
1504    runs).
1505    
1506    ----------------------------------------------------------------------
1507    Name: Matthias Blume (blume (at) tti - c (dot) org)
1508    Date: 2003/09/12 11:45:00 CDT
1509    Tag: blume-20030912-various
1510    Description:
1511    
1512     - fixed bug in Real.toLargeInt
1513     - fixed bug in Posix.ProcEnv.times
1514     - changed inputLine functions to return an option
1515     - minor installer improvements / bugfixes
1516     - changed default @SMLalloc parameter for x86/celeron to 64k
1517    
1518    ----------------------------------------------------------------------
1519    Name: Matthias Blume (blume (at) tti - c (dot) org)
1520    Date: 2003/09/09 22:00:00 CDT
1521    Tag: Release_110_43
1522    Description:
1523    
1524        New working release 110.43.  New bootfiles.
1525    
1526    ----------------------------------------------------------------------
1527    Name: Matthias Blume (blume (at) tti - c (dot) org)
1528    Date: 2003/09/09 19:20:00 CDT
1529    Tag: blume-20030909-installer
1530    Description:
1531    
1532    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
1533    Modified config/install.bat to take advantage of it.  Also modified
1534    config/install.sh (and called it config/new-install.sh) to take advantage
1535    of it on Unix systems.  (The SML code is (supposed to be) platform-
1536    independent.)
1537    
1538    The installer can now install everything under Win32
1539    as well as under *nix as long as it compiles.
1540    
1541    Other changes:
1542    
1543      - made CML compile again under Win32
1544      - made eXene compile under Win32 (by providing a fake structure UnixSock
1545        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
1546      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
1547        same as type int;  under Win32 it isn't
1548      - fixed some slice-related problems in the win32-specific parts of CML
1549      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
1550        (under Win32, the volume name is case-insensitive, and the
1551        OS.Path code compares volume names for equality)
1552    
1553    ----------------------------------------------------------------------
1554    Name: Matthias Blume (blume (at) tti - c (dot) org)
1555    Date: 2003/09/08 11:55:00 CDT
1556    Tag: blume-20030908-fullpath
1557    Description:
1558    
1559    Made Win32 version of OS.FileSys.fullPath return current directory
1560    when given an empty string.  This is what the spec says, and incidentally,
1561    CM depends on it.  (CM otherwise goes into an infinite loop in certain
1562    cases when presented with the name of a non-existing .cm file.)
1563    
1564    ----------------------------------------------------------------------
1565    Name: Matthias Blume (blume (at) tti - c (dot) org)
1566    Date: 2003/09/04 16:30:00 CDT
1567    Tag: blume-20030905-slices-etc
1568    Description:
1569    
1570      1. Changed interface to vectors and arrays in Basis to match
1571         (draft) Basis spec.
1572      2. Added signatures and implementations of slices according to
1573         Basis spec.
1574      3. Edited source code throughout the system to make it compile again
1575         under 1. and 2.  (In some cases code had to be added to have it
1576         match the new signatures.)
1577      4. MLRISC should be backward-compatible: the copies of the originals
1578         of files that needed to change under 3. were retained, the .cm files
1579         check the compiler version number and use old versions when
1580         appropriate.
1581      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
1582         dirstream -> string option (in accordance with Basis spec).
1583      6. When generating code that counts lines, ml-lex used function
1584         CharVector.foldli, taking advantage of its old interface.
1585         This has been replaced with the corresponding code from
1586         CharVectorSlice.  (html-lex must be re-lexed!)
1587      7. BitArray in smlnj-lib/Util has been extended/modified to match the
1588         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
1589      8. Removed temporary additions (fromInternal, toInternal) from the
1590         (now obsolete) IntInf in smlnj-lib/Util.
1591      9. Cleaned up structure Byte.
1592     10. Added localOffset, scan, and fromString to Date (according to spec).
1593         Cleaned/corrected implementation of Date.
1594         (Still need to check for correctness; implement better canonicalizeDate.)
1595     11. Added "scan" to signature IEEE_REAL.
1596     12. Some improvements to IntInf [in particular: efficiency-hack for
1597         mod and rem when second operand is 2 (for parity checks).]
1598     13. Changed representation of type Time.time, using a single IntInf.int
1599         value counting microseconds.  This considerably simplified the
1600         implementation of structure Time.  We now support negative time
1601         values; scan and fromString handle signs.
1602     14. Functor PrimIO now takes two additional arguments (VectorSlice and
1603         ArraySlice).
1604    
1605    ----------------------------------------------------------------------
1606    Name: Matthias Blume (blume (at) tti - c (dot) org)
1607  Date: 2003/08/28 17:00:00 CDT  Date: 2003/08/28 17:00:00 CDT
1608  Tag: blume-20030828-intinf  Tag: blume-20030828-intinf
1609  Description:  Description:
# Line 100  Line 1690 
1690  has been added.  has been added.
1691    
1692  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1693  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1694  Date: 2003/08/11 15:45:00 CDT  Date: 2003/08/11 15:45:00 CDT
1695  Tag: blume-20030811-windows  Tag: blume-20030811-windows
1696  Description:  Description:
# Line 195  Line 1785 
1785  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
1786    
1787  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1788  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1789  Date: 2003/05/27 16:55:00 CDT  Date: 2003/05/27 16:55:00 CDT
1790  Tag: blume-20030527-polyeq  Tag: blume-20030527-polyeq
1791  Description:  Description:
# Line 203  Line 1793 
1793  Tried to eliminated most cases of polymorphic equality.  Tried to eliminated most cases of polymorphic equality.
1794    
1795  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1796  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1797  Date: 2003/05/21 17:45:00 CDT  Date: 2003/05/21 17:45:00 CDT
1798  Tag: blume-20030517-complete  Tag: blume-20030517-complete
1799  Description:  Description:
# Line 216  Line 1806 
1806       without a single non-exhaustive match- or bind warning.       without a single non-exhaustive match- or bind warning.
1807    
1808  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1809  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1810  Date: 2003/05/17 10:20:00 CDT  Date: 2003/05/17 10:20:00 CDT
1811  Tag: blume-20030517-absyn  Tag: blume-20030517-absyn
1812  Description:  Description:

Legend:
Removed from v.1348  
changed lines
  Added in v.1736

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