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

Legend:
Removed from v.1250  
changed lines
  Added in v.1581

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