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 1347, Thu Aug 28 21:59:15 2003 UTC revision 1617, Tue Aug 31 22:15:48 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/08/31 17:15:00 CDT
18    Tag: blume-20040831-core
19    Description:
20    
21    Added some exports to src/compiler/core.cm upon request by J. Joemann.
22    
23    ----------------------------------------------------------------------
24    Name: Matthias Blume (blume (at) tti - c (dot) org)
25    Date: 2004/08/30 17:55:00 CDT
26    Tag: blume-20040830-installer
27    Description:
28    
29    Upon request by Johannes Joemann:
30    
31    - improved ML code of installer to fall back to coping when renaming
32      fails (i.e., when source and target are on different file systems);
33      the code compiles but has yet to be tested in anger
34    - removed mlrisc from list of default targets (config/targets)
35    
36    ----------------------------------------------------------------------
37    Name: Matthias Blume (blume (at) tti - c (dot) org)
38    Date: 2004/08/27 17:20:00 CDT
39    Tag: blume-20040827-ptreql
40    Description:
41    
42    Added ptreql primop to structure InlineT (upon request from Larry
43    Paulson).
44    
45    ----------------------------------------------------------------------
46    Name: Allen Leung (leunga (at) reservoir (dot) com)
47    Date: 2004/08/15 21:21:00 EST
48    Tag: leunga-110_48-udgraph
49    Description:
50    
51    Another bug fix from Carl Hauser:
52    
53    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
54    > 48c48
55    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
56    > e::L)
57    > ---
58    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
59    > Without this, any deletion of an edge in an undirected graph does severe
60    > violence to the graph.
61    
62    ----------------------------------------------------------------------
63    Name: Allen Leung (leunga (at) reservoir (dot) com)
64    Date: 2004/08/10 23:35:00 EST
65    Tag: leunga-110_48-ppc
66    Description:
67    
68       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
69    
70    ----------------------------------------------------------------------
71    Name: Matthias Blume (blume (at) tti - c (dot) org)
72    Date: 2004/08/10 12:00:00 CDT
73    Tag: Release_110_48
74    Description:
75    
76    New working version (110.48).  NEW BOOTFILES!
77    
78    ----------------------------------------------------------------------
79    Name: Allen Leung (leunga (at) reservoir (dot) com)
80    Date: 2004/08/09 12:21:00 EST
81    Tag: leunga-110_47-dijsktra
82    Description:
83    
84    Bug fix from Carl Hauser:
85    
86    single_source_shortest_paths in dijkstra.sml was observed to get wrong
87    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
88    
89    The problem is that following the expression A.update(dist,s,Num.zero)
90    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
91    
92    ----------------------------------------------------------------------
93    Name: Matthias Blume (blume (at) tti - c (dot) org)
94    Date: 2004/08/06 18:10:00 CDT
95    Tag: blume-20040806-cmdline
96    Description:
97    
98    Fiddled with handling of command-line options:
99    
100      * sml now quits after processing the command line
101        if -H, -S, -h<n>, or -s<n> appears as the last
102        command-line argument
103      * a new option -q terminates the session when encountered on
104        the command line; subsequent arguments will be ignored
105      * bug fixes: short (erroneous) arguments are no longer ignored
106        completely
107    
108    ----------------------------------------------------------------------
109    Name: Allen Leung (leunga (at) reservoir (dot) com)
110    Date: 2004/08/04 18:17:00 EST
111    Tag: leunga-110_47-ppc-ibm-asm
112    Description:
113    
114      - Added minimal IBM assembly syntax support for PowerPC.
115    
116      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
117        been altered in the runtime.  We need an automatic way to keep the file
118        in sync.
119    
120    ----------------------------------------------------------------------
121    Name: Matthias Blume (blume (at) tti - c (dot) org)
122    Date: 2004/08/04 14:00:00 CDT
123    Tag: Release_110_47
124    Description:
125    
126    New working version (110.47).  NEW BOOTFILES!
127    
128    ----------------------------------------------------------------------
129    Name: Matthias Blume (blume (at) tti - c (dot) org)
130    Date: 2004/08/03 14:25:00 CDT
131    Tag: blume-20040803-callingconv
132    Description:
133    
134    Added low-level support for choosing C calling conventions by
135    twiddling the type of rawccall.  (See
136    src/compiler/Semant/types/cproto.sml for details.)
137    
138    ----------------------------------------------------------------------
139    Name: Matthias Blume (blume (at) tti - c (dot) org)
140    Date: 2004/08/02 15:55:00 CDT
141    Tag: blume-20040802-backout
142    Description:
143    
144    Backed out of change to win32-filesys.c.  The earlier patch to
145    get_file_time caused CM to produce files with the wrong time stamp.
146    
147    ----------------------------------------------------------------------
148    Name: Matthias Blume (blume (at) tti - c (dot) org)
149    Date: 2004/08/02 14:45:00 CDT
150    Tag: blume-20040802-nlffi-win32
151    Description:
152    
153    Added NLFFI support for Win32, adapted from a patch provided by David
154    Hansel.  This is currently completely untested.  Also, the issue
155    concerning stdcall vs. ccall is still unresolved.
156    
157    ----------------------------------------------------------------------
158    Name: Matthias Blume (blume (at) tti - c (dot) org)
159    Date: 2004/07/30 17:55:00 CDT
160    Tag: blume-20040730-various
161    Description:
162    
163    Gearing up towards 110.47...
164    
165    - various minor bugfixes to ml-nlffigen
166    - a beginning of a manual for nlffi
167    
168    - eliminated 'export name=value' in config/install.sh as this does
169      not work with certain versions of /bin/sh
170      (Thanks to David King at Motorola for catching this.)
171    
172    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
173      - added a test for tm==NULL to gmtime.c and localtime.c
174      - applied patch for incorrect GetFileTime under win32
175      - toSeconds -> toMilliseconds in Win32/win32-process.sml
176    
177    ----------------------------------------------------------------------
178    Name: Matthias Blume (blume (at) tti - c (dot) org)
179    Date: 2004/07/21 18:20:00 CDT
180    Tag: blume-20040721-nlffigen
181    Description:
182    
183    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
184      for a typedef to an incomplete type, but leave out the "typ" member.
185      (This is just for consistency.)
186    - Started to produce what is supposed to become better (i.e., comprehensive)
187      documentation of what ml-nlffigen does and produces.
188    
189    ----------------------------------------------------------------------
190    Name: Matthias Blume (blume (at) tti - c (dot) org)
191    Date: 2004/07/14 16:25:00 CDT
192    Tag: blume-20040714-union
193    Description:
194    
195    Added C_UNION to c-calls/c-types.sml and updated the machinery
196    (ml-nlffigen, cproto.sml) that conveys C function interface
197    information to the code generator.
198    
199    However, the actual architecture-specific implementation of function
200    arguments and results that are C unions is still not implemented.
201    
202    ----------------------------------------------------------------------
203    Name: Allen Leung (leunga (at) reservoir (dot) com)
204    Date: 2004/07/14 14:38:00 EST
205    Tag: leunga-110_46_1-ppc-lwzu
206    Description:
207    
208        Added these instructions to the PowerPC architecture:
209        LBZU(X), LHZU(X), LWZU(X),
210        STWU(X), STFDU, STFSU
211    
212        etc...
213    
214        Note: I haven't added their instruction encoding into the description.
215    
216    ----------------------------------------------------------------------
217    Name: Allen Leung (leunga (at) reservoir (dot) com)
218    Date: 2004/07/13 15:04:00 EST
219    Tag: leunga-110_46_1-ppc-lwarx
220    Description:
221    
222       Added the two instructions LWARX and STWCX to the PowerPC
223    instruction set.
224    
225       A (untested) rewrite of loop-structure.sml.  The old version
226    is completely broken.
227    
228    ----------------------------------------------------------------------
229    Name: Matthias Blume (blume (at) tti - c (dot) org)
230    Date: 2004/07/13 13:50:00 CDT
231    Tag: blume-20040713-nlffi
232    Description:
233    
234    - use paramAlloc to report c-calls with too many arguments
235      (for PPC version where parameter area is pre-allocated)
236    - added ccall_maxargspace to machspec (to implement the above)
237    - made "make" commend in CM's "make" tool configurable
238    - added option (default: on) for passing the name of the SML/NJ's "bin"
239      directory to "make"; the call looks like this:
240    
241         make <options> SMLNJ_BINDIR=<dir> <target>
242    
243      This can be used by the Makefile to, e.g., pick the "right" version
244      of ml-nlffigen.
245    - minor code tweaks
246    
247    ----------------------------------------------------------------------
248    Name: Matthias Blume (blume (at) tti - c (dot) org)
249    Date: 2004/07/12 22:50:00 CDT
250    Tag: blume-110_46_1-macosx-nlffi
251    Description:
252    
253    NLFFI under Mac OS X now working (sort of).  This is largely untested,
254    though.
255    
256    Note:  1. You have to make a new, clean build of the runtime system.
257           2. There are new BOOTFILES, you have to use them!
258              (Doing the bootstrap process yourself would be *very* painful!
259               If you absolutely have to do it, build the system under
260               a different architecture and then cross-compile.)
261    
262    Version bumped to 110.46.1 to account for runtime data format changes.
263    
264    ----------------------------------------------------------------------
265    Name: Matthias Blume (blume (at) tti - c (dot) org)
266    Date: 2004/06/18 14:30:00 CDT
267    Tag: blume-20040618-unix
268    Description:
269    
270    Changed the implementation of structure Unix so that the same stream
271    is returned every time one of the {text,bin}{In,Out}streamOf functions
272    is invoked on the same proc.  This is not what the spec currently
273    says -- although IMO it arguably should.  (See discussion below.)
274    
275    ----------------------------------------------------------------------
276    Name: Matthias Blume (blume (at) tti - c (dot) org)
277    Date: 2004/06/17 18:15:00 CDT
278    Tag: Release_110_46
279    Description:
280    
281    New working version (110.46).  NEW BOOTFILES!
282    
283    ----------------------------------------------------------------------
284    Name: Matthias Blume (blume (at) tti - c (dot) org)
285    Date: 2004/06/17 17:20:00 CDT
286    Tag: blume-20040617-timer-unix
287    Description:
288    
289    Changed the interface of structures Timer and Unix to match the most
290    recent Basis spec.
291    
292    In the case of Unix there still seems to be an open/weird issue:
293    
294       The {text,bin}{In,Out}streamOf functions are supposed to create
295       fresh streams whenever they are called -- as opposed to have them
296       return the same stream every time.  This design is supposed to
297       prevent space leaks caused by proc values hanging on to streams.
298    
299       The reap function, on the other hand, is supposed to close the
300       streams.  This cannot be done without having a handle on the
301       stream in proc after all...
302    
303    I took the liberty to implement the following stopgap solution:
304    
305      The proc value hangs on to the most recently created stream(s).
306      Reap closes those.  If either or both of the two streams hadn't
307      been created at all yet, then reap will close the corresponding
308      file descriptors directly.
309    
310    PS: I don't understand the original space leak argument anymore.  If
311    a proc hangs on to the imperative stream, then I/O operations on those
312    will advance the state of the cached stream and avoid the space leak.
313    
314    ----------------------------------------------------------------------
315    Name: Matthias Blume (blume (at) tti - c (dot) org)
316    Date: 2004/05/28 16:45:00 CDT
317    Tag: blume-20040528-basis
318    Description:
319    
320    Added signature PACK_REAL and exported functor PrimIO.
321    
322    ----------------------------------------------------------------------
323    Name: Matthias Blume (blume (at) tti - c (dot) org)
324    Date: 2004/05/25 16:00:00 CDT
325    Tag: blume-20040525-group-owner
326    Description:
327    
328    CM now ignores (but still accepts) the "owner" information in group
329    descriptions.  The owner of a group is its next enclosing
330    library. Each group must have a unique owner.  (There is a virtual
331    "toplevel" library that owns groups which are not nested within a real
332    library.)  Previously, each group had to explicitly declare its owner,
333    and CM would check that such a declaration is correct.  The new scheme
334    is to have CM check that for each group there is precisely one owning
335    library.
336    
337    The advantage of the new scheme is that the programmer no longer needs
338    to maintain the somewhat annoying owner information.  The downside is
339    that CM cannot enforce the ownership rule across multiple runs of
340    CM.make.  Fortunately, enclosing the same group in two different
341    libraries A and B which are not part of the same program does not
342    cause real problems.
343    
344    ----------------------------------------------------------------------
345    Name: Matthias Blume (blume (at) tti - c (dot) org)
346    Date: 2004/05/20 16:00:00 CDT
347    Tag: blume-20040520-win32
348    Description:
349    
350    Made the win32 version work again.  (Strangely, a misplaced comma had
351    slipped into win32-process.c which prevented the runtime from being
352    compiled correctly.)
353    
354    Also, included a minor addition to ml-build.bat analogous to what was
355    done in blume-20040519-ml-build.
356    
357    ----------------------------------------------------------------------
358    Name: Matthias Blume (blume (at) tti - c (dot) org)
359    Date: 2004/05/19 22:10:00 CDT
360    Tag: blume-20040519-ml-build
361    Description:
362    
363    Arranged for ml-build to clean up after itself a little bit better.
364    The script generates a temporary SML source file and compiles it using
365    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
366    gets rid of those at the end, so they don't accumulate under .cm.
367    
368    This required a minor change to install.sh because the name of the
369    metadata directory (default: .cm) is actually configurable at
370    installation time.
371    
372    ----------------------------------------------------------------------
373    Name: Matthias Blume (blume (at) tti - c (dot) org)
374    Date: 2004/05/18 15:50:00 CDT
375    Tag: blume-20040518-mkreader
376    Description:
377    
378    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
379    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
380    
381    ----------------------------------------------------------------------
382    Name: Matthias Blume (blume (at) tti - c (dot) org)
383    Date: 2004/05/11 14:35:00 CDT
384    Tag: blume-20040511-win32sock
385    Description:
386    
387    Added previously missing support for many socket-related functions
388    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
389    for the voluminous patch!
390    
391    (I have not tested this patch under win32 yet.)
392    
393    Here is David's e-mail:
394    
395    Hi,
396    
397    Attached to this email you find a diff against sml/nj 110.45
398    that will enable socket support under Windows.
399    
400    To apply the patch (using unix or cygwin)
401    1) gunzip runtime.diff.gz
402    2) "cd" into "src/runtime" in the source tree of a fresh
403       110.45 installation.
404    3) patch -p 1 < [your/path/to]runtime.diff
405    
406    The code compiles fine but has NOT yet been extensively tested.
407    I only ran a few tests for basic socket client functionality
408    (which worked fine).  Especially the functions that use ioctl
409    are not tested at all and might not work (see below).
410    
411    I implemented this since we want to move to a newer version of sml/nj
412    but need socket support in order to use it.  This is the first time I
413    even had a look at the sml/nj source,  so please review my changes
414    before making this part of the distribution!  Here are a few issues
415    that I think might be better for someone to solve who is more
416    familiar with the sml/nj source (and socket programming):
417    
418    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
419      exception since I could not figure out what the windows equivalent
420      of these functions is
421    
422    - In sockets-osdep.h there are a some #include statements that are
423      only used in a few files that include sockets-osdep.h
424    
425    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
426      does not process its return value since I don't know how to
427      report an error upwards.
428    
429    - It would probably be good to have a call to WSACleanup() when
430      the library is unloaded (if there is such a possibility).
431      Otherwise I think Windows will take care of this automatically
432      when the process finishes.
433    
434    - I used ioctlsocket() as a replacement for ioctl() but I have
435      no idea if that is actually the proper replacement on Windows.
436    
437    - All these issues are marked in the code by "FIXME" comments.
438    
439    We use sml/nj extensively in our products and are quite happy
440    with it.  I hope this contribution will help you.
441    
442    Keep up the good work!
443    
444    David
445    
446    ----------------------------------------------------------------------
447    Name: Matthias Blume (blume (at) tti - c (dot) org)
448    Date: 2004/05/11 14:20:00 CDT
449    Tag: blume-20040511-installml
450    Description:
451    
452    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
453    the patch.)
454    
455    ----------------------------------------------------------------------
456    Name: Matthias Blume (blume (at) tti - c (dot) org)
457    Date: 2004/05/11 14:05:00 CDT
458    Tag: blume-20040511-nlffi-netbsd
459    Description:
460    
461    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
462    the patch.)
463    
464    ----------------------------------------------------------------------
465    Name: Matthias Blume (blume (at) tti - c (dot) org)
466    Date: 2004/05/11 12:05:00 CDT
467    Tag: blume-20040511-exports
468    Description:
469    
470    As per request by Adam Chlipala <adam@hcoop.net>, extended various
471    export lists in compiler-related .cm-files.
472    
473    ----------------------------------------------------------------------
474    Name: Matthias Blume (blume (at) tti - c (dot) org)
475    Date: 2004/05/11 11:35:00 CDT
476    Tag: blume-20040511-allsource
477    Description:
478    
479    The installer now honors the "src-smlnj" target again, although its meaning
480    has changed from "all sources required for the compiler" to "all sources
481    the installer knows about".  In other words, if you enable "src-smlnj"
482    in the "targets" file, then the installer will pull in sources for
483    everything.  (Notice that this refers to source code only.  Compiled
484    code is still only installed for modules that were requested explicitly
485    or which are required for other modules that were requested explicitly.)
486    
487    ----------------------------------------------------------------------
488    Name: Matthias Blume (blume (at) tti - c (dot) org)
489    Date: 2004/04/23 17:40:00 CDT
490    Tag: blume-20040423-ieee-scan
491    Description:
492    
493    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
494    in the exponent calculation we get INF or ZERO (depending on the mantissa
495    and the sign of the exponent).
496    
497    ----------------------------------------------------------------------
498    Name: Matthias Blume (blume (at) tti - c (dot) org)
499    Date: 2004/04/23 10:40:00 CDT
500    Tag: blume-20040423-ml-build
501    Description:
502    
503    The ml-build script now terminates with a non-0 status when something
504    goes wrong.
505    
506    ----------------------------------------------------------------------
507    Name: Matthias Blume (blume (at) tti - c (dot) org)
508    Date: 2004/04/22 16:35:00 CDT
509    Tag: blume-20040422-Option
510    Description:
511    
512    Made exception Option to be the same as exception Option.Option
513    (as it should be).
514    
515    ----------------------------------------------------------------------
516    Name: Allen Leung (leunga (at) reservoir (dot) com)
517    Date: 2004/03/19 14:40:00 EST
518    Tag: leunga-20040319-cygwin-nlffi
519    Description:
520    
521    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
522    of SML/NJ.  The problem is that
523    
524       lib = dlopen(NULL, ...)
525       f   = dlsym(lib, "malloc");
526    
527    does not work on Windows unless we explicitly export symbols
528    such as 'malloc' during linking.  We fixed this by explicitly
529    exporting the required symbols with the magic gcc incantation:
530    
531        -Wl,--export-all cygwin.def
532    
533    where cygwin.def is a file containing all the symbols that
534    we wish to export.
535    
536    I suspect this is a Windows problem and we'll have to
537    do the same (somehow with windows compilers) when
538    we build the native win32 version with the system
539    calls LoadLibrary/GetProcAddress.
540    
541    ----------------------------------------------------------------------
542    Name: Matthias Blume (blume (at) tti - c (dot) org)
543    Date: 2004/03/04 16:35:00 CST
544    Tag: blume-20040304-intinf-fmt
545    Description:
546    
547    Fixed problem with IntInf.fmt (sign would show up on the right instead
548    of on the left for BIN, OCT, and HEX).
549    
550    ----------------------------------------------------------------------
551    Name: Matthias Blume (blume (at) tti - c (dot) org)
552    Date: 2004/03/04 11:25:00 CST
553    Tag: blume-20040304-symlinks
554    Description:
555    
556    Fixed problem with installer script (unix only) where bin/ml-yacc and
557    friends pointed (via symlinks) to absolute locations instead of just
558    .run-sml.  This was reported by Vesa A Norrman.
559    
560    ----------------------------------------------------------------------
561    Name: Matthias Blume (blume (at) tti - c (dot) org)
562    Date: 2004/02/13 14:50:00 CST
563    Tag: Release_110_45
564    Description:
565    
566    New working version (110.45). New bootfiles.
567    
568    ----------------------------------------------------------------------
569    Name: Matthias Blume (blume (at) tti - c (dot) org)
570    Date: 2004/01/26 15:15:15 CST
571    Tag: blume-20040126-toplevel
572    Description:
573    
574    Improved handling of exceptions at the interactive toplevel.
575    
576    ----------------------------------------------------------------------
577    Name: Matthias Blume (blume (at) tti - c (dot) org)
578    Date: 2004/01/26 11:25:00
579    Tag: blume-20040126-app
580    Description:
581    
582    Type of top-level "app" corrected.
583    Added code for setting vp_limitPtrMask to Win32-specific runtime.
584    
585    ----------------------------------------------------------------------
586    Name: Matthias Blume (blume (at) tti - c (dot) org)
587    Date: 2003/11/18 17:10 CST
588    Tag: blume-20031118-basis-fiddle
589    Description:
590    
591    - changed Timer interface to what might become the spec
592    - POSIX_FLAGS -> BIT_FLAGS according to spec
593    - some other minor discrepancies wrt. spec eliminated
594    
595    ----------------------------------------------------------------------
596    Name: Matthias Blume (blume (at) tti - c (dot) org)
597    Date: 2003/11/06 12:00:00 CST
598    Tag: Release_110_44
599    Description:
600    
601    New working version (110.44). New bootfiles.
602    
603    ----------------------------------------------------------------------
604    Name: Matthias Blume (blume (at) tti - c (dot) org)
605    Date: 2003/11/04 11:50:00 CST
606    Tag: blume-20031104-move-libraries
607    Description:
608    
609    Eliminated the "dont_move_libraries" directive in config/targets.
610    (The mechanism was broken and could not be fixed easily.  Moreover,
611    there does not seem to be any reason not to move all libraries into
612    lib during installation.  I originally implemented this directive as a
613    backward-compatibility feature when I first introduced the new CM.
614    Now that things have been stable for a long time and going back to the
615    old CM is not an option, there is no reason to keep it around.)
616    
617    ----------------------------------------------------------------------
618    Name: Matthias Blume (blume (at) tti - c (dot) org)
619    Date: 2003/11/03 16:00:00 CST
620    Tag: blume-20031103-installdir
621    Description:
622    
623    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
624    Richards for pointing out the problem and providing the solution.)
625    
626    ----------------------------------------------------------------------
627    Name: Matthias Blume (blume (at) tti - c (dot) org)
628    Date: 2003/10/01 17:05:00 CDT
629    Tag: blume-20031001-lal-mlrisc
630    Description:
631    
632    MLRISC bug fix from Lal.
633    
634    ----------------------------------------------------------------------
635    Name: Matthias Blume (blume (at) tti - c (dot) org)
636    Date: 2003/09/30 16:10:00 CDT
637    Tag: blume-20030930-primio-bat
638    Description:
639    
640    1. Added openVector, nullRd, and nullWr to PRIM_IO.
641    2. Improved .bat files (for Win32 port) to make things work under Win95.
642       (thanks to Aaron S. Hawley for this one)
643    
644    ----------------------------------------------------------------------
645    Name: Matthias Blume (blume (at) tti - c (dot) org)
646    Date: 2003/09/26 16:05:00 CDT
647    Tag: blume-20030926-wrappriv
648    Description:
649    
650    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
651    
652    ----------------------------------------------------------------------
653    Name: Matthias Blume (blume (at) tti - c (dot) org)
654    Date: 2003/09/26 15:00:00 CDT
655    Tag: blume-20030926-110_43_3
656    Description:
657    
658    - additional cleanup
659    - version number bump, NEW BOOTFILES
660    
661    ----------------------------------------------------------------------
662    Name: Matthias Blume (blume (at) tti - c (dot) org)
663    Date: 2003/09/26 12:00:00 CDT
664    Tag: blume-20030926-ppautoload
665    Description:
666    
667    I modified the read-eval-print loop so that the autoloader gets
668    invoked whenever the prettyprinter tries to look up a symbol that
669    is not currently defined in the toplevel environment but which
670    appears in CM's autoload registry.  As a result, we see far fewer of
671    those ?.Foo.Bar.xxx names in the prettyprinter's output.
672    
673    In addition to this I tried to clean up some pieces of the Basis
674    implementation (e.g., Socket, Word8Array) in order to prevent other
675    instances of these ?.Foo.Bar.xxx names from being printed.
676    
677    The mechanism that picks names for types still needs some work, though.
678    (Right now it seems that if there is a type A.t which is defined to
679    be B.u, but B is unavailable at toplevel, then A.t gets printed as
680    "?.B.u" although the perhaps more sensible solution would be to use
681    "A.t" in this case.  In other words, the prettyprinter should follow
682    a chain of DEFtycs not farther than there are corresponding toplevel
683    names in the current environment.)
684    
685    ----------------------------------------------------------------------
686    Name: Matthias Blume (blume (at) tti - c (dot) org)
687    Date: 2003/09/24 16:31:00 CDT
688    Tag: blume-20030924-installer
689    Description:
690    
691    Another installer tweak:  All the ML code for the installer is now
692    compiled during CMB.make and put into a little library called
693    $smlnj/installer.cm.  The installation then simply invokes
694    
695       sml -m $smlnj/installer.cm
696    
697    and everything happens automagically.
698    
699    Win32:  ML code senses value of environment variable SMLNJ_HOME.
700    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
701            and BINDIR.
702    
703    The new scheme guarantees that the ML code responsible for the installation
704    is in sync with the APIs of the main system.  Also, the installer is
705    somewhat faster because the installer script is precompiled.
706    
707    ----------------------------------------------------------------------
708    Name: Matthias Blume (blume (at) tti - c (dot) org)
709    Date: 2003/09/24 15:35:00 CDT
710    Tag: blume-20030924-synsock
711    Description:
712    
713    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
714    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
715    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
716    implementations of non-blocking operations from CML's Socket
717    structure.
718    
719    ----------------------------------------------------------------------
720    Name: Matthias Blume (blume (at) tti - c (dot) org)
721    Date: 2003/09/24 15:10:05 CDT
722    Tag: blume-20030924-sockets
723    Description:
724    
725    1. Fixed SOCKET API and implementation to match Basis spec.
726       This required changing the internal representation of sockets to one
727       that remembers (for each socket file descriptor) whether it is currently
728       blocking or non-blocking.  This state is maintained lazily (i.e., a system
729       call is made only if the state actually needs to change).
730    
731    2. OS-specific details of sockets were moved into separate files, thus
732       making it possible to unify the bulk of the socket implementations
733       between Unix and Win32.
734    
735    3. CML's socket API changed accordingly.
736       (Note that we need to remove non-blocking functions from this API
737       since they are redundant in the case of CML!)
738    
739    4. CML's socket implementation now makes use of non-blocking functions
740       provided by Basis, thus removing all OS-dependent code from this part
741       of CML.
742    
743    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
744    
745    ----------------------------------------------------------------------
746    Name: Matthias Blume (blume (at) tti - c (dot) org)
747    Date: 2003/09/22 12:10:00 CDT
748    Tag: blume-20030922-110_43_2
749    Description:
750    
751    Made a new interim version and bootfiles for developer's bootstrapping
752    convenience.
753    
754       110.43.2 -- NEW BOOTFILES
755    
756    ----------------------------------------------------------------------
757    Name: Matthias Blume (blume (at) tti - c (dot) org)
758    Date: 2003/09/19 15:55:00 CDT
759    Tag: blume-20030919-cmdir
760    Description:
761    
762    1. new-install.sh -> install.sh
763    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
764    3. tweaked installer so that another name instead of .cm can be chosen
765       at install time (by setting the CM_DIR_ARC environment variable
766       during installation); once installation is complete, the name is
767       fixed
768    
769    ----------------------------------------------------------------------
770    Name: Matthias Blume (blume (at) tti - c (dot) org)
771    Date: 2003/09/18 16:00:00 CDT
772    Tag: blume-20030918-110_43_1
773    Description:
774    
775    Made a new interim version and bootfiles for developer's bootstrapping
776    convenience.
777    
778       110.43.1 -- NEW BOOTFILES
779    
780    ----------------------------------------------------------------------
781    Name: Matthias Blume (blume (at) tti - c (dot) org)
782    Date: 2003/09/18 15:20:00 CDT
783    Tag: blume-20030918-misc
784    Description:
785    
786    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
787       this seems to be controversial at the moment) and used those in
788       Posix.ProcEnv.times.
789    
790    2. Added Time.{from,to}Nanoseconds to Time.
791    
792    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
793       For example, fromLargeInt never needs to look at more than 3 "big
794       digits" to get its 53 bits of precision.
795    
796    ----------------------------------------------------------------------
797    Name: Matthias Blume (blume (at) tti - c (dot) org)
798    Date: 2003/09/17 16:30:00 CDT
799    Tag: blume-20030917-real32-slices
800    Description:
801    
802    Added an entry to the primitive environment
803    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
804    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
805    
806    Removed some of the "magic" constants in real64.sml and replaced them
807    with code that generates these values from their corresponding
808    integer counterparts.
809    
810    Made all(?) the slice-related changes to the Basis and made everything
811    compile again...
812    
813    ----------------------------------------------------------------------
814    Name: Matthias Blume (blume (at) tti - c (dot) org)
815    Date: 2003/09/15 17:45:00 CDT
816    Tag: blume-20030915-rbase
817    Description:
818    
819    Fixed bug in Real.fromLargeInt.
820    
821    ----------------------------------------------------------------------
822    Name: Matthias Blume (blume (at) tti - c (dot) org)
823    Date: 2003/09/13 18:11:00 CDT
824    Tag: blume-20030913-libinstall
825    Description:
826    
827    Minor bugfix in config/libinstall (set anchor with path to
828    standalone tool after installing it, otherwise libraries that
829    need ml-lex or ml-yacc won't compile the first time the installer
830    runs).
831    
832    ----------------------------------------------------------------------
833    Name: Matthias Blume (blume (at) tti - c (dot) org)
834    Date: 2003/09/12 11:45:00 CDT
835    Tag: blume-20030912-various
836    Description:
837    
838     - fixed bug in Real.toLargeInt
839     - fixed bug in Posix.ProcEnv.times
840     - changed inputLine functions to return an option
841     - minor installer improvements / bugfixes
842     - changed default @SMLalloc parameter for x86/celeron to 64k
843    
844    ----------------------------------------------------------------------
845    Name: Matthias Blume (blume (at) tti - c (dot) org)
846    Date: 2003/09/09 22:00:00 CDT
847    Tag: Release_110_43
848    Description:
849    
850        New working release 110.43.  New bootfiles.
851    
852    ----------------------------------------------------------------------
853    Name: Matthias Blume (blume (at) tti - c (dot) org)
854    Date: 2003/09/09 19:20:00 CDT
855    Tag: blume-20030909-installer
856    Description:
857    
858    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
859    Modified config/install.bat to take advantage of it.  Also modified
860    config/install.sh (and called it config/new-install.sh) to take advantage
861    of it on Unix systems.  (The SML code is (supposed to be) platform-
862    independent.)
863    
864    The installer can now install everything under Win32
865    as well as under *nix as long as it compiles.
866    
867    Other changes:
868    
869      - made CML compile again under Win32
870      - made eXene compile under Win32 (by providing a fake structure UnixSock
871        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
872      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
873        same as type int;  under Win32 it isn't
874      - fixed some slice-related problems in the win32-specific parts of CML
875      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
876        (under Win32, the volume name is case-insensitive, and the
877        OS.Path code compares volume names for equality)
878    
879    ----------------------------------------------------------------------
880    Name: Matthias Blume (blume (at) tti - c (dot) org)
881    Date: 2003/09/08 11:55:00 CDT
882    Tag: blume-20030908-fullpath
883    Description:
884    
885    Made Win32 version of OS.FileSys.fullPath return current directory
886    when given an empty string.  This is what the spec says, and incidentally,
887    CM depends on it.  (CM otherwise goes into an infinite loop in certain
888    cases when presented with the name of a non-existing .cm file.)
889    
890    ----------------------------------------------------------------------
891    Name: Matthias Blume (blume (at) tti - c (dot) org)
892    Date: 2003/09/04 16:30:00 CDT
893    Tag: blume-20030905-slices-etc
894    Description:
895    
896      1. Changed interface to vectors and arrays in Basis to match
897         (draft) Basis spec.
898      2. Added signatures and implementations of slices according to
899         Basis spec.
900      3. Edited source code throughout the system to make it compile again
901         under 1. and 2.  (In some cases code had to be added to have it
902         match the new signatures.)
903      4. MLRISC should be backward-compatible: the copies of the originals
904         of files that needed to change under 3. were retained, the .cm files
905         check the compiler version number and use old versions when
906         appropriate.
907      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
908         dirstream -> string option (in accordance with Basis spec).
909      6. When generating code that counts lines, ml-lex used function
910         CharVector.foldli, taking advantage of its old interface.
911         This has been replaced with the corresponding code from
912         CharVectorSlice.  (html-lex must be re-lexed!)
913      7. BitArray in smlnj-lib/Util has been extended/modified to match the
914         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
915      8. Removed temporary additions (fromInternal, toInternal) from the
916         (now obsolete) IntInf in smlnj-lib/Util.
917      9. Cleaned up structure Byte.
918     10. Added localOffset, scan, and fromString to Date (according to spec).
919         Cleaned/corrected implementation of Date.
920         (Still need to check for correctness; implement better canonicalizeDate.)
921     11. Added "scan" to signature IEEE_REAL.
922     12. Some improvements to IntInf [in particular: efficiency-hack for
923         mod and rem when second operand is 2 (for parity checks).]
924     13. Changed representation of type Time.time, using a single IntInf.int
925         value counting microseconds.  This considerably simplified the
926         implementation of structure Time.  We now support negative time
927         values; scan and fromString handle signs.
928     14. Functor PrimIO now takes two additional arguments (VectorSlice and
929         ArraySlice).
930    
931    ----------------------------------------------------------------------
932    Name: Matthias Blume (blume (at) tti - c (dot) org)
933  Date: 2003/08/28 17:00:00 CDT  Date: 2003/08/28 17:00:00 CDT
934  Tag: blume-20030828-intinf  Tag: blume-20030828-intinf
935  Description:  Description:
# Line 28  Line 944 
944  Basis:  Basis:
945          - Implemented IntInf.          - Implemented IntInf.
946          - Made LargeInt a projection of IntInf (by filtering through INTEGER).          - Made LargeInt a projection of IntInf (by filtering through INTEGER).
947          - Added some missing Real54 operations, most notably Real.toLargeInt.          - Added some missing Real64 operations, most notably Real.toLargeInt.
948          - Added FixedInt as a synonym for Int32.          - Added FixedInt as a synonym for Int32.
949    
950  compiler:  compiler:
# Line 51  Line 967 
967    
968          * A word about conversion primops:          * A word about conversion primops:
969          If conversions involving intinf do not cancel out during          If conversions involving intinf do not cancel out during
970          CPS contract, the compiler must insert calls to Core functions.          CPS contract, then the compiler must insert calls to Core functions.
971          Since all core access must be resolved already during the FLINT          Since all core access must be resolved already during the FLINT
972          translate phase, it would be too late a the time of CPS contract          translate phase, it would be too late a the time of CPS contract
973          to add now Core calls.  For this reason, conversion primops          to add new Core calls.  For this reason, conversion primops
974          for intinf carry two arguments:  1. the numeric argument that          for intinf carry two arguments:  1. the numeric argument that
975          they are supposed to convert, and 2. the Core function that          they are supposed to convert, and 2. the Core function that
976          can help with this conversion if necessary.  If CPS contract          can help with this conversion if necessary.  If CPS contract
977          eliminates the primop, the Core functions become dead and go          eliminates a primop, then the associated Core function becomes
978          away.  Intinf conversion primops that do not get eliminated          dead and goes away.  Intinf conversion primops that do not get
979          by CPS contract get rewritten into calls of those core functions          eliminated by CPS contract get rewritten into calls of their
980          by a separate, new phase.          core functions by a separate, new phase.
981    
982  interactive system:  interactive system:
983          - Control.Print.intinfDepth controls max length of intinf constants          - Control.Print.intinfDepth controls max length of intinf constants
# Line 82  Line 998 
998          FixedInt.          FixedInt.
999    
1000  Throughout the code:  Throughout the code:
1001          Started useng IntInf.int literals and built-in operations          Started using IntInf.int literals and built-in operations
1002          (e.g., comparison with 0) where this seems appropriate.          (e.g., comparison with 0) where this seems appropriate.
1003    
1004    
# Line 100  Line 1016 
1016  has been added.  has been added.
1017    
1018  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1019  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1020  Date: 2003/08/11 15:45:00 CDT  Date: 2003/08/11 15:45:00 CDT
1021  Tag: blume-20030811-windows  Tag: blume-20030811-windows
1022  Description:  Description:
# Line 195  Line 1111 
1111  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.  use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
1112    
1113  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1114  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1115  Date: 2003/05/27 16:55:00 CDT  Date: 2003/05/27 16:55:00 CDT
1116  Tag: blume-20030527-polyeq  Tag: blume-20030527-polyeq
1117  Description:  Description:
# Line 203  Line 1119 
1119  Tried to eliminated most cases of polymorphic equality.  Tried to eliminated most cases of polymorphic equality.
1120    
1121  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1122  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1123  Date: 2003/05/21 17:45:00 CDT  Date: 2003/05/21 17:45:00 CDT
1124  Tag: blume-20030517-complete  Tag: blume-20030517-complete
1125  Description:  Description:
# Line 216  Line 1132 
1132       without a single non-exhaustive match- or bind warning.       without a single non-exhaustive match- or bind warning.
1133    
1134  ----------------------------------------------------------------------  ----------------------------------------------------------------------
1135  Name: Matthias Blume (blume@tti-c.org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
1136  Date: 2003/05/17 10:20:00 CDT  Date: 2003/05/17 10:20:00 CDT
1137  Tag: blume-20030517-absyn  Tag: blume-20030517-absyn
1138  Description:  Description:

Legend:
Removed from v.1347  
changed lines
  Added in v.1617

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