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

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

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