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

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

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