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 1446, Mon Jan 26 17:23:06 2004 UTC revision 1618, Fri Sep 3 15:27:05 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Allen Leung (leunga (at) reservoir (dot) com)
17    Date: 2004/09/03 11:26:00 EST
18    Tag: leunga-20040903-cygwin-install
19    Description:
20    
21       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
22    The Cygwin runtime is turned on by setting the environment
23    variable SMLNJ_CYGWIN_RUNTIME to 1.
24    
25    ----------------------------------------------------------------------
26    Name: Matthias Blume (blume (at) tti - c (dot) org)
27    Date: 2004/08/31 17:15:00 CDT
28    Tag: blume-20040831-core
29    Description:
30    
31    Added some exports to src/compiler/core.cm upon request by J. Joemann.
32    
33    ----------------------------------------------------------------------
34    Name: Matthias Blume (blume (at) tti - c (dot) org)
35    Date: 2004/08/30 17:55:00 CDT
36    Tag: blume-20040830-installer
37    Description:
38    
39    Upon request by Johannes Joemann:
40    
41    - improved ML code of installer to fall back to coping when renaming
42      fails (i.e., when source and target are on different file systems);
43      the code compiles but has yet to be tested in anger
44    - removed mlrisc from list of default targets (config/targets)
45    
46    ----------------------------------------------------------------------
47    Name: Matthias Blume (blume (at) tti - c (dot) org)
48    Date: 2004/08/27 17:20:00 CDT
49    Tag: blume-20040827-ptreql
50    Description:
51    
52    Added ptreql primop to structure InlineT (upon request from Larry
53    Paulson).
54    
55    ----------------------------------------------------------------------
56    Name: Allen Leung (leunga (at) reservoir (dot) com)
57    Date: 2004/08/15 21:21:00 EST
58    Tag: leunga-110_48-udgraph
59    Description:
60    
61    Another bug fix from Carl Hauser:
62    
63    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
64    > 48c48
65    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
66    > e::L)
67    > ---
68    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
69    > Without this, any deletion of an edge in an undirected graph does severe
70    > violence to the graph.
71    
72    ----------------------------------------------------------------------
73    Name: Allen Leung (leunga (at) reservoir (dot) com)
74    Date: 2004/08/10 23:35:00 EST
75    Tag: leunga-110_48-ppc
76    Description:
77    
78       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
79    
80    ----------------------------------------------------------------------
81    Name: Matthias Blume (blume (at) tti - c (dot) org)
82    Date: 2004/08/10 12:00:00 CDT
83    Tag: Release_110_48
84    Description:
85    
86    New working version (110.48).  NEW BOOTFILES!
87    
88    ----------------------------------------------------------------------
89    Name: Allen Leung (leunga (at) reservoir (dot) com)
90    Date: 2004/08/09 12:21:00 EST
91    Tag: leunga-110_47-dijsktra
92    Description:
93    
94    Bug fix from Carl Hauser:
95    
96    single_source_shortest_paths in dijkstra.sml was observed to get wrong
97    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
98    
99    The problem is that following the expression A.update(dist,s,Num.zero)
100    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
101    
102    ----------------------------------------------------------------------
103    Name: Matthias Blume (blume (at) tti - c (dot) org)
104    Date: 2004/08/06 18:10:00 CDT
105    Tag: blume-20040806-cmdline
106    Description:
107    
108    Fiddled with handling of command-line options:
109    
110      * sml now quits after processing the command line
111        if -H, -S, -h<n>, or -s<n> appears as the last
112        command-line argument
113      * a new option -q terminates the session when encountered on
114        the command line; subsequent arguments will be ignored
115      * bug fixes: short (erroneous) arguments are no longer ignored
116        completely
117    
118    ----------------------------------------------------------------------
119    Name: Allen Leung (leunga (at) reservoir (dot) com)
120    Date: 2004/08/04 18:17:00 EST
121    Tag: leunga-110_47-ppc-ibm-asm
122    Description:
123    
124      - Added minimal IBM assembly syntax support for PowerPC.
125    
126      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
127        been altered in the runtime.  We need an automatic way to keep the file
128        in sync.
129    
130    ----------------------------------------------------------------------
131    Name: Matthias Blume (blume (at) tti - c (dot) org)
132    Date: 2004/08/04 14:00:00 CDT
133    Tag: Release_110_47
134    Description:
135    
136    New working version (110.47).  NEW BOOTFILES!
137    
138    ----------------------------------------------------------------------
139    Name: Matthias Blume (blume (at) tti - c (dot) org)
140    Date: 2004/08/03 14:25:00 CDT
141    Tag: blume-20040803-callingconv
142    Description:
143    
144    Added low-level support for choosing C calling conventions by
145    twiddling the type of rawccall.  (See
146    src/compiler/Semant/types/cproto.sml for details.)
147    
148    ----------------------------------------------------------------------
149    Name: Matthias Blume (blume (at) tti - c (dot) org)
150    Date: 2004/08/02 15:55:00 CDT
151    Tag: blume-20040802-backout
152    Description:
153    
154    Backed out of change to win32-filesys.c.  The earlier patch to
155    get_file_time caused CM to produce files with the wrong time stamp.
156    
157    ----------------------------------------------------------------------
158    Name: Matthias Blume (blume (at) tti - c (dot) org)
159    Date: 2004/08/02 14:45:00 CDT
160    Tag: blume-20040802-nlffi-win32
161    Description:
162    
163    Added NLFFI support for Win32, adapted from a patch provided by David
164    Hansel.  This is currently completely untested.  Also, the issue
165    concerning stdcall vs. ccall is still unresolved.
166    
167    ----------------------------------------------------------------------
168    Name: Matthias Blume (blume (at) tti - c (dot) org)
169    Date: 2004/07/30 17:55:00 CDT
170    Tag: blume-20040730-various
171    Description:
172    
173    Gearing up towards 110.47...
174    
175    - various minor bugfixes to ml-nlffigen
176    - a beginning of a manual for nlffi
177    
178    - eliminated 'export name=value' in config/install.sh as this does
179      not work with certain versions of /bin/sh
180      (Thanks to David King at Motorola for catching this.)
181    
182    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
183      - added a test for tm==NULL to gmtime.c and localtime.c
184      - applied patch for incorrect GetFileTime under win32
185      - toSeconds -> toMilliseconds in Win32/win32-process.sml
186    
187    ----------------------------------------------------------------------
188    Name: Matthias Blume (blume (at) tti - c (dot) org)
189    Date: 2004/07/21 18:20:00 CDT
190    Tag: blume-20040721-nlffigen
191    Description:
192    
193    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
194      for a typedef to an incomplete type, but leave out the "typ" member.
195      (This is just for consistency.)
196    - Started to produce what is supposed to become better (i.e., comprehensive)
197      documentation of what ml-nlffigen does and produces.
198    
199    ----------------------------------------------------------------------
200    Name: Matthias Blume (blume (at) tti - c (dot) org)
201    Date: 2004/07/14 16:25:00 CDT
202    Tag: blume-20040714-union
203    Description:
204    
205    Added C_UNION to c-calls/c-types.sml and updated the machinery
206    (ml-nlffigen, cproto.sml) that conveys C function interface
207    information to the code generator.
208    
209    However, the actual architecture-specific implementation of function
210    arguments and results that are C unions is still not implemented.
211    
212    ----------------------------------------------------------------------
213    Name: Allen Leung (leunga (at) reservoir (dot) com)
214    Date: 2004/07/14 14:38:00 EST
215    Tag: leunga-110_46_1-ppc-lwzu
216    Description:
217    
218        Added these instructions to the PowerPC architecture:
219        LBZU(X), LHZU(X), LWZU(X),
220        STWU(X), STFDU, STFSU
221    
222        etc...
223    
224        Note: I haven't added their instruction encoding into the description.
225    
226    ----------------------------------------------------------------------
227    Name: Allen Leung (leunga (at) reservoir (dot) com)
228    Date: 2004/07/13 15:04:00 EST
229    Tag: leunga-110_46_1-ppc-lwarx
230    Description:
231    
232       Added the two instructions LWARX and STWCX to the PowerPC
233    instruction set.
234    
235       A (untested) rewrite of loop-structure.sml.  The old version
236    is completely broken.
237    
238    ----------------------------------------------------------------------
239    Name: Matthias Blume (blume (at) tti - c (dot) org)
240    Date: 2004/07/13 13:50:00 CDT
241    Tag: blume-20040713-nlffi
242    Description:
243    
244    - use paramAlloc to report c-calls with too many arguments
245      (for PPC version where parameter area is pre-allocated)
246    - added ccall_maxargspace to machspec (to implement the above)
247    - made "make" commend in CM's "make" tool configurable
248    - added option (default: on) for passing the name of the SML/NJ's "bin"
249      directory to "make"; the call looks like this:
250    
251         make <options> SMLNJ_BINDIR=<dir> <target>
252    
253      This can be used by the Makefile to, e.g., pick the "right" version
254      of ml-nlffigen.
255    - minor code tweaks
256    
257    ----------------------------------------------------------------------
258    Name: Matthias Blume (blume (at) tti - c (dot) org)
259    Date: 2004/07/12 22:50:00 CDT
260    Tag: blume-110_46_1-macosx-nlffi
261    Description:
262    
263    NLFFI under Mac OS X now working (sort of).  This is largely untested,
264    though.
265    
266    Note:  1. You have to make a new, clean build of the runtime system.
267           2. There are new BOOTFILES, you have to use them!
268              (Doing the bootstrap process yourself would be *very* painful!
269               If you absolutely have to do it, build the system under
270               a different architecture and then cross-compile.)
271    
272    Version bumped to 110.46.1 to account for runtime data format changes.
273    
274    ----------------------------------------------------------------------
275    Name: Matthias Blume (blume (at) tti - c (dot) org)
276    Date: 2004/06/18 14:30:00 CDT
277    Tag: blume-20040618-unix
278    Description:
279    
280    Changed the implementation of structure Unix so that the same stream
281    is returned every time one of the {text,bin}{In,Out}streamOf functions
282    is invoked on the same proc.  This is not what the spec currently
283    says -- although IMO it arguably should.  (See discussion below.)
284    
285    ----------------------------------------------------------------------
286    Name: Matthias Blume (blume (at) tti - c (dot) org)
287    Date: 2004/06/17 18:15:00 CDT
288    Tag: Release_110_46
289    Description:
290    
291    New working version (110.46).  NEW BOOTFILES!
292    
293    ----------------------------------------------------------------------
294    Name: Matthias Blume (blume (at) tti - c (dot) org)
295    Date: 2004/06/17 17:20:00 CDT
296    Tag: blume-20040617-timer-unix
297    Description:
298    
299    Changed the interface of structures Timer and Unix to match the most
300    recent Basis spec.
301    
302    In the case of Unix there still seems to be an open/weird issue:
303    
304       The {text,bin}{In,Out}streamOf functions are supposed to create
305       fresh streams whenever they are called -- as opposed to have them
306       return the same stream every time.  This design is supposed to
307       prevent space leaks caused by proc values hanging on to streams.
308    
309       The reap function, on the other hand, is supposed to close the
310       streams.  This cannot be done without having a handle on the
311       stream in proc after all...
312    
313    I took the liberty to implement the following stopgap solution:
314    
315      The proc value hangs on to the most recently created stream(s).
316      Reap closes those.  If either or both of the two streams hadn't
317      been created at all yet, then reap will close the corresponding
318      file descriptors directly.
319    
320    PS: I don't understand the original space leak argument anymore.  If
321    a proc hangs on to the imperative stream, then I/O operations on those
322    will advance the state of the cached stream and avoid the space leak.
323    
324    ----------------------------------------------------------------------
325    Name: Matthias Blume (blume (at) tti - c (dot) org)
326    Date: 2004/05/28 16:45:00 CDT
327    Tag: blume-20040528-basis
328    Description:
329    
330    Added signature PACK_REAL and exported functor PrimIO.
331    
332    ----------------------------------------------------------------------
333    Name: Matthias Blume (blume (at) tti - c (dot) org)
334    Date: 2004/05/25 16:00:00 CDT
335    Tag: blume-20040525-group-owner
336    Description:
337    
338    CM now ignores (but still accepts) the "owner" information in group
339    descriptions.  The owner of a group is its next enclosing
340    library. Each group must have a unique owner.  (There is a virtual
341    "toplevel" library that owns groups which are not nested within a real
342    library.)  Previously, each group had to explicitly declare its owner,
343    and CM would check that such a declaration is correct.  The new scheme
344    is to have CM check that for each group there is precisely one owning
345    library.
346    
347    The advantage of the new scheme is that the programmer no longer needs
348    to maintain the somewhat annoying owner information.  The downside is
349    that CM cannot enforce the ownership rule across multiple runs of
350    CM.make.  Fortunately, enclosing the same group in two different
351    libraries A and B which are not part of the same program does not
352    cause real problems.
353    
354    ----------------------------------------------------------------------
355    Name: Matthias Blume (blume (at) tti - c (dot) org)
356    Date: 2004/05/20 16:00:00 CDT
357    Tag: blume-20040520-win32
358    Description:
359    
360    Made the win32 version work again.  (Strangely, a misplaced comma had
361    slipped into win32-process.c which prevented the runtime from being
362    compiled correctly.)
363    
364    Also, included a minor addition to ml-build.bat analogous to what was
365    done in blume-20040519-ml-build.
366    
367    ----------------------------------------------------------------------
368    Name: Matthias Blume (blume (at) tti - c (dot) org)
369    Date: 2004/05/19 22:10:00 CDT
370    Tag: blume-20040519-ml-build
371    Description:
372    
373    Arranged for ml-build to clean up after itself a little bit better.
374    The script generates a temporary SML source file and compiles it using
375    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
376    gets rid of those at the end, so they don't accumulate under .cm.
377    
378    This required a minor change to install.sh because the name of the
379    metadata directory (default: .cm) is actually configurable at
380    installation time.
381    
382    ----------------------------------------------------------------------
383    Name: Matthias Blume (blume (at) tti - c (dot) org)
384    Date: 2004/05/18 15:50:00 CDT
385    Tag: blume-20040518-mkreader
386    Description:
387    
388    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
389    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
390    
391    ----------------------------------------------------------------------
392    Name: Matthias Blume (blume (at) tti - c (dot) org)
393    Date: 2004/05/11 14:35:00 CDT
394    Tag: blume-20040511-win32sock
395    Description:
396    
397    Added previously missing support for many socket-related functions
398    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
399    for the voluminous patch!
400    
401    (I have not tested this patch under win32 yet.)
402    
403    Here is David's e-mail:
404    
405    Hi,
406    
407    Attached to this email you find a diff against sml/nj 110.45
408    that will enable socket support under Windows.
409    
410    To apply the patch (using unix or cygwin)
411    1) gunzip runtime.diff.gz
412    2) "cd" into "src/runtime" in the source tree of a fresh
413       110.45 installation.
414    3) patch -p 1 < [your/path/to]runtime.diff
415    
416    The code compiles fine but has NOT yet been extensively tested.
417    I only ran a few tests for basic socket client functionality
418    (which worked fine).  Especially the functions that use ioctl
419    are not tested at all and might not work (see below).
420    
421    I implemented this since we want to move to a newer version of sml/nj
422    but need socket support in order to use it.  This is the first time I
423    even had a look at the sml/nj source,  so please review my changes
424    before making this part of the distribution!  Here are a few issues
425    that I think might be better for someone to solve who is more
426    familiar with the sml/nj source (and socket programming):
427    
428    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
429      exception since I could not figure out what the windows equivalent
430      of these functions is
431    
432    - In sockets-osdep.h there are a some #include statements that are
433      only used in a few files that include sockets-osdep.h
434    
435    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
436      does not process its return value since I don't know how to
437      report an error upwards.
438    
439    - It would probably be good to have a call to WSACleanup() when
440      the library is unloaded (if there is such a possibility).
441      Otherwise I think Windows will take care of this automatically
442      when the process finishes.
443    
444    - I used ioctlsocket() as a replacement for ioctl() but I have
445      no idea if that is actually the proper replacement on Windows.
446    
447    - All these issues are marked in the code by "FIXME" comments.
448    
449    We use sml/nj extensively in our products and are quite happy
450    with it.  I hope this contribution will help you.
451    
452    Keep up the good work!
453    
454    David
455    
456    ----------------------------------------------------------------------
457    Name: Matthias Blume (blume (at) tti - c (dot) org)
458    Date: 2004/05/11 14:20:00 CDT
459    Tag: blume-20040511-installml
460    Description:
461    
462    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
463    the patch.)
464    
465    ----------------------------------------------------------------------
466    Name: Matthias Blume (blume (at) tti - c (dot) org)
467    Date: 2004/05/11 14:05:00 CDT
468    Tag: blume-20040511-nlffi-netbsd
469    Description:
470    
471    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
472    the patch.)
473    
474    ----------------------------------------------------------------------
475    Name: Matthias Blume (blume (at) tti - c (dot) org)
476    Date: 2004/05/11 12:05:00 CDT
477    Tag: blume-20040511-exports
478    Description:
479    
480    As per request by Adam Chlipala <adam@hcoop.net>, extended various
481    export lists in compiler-related .cm-files.
482    
483    ----------------------------------------------------------------------
484    Name: Matthias Blume (blume (at) tti - c (dot) org)
485    Date: 2004/05/11 11:35:00 CDT
486    Tag: blume-20040511-allsource
487    Description:
488    
489    The installer now honors the "src-smlnj" target again, although its meaning
490    has changed from "all sources required for the compiler" to "all sources
491    the installer knows about".  In other words, if you enable "src-smlnj"
492    in the "targets" file, then the installer will pull in sources for
493    everything.  (Notice that this refers to source code only.  Compiled
494    code is still only installed for modules that were requested explicitly
495    or which are required for other modules that were requested explicitly.)
496    
497    ----------------------------------------------------------------------
498    Name: Matthias Blume (blume (at) tti - c (dot) org)
499    Date: 2004/04/23 17:40:00 CDT
500    Tag: blume-20040423-ieee-scan
501    Description:
502    
503    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
504    in the exponent calculation we get INF or ZERO (depending on the mantissa
505    and the sign of the exponent).
506    
507    ----------------------------------------------------------------------
508    Name: Matthias Blume (blume (at) tti - c (dot) org)
509    Date: 2004/04/23 10:40:00 CDT
510    Tag: blume-20040423-ml-build
511    Description:
512    
513    The ml-build script now terminates with a non-0 status when something
514    goes wrong.
515    
516    ----------------------------------------------------------------------
517    Name: Matthias Blume (blume (at) tti - c (dot) org)
518    Date: 2004/04/22 16:35:00 CDT
519    Tag: blume-20040422-Option
520    Description:
521    
522    Made exception Option to be the same as exception Option.Option
523    (as it should be).
524    
525    ----------------------------------------------------------------------
526    Name: Allen Leung (leunga (at) reservoir (dot) com)
527    Date: 2004/03/19 14:40:00 EST
528    Tag: leunga-20040319-cygwin-nlffi
529    Description:
530    
531    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
532    of SML/NJ.  The problem is that
533    
534       lib = dlopen(NULL, ...)
535       f   = dlsym(lib, "malloc");
536    
537    does not work on Windows unless we explicitly export symbols
538    such as 'malloc' during linking.  We fixed this by explicitly
539    exporting the required symbols with the magic gcc incantation:
540    
541        -Wl,--export-all cygwin.def
542    
543    where cygwin.def is a file containing all the symbols that
544    we wish to export.
545    
546    I suspect this is a Windows problem and we'll have to
547    do the same (somehow with windows compilers) when
548    we build the native win32 version with the system
549    calls LoadLibrary/GetProcAddress.
550    
551    ----------------------------------------------------------------------
552    Name: Matthias Blume (blume (at) tti - c (dot) org)
553    Date: 2004/03/04 16:35:00 CST
554    Tag: blume-20040304-intinf-fmt
555    Description:
556    
557    Fixed problem with IntInf.fmt (sign would show up on the right instead
558    of on the left for BIN, OCT, and HEX).
559    
560    ----------------------------------------------------------------------
561    Name: Matthias Blume (blume (at) tti - c (dot) org)
562    Date: 2004/03/04 11:25:00 CST
563    Tag: blume-20040304-symlinks
564    Description:
565    
566    Fixed problem with installer script (unix only) where bin/ml-yacc and
567    friends pointed (via symlinks) to absolute locations instead of just
568    .run-sml.  This was reported by Vesa A Norrman.
569    
570    ----------------------------------------------------------------------
571    Name: Matthias Blume (blume (at) tti - c (dot) org)
572    Date: 2004/02/13 14:50:00 CST
573    Tag: Release_110_45
574    Description:
575    
576    New working version (110.45). New bootfiles.
577    
578    ----------------------------------------------------------------------
579    Name: Matthias Blume (blume (at) tti - c (dot) org)
580    Date: 2004/01/26 15:15:15 CST
581    Tag: blume-20040126-toplevel
582    Description:
583    
584    Improved handling of exceptions at the interactive toplevel.
585    
586    ----------------------------------------------------------------------
587  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
588  Date: 2004/01/26  Date: 2004/01/26 11:25:00
589  Tag: blume-20040126-app  Tag: blume-20040126-app
590  Description:  Description:
591    
592  Type of top-level "app" corrected.  Type of top-level "app" corrected.
593    Added code for setting vp_limitPtrMask to Win32-specific runtime.
594    
595  ----------------------------------------------------------------------  ----------------------------------------------------------------------
596  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)

Legend:
Removed from v.1446  
changed lines
  Added in v.1618

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