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

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

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