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 1399, Tue Sep 30 21:10:05 2003 UTC revision 1496, Thu May 20 20:58:32 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/05/20 16:00:00 CDT
18    Tag: blume-20040520-win32
19    Description:
20    
21    Made the win32 version work again.  (Strangely, a misplaced comma had
22    slipped into win32-process.c which prevented the runtime from being
23    compiled correctly.)
24    
25    Also, included a minor addition to ml-build.bat analogous to what was
26    done in blume-20040519-ml-build.
27    
28    ----------------------------------------------------------------------
29    Name: Matthias Blume (blume (at) tti - c (dot) org)
30    Date: 2004/05/19 22:10:00 CDT
31    Tag: blume-20040519-ml-build
32    Description:
33    
34    Arranged for ml-build to clean up after itself a little bit better.
35    The script generates a temporary SML source file and compiles it using
36    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
37    gets rid of those at the end, so they don't accumulate under .cm.
38    
39    This required a minor change to install.sh because the name of the
40    metadata directory (default: .cm) is actually configurable at
41    installation time.
42    
43    ----------------------------------------------------------------------
44    Name: Matthias Blume (blume (at) tti - c (dot) org)
45    Date: 2004/05/18 15:50:00 CDT
46    Tag: blume-20040518-mkreader
47    Description:
48    
49    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
50    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
51    
52    ----------------------------------------------------------------------
53    Name: Matthias Blume (blume (at) tti - c (dot) org)
54    Date: 2004/05/11 14:35:00 CDT
55    Tag: blume-20040511-win32sock
56    Description:
57    
58    Added previously missing support for many socket-related functions
59    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
60    for the voluminous patch!
61    
62    (I have not tested this patch under win32 yet.)
63    
64    Here is David's e-mail:
65    
66    Hi,
67    
68    Attached to this email you find a diff against sml/nj 110.45
69    that will enable socket support under Windows.
70    
71    To apply the patch (using unix or cygwin)
72    1) gunzip runtime.diff.gz
73    2) "cd" into "src/runtime" in the source tree of a fresh
74       110.45 installation.
75    3) patch -p 1 < [your/path/to]runtime.diff
76    
77    The code compiles fine but has NOT yet been extensively tested.
78    I only ran a few tests for basic socket client functionality
79    (which worked fine).  Especially the functions that use ioctl
80    are not tested at all and might not work (see below).
81    
82    I implemented this since we want to move to a newer version of sml/nj
83    but need socket support in order to use it.  This is the first time I
84    even had a look at the sml/nj source,  so please review my changes
85    before making this part of the distribution!  Here are a few issues
86    that I think might be better for someone to solve who is more
87    familiar with the sml/nj source (and socket programming):
88    
89    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
90      exception since I could not figure out what the windows equivalent
91      of these functions is
92    
93    - In sockets-osdep.h there are a some #include statements that are
94      only used in a few files that include sockets-osdep.h
95    
96    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
97      does not process its return value since I don't know how to
98      report an error upwards.
99    
100    - It would probably be good to have a call to WSACleanup() when
101      the library is unloaded (if there is such a possibility).
102      Otherwise I think Windows will take care of this automatically
103      when the process finishes.
104    
105    - I used ioctlsocket() as a replacement for ioctl() but I have
106      no idea if that is actually the proper replacement on Windows.
107    
108    - All these issues are marked in the code by "FIXME" comments.
109    
110    We use sml/nj extensively in our products and are quite happy
111    with it.  I hope this contribution will help you.
112    
113    Keep up the good work!
114    
115    David
116    
117    ----------------------------------------------------------------------
118    Name: Matthias Blume (blume (at) tti - c (dot) org)
119    Date: 2004/05/11 14:20:00 CDT
120    Tag: blume-20040511-installml
121    Description:
122    
123    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
124    the patch.)
125    
126    ----------------------------------------------------------------------
127    Name: Matthias Blume (blume (at) tti - c (dot) org)
128    Date: 2004/05/11 14:05:00 CDT
129    Tag: blume-20040511-nlffi-netbsd
130    Description:
131    
132    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
133    the patch.)
134    
135    ----------------------------------------------------------------------
136    Name: Matthias Blume (blume (at) tti - c (dot) org)
137    Date: 2004/05/11 12:05:00 CDT
138    Tag: blume-20040511-exports
139    Description:
140    
141    As per request by Adam Chlipala <adam@hcoop.net>, extended various
142    export lists in compiler-related .cm-files.
143    
144    ----------------------------------------------------------------------
145    Name: Matthias Blume (blume (at) tti - c (dot) org)
146    Date: 2004/05/11 11:35:00 CDT
147    Tag: blume-20040511-allsource
148    Description:
149    
150    The installer now honors the "src-smlnj" target again, although its meaning
151    has changed from "all sources required for the compiler" to "all sources
152    the installer knows about".  In other words, if you enable "src-smlnj"
153    in the "targets" file, then the installer will pull in sources for
154    everything.  (Notice that this refers to source code only.  Compiled
155    code is still only installed for modules that were requested explicitly
156    or which are required for other modules that were requested explicitly.)
157    
158    ----------------------------------------------------------------------
159    Name: Matthias Blume (blume (at) tti - c (dot) org)
160    Date: 2004/04/23 17:40:00 CDT
161    Tag: blume-20040423-ieee-scan
162    Description:
163    
164    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
165    in the exponent calculation we get INF or ZERO (depending on the mantissa
166    and the sign of the exponent).
167    
168    ----------------------------------------------------------------------
169    Name: Matthias Blume (blume (at) tti - c (dot) org)
170    Date: 2004/04/23 10:40:00 CDT
171    Tag: blume-20040423-ml-build
172    Description:
173    
174    The ml-build script now terminates with a non-0 status when something
175    goes wrong.
176    
177    ----------------------------------------------------------------------
178    Name: Matthias Blume (blume (at) tti - c (dot) org)
179    Date: 2004/04/22 16:35:00 CDT
180    Tag: blume-20040422-Option
181    Description:
182    
183    Made exception Option to be the same as exception Option.Option
184    (as it should be).
185    
186    ----------------------------------------------------------------------
187    Name: Allen Leung (leunga (at) reservoir (dot) com)
188    Date: 2004/03/19 14:40:00 EST
189    Tag: leunga-20040319-cygwin-nlffi
190    Description:
191    
192    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
193    of SML/NJ.  The problem is that
194    
195       lib = dlopen(NULL, ...)
196       f   = dlsym(lib, "malloc");
197    
198    does not work on Windows unless we explicitly export symbols
199    such as 'malloc' during linking.  We fixed this by explicitly
200    exporting the required symbols with the magic gcc incantation:
201    
202        -Wl,--export-all cygwin.def
203    
204    where cygwin.def is a file containing all the symbols that
205    we wish to export.
206    
207    I suspect this is a Windows problem and we'll have to
208    do the same (somehow with windows compilers) when
209    we build the native win32 version with the system
210    calls LoadLibrary/GetProcAddress.
211    
212    ----------------------------------------------------------------------
213    Name: Matthias Blume (blume (at) tti - c (dot) org)
214    Date: 2004/03/04 16:35:00 CST
215    Tag: blume-20040304-intinf-fmt
216    Description:
217    
218    Fixed problem with IntInf.fmt (sign would show up on the right instead
219    of on the left for BIN, OCT, and HEX).
220    
221    ----------------------------------------------------------------------
222    Name: Matthias Blume (blume (at) tti - c (dot) org)
223    Date: 2004/03/04 11:25:00 CST
224    Tag: blume-20040304-symlinks
225    Description:
226    
227    Fixed problem with installer script (unix only) where bin/ml-yacc and
228    friends pointed (via symlinks) to absolute locations instead of just
229    .run-sml.  This was reported by Vesa A Norrman.
230    
231    ----------------------------------------------------------------------
232    Name: Matthias Blume (blume (at) tti - c (dot) org)
233    Date: 2004/02/13 14:50:00 CST
234    Tag: Release_110_45
235    Description:
236    
237    New working version (110.45). New bootfiles.
238    
239    ----------------------------------------------------------------------
240    Name: Matthias Blume (blume (at) tti - c (dot) org)
241    Date: 2004/01/26 15:15:15 CST
242    Tag: blume-20040126-toplevel
243    Description:
244    
245    Improved handling of exceptions at the interactive toplevel.
246    
247    ----------------------------------------------------------------------
248    Name: Matthias Blume (blume (at) tti - c (dot) org)
249    Date: 2004/01/26 11:25:00
250    Tag: blume-20040126-app
251    Description:
252    
253    Type of top-level "app" corrected.
254    Added code for setting vp_limitPtrMask to Win32-specific runtime.
255    
256    ----------------------------------------------------------------------
257    Name: Matthias Blume (blume (at) tti - c (dot) org)
258    Date: 2003/11/18 17:10 CST
259    Tag: blume-20031118-basis-fiddle
260    Description:
261    
262    - changed Timer interface to what might become the spec
263    - POSIX_FLAGS -> BIT_FLAGS according to spec
264    - some other minor discrepancies wrt. spec eliminated
265    
266    ----------------------------------------------------------------------
267    Name: Matthias Blume (blume (at) tti - c (dot) org)
268    Date: 2003/11/06 12:00:00 CST
269    Tag: Release_110_44
270    Description:
271    
272    New working version (110.44). New bootfiles.
273    
274    ----------------------------------------------------------------------
275    Name: Matthias Blume (blume (at) tti - c (dot) org)
276    Date: 2003/11/04 11:50:00 CST
277    Tag: blume-20031104-move-libraries
278    Description:
279    
280    Eliminated the "dont_move_libraries" directive in config/targets.
281    (The mechanism was broken and could not be fixed easily.  Moreover,
282    there does not seem to be any reason not to move all libraries into
283    lib during installation.  I originally implemented this directive as a
284    backward-compatibility feature when I first introduced the new CM.
285    Now that things have been stable for a long time and going back to the
286    old CM is not an option, there is no reason to keep it around.)
287    
288    ----------------------------------------------------------------------
289    Name: Matthias Blume (blume (at) tti - c (dot) org)
290    Date: 2003/11/03 16:00:00 CST
291    Tag: blume-20031103-installdir
292    Description:
293    
294    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
295    Richards for pointing out the problem and providing the solution.)
296    
297    ----------------------------------------------------------------------
298    Name: Matthias Blume (blume (at) tti - c (dot) org)
299    Date: 2003/10/01 17:05:00 CDT
300    Tag: blume-20031001-lal-mlrisc
301    Description:
302    
303    MLRISC bug fix from Lal.
304    
305    ----------------------------------------------------------------------
306    Name: Matthias Blume (blume (at) tti - c (dot) org)
307  Date: 2003/09/30 16:10:00 CDT  Date: 2003/09/30 16:10:00 CDT
308  Tag: blume-20030930-primio-bat  Tag: blume-20030930-primio-bat
309  Description:  Description:

Legend:
Removed from v.1399  
changed lines
  Added in v.1496

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