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

Legend:
Removed from v.1186  
changed lines
  Added in v.1629

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