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

Legend:
Removed from v.1375  
changed lines
  Added in v.1720

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