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 1229, Fri May 31 21:10:34 2002 UTC revision 1633, Tue Sep 28 03:08:33 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/09/27 22:08:00 CDT
18    Tag: blume-20040927-controls
19    Description:
20    
21    Added two pieces of functionality to the Controls interface:
22    
23    1.   val save'restore: 'a control -> unit -> unit
24    
25       grabs the current value of the control in stage 1 and restores it
26       in stage 2.
27    
28    2.   val set' : 'a control * 'a -> unit -> unit
29    
30       stores the given value into the control in stage 2 (i.e., delayed)
31       but does all error checking in stage 1.
32       (This is for string controls that need to do parse their argument --
33        something that might fail.  In some cases, notably in CM, one
34        already knows the intended argument but wants to delay the actual
35        assignment until a time when error recovery would be more difficult.)
36    
37    Changed the handling of controls in tool arguments to classes "sml" and
38    "lazysml":
39       - use Controls.save'restore as a more robust way of restoring the
40         old value (in particular: without having to re-parse the string)
41       - use controls to handle the "overload" keyword in the init group
42         (I believe this change actually fixes a long-standing obscure bug.)
43    
44    ----------------------------------------------------------------------
45    Name: Matthias Blume (blume (at) tti - c (dot) org)
46    Date: 2004/09/27 17:00:00 CDT
47    Tag: blume-20040927-lazysml
48    Description:
49    
50    Added a new tool class called "lazysml" to CM's tool chest.  The only
51    difference to "sml" is that compilation is done with Control.lazysml
52    set to true.  A source of class "lazysml" is automatically recognized
53    by a file name suffix of ".lml".
54    
55    In addition to the above feature, the original class "sml" now also
56    supports a tool argument "lazy" which has the same effect.  As a
57    result, the following three lines are equivalent:
58    
59        foo.sml : lazysml
60        foo.sml : sml (lazy)
61        foo.sml (lazy)
62    
63    The setting goes into effect both during parsing and during
64    compilation.  The original setting is restored right after parsing and
65    after compilation, respectively.
66    
67    In addition to all the above, there is also a general mechanism to set
68    ANY of the "controls" that are available at the command line via
69    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
70    apply as well. (In fact, "lazy" is implemented as a special case of
71    the general mechanism.)
72    
73    The .cm file syntax uses a new keyword tool argument called "with".
74    There are several ways of indicating the desired settings:
75    
76        foo.sml (with:parser.quotations=true)
77        foo.sml (with:(name:parser.quotations value:true))
78        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
79        foo.sml (with:(name1=value1 name2=value2 ...))
80        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
81    
82        etc.
83    
84    Another possible abbreviation is to leave out the =v or value:v part
85    if the name refers to a boolean control (in which case the value is
86    taken to be true).  Thus, one could get lazy sml also by saying:
87    
88        foo.sml (with:parser.lazy-keyword=true)
89        foo.sml (with:parser.lazy-keyword)
90        foo.sml (with:(name:parser.lazy-keyword value:true))
91        foo.sml (with:(name:parser.lazy-keyword))
92    
93    ----------------------------------------------------------------------
94    Name: Matthias Blume (blume (at) tti - c (dot) org)
95    Date: 2004/09/24 16:22:00 CDT
96    Tag: blume-20040924-ppc-long-branch
97    Description:
98    
99    Turned message about "emiting long form of branch" off by default.
100    Added a control flag to turn it back on when desired.
101    
102    ----------------------------------------------------------------------
103    Name: Matthias Blume (blume (at) tti - c (dot) org)
104    Date: 2004/09/24 16:05:00 CDT
105    Tag: blume-20040924-rounding
106    Description:
107    
108    Applied patch for setting rounding modes under Mac OS X.  Thanks to
109    Melissa O'Neill for providing the code!
110    
111    ----------------------------------------------------------------------
112    Name: Matthias Blume (blume (at) tti - c (dot) org)
113    Date: 2004/09/23 17:30:00 CDT
114    Tag: blume-20040923-envvars
115    Description:
116    
117    1. Changed definition of type ControlRegistry.registry_tree to
118       include control_info (i.e., the name of the controlling environment
119       variable).
120    
121    2. Added command-line flags -e and -E to print the names of environment
122       variables that can be used to control internal settings.
123       (This uses the new API mentioned in 1.)
124    
125    ----------------------------------------------------------------------
126    Name: Matthias Blume (blume (at) tti - c (dot) org)
127    Date: 2004/09/13 16:50:00 CDT
128    Tag: Release_110_49
129    Description:
130    
131    New working version (110.49).  NEW BOOTFILES!
132    
133    ----------------------------------------------------------------------
134    Name: Matthias Blume
135    Date: 2004/09/13 16:20:00 CDT
136    Tag: blume-20040913-config-mlrisc
137    Description:
138    
139    Put target "mlrisc" back into the default list.
140    (There is no harm in having it, and some users have expressed their
141    wish to have "mlrisc" included by default.)
142    
143    ----------------------------------------------------------------------
144    Name: John Reppy
145    Date: 2004/09/13
146    Tag: jhr-20040913-signals
147    Description:
148    
149    Fixed the signal masking code to properly nest mask/unmask operations
150    on a per-signal basis.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume (blume (at) tti - c (dot) org)
154    Date: 2004/09/08 13:20:00 CDT
155    Tag: blume-20040908-heap-magic
156    Description:
157    
158    Bumped the heap macig number to 0x09082004 to account for the changed
159    layout of the ML frame under MacOS X.
160    
161    ----------------------------------------------------------------------
162    Name: Allen Leung (leunga (at) reservoir (dot) com)
163    Date: 2004/09/03 11:26:00 EST
164    Tag: leunga-20040903-cygwin-install
165    Description:
166    
167       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
168    The Cygwin runtime is turned on by setting the environment
169    variable SMLNJ_CYGWIN_RUNTIME to 1.
170    
171    ----------------------------------------------------------------------
172    Name: Matthias Blume (blume (at) tti - c (dot) org)
173    Date: 2004/08/31 17:15:00 CDT
174    Tag: blume-20040831-core
175    Description:
176    
177    Added some exports to src/compiler/core.cm upon request by J. Joemann.
178    
179    ----------------------------------------------------------------------
180    Name: Matthias Blume (blume (at) tti - c (dot) org)
181    Date: 2004/08/30 17:55:00 CDT
182    Tag: blume-20040830-installer
183    Description:
184    
185    Upon request by Johannes Joemann:
186    
187    - improved ML code of installer to fall back to coping when renaming
188      fails (i.e., when source and target are on different file systems);
189      the code compiles but has yet to be tested in anger
190    - removed mlrisc from list of default targets (config/targets)
191    
192    ----------------------------------------------------------------------
193    Name: Matthias Blume (blume (at) tti - c (dot) org)
194    Date: 2004/08/27 17:20:00 CDT
195    Tag: blume-20040827-ptreql
196    Description:
197    
198    Added ptreql primop to structure InlineT (upon request from Larry
199    Paulson).
200    
201    ----------------------------------------------------------------------
202    Name: Allen Leung (leunga (at) reservoir (dot) com)
203    Date: 2004/08/15 21:21:00 EST
204    Tag: leunga-110_48-udgraph
205    Description:
206    
207    Another bug fix from Carl Hauser:
208    
209    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
210    > 48c48
211    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
212    > e::L)
213    > ---
214    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
215    > Without this, any deletion of an edge in an undirected graph does severe
216    > violence to the graph.
217    
218    ----------------------------------------------------------------------
219    Name: Allen Leung (leunga (at) reservoir (dot) com)
220    Date: 2004/08/10 23:35:00 EST
221    Tag: leunga-110_48-ppc
222    Description:
223    
224       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
225    
226    ----------------------------------------------------------------------
227    Name: Matthias Blume (blume (at) tti - c (dot) org)
228    Date: 2004/08/10 12:00:00 CDT
229    Tag: Release_110_48
230    Description:
231    
232    New working version (110.48).  NEW BOOTFILES!
233    
234    ----------------------------------------------------------------------
235    Name: Allen Leung (leunga (at) reservoir (dot) com)
236    Date: 2004/08/09 12:21:00 EST
237    Tag: leunga-110_47-dijsktra
238    Description:
239    
240    Bug fix from Carl Hauser:
241    
242    single_source_shortest_paths in dijkstra.sml was observed to get wrong
243    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
244    
245    The problem is that following the expression A.update(dist,s,Num.zero)
246    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
247    
248    ----------------------------------------------------------------------
249    Name: Matthias Blume (blume (at) tti - c (dot) org)
250    Date: 2004/08/06 18:10:00 CDT
251    Tag: blume-20040806-cmdline
252    Description:
253    
254    Fiddled with handling of command-line options:
255    
256      * sml now quits after processing the command line
257        if -H, -S, -h<n>, or -s<n> appears as the last
258        command-line argument
259      * a new option -q terminates the session when encountered on
260        the command line; subsequent arguments will be ignored
261      * bug fixes: short (erroneous) arguments are no longer ignored
262        completely
263    
264    ----------------------------------------------------------------------
265    Name: Allen Leung (leunga (at) reservoir (dot) com)
266    Date: 2004/08/04 18:17:00 EST
267    Tag: leunga-110_47-ppc-ibm-asm
268    Description:
269    
270      - Added minimal IBM assembly syntax support for PowerPC.
271    
272      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
273        been altered in the runtime.  We need an automatic way to keep the file
274        in sync.
275    
276    ----------------------------------------------------------------------
277    Name: Matthias Blume (blume (at) tti - c (dot) org)
278    Date: 2004/08/04 14:00:00 CDT
279    Tag: Release_110_47
280    Description:
281    
282    New working version (110.47).  NEW BOOTFILES!
283    
284    ----------------------------------------------------------------------
285    Name: Matthias Blume (blume (at) tti - c (dot) org)
286    Date: 2004/08/03 14:25:00 CDT
287    Tag: blume-20040803-callingconv
288    Description:
289    
290    Added low-level support for choosing C calling conventions by
291    twiddling the type of rawccall.  (See
292    src/compiler/Semant/types/cproto.sml for details.)
293    
294    ----------------------------------------------------------------------
295    Name: Matthias Blume (blume (at) tti - c (dot) org)
296    Date: 2004/08/02 15:55:00 CDT
297    Tag: blume-20040802-backout
298    Description:
299    
300    Backed out of change to win32-filesys.c.  The earlier patch to
301    get_file_time caused CM to produce files with the wrong time stamp.
302    
303    ----------------------------------------------------------------------
304    Name: Matthias Blume (blume (at) tti - c (dot) org)
305    Date: 2004/08/02 14:45:00 CDT
306    Tag: blume-20040802-nlffi-win32
307    Description:
308    
309    Added NLFFI support for Win32, adapted from a patch provided by David
310    Hansel.  This is currently completely untested.  Also, the issue
311    concerning stdcall vs. ccall is still unresolved.
312    
313    ----------------------------------------------------------------------
314    Name: Matthias Blume (blume (at) tti - c (dot) org)
315    Date: 2004/07/30 17:55:00 CDT
316    Tag: blume-20040730-various
317    Description:
318    
319    Gearing up towards 110.47...
320    
321    - various minor bugfixes to ml-nlffigen
322    - a beginning of a manual for nlffi
323    
324    - eliminated 'export name=value' in config/install.sh as this does
325      not work with certain versions of /bin/sh
326      (Thanks to David King at Motorola for catching this.)
327    
328    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
329      - added a test for tm==NULL to gmtime.c and localtime.c
330      - applied patch for incorrect GetFileTime under win32
331      - toSeconds -> toMilliseconds in Win32/win32-process.sml
332    
333    ----------------------------------------------------------------------
334    Name: Matthias Blume (blume (at) tti - c (dot) org)
335    Date: 2004/07/21 18:20:00 CDT
336    Tag: blume-20040721-nlffigen
337    Description:
338    
339    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
340      for a typedef to an incomplete type, but leave out the "typ" member.
341      (This is just for consistency.)
342    - Started to produce what is supposed to become better (i.e., comprehensive)
343      documentation of what ml-nlffigen does and produces.
344    
345    ----------------------------------------------------------------------
346    Name: Matthias Blume (blume (at) tti - c (dot) org)
347    Date: 2004/07/14 16:25:00 CDT
348    Tag: blume-20040714-union
349    Description:
350    
351    Added C_UNION to c-calls/c-types.sml and updated the machinery
352    (ml-nlffigen, cproto.sml) that conveys C function interface
353    information to the code generator.
354    
355    However, the actual architecture-specific implementation of function
356    arguments and results that are C unions is still not implemented.
357    
358    ----------------------------------------------------------------------
359    Name: Allen Leung (leunga (at) reservoir (dot) com)
360    Date: 2004/07/14 14:38:00 EST
361    Tag: leunga-110_46_1-ppc-lwzu
362    Description:
363    
364        Added these instructions to the PowerPC architecture:
365        LBZU(X), LHZU(X), LWZU(X),
366        STWU(X), STFDU, STFSU
367    
368        etc...
369    
370        Note: I haven't added their instruction encoding into the description.
371    
372    ----------------------------------------------------------------------
373    Name: Allen Leung (leunga (at) reservoir (dot) com)
374    Date: 2004/07/13 15:04:00 EST
375    Tag: leunga-110_46_1-ppc-lwarx
376    Description:
377    
378       Added the two instructions LWARX and STWCX to the PowerPC
379    instruction set.
380    
381       A (untested) rewrite of loop-structure.sml.  The old version
382    is completely broken.
383    
384    ----------------------------------------------------------------------
385    Name: Matthias Blume (blume (at) tti - c (dot) org)
386    Date: 2004/07/13 13:50:00 CDT
387    Tag: blume-20040713-nlffi
388    Description:
389    
390    - use paramAlloc to report c-calls with too many arguments
391      (for PPC version where parameter area is pre-allocated)
392    - added ccall_maxargspace to machspec (to implement the above)
393    - made "make" commend in CM's "make" tool configurable
394    - added option (default: on) for passing the name of the SML/NJ's "bin"
395      directory to "make"; the call looks like this:
396    
397         make <options> SMLNJ_BINDIR=<dir> <target>
398    
399      This can be used by the Makefile to, e.g., pick the "right" version
400      of ml-nlffigen.
401    - minor code tweaks
402    
403    ----------------------------------------------------------------------
404    Name: Matthias Blume (blume (at) tti - c (dot) org)
405    Date: 2004/07/12 22:50:00 CDT
406    Tag: blume-110_46_1-macosx-nlffi
407    Description:
408    
409    NLFFI under Mac OS X now working (sort of).  This is largely untested,
410    though.
411    
412    Note:  1. You have to make a new, clean build of the runtime system.
413           2. There are new BOOTFILES, you have to use them!
414              (Doing the bootstrap process yourself would be *very* painful!
415               If you absolutely have to do it, build the system under
416               a different architecture and then cross-compile.)
417    
418    Version bumped to 110.46.1 to account for runtime data format changes.
419    
420    ----------------------------------------------------------------------
421    Name: Matthias Blume (blume (at) tti - c (dot) org)
422    Date: 2004/06/18 14:30:00 CDT
423    Tag: blume-20040618-unix
424    Description:
425    
426    Changed the implementation of structure Unix so that the same stream
427    is returned every time one of the {text,bin}{In,Out}streamOf functions
428    is invoked on the same proc.  This is not what the spec currently
429    says -- although IMO it arguably should.  (See discussion below.)
430    
431    ----------------------------------------------------------------------
432    Name: Matthias Blume (blume (at) tti - c (dot) org)
433    Date: 2004/06/17 18:15:00 CDT
434    Tag: Release_110_46
435    Description:
436    
437    New working version (110.46).  NEW BOOTFILES!
438    
439    ----------------------------------------------------------------------
440    Name: Matthias Blume (blume (at) tti - c (dot) org)
441    Date: 2004/06/17 17:20:00 CDT
442    Tag: blume-20040617-timer-unix
443    Description:
444    
445    Changed the interface of structures Timer and Unix to match the most
446    recent Basis spec.
447    
448    In the case of Unix there still seems to be an open/weird issue:
449    
450       The {text,bin}{In,Out}streamOf functions are supposed to create
451       fresh streams whenever they are called -- as opposed to have them
452       return the same stream every time.  This design is supposed to
453       prevent space leaks caused by proc values hanging on to streams.
454    
455       The reap function, on the other hand, is supposed to close the
456       streams.  This cannot be done without having a handle on the
457       stream in proc after all...
458    
459    I took the liberty to implement the following stopgap solution:
460    
461      The proc value hangs on to the most recently created stream(s).
462      Reap closes those.  If either or both of the two streams hadn't
463      been created at all yet, then reap will close the corresponding
464      file descriptors directly.
465    
466    PS: I don't understand the original space leak argument anymore.  If
467    a proc hangs on to the imperative stream, then I/O operations on those
468    will advance the state of the cached stream and avoid the space leak.
469    
470    ----------------------------------------------------------------------
471    Name: Matthias Blume (blume (at) tti - c (dot) org)
472    Date: 2004/05/28 16:45:00 CDT
473    Tag: blume-20040528-basis
474    Description:
475    
476    Added signature PACK_REAL and exported functor PrimIO.
477    
478    ----------------------------------------------------------------------
479    Name: Matthias Blume (blume (at) tti - c (dot) org)
480    Date: 2004/05/25 16:00:00 CDT
481    Tag: blume-20040525-group-owner
482    Description:
483    
484    CM now ignores (but still accepts) the "owner" information in group
485    descriptions.  The owner of a group is its next enclosing
486    library. Each group must have a unique owner.  (There is a virtual
487    "toplevel" library that owns groups which are not nested within a real
488    library.)  Previously, each group had to explicitly declare its owner,
489    and CM would check that such a declaration is correct.  The new scheme
490    is to have CM check that for each group there is precisely one owning
491    library.
492    
493    The advantage of the new scheme is that the programmer no longer needs
494    to maintain the somewhat annoying owner information.  The downside is
495    that CM cannot enforce the ownership rule across multiple runs of
496    CM.make.  Fortunately, enclosing the same group in two different
497    libraries A and B which are not part of the same program does not
498    cause real problems.
499    
500    ----------------------------------------------------------------------
501    Name: Matthias Blume (blume (at) tti - c (dot) org)
502    Date: 2004/05/20 16:00:00 CDT
503    Tag: blume-20040520-win32
504    Description:
505    
506    Made the win32 version work again.  (Strangely, a misplaced comma had
507    slipped into win32-process.c which prevented the runtime from being
508    compiled correctly.)
509    
510    Also, included a minor addition to ml-build.bat analogous to what was
511    done in blume-20040519-ml-build.
512    
513    ----------------------------------------------------------------------
514    Name: Matthias Blume (blume (at) tti - c (dot) org)
515    Date: 2004/05/19 22:10:00 CDT
516    Tag: blume-20040519-ml-build
517    Description:
518    
519    Arranged for ml-build to clean up after itself a little bit better.
520    The script generates a temporary SML source file and compiles it using
521    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
522    gets rid of those at the end, so they don't accumulate under .cm.
523    
524    This required a minor change to install.sh because the name of the
525    metadata directory (default: .cm) is actually configurable at
526    installation time.
527    
528    ----------------------------------------------------------------------
529    Name: Matthias Blume (blume (at) tti - c (dot) org)
530    Date: 2004/05/18 15:50:00 CDT
531    Tag: blume-20040518-mkreader
532    Description:
533    
534    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
535    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
536    
537    ----------------------------------------------------------------------
538    Name: Matthias Blume (blume (at) tti - c (dot) org)
539    Date: 2004/05/11 14:35:00 CDT
540    Tag: blume-20040511-win32sock
541    Description:
542    
543    Added previously missing support for many socket-related functions
544    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
545    for the voluminous patch!
546    
547    (I have not tested this patch under win32 yet.)
548    
549    Here is David's e-mail:
550    
551    Hi,
552    
553    Attached to this email you find a diff against sml/nj 110.45
554    that will enable socket support under Windows.
555    
556    To apply the patch (using unix or cygwin)
557    1) gunzip runtime.diff.gz
558    2) "cd" into "src/runtime" in the source tree of a fresh
559       110.45 installation.
560    3) patch -p 1 < [your/path/to]runtime.diff
561    
562    The code compiles fine but has NOT yet been extensively tested.
563    I only ran a few tests for basic socket client functionality
564    (which worked fine).  Especially the functions that use ioctl
565    are not tested at all and might not work (see below).
566    
567    I implemented this since we want to move to a newer version of sml/nj
568    but need socket support in order to use it.  This is the first time I
569    even had a look at the sml/nj source,  so please review my changes
570    before making this part of the distribution!  Here are a few issues
571    that I think might be better for someone to solve who is more
572    familiar with the sml/nj source (and socket programming):
573    
574    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
575      exception since I could not figure out what the windows equivalent
576      of these functions is
577    
578    - In sockets-osdep.h there are a some #include statements that are
579      only used in a few files that include sockets-osdep.h
580    
581    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
582      does not process its return value since I don't know how to
583      report an error upwards.
584    
585    - It would probably be good to have a call to WSACleanup() when
586      the library is unloaded (if there is such a possibility).
587      Otherwise I think Windows will take care of this automatically
588      when the process finishes.
589    
590    - I used ioctlsocket() as a replacement for ioctl() but I have
591      no idea if that is actually the proper replacement on Windows.
592    
593    - All these issues are marked in the code by "FIXME" comments.
594    
595    We use sml/nj extensively in our products and are quite happy
596    with it.  I hope this contribution will help you.
597    
598    Keep up the good work!
599    
600    David
601    
602    ----------------------------------------------------------------------
603    Name: Matthias Blume (blume (at) tti - c (dot) org)
604    Date: 2004/05/11 14:20:00 CDT
605    Tag: blume-20040511-installml
606    Description:
607    
608    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
609    the patch.)
610    
611    ----------------------------------------------------------------------
612    Name: Matthias Blume (blume (at) tti - c (dot) org)
613    Date: 2004/05/11 14:05:00 CDT
614    Tag: blume-20040511-nlffi-netbsd
615    Description:
616    
617    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
618    the patch.)
619    
620    ----------------------------------------------------------------------
621    Name: Matthias Blume (blume (at) tti - c (dot) org)
622    Date: 2004/05/11 12:05:00 CDT
623    Tag: blume-20040511-exports
624    Description:
625    
626    As per request by Adam Chlipala <adam@hcoop.net>, extended various
627    export lists in compiler-related .cm-files.
628    
629    ----------------------------------------------------------------------
630    Name: Matthias Blume (blume (at) tti - c (dot) org)
631    Date: 2004/05/11 11:35:00 CDT
632    Tag: blume-20040511-allsource
633    Description:
634    
635    The installer now honors the "src-smlnj" target again, although its meaning
636    has changed from "all sources required for the compiler" to "all sources
637    the installer knows about".  In other words, if you enable "src-smlnj"
638    in the "targets" file, then the installer will pull in sources for
639    everything.  (Notice that this refers to source code only.  Compiled
640    code is still only installed for modules that were requested explicitly
641    or which are required for other modules that were requested explicitly.)
642    
643    ----------------------------------------------------------------------
644    Name: Matthias Blume (blume (at) tti - c (dot) org)
645    Date: 2004/04/23 17:40:00 CDT
646    Tag: blume-20040423-ieee-scan
647    Description:
648    
649    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
650    in the exponent calculation we get INF or ZERO (depending on the mantissa
651    and the sign of the exponent).
652    
653    ----------------------------------------------------------------------
654    Name: Matthias Blume (blume (at) tti - c (dot) org)
655    Date: 2004/04/23 10:40:00 CDT
656    Tag: blume-20040423-ml-build
657    Description:
658    
659    The ml-build script now terminates with a non-0 status when something
660    goes wrong.
661    
662    ----------------------------------------------------------------------
663    Name: Matthias Blume (blume (at) tti - c (dot) org)
664    Date: 2004/04/22 16:35:00 CDT
665    Tag: blume-20040422-Option
666    Description:
667    
668    Made exception Option to be the same as exception Option.Option
669    (as it should be).
670    
671    ----------------------------------------------------------------------
672    Name: Allen Leung (leunga (at) reservoir (dot) com)
673    Date: 2004/03/19 14:40:00 EST
674    Tag: leunga-20040319-cygwin-nlffi
675    Description:
676    
677    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
678    of SML/NJ.  The problem is that
679    
680       lib = dlopen(NULL, ...)
681       f   = dlsym(lib, "malloc");
682    
683    does not work on Windows unless we explicitly export symbols
684    such as 'malloc' during linking.  We fixed this by explicitly
685    exporting the required symbols with the magic gcc incantation:
686    
687        -Wl,--export-all cygwin.def
688    
689    where cygwin.def is a file containing all the symbols that
690    we wish to export.
691    
692    I suspect this is a Windows problem and we'll have to
693    do the same (somehow with windows compilers) when
694    we build the native win32 version with the system
695    calls LoadLibrary/GetProcAddress.
696    
697    ----------------------------------------------------------------------
698    Name: Matthias Blume (blume (at) tti - c (dot) org)
699    Date: 2004/03/04 16:35:00 CST
700    Tag: blume-20040304-intinf-fmt
701    Description:
702    
703    Fixed problem with IntInf.fmt (sign would show up on the right instead
704    of on the left for BIN, OCT, and HEX).
705    
706    ----------------------------------------------------------------------
707    Name: Matthias Blume (blume (at) tti - c (dot) org)
708    Date: 2004/03/04 11:25:00 CST
709    Tag: blume-20040304-symlinks
710    Description:
711    
712    Fixed problem with installer script (unix only) where bin/ml-yacc and
713    friends pointed (via symlinks) to absolute locations instead of just
714    .run-sml.  This was reported by Vesa A Norrman.
715    
716    ----------------------------------------------------------------------
717    Name: Matthias Blume (blume (at) tti - c (dot) org)
718    Date: 2004/02/13 14:50:00 CST
719    Tag: Release_110_45
720    Description:
721    
722    New working version (110.45). New bootfiles.
723    
724    ----------------------------------------------------------------------
725    Name: Matthias Blume (blume (at) tti - c (dot) org)
726    Date: 2004/01/26 15:15:15 CST
727    Tag: blume-20040126-toplevel
728    Description:
729    
730    Improved handling of exceptions at the interactive toplevel.
731    
732    ----------------------------------------------------------------------
733    Name: Matthias Blume (blume (at) tti - c (dot) org)
734    Date: 2004/01/26 11:25:00
735    Tag: blume-20040126-app
736    Description:
737    
738    Type of top-level "app" corrected.
739    Added code for setting vp_limitPtrMask to Win32-specific runtime.
740    
741    ----------------------------------------------------------------------
742    Name: Matthias Blume (blume (at) tti - c (dot) org)
743    Date: 2003/11/18 17:10 CST
744    Tag: blume-20031118-basis-fiddle
745    Description:
746    
747    - changed Timer interface to what might become the spec
748    - POSIX_FLAGS -> BIT_FLAGS according to spec
749    - some other minor discrepancies wrt. spec eliminated
750    
751    ----------------------------------------------------------------------
752    Name: Matthias Blume (blume (at) tti - c (dot) org)
753    Date: 2003/11/06 12:00:00 CST
754    Tag: Release_110_44
755    Description:
756    
757    New working version (110.44). New bootfiles.
758    
759    ----------------------------------------------------------------------
760    Name: Matthias Blume (blume (at) tti - c (dot) org)
761    Date: 2003/11/04 11:50:00 CST
762    Tag: blume-20031104-move-libraries
763    Description:
764    
765    Eliminated the "dont_move_libraries" directive in config/targets.
766    (The mechanism was broken and could not be fixed easily.  Moreover,
767    there does not seem to be any reason not to move all libraries into
768    lib during installation.  I originally implemented this directive as a
769    backward-compatibility feature when I first introduced the new CM.
770    Now that things have been stable for a long time and going back to the
771    old CM is not an option, there is no reason to keep it around.)
772    
773    ----------------------------------------------------------------------
774    Name: Matthias Blume (blume (at) tti - c (dot) org)
775    Date: 2003/11/03 16:00:00 CST
776    Tag: blume-20031103-installdir
777    Description:
778    
779    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
780    Richards for pointing out the problem and providing the solution.)
781    
782    ----------------------------------------------------------------------
783    Name: Matthias Blume (blume (at) tti - c (dot) org)
784    Date: 2003/10/01 17:05:00 CDT
785    Tag: blume-20031001-lal-mlrisc
786    Description:
787    
788    MLRISC bug fix from Lal.
789    
790    ----------------------------------------------------------------------
791    Name: Matthias Blume (blume (at) tti - c (dot) org)
792    Date: 2003/09/30 16:10:00 CDT
793    Tag: blume-20030930-primio-bat
794    Description:
795    
796    1. Added openVector, nullRd, and nullWr to PRIM_IO.
797    2. Improved .bat files (for Win32 port) to make things work under Win95.
798       (thanks to Aaron S. Hawley for this one)
799    
800    ----------------------------------------------------------------------
801    Name: Matthias Blume (blume (at) tti - c (dot) org)
802    Date: 2003/09/26 16:05:00 CDT
803    Tag: blume-20030926-wrappriv
804    Description:
805    
806    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
807    
808    ----------------------------------------------------------------------
809    Name: Matthias Blume (blume (at) tti - c (dot) org)
810    Date: 2003/09/26 15:00:00 CDT
811    Tag: blume-20030926-110_43_3
812    Description:
813    
814    - additional cleanup
815    - version number bump, NEW BOOTFILES
816    
817    ----------------------------------------------------------------------
818    Name: Matthias Blume (blume (at) tti - c (dot) org)
819    Date: 2003/09/26 12:00:00 CDT
820    Tag: blume-20030926-ppautoload
821    Description:
822    
823    I modified the read-eval-print loop so that the autoloader gets
824    invoked whenever the prettyprinter tries to look up a symbol that
825    is not currently defined in the toplevel environment but which
826    appears in CM's autoload registry.  As a result, we see far fewer of
827    those ?.Foo.Bar.xxx names in the prettyprinter's output.
828    
829    In addition to this I tried to clean up some pieces of the Basis
830    implementation (e.g., Socket, Word8Array) in order to prevent other
831    instances of these ?.Foo.Bar.xxx names from being printed.
832    
833    The mechanism that picks names for types still needs some work, though.
834    (Right now it seems that if there is a type A.t which is defined to
835    be B.u, but B is unavailable at toplevel, then A.t gets printed as
836    "?.B.u" although the perhaps more sensible solution would be to use
837    "A.t" in this case.  In other words, the prettyprinter should follow
838    a chain of DEFtycs not farther than there are corresponding toplevel
839    names in the current environment.)
840    
841    ----------------------------------------------------------------------
842    Name: Matthias Blume (blume (at) tti - c (dot) org)
843    Date: 2003/09/24 16:31:00 CDT
844    Tag: blume-20030924-installer
845    Description:
846    
847    Another installer tweak:  All the ML code for the installer is now
848    compiled during CMB.make and put into a little library called
849    $smlnj/installer.cm.  The installation then simply invokes
850    
851       sml -m $smlnj/installer.cm
852    
853    and everything happens automagically.
854    
855    Win32:  ML code senses value of environment variable SMLNJ_HOME.
856    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
857            and BINDIR.
858    
859    The new scheme guarantees that the ML code responsible for the installation
860    is in sync with the APIs of the main system.  Also, the installer is
861    somewhat faster because the installer script is precompiled.
862    
863    ----------------------------------------------------------------------
864    Name: Matthias Blume (blume (at) tti - c (dot) org)
865    Date: 2003/09/24 15:35:00 CDT
866    Tag: blume-20030924-synsock
867    Description:
868    
869    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
870    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
871    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
872    implementations of non-blocking operations from CML's Socket
873    structure.
874    
875    ----------------------------------------------------------------------
876    Name: Matthias Blume (blume (at) tti - c (dot) org)
877    Date: 2003/09/24 15:10:05 CDT
878    Tag: blume-20030924-sockets
879    Description:
880    
881    1. Fixed SOCKET API and implementation to match Basis spec.
882       This required changing the internal representation of sockets to one
883       that remembers (for each socket file descriptor) whether it is currently
884       blocking or non-blocking.  This state is maintained lazily (i.e., a system
885       call is made only if the state actually needs to change).
886    
887    2. OS-specific details of sockets were moved into separate files, thus
888       making it possible to unify the bulk of the socket implementations
889       between Unix and Win32.
890    
891    3. CML's socket API changed accordingly.
892       (Note that we need to remove non-blocking functions from this API
893       since they are redundant in the case of CML!)
894    
895    4. CML's socket implementation now makes use of non-blocking functions
896       provided by Basis, thus removing all OS-dependent code from this part
897       of CML.
898    
899    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
900    
901    ----------------------------------------------------------------------
902    Name: Matthias Blume (blume (at) tti - c (dot) org)
903    Date: 2003/09/22 12:10:00 CDT
904    Tag: blume-20030922-110_43_2
905    Description:
906    
907    Made a new interim version and bootfiles for developer's bootstrapping
908    convenience.
909    
910       110.43.2 -- NEW BOOTFILES
911    
912    ----------------------------------------------------------------------
913    Name: Matthias Blume (blume (at) tti - c (dot) org)
914    Date: 2003/09/19 15:55:00 CDT
915    Tag: blume-20030919-cmdir
916    Description:
917    
918    1. new-install.sh -> install.sh
919    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
920    3. tweaked installer so that another name instead of .cm can be chosen
921       at install time (by setting the CM_DIR_ARC environment variable
922       during installation); once installation is complete, the name is
923       fixed
924    
925    ----------------------------------------------------------------------
926    Name: Matthias Blume (blume (at) tti - c (dot) org)
927    Date: 2003/09/18 16:00:00 CDT
928    Tag: blume-20030918-110_43_1
929    Description:
930    
931    Made a new interim version and bootfiles for developer's bootstrapping
932    convenience.
933    
934       110.43.1 -- NEW BOOTFILES
935    
936    ----------------------------------------------------------------------
937    Name: Matthias Blume (blume (at) tti - c (dot) org)
938    Date: 2003/09/18 15:20:00 CDT
939    Tag: blume-20030918-misc
940    Description:
941    
942    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
943       this seems to be controversial at the moment) and used those in
944       Posix.ProcEnv.times.
945    
946    2. Added Time.{from,to}Nanoseconds to Time.
947    
948    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
949       For example, fromLargeInt never needs to look at more than 3 "big
950       digits" to get its 53 bits of precision.
951    
952    ----------------------------------------------------------------------
953    Name: Matthias Blume (blume (at) tti - c (dot) org)
954    Date: 2003/09/17 16:30:00 CDT
955    Tag: blume-20030917-real32-slices
956    Description:
957    
958    Added an entry to the primitive environment
959    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
960    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
961    
962    Removed some of the "magic" constants in real64.sml and replaced them
963    with code that generates these values from their corresponding
964    integer counterparts.
965    
966    Made all(?) the slice-related changes to the Basis and made everything
967    compile again...
968    
969    ----------------------------------------------------------------------
970    Name: Matthias Blume (blume (at) tti - c (dot) org)
971    Date: 2003/09/15 17:45:00 CDT
972    Tag: blume-20030915-rbase
973    Description:
974    
975    Fixed bug in Real.fromLargeInt.
976    
977    ----------------------------------------------------------------------
978    Name: Matthias Blume (blume (at) tti - c (dot) org)
979    Date: 2003/09/13 18:11:00 CDT
980    Tag: blume-20030913-libinstall
981    Description:
982    
983    Minor bugfix in config/libinstall (set anchor with path to
984    standalone tool after installing it, otherwise libraries that
985    need ml-lex or ml-yacc won't compile the first time the installer
986    runs).
987    
988    ----------------------------------------------------------------------
989    Name: Matthias Blume (blume (at) tti - c (dot) org)
990    Date: 2003/09/12 11:45:00 CDT
991    Tag: blume-20030912-various
992    Description:
993    
994     - fixed bug in Real.toLargeInt
995     - fixed bug in Posix.ProcEnv.times
996     - changed inputLine functions to return an option
997     - minor installer improvements / bugfixes
998     - changed default @SMLalloc parameter for x86/celeron to 64k
999    
1000    ----------------------------------------------------------------------
1001    Name: Matthias Blume (blume (at) tti - c (dot) org)
1002    Date: 2003/09/09 22:00:00 CDT
1003    Tag: Release_110_43
1004    Description:
1005    
1006        New working release 110.43.  New bootfiles.
1007    
1008    ----------------------------------------------------------------------
1009    Name: Matthias Blume (blume (at) tti - c (dot) org)
1010    Date: 2003/09/09 19:20:00 CDT
1011    Tag: blume-20030909-installer
1012    Description:
1013    
1014    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
1015    Modified config/install.bat to take advantage of it.  Also modified
1016    config/install.sh (and called it config/new-install.sh) to take advantage
1017    of it on Unix systems.  (The SML code is (supposed to be) platform-
1018    independent.)
1019    
1020    The installer can now install everything under Win32
1021    as well as under *nix as long as it compiles.
1022    
1023    Other changes:
1024    
1025      - made CML compile again under Win32
1026      - made eXene compile under Win32 (by providing a fake structure UnixSock
1027        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
1028      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
1029        same as type int;  under Win32 it isn't
1030      - fixed some slice-related problems in the win32-specific parts of CML
1031      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
1032        (under Win32, the volume name is case-insensitive, and the
1033        OS.Path code compares volume names for equality)
1034    
1035    ----------------------------------------------------------------------
1036    Name: Matthias Blume (blume (at) tti - c (dot) org)
1037    Date: 2003/09/08 11:55:00 CDT
1038    Tag: blume-20030908-fullpath
1039    Description:
1040    
1041    Made Win32 version of OS.FileSys.fullPath return current directory
1042    when given an empty string.  This is what the spec says, and incidentally,
1043    CM depends on it.  (CM otherwise goes into an infinite loop in certain
1044    cases when presented with the name of a non-existing .cm file.)
1045    
1046    ----------------------------------------------------------------------
1047    Name: Matthias Blume (blume (at) tti - c (dot) org)
1048    Date: 2003/09/04 16:30:00 CDT
1049    Tag: blume-20030905-slices-etc
1050    Description:
1051    
1052      1. Changed interface to vectors and arrays in Basis to match
1053         (draft) Basis spec.
1054      2. Added signatures and implementations of slices according to
1055         Basis spec.
1056      3. Edited source code throughout the system to make it compile again
1057         under 1. and 2.  (In some cases code had to be added to have it
1058         match the new signatures.)
1059      4. MLRISC should be backward-compatible: the copies of the originals
1060         of files that needed to change under 3. were retained, the .cm files
1061         check the compiler version number and use old versions when
1062         appropriate.
1063      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
1064         dirstream -> string option (in accordance with Basis spec).
1065      6. When generating code that counts lines, ml-lex used function
1066         CharVector.foldli, taking advantage of its old interface.
1067         This has been replaced with the corresponding code from
1068         CharVectorSlice.  (html-lex must be re-lexed!)
1069      7. BitArray in smlnj-lib/Util has been extended/modified to match the
1070         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
1071      8. Removed temporary additions (fromInternal, toInternal) from the
1072         (now obsolete) IntInf in smlnj-lib/Util.
1073      9. Cleaned up structure Byte.
1074     10. Added localOffset, scan, and fromString to Date (according to spec).
1075         Cleaned/corrected implementation of Date.
1076         (Still need to check for correctness; implement better canonicalizeDate.)
1077     11. Added "scan" to signature IEEE_REAL.
1078     12. Some improvements to IntInf [in particular: efficiency-hack for
1079         mod and rem when second operand is 2 (for parity checks).]
1080     13. Changed representation of type Time.time, using a single IntInf.int
1081         value counting microseconds.  This considerably simplified the
1082         implementation of structure Time.  We now support negative time
1083         values; scan and fromString handle signs.
1084     14. Functor PrimIO now takes two additional arguments (VectorSlice and
1085         ArraySlice).
1086    
1087    ----------------------------------------------------------------------
1088    Name: Matthias Blume (blume (at) tti - c (dot) org)
1089    Date: 2003/08/28 17:00:00 CDT
1090    Tag: blume-20030828-intinf
1091    Description:
1092    
1093    This is a major update which comes with a version number bump
1094    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
1095    and an implementation of IntInf in the Basis.
1096    
1097    There are a fairly large number of related changes and updates throughout
1098    the system:
1099    
1100    Basis:
1101            - Implemented IntInf.
1102            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
1103            - Added some missing Real64 operations, most notably Real.toLargeInt.
1104            - Added FixedInt as a synonym for Int32.
1105    
1106    compiler:
1107            * Added support for a built-in intinf type.
1108              - literals
1109              - pattern matching
1110              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
1111              - overloading on literals and operations
1112    
1113            This required adding a primitive type intinf, some additional
1114            primops, and implementations for several non-trivial intinf
1115            operations in Core.  (The intinf type is completely abstract
1116            to the compiler; all operations get delegated back to the Core.)
1117    
1118            * Intinf equality is handled by polyequal.  However, the compiler
1119            does not print its usual warning in this case (since polyequal
1120            is the right thing to do there).
1121    
1122            * Improved the organization of structure InlineT.
1123    
1124            * A word about conversion primops:
1125            If conversions involving intinf do not cancel out during
1126            CPS contract, then the compiler must insert calls to Core functions.
1127            Since all core access must be resolved already during the FLINT
1128            translate phase, it would be too late a the time of CPS contract
1129            to add new Core calls.  For this reason, conversion primops
1130            for intinf carry two arguments:  1. the numeric argument that
1131            they are supposed to convert, and 2. the Core function that
1132            can help with this conversion if necessary.  If CPS contract
1133            eliminates a primop, then the associated Core function becomes
1134            dead and goes away.  Intinf conversion primops that do not get
1135            eliminated by CPS contract get rewritten into calls of their
1136            core functions by a separate, new phase.
1137    
1138    interactive system:
1139            - Control.Print.intinfDepth controls max length of intinf constants
1140            being printed. (Analogous to Control.Print.stringDepth.)
1141            - Cleanup in printutil and pputil: got rid of unused stuff and
1142            duplicates; replaced some of the code with code that makes better
1143            use of library functionality.
1144    
1145    CM:
1146            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
1147            are no longer silent.
1148    
1149    CKIT:
1150            Fixed mismatched uses of Int32 and LargeInt.  I always decided
1151            in favor of LargeInt -- which is now the same as IntInf.
1152            CKIT-knowledgable people should check whether this is what's
1153            intended and otherwise change things back to using Int32 or
1154            FixedInt.
1155    
1156    Throughout the code:
1157            Started using IntInf.int literals and built-in operations
1158            (e.g., comparison with 0) where this seems appropriate.
1159    
1160    
1161    ----------------------------------------------------------------------
1162    Name: Dave MacQueen (dbm@cs.uchicago.edu)
1163    Date: 2003/08/13 11:36:00 CDT
1164    Tag: dbm-20030813-mcz-merge1
1165    Description:
1166    
1167    Merging changes from the mcz-branch development branch into trunk.
1168    These changes involve replacement of the emulated old prettyprinter
1169    interface with direct use of the SML/NJ Lib PP library, and fixing
1170    of a couple of bugs (895, 1186) relating to error messages.  A new
1171    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
1172    has been added.
1173    
1174    ----------------------------------------------------------------------
1175    Name: Matthias Blume (blume (at) tti - c (dot) org)
1176    Date: 2003/08/11 15:45:00 CDT
1177    Tag: blume-20030811-windows
1178    Description:
1179    
1180    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
1181    
1182        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
1183    
1184    This patch restores SML/NJ's ability to run under win32.  There are a
1185    number of changes, including fixes for several bugs that had gone
1186    unnoticed until now:
1187    
1188      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
1189        trying to run the win32 version from within cygwin.)
1190    
1191      - There are a number of simple .bat scripts that substitute for their
1192        corresponding Unix shell-scripts.  (See below.)
1193    
1194      - The internals of ml-build have been modified slightly.  The main
1195        difference is that instead of calling ".link-sml" (or link-sml.bat)
1196        using OS.Process.system, the ML process delegates this task back
1197        to the script.  Otherwise problems arise in mixed environments such
1198        as Cygwin where scripts look and work like Unix scripts, but
1199        where OS.Process.system cannot run them.
1200    
1201      - In CM, the srcpath pickler used native pathname syntax -- which
1202        is incorrect in the case of cross-compilation.  The new pickle format
1203        is independent of platform-specific naming conventions.
1204    
1205      - Path configuration files (such as lib/pathconfig) can now choose
1206        between native and standard syntax.  Placing a line of the form
1207    
1208            standard!
1209    
1210        into the file causes all subsequent paths to be interpreted using
1211        CM standard pathname syntax (= Unix conventions); a line
1212    
1213            native!
1214    
1215        switches back to native style.  This was needed so that
1216        path config files can be written portably, see src/system/pathconfig.
1217    
1218      - Runtime system:
1219    
1220          - win32-filesys.c:  get_file_time and set_file_time now
1221            access modification time, not creation time.
1222    
1223          - I/O code made aware of new array representation.
1224    
1225          - Bug fixes in X86.prim.masm.
1226    
1227       - src/system/makeml made aware of win32. (For use under cygwin
1228            and other Unix-environments for windows.)
1229    
1230       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
1231         which caused BinIO.inputAll to fail consistently.
1232    
1233    .bat scripts:
1234    
1235       Windows .bat scripts assume that SMLNJ_HOME is defined.
1236    
1237       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
1238         applications (sml, ml-yacc, ml-lex).
1239       - ml-build.bat: analogous to ml-build.
1240       - config\install.bat:  Analogous to config/install.sh.  This requires
1241         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
1242         (nmake etc. must be on the path, and vcvars32 must have been run.)
1243         Moreover, sources for ml-lex and ml-yacc need to exist under src,
1244         and the bootfile hierarchy must have been unpacked under
1245         sml.boot.x86-win32.
1246         The script is very primitive and does a poor job at error checking.
1247         It only installs the base system, ml-lex, and ml-yacc.  No other
1248         libraries are being installed (i.e., you get only those that
1249         are part of the compiler.)
1250       - link-sml.bat:  analogous to .link-sml, but not currently used
1251    
1252    Unrelated bug fixes:
1253    
1254      - ml-nlffigen now exports structures ST_* corresponding to incomplete
1255        types.
1256      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
1257        otherwise.)
1258    
1259    ----------------------------------------------------------------------
1260    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
1261    Date: 2003/06/17
1262    Tag: macqueen-20030617-bug895
1263    Description:
1264    
1265    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
1266    Tag will be used for new development branch (mcz-branch) for
1267    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
1268    
1269    ----------------------------------------------------------------------
1270    Name: Matthias Blume (blume (at) tti - c (dot) org)
1271    Date: 2003/05/27 16:55:00 CDT
1272    Tag: blume-20030527-polyeq
1273    Description:
1274    
1275    Tried to eliminated most cases of polymorphic equality.
1276    
1277    ----------------------------------------------------------------------
1278    Name: Matthias Blume (blume (at) tti - c (dot) org)
1279    Date: 2003/05/21 17:45:00 CDT
1280    Tag: blume-20030517-complete
1281    Description:
1282    
1283    Two changes:
1284    
1285      1. Added a flag for controlling whether non-exhaustive bindings will
1286         be treated as errors (default is false).
1287      2. Cleaned up the *entire* source tree so that CMB.make goes through
1288         without a single non-exhaustive match- or bind warning.
1289    
1290    ----------------------------------------------------------------------
1291    Name: Matthias Blume (blume (at) tti - c (dot) org)
1292    Date: 2003/05/17 10:20:00 CDT
1293    Tag: blume-20030517-absyn
1294    Description:
1295    
1296    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
1297    
1298       This mainly affects the quality of error messages.  However, some
1299       of the code is now more straightforward than before. (Treatment of
1300       the above four constructs in translate.sml is much simpler than
1301       the "macro-expansion" that was going on before.  Plus, the mach-
1302       compiler no longer gets invoked just to be able to compile an
1303       if-expression.)
1304    
1305    2. The ErrorMsg.Error exception is now caught and absorbed by the
1306       interactive loop.
1307    
1308    ----------------------------------------------------------------------
1309    Name: Allen Leung
1310    Date: 2003/05/16 13:05:00 CDT
1311    Tag: leunga-20030516-cygwin-runtime
1312    Description:
1313    
1314        Ported the runtime system to cygwin, which uses the unix
1315    x86-unix bin files.  Missing/buggy features:
1316    
1317       o getnetbyname, getnetbyaddr: these functions seem to be missing in
1318         the Cygwin library.
1319       o Ctrl-C handling may be flaky.
1320       o Windows system calls and Windows I/O are not supported.
1321    
1322       A new set of binfiles is located at:
1323    
1324         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
1325    
1326       This is only needed for bootstrapping the cygwin version of smlnj.
1327       Other x86 versions can use the existing binfiles.
1328    
1329    ----------------------------------------------------------------------
1330    Name: Matthias Blume
1331    Date: 2003/04/08 15:42:00 CDT
1332    Tag: blume-20030408-listpair
1333    Description:
1334    
1335    1. Added a target 'mlrisc' to installer.
1336    
1337    2. Added missing elements to structure ListPair.
1338    
1339    ----------------------------------------------------------------------
1340    Name: Allen Leung
1341    Date: 2003/01/07 10:40:00 EST
1342    Tag: leunga-20030107-int-rem
1343    Description:
1344    
1345    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
1346    The arguments to the SUBL instruction were swapped.
1347    
1348    ----------------------------------------------------------------------
1349    Name: Matthias Blume
1350    Date: 2002/12/12 16:25:00 EST
1351    Tag: blume-20021212-risc-ra
1352    Description:
1353    
1354    Fixed a serious bug in the rewrite code for FP spilling/reloading that
1355    sent the RA into an infinite loop when floating point registers get
1356    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
1357    110.37 and 110.38.)
1358    There was another set of potential problems related to the handling of
1359    MLRISC annotations (but those did not yet cause real problems, apparently).
1360    
1361    ----------------------------------------------------------------------
1362    Name: Matthias Blume
1363    Date: 2002/12/06 22:40:00 EST
1364    Tag: blume-20021206-cm-fileid
1365    Description:
1366    
1367    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
1368    This fixes the problem of CM getting confused by files that suddenly
1369    change their identity (e.g., by getting unlinked and recreated by some
1370    text editor such as vi).  There might be a better/cheaper/cleaner way
1371    of doing this, but for now this will have to do.
1372    
1373    ----------------------------------------------------------------------
1374    Name: Matthias Blume
1375    Date: 2002/10/28 09:50:00 EST
1376    Tag: blume-20021028-typecheck
1377    Description:
1378    
1379    Exported structure Typecheck from $smlnj/viscomp/core.cm.
1380    
1381    ----------------------------------------------------------------------
1382    Name: Matthias Blume
1383    Date: 2002/10/17 09:10:00 EDT
1384    Tag: Release_110_42
1385    Description:
1386    
1387    In good old tradition, there has been a slight hiccup so that we have
1388    to patch 110.42 after the fact.   The old release tag has been replaced
1389    (see below).
1390    
1391    The change solves a problem with two competing approaches the
1392    configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in
1393    each other's way.
1394    
1395    This change only affects the runtime system code and the installer script.
1396    (No new bootfiles.)
1397    
1398    ----------------------------------------------------------------------
1399    Name: Matthias Blume
1400    Date: 2002/10/16 12:00:00 EDT
1401    Tag: Release_110_42_removed
1402    Description:
1403    
1404    New working release.  New bootfiles.
1405    
1406    ----------------------------------------------------------------------
1407    Name: Matthias Blume
1408    Date: 2002/10/10 13:10:00 EDT
1409    Tag: blume-20021010-ppc-divs
1410    Description:
1411    
1412    The mltree operator DIVS must be implemented with an overflow check on
1413    the PPC because the hardware indicates divide-by-zero using "overflow" as
1414    well.
1415    
1416    ----------------------------------------------------------------------
1417    Name: Matthias Blume
1418    Date: 2002/07/23 11:45:00
1419    Tag: blume-20020723-smlnj-home
1420    Description:
1421    
1422    Sml now senses the SMLNJ_HOME environment variable.  If this is set,
1423    then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless
1424    CM_PATHCONFIG is also set), the path configuration file is assumed
1425    to be in $SMLNJ_HOME/lib/pathconfig.  This way one can easily move
1426    the entire tree to some other place and everything will "just work".
1427    
1428    (Companion commands such as ml-build and ml-makedepend also sense this
1429    variable.)
1430    
1431    ----------------------------------------------------------------------
1432    Name: Matthias Blume
1433    Date: 2002/07/12 21:19:00 EDT
1434    Tag: blume-20020712-liveness
1435    Description:
1436    
1437    Exported two useful "step" functions from liveness module (MLRISC).
1438    
1439    ----------------------------------------------------------------------
1440    Name: Matthias Blume
1441    Date: 2002/07/05 16:00 EDT
1442    Tag: Release_110_41
1443    Description:
1444    
1445    New working release.  New bootfiles.
1446    
1447    ----------------------------------------------------------------------
1448    Name: Matthias Blume
1449    Date: 2002/07/05 10:25:00 EDT
1450    Tag: blume-20020705-btimp
1451    Description:
1452    
1453    Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that
1454    other clients can set up backtracing support.
1455    
1456    ----------------------------------------------------------------------
1457    Name: Matthias Blume
1458    Date: 2002/06/25 17:23:00 EDT
1459    Tag: blume-20020625-fpmax
1460    Description:
1461    
1462    Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point
1463    case.  (The sense of the isNaN test was reversed -- which made min and
1464    max always return their first argument.)
1465    
1466    ----------------------------------------------------------------------
1467    Name: Matthias Blume
1468    Date: 2002/06/11
1469    Tag: blume-20020611-unixpath
1470    Description:
1471    
1472    Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch.
1473    
1474    ----------------------------------------------------------------------
1475    Name: Matthias Blume
1476    Date: 2002/06/10 16:35:00 EDT
1477    Tag: blume-20020610-ieeereal
1478    Description:
1479    
1480    I back-ported my implementation of IEEEReal.fromString from the
1481    idlbasis-devel branch so that we can test it.
1482    
1483    Another small change is that ppDec tries to give more information
1484    than just "<sig>" in the case of functors.  However, this code is
1485    broken in some mysterious way if the functor's body's signature
1486    has not been declared by ascription but gets inferred from the
1487    implementation.  This needs fixing...
1488    
1489    ----------------------------------------------------------------------
1490  Name: Matthias Blume  Name: Matthias Blume
1491  Date: 2002/05/31  Date: 2002/05/31
1492  Tag: blume-20020531-btrace-mode  Tag: blume-20020531-btrace-mode

Legend:
Removed from v.1229  
changed lines
  Added in v.1633

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