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

Legend:
Removed from v.1369  
changed lines
  Added in v.1633

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