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 1482, Fri Apr 23 22:39:17 2004 UTC revision 1595, Fri Aug 6 23:07:17 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/08/06 18:10:00 CDT
18    Tag: blume-20040806-cmdline
19    Description:
20    
21    Fiddled with handling of command-line options:
22    
23      * sml now quits after processing the command line
24        if -H, -S, -h<n>, or -s<n> appears as the last
25        command-line argument
26      * a new option -q terminates the session when encountered on
27        the command line; subsequent arguments will be ignored
28      * bug fixes: short (erroneous) arguments are no longer ignored
29        completely
30    
31    ----------------------------------------------------------------------
32    Name: Allen Leung (leunga (at) reservoir (dot) com)
33    Date: 2004/08/04 18:17:00 EST
34    Tag: leunga-110_47-ppc-ibm-asm
35    Description:
36    
37      - Added minimal IBM assembly syntax support for PowerPC.
38    
39      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
40        been altered in the runtime.  We need an automatic way to keep the file
41        in sync.
42    
43    ----------------------------------------------------------------------
44    Name: Matthias Blume (blume (at) tti - c (dot) org)
45    Date: 2004/08/04 14:00:00 CDT
46    Tag: Release_110_47
47    Description:
48    
49    New working version (110.47).  NEW BOOTFILES!
50    
51    ----------------------------------------------------------------------
52    Name: Matthias Blume (blume (at) tti - c (dot) org)
53    Date: 2004/08/03 14:25:00 CDT
54    Tag: blume-20040803-callingconv
55    Description:
56    
57    Added low-level support for choosing C calling conventions by
58    twiddling the type of rawccall.  (See
59    src/compiler/Semant/types/cproto.sml for details.)
60    
61    ----------------------------------------------------------------------
62    Name: Matthias Blume (blume (at) tti - c (dot) org)
63    Date: 2004/08/02 15:55:00 CDT
64    Tag: blume-20040802-backout
65    Description:
66    
67    Backed out of change to win32-filesys.c.  The earlier patch to
68    get_file_time caused CM to produce files with the wrong time stamp.
69    
70    ----------------------------------------------------------------------
71    Name: Matthias Blume (blume (at) tti - c (dot) org)
72    Date: 2004/08/02 14:45:00 CDT
73    Tag: blume-20040802-nlffi-win32
74    Description:
75    
76    Added NLFFI support for Win32, adapted from a patch provided by David
77    Hansel.  This is currently completely untested.  Also, the issue
78    concerning stdcall vs. ccall is still unresolved.
79    
80    ----------------------------------------------------------------------
81    Name: Matthias Blume (blume (at) tti - c (dot) org)
82    Date: 2004/07/30 17:55:00 CDT
83    Tag: blume-20040730-various
84    Description:
85    
86    Gearing up towards 110.47...
87    
88    - various minor bugfixes to ml-nlffigen
89    - a beginning of a manual for nlffi
90    
91    - eliminated 'export name=value' in config/install.sh as this does
92      not work with certain versions of /bin/sh
93      (Thanks to David King at Motorola for catching this.)
94    
95    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
96      - added a test for tm==NULL to gmtime.c and localtime.c
97      - applied patch for incorrect GetFileTime under win32
98      - toSeconds -> toMilliseconds in Win32/win32-process.sml
99    
100    ----------------------------------------------------------------------
101    Name: Matthias Blume (blume (at) tti - c (dot) org)
102    Date: 2004/07/21 18:20:00 CDT
103    Tag: blume-20040721-nlffigen
104    Description:
105    
106    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
107      for a typedef to an incomplete type, but leave out the "typ" member.
108      (This is just for consistency.)
109    - Started to produce what is supposed to become better (i.e., comprehensive)
110      documentation of what ml-nlffigen does and produces.
111    
112    ----------------------------------------------------------------------
113    Name: Matthias Blume (blume (at) tti - c (dot) org)
114    Date: 2004/07/14 16:25:00 CDT
115    Tag: blume-20040714-union
116    Description:
117    
118    Added C_UNION to c-calls/c-types.sml and updated the machinery
119    (ml-nlffigen, cproto.sml) that conveys C function interface
120    information to the code generator.
121    
122    However, the actual architecture-specific implementation of function
123    arguments and results that are C unions is still not implemented.
124    
125    ----------------------------------------------------------------------
126    Name: Allen Leung (leunga (at) reservoir (dot) com)
127    Date: 2004/07/14 14:38:00 EST
128    Tag: leunga-110_46_1-ppc-lwzu
129    Description:
130    
131        Added these instructions to the PowerPC architecture:
132        LBZU(X), LHZU(X), LWZU(X),
133        STWU(X), STFDU, STFSU
134    
135        etc...
136    
137        Note: I haven't added their instruction encoding into the description.
138    
139    ----------------------------------------------------------------------
140    Name: Allen Leung (leunga (at) reservoir (dot) com)
141    Date: 2004/07/13 15:04:00 EST
142    Tag: leunga-110_46_1-ppc-lwarx
143    Description:
144    
145       Added the two instructions LWARX and STWCX to the PowerPC
146    instruction set.
147    
148       A (untested) rewrite of loop-structure.sml.  The old version
149    is completely broken.
150    
151    ----------------------------------------------------------------------
152    Name: Matthias Blume (blume (at) tti - c (dot) org)
153    Date: 2004/07/13 13:50:00 CDT
154    Tag: blume-20040713-nlffi
155    Description:
156    
157    - use paramAlloc to report c-calls with too many arguments
158      (for PPC version where parameter area is pre-allocated)
159    - added ccall_maxargspace to machspec (to implement the above)
160    - made "make" commend in CM's "make" tool configurable
161    - added option (default: on) for passing the name of the SML/NJ's "bin"
162      directory to "make"; the call looks like this:
163    
164         make <options> SMLNJ_BINDIR=<dir> <target>
165    
166      This can be used by the Makefile to, e.g., pick the "right" version
167      of ml-nlffigen.
168    - minor code tweaks
169    
170    ----------------------------------------------------------------------
171    Name: Matthias Blume (blume (at) tti - c (dot) org)
172    Date: 2004/07/12 22:50:00 CDT
173    Tag: blume-110_46_1-macosx-nlffi
174    Description:
175    
176    NLFFI under Mac OS X now working (sort of).  This is largely untested,
177    though.
178    
179    Note:  1. You have to make a new, clean build of the runtime system.
180           2. There are new BOOTFILES, you have to use them!
181              (Doing the bootstrap process yourself would be *very* painful!
182               If you absolutely have to do it, build the system under
183               a different architecture and then cross-compile.)
184    
185    Version bumped to 110.46.1 to account for runtime data format changes.
186    
187    ----------------------------------------------------------------------
188    Name: Matthias Blume (blume (at) tti - c (dot) org)
189    Date: 2004/06/18 14:30:00 CDT
190    Tag: blume-20040618-unix
191    Description:
192    
193    Changed the implementation of structure Unix so that the same stream
194    is returned every time one of the {text,bin}{In,Out}streamOf functions
195    is invoked on the same proc.  This is not what the spec currently
196    says -- although IMO it arguably should.  (See discussion below.)
197    
198    ----------------------------------------------------------------------
199    Name: Matthias Blume (blume (at) tti - c (dot) org)
200    Date: 2004/06/17 18:15:00 CDT
201    Tag: Release_110_46
202    Description:
203    
204    New working version (110.46).  NEW BOOTFILES!
205    
206    ----------------------------------------------------------------------
207    Name: Matthias Blume (blume (at) tti - c (dot) org)
208    Date: 2004/06/17 17:20:00 CDT
209    Tag: blume-20040617-timer-unix
210    Description:
211    
212    Changed the interface of structures Timer and Unix to match the most
213    recent Basis spec.
214    
215    In the case of Unix there still seems to be an open/weird issue:
216    
217       The {text,bin}{In,Out}streamOf functions are supposed to create
218       fresh streams whenever they are called -- as opposed to have them
219       return the same stream every time.  This design is supposed to
220       prevent space leaks caused by proc values hanging on to streams.
221    
222       The reap function, on the other hand, is supposed to close the
223       streams.  This cannot be done without having a handle on the
224       stream in proc after all...
225    
226    I took the liberty to implement the following stopgap solution:
227    
228      The proc value hangs on to the most recently created stream(s).
229      Reap closes those.  If either or both of the two streams hadn't
230      been created at all yet, then reap will close the corresponding
231      file descriptors directly.
232    
233    PS: I don't understand the original space leak argument anymore.  If
234    a proc hangs on to the imperative stream, then I/O operations on those
235    will advance the state of the cached stream and avoid the space leak.
236    
237    ----------------------------------------------------------------------
238    Name: Matthias Blume (blume (at) tti - c (dot) org)
239    Date: 2004/05/28 16:45:00 CDT
240    Tag: blume-20040528-basis
241    Description:
242    
243    Added signature PACK_REAL and exported functor PrimIO.
244    
245    ----------------------------------------------------------------------
246    Name: Matthias Blume (blume (at) tti - c (dot) org)
247    Date: 2004/05/25 16:00:00 CDT
248    Tag: blume-20040525-group-owner
249    Description:
250    
251    CM now ignores (but still accepts) the "owner" information in group
252    descriptions.  The owner of a group is its next enclosing
253    library. Each group must have a unique owner.  (There is a virtual
254    "toplevel" library that owns groups which are not nested within a real
255    library.)  Previously, each group had to explicitly declare its owner,
256    and CM would check that such a declaration is correct.  The new scheme
257    is to have CM check that for each group there is precisely one owning
258    library.
259    
260    The advantage of the new scheme is that the programmer no longer needs
261    to maintain the somewhat annoying owner information.  The downside is
262    that CM cannot enforce the ownership rule across multiple runs of
263    CM.make.  Fortunately, enclosing the same group in two different
264    libraries A and B which are not part of the same program does not
265    cause real problems.
266    
267    ----------------------------------------------------------------------
268    Name: Matthias Blume (blume (at) tti - c (dot) org)
269    Date: 2004/05/20 16:00:00 CDT
270    Tag: blume-20040520-win32
271    Description:
272    
273    Made the win32 version work again.  (Strangely, a misplaced comma had
274    slipped into win32-process.c which prevented the runtime from being
275    compiled correctly.)
276    
277    Also, included a minor addition to ml-build.bat analogous to what was
278    done in blume-20040519-ml-build.
279    
280    ----------------------------------------------------------------------
281    Name: Matthias Blume (blume (at) tti - c (dot) org)
282    Date: 2004/05/19 22:10:00 CDT
283    Tag: blume-20040519-ml-build
284    Description:
285    
286    Arranged for ml-build to clean up after itself a little bit better.
287    The script generates a temporary SML source file and compiles it using
288    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
289    gets rid of those at the end, so they don't accumulate under .cm.
290    
291    This required a minor change to install.sh because the name of the
292    metadata directory (default: .cm) is actually configurable at
293    installation time.
294    
295    ----------------------------------------------------------------------
296    Name: Matthias Blume (blume (at) tti - c (dot) org)
297    Date: 2004/05/18 15:50:00 CDT
298    Tag: blume-20040518-mkreader
299    Description:
300    
301    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
302    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
303    
304    ----------------------------------------------------------------------
305    Name: Matthias Blume (blume (at) tti - c (dot) org)
306    Date: 2004/05/11 14:35:00 CDT
307    Tag: blume-20040511-win32sock
308    Description:
309    
310    Added previously missing support for many socket-related functions
311    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
312    for the voluminous patch!
313    
314    (I have not tested this patch under win32 yet.)
315    
316    Here is David's e-mail:
317    
318    Hi,
319    
320    Attached to this email you find a diff against sml/nj 110.45
321    that will enable socket support under Windows.
322    
323    To apply the patch (using unix or cygwin)
324    1) gunzip runtime.diff.gz
325    2) "cd" into "src/runtime" in the source tree of a fresh
326       110.45 installation.
327    3) patch -p 1 < [your/path/to]runtime.diff
328    
329    The code compiles fine but has NOT yet been extensively tested.
330    I only ran a few tests for basic socket client functionality
331    (which worked fine).  Especially the functions that use ioctl
332    are not tested at all and might not work (see below).
333    
334    I implemented this since we want to move to a newer version of sml/nj
335    but need socket support in order to use it.  This is the first time I
336    even had a look at the sml/nj source,  so please review my changes
337    before making this part of the distribution!  Here are a few issues
338    that I think might be better for someone to solve who is more
339    familiar with the sml/nj source (and socket programming):
340    
341    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
342      exception since I could not figure out what the windows equivalent
343      of these functions is
344    
345    - In sockets-osdep.h there are a some #include statements that are
346      only used in a few files that include sockets-osdep.h
347    
348    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
349      does not process its return value since I don't know how to
350      report an error upwards.
351    
352    - It would probably be good to have a call to WSACleanup() when
353      the library is unloaded (if there is such a possibility).
354      Otherwise I think Windows will take care of this automatically
355      when the process finishes.
356    
357    - I used ioctlsocket() as a replacement for ioctl() but I have
358      no idea if that is actually the proper replacement on Windows.
359    
360    - All these issues are marked in the code by "FIXME" comments.
361    
362    We use sml/nj extensively in our products and are quite happy
363    with it.  I hope this contribution will help you.
364    
365    Keep up the good work!
366    
367    David
368    
369    ----------------------------------------------------------------------
370    Name: Matthias Blume (blume (at) tti - c (dot) org)
371    Date: 2004/05/11 14:20:00 CDT
372    Tag: blume-20040511-installml
373    Description:
374    
375    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
376    the patch.)
377    
378    ----------------------------------------------------------------------
379    Name: Matthias Blume (blume (at) tti - c (dot) org)
380    Date: 2004/05/11 14:05:00 CDT
381    Tag: blume-20040511-nlffi-netbsd
382    Description:
383    
384    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
385    the patch.)
386    
387    ----------------------------------------------------------------------
388    Name: Matthias Blume (blume (at) tti - c (dot) org)
389    Date: 2004/05/11 12:05:00 CDT
390    Tag: blume-20040511-exports
391    Description:
392    
393    As per request by Adam Chlipala <adam@hcoop.net>, extended various
394    export lists in compiler-related .cm-files.
395    
396    ----------------------------------------------------------------------
397    Name: Matthias Blume (blume (at) tti - c (dot) org)
398    Date: 2004/05/11 11:35:00 CDT
399    Tag: blume-20040511-allsource
400    Description:
401    
402    The installer now honors the "src-smlnj" target again, although its meaning
403    has changed from "all sources required for the compiler" to "all sources
404    the installer knows about".  In other words, if you enable "src-smlnj"
405    in the "targets" file, then the installer will pull in sources for
406    everything.  (Notice that this refers to source code only.  Compiled
407    code is still only installed for modules that were requested explicitly
408    or which are required for other modules that were requested explicitly.)
409    
410    ----------------------------------------------------------------------
411    Name: Matthias Blume (blume (at) tti - c (dot) org)
412  Date: 2004/04/23 17:40:00 CDT  Date: 2004/04/23 17:40:00 CDT
413  Tag: blume-20040423-ieee-scan  Tag: blume-20040423-ieee-scan
414  Description:  Description:

Legend:
Removed from v.1482  
changed lines
  Added in v.1595

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