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/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1282  
changed lines
  Added in v.1638

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