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 1487, Tue May 11 19:01:04 2004 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  Date: 2004/05/11 14:05:00 CDT
151  Tag: blume-20040511-nlffi-netbsd  Tag: blume-20040511-nlffi-netbsd
152  Description:  Description:

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

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