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 1390, Wed Sep 24 20:34:06 2003 UTC revision 1539, Tue Jul 13 19:05:30 2004 UTC
# Line 13  Line 13 
13  Description:  Description:
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16    Name: Allen Leung (leunga (at) reservoir (dot) com)
17    Date: 2004/07/13 15:04:00 EST
18    Tag: leunga-110_46_1-ppc-lwarx
19    Description:
20    
21       Added the two instructions LWARX and STWCX to the PowerPC
22    instruction set.
23    
24       A (untested) rewrite of loop-structure.sml.  The old version
25    is completely broken.
26    
27    ----------------------------------------------------------------------
28    Name: Matthias Blume (blume (at) tti - c (dot) org)
29    Date: 2004/07/13 13:50:00 CDT
30    Tag: blume-20040713-nlffi
31    Description:
32    
33    - use paramAlloc to report c-calls with too many arguments
34      (for PPC version where parameter area is pre-allocated)
35    - added ccall_maxargspace to machspec (to implement the above)
36    - made "make" commend in CM's "make" tool configurable
37    - added option (default: on) for passing the name of the SML/NJ's "bin"
38      directory to "make"; the call looks like this:
39    
40         make <options> SMLNJ_BINDIR=<dir> <target>
41    
42      This can be used by the Makefile to, e.g., pick the "right" version
43      of ml-nlffigen.
44    - minor code tweaks
45    
46    ----------------------------------------------------------------------
47    Name: Matthias Blume (blume (at) tti - c (dot) org)
48    Date: 2004/07/12 22:50:00 CDT
49    Tag: blume-110_46_1-macosx-nlffi
50    Description:
51    
52    NLFFI under Mac OS X now working (sort of).  This is largely untested,
53    though.
54    
55    Note:  1. You have to make a new, clean build of the runtime system.
56           2. There are new BOOTFILES, you have to use them!
57              (Doing the bootstrap process yourself would be *very* painful!
58               If you absolutely have to do it, build the system under
59               a different architecture and then cross-compile.)
60    
61    Version bumped to 110.46.1 to account for runtime data format changes.
62    
63    ----------------------------------------------------------------------
64    Name: Matthias Blume (blume (at) tti - c (dot) org)
65    Date: 2004/06/18 14:30:00 CDT
66    Tag: blume-20040618-unix
67    Description:
68    
69    Changed the implementation of structure Unix so that the same stream
70    is returned every time one of the {text,bin}{In,Out}streamOf functions
71    is invoked on the same proc.  This is not what the spec currently
72    says -- although IMO it arguably should.  (See discussion below.)
73    
74    ----------------------------------------------------------------------
75    Name: Matthias Blume (blume (at) tti - c (dot) org)
76    Date: 2004/06/17 18:15:00 CDT
77    Tag: Release_110_46
78    Description:
79    
80    New working version (110.46).  NEW BOOTFILES!
81    
82    ----------------------------------------------------------------------
83    Name: Matthias Blume (blume (at) tti - c (dot) org)
84    Date: 2004/06/17 17:20:00 CDT
85    Tag: blume-20040617-timer-unix
86    Description:
87    
88    Changed the interface of structures Timer and Unix to match the most
89    recent Basis spec.
90    
91    In the case of Unix there still seems to be an open/weird issue:
92    
93       The {text,bin}{In,Out}streamOf functions are supposed to create
94       fresh streams whenever they are called -- as opposed to have them
95       return the same stream every time.  This design is supposed to
96       prevent space leaks caused by proc values hanging on to streams.
97    
98       The reap function, on the other hand, is supposed to close the
99       streams.  This cannot be done without having a handle on the
100       stream in proc after all...
101    
102    I took the liberty to implement the following stopgap solution:
103    
104      The proc value hangs on to the most recently created stream(s).
105      Reap closes those.  If either or both of the two streams hadn't
106      been created at all yet, then reap will close the corresponding
107      file descriptors directly.
108    
109    PS: I don't understand the original space leak argument anymore.  If
110    a proc hangs on to the imperative stream, then I/O operations on those
111    will advance the state of the cached stream and avoid the space leak.
112    
113    ----------------------------------------------------------------------
114    Name: Matthias Blume (blume (at) tti - c (dot) org)
115    Date: 2004/05/28 16:45:00 CDT
116    Tag: blume-20040528-basis
117    Description:
118    
119    Added signature PACK_REAL and exported functor PrimIO.
120    
121    ----------------------------------------------------------------------
122    Name: Matthias Blume (blume (at) tti - c (dot) org)
123    Date: 2004/05/25 16:00:00 CDT
124    Tag: blume-20040525-group-owner
125    Description:
126    
127    CM now ignores (but still accepts) the "owner" information in group
128    descriptions.  The owner of a group is its next enclosing
129    library. Each group must have a unique owner.  (There is a virtual
130    "toplevel" library that owns groups which are not nested within a real
131    library.)  Previously, each group had to explicitly declare its owner,
132    and CM would check that such a declaration is correct.  The new scheme
133    is to have CM check that for each group there is precisely one owning
134    library.
135    
136    The advantage of the new scheme is that the programmer no longer needs
137    to maintain the somewhat annoying owner information.  The downside is
138    that CM cannot enforce the ownership rule across multiple runs of
139    CM.make.  Fortunately, enclosing the same group in two different
140    libraries A and B which are not part of the same program does not
141    cause real problems.
142    
143    ----------------------------------------------------------------------
144    Name: Matthias Blume (blume (at) tti - c (dot) org)
145    Date: 2004/05/20 16:00:00 CDT
146    Tag: blume-20040520-win32
147    Description:
148    
149    Made the win32 version work again.  (Strangely, a misplaced comma had
150    slipped into win32-process.c which prevented the runtime from being
151    compiled correctly.)
152    
153    Also, included a minor addition to ml-build.bat analogous to what was
154    done in blume-20040519-ml-build.
155    
156    ----------------------------------------------------------------------
157    Name: Matthias Blume (blume (at) tti - c (dot) org)
158    Date: 2004/05/19 22:10:00 CDT
159    Tag: blume-20040519-ml-build
160    Description:
161    
162    Arranged for ml-build to clean up after itself a little bit better.
163    The script generates a temporary SML source file and compiles it using
164    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
165    gets rid of those at the end, so they don't accumulate under .cm.
166    
167    This required a minor change to install.sh because the name of the
168    metadata directory (default: .cm) is actually configurable at
169    installation time.
170    
171    ----------------------------------------------------------------------
172    Name: Matthias Blume (blume (at) tti - c (dot) org)
173    Date: 2004/05/18 15:50:00 CDT
174    Tag: blume-20040518-mkreader
175    Description:
176    
177    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
178    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
179    
180    ----------------------------------------------------------------------
181    Name: Matthias Blume (blume (at) tti - c (dot) org)
182    Date: 2004/05/11 14:35:00 CDT
183    Tag: blume-20040511-win32sock
184    Description:
185    
186    Added previously missing support for many socket-related functions
187    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
188    for the voluminous patch!
189    
190    (I have not tested this patch under win32 yet.)
191    
192    Here is David's e-mail:
193    
194    Hi,
195    
196    Attached to this email you find a diff against sml/nj 110.45
197    that will enable socket support under Windows.
198    
199    To apply the patch (using unix or cygwin)
200    1) gunzip runtime.diff.gz
201    2) "cd" into "src/runtime" in the source tree of a fresh
202       110.45 installation.
203    3) patch -p 1 < [your/path/to]runtime.diff
204    
205    The code compiles fine but has NOT yet been extensively tested.
206    I only ran a few tests for basic socket client functionality
207    (which worked fine).  Especially the functions that use ioctl
208    are not tested at all and might not work (see below).
209    
210    I implemented this since we want to move to a newer version of sml/nj
211    but need socket support in order to use it.  This is the first time I
212    even had a look at the sml/nj source,  so please review my changes
213    before making this part of the distribution!  Here are a few issues
214    that I think might be better for someone to solve who is more
215    familiar with the sml/nj source (and socket programming):
216    
217    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
218      exception since I could not figure out what the windows equivalent
219      of these functions is
220    
221    - In sockets-osdep.h there are a some #include statements that are
222      only used in a few files that include sockets-osdep.h
223    
224    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
225      does not process its return value since I don't know how to
226      report an error upwards.
227    
228    - It would probably be good to have a call to WSACleanup() when
229      the library is unloaded (if there is such a possibility).
230      Otherwise I think Windows will take care of this automatically
231      when the process finishes.
232    
233    - I used ioctlsocket() as a replacement for ioctl() but I have
234      no idea if that is actually the proper replacement on Windows.
235    
236    - All these issues are marked in the code by "FIXME" comments.
237    
238    We use sml/nj extensively in our products and are quite happy
239    with it.  I hope this contribution will help you.
240    
241    Keep up the good work!
242    
243    David
244    
245    ----------------------------------------------------------------------
246    Name: Matthias Blume (blume (at) tti - c (dot) org)
247    Date: 2004/05/11 14:20:00 CDT
248    Tag: blume-20040511-installml
249    Description:
250    
251    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
252    the patch.)
253    
254    ----------------------------------------------------------------------
255    Name: Matthias Blume (blume (at) tti - c (dot) org)
256    Date: 2004/05/11 14:05:00 CDT
257    Tag: blume-20040511-nlffi-netbsd
258    Description:
259    
260    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
261    the patch.)
262    
263    ----------------------------------------------------------------------
264    Name: Matthias Blume (blume (at) tti - c (dot) org)
265    Date: 2004/05/11 12:05:00 CDT
266    Tag: blume-20040511-exports
267    Description:
268    
269    As per request by Adam Chlipala <adam@hcoop.net>, extended various
270    export lists in compiler-related .cm-files.
271    
272    ----------------------------------------------------------------------
273    Name: Matthias Blume (blume (at) tti - c (dot) org)
274    Date: 2004/05/11 11:35:00 CDT
275    Tag: blume-20040511-allsource
276    Description:
277    
278    The installer now honors the "src-smlnj" target again, although its meaning
279    has changed from "all sources required for the compiler" to "all sources
280    the installer knows about".  In other words, if you enable "src-smlnj"
281    in the "targets" file, then the installer will pull in sources for
282    everything.  (Notice that this refers to source code only.  Compiled
283    code is still only installed for modules that were requested explicitly
284    or which are required for other modules that were requested explicitly.)
285    
286    ----------------------------------------------------------------------
287    Name: Matthias Blume (blume (at) tti - c (dot) org)
288    Date: 2004/04/23 17:40:00 CDT
289    Tag: blume-20040423-ieee-scan
290    Description:
291    
292    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
293    in the exponent calculation we get INF or ZERO (depending on the mantissa
294    and the sign of the exponent).
295    
296    ----------------------------------------------------------------------
297    Name: Matthias Blume (blume (at) tti - c (dot) org)
298    Date: 2004/04/23 10:40:00 CDT
299    Tag: blume-20040423-ml-build
300    Description:
301    
302    The ml-build script now terminates with a non-0 status when something
303    goes wrong.
304    
305    ----------------------------------------------------------------------
306    Name: Matthias Blume (blume (at) tti - c (dot) org)
307    Date: 2004/04/22 16:35:00 CDT
308    Tag: blume-20040422-Option
309    Description:
310    
311    Made exception Option to be the same as exception Option.Option
312    (as it should be).
313    
314    ----------------------------------------------------------------------
315    Name: Allen Leung (leunga (at) reservoir (dot) com)
316    Date: 2004/03/19 14:40:00 EST
317    Tag: leunga-20040319-cygwin-nlffi
318    Description:
319    
320    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
321    of SML/NJ.  The problem is that
322    
323       lib = dlopen(NULL, ...)
324       f   = dlsym(lib, "malloc");
325    
326    does not work on Windows unless we explicitly export symbols
327    such as 'malloc' during linking.  We fixed this by explicitly
328    exporting the required symbols with the magic gcc incantation:
329    
330        -Wl,--export-all cygwin.def
331    
332    where cygwin.def is a file containing all the symbols that
333    we wish to export.
334    
335    I suspect this is a Windows problem and we'll have to
336    do the same (somehow with windows compilers) when
337    we build the native win32 version with the system
338    calls LoadLibrary/GetProcAddress.
339    
340    ----------------------------------------------------------------------
341    Name: Matthias Blume (blume (at) tti - c (dot) org)
342    Date: 2004/03/04 16:35:00 CST
343    Tag: blume-20040304-intinf-fmt
344    Description:
345    
346    Fixed problem with IntInf.fmt (sign would show up on the right instead
347    of on the left for BIN, OCT, and HEX).
348    
349    ----------------------------------------------------------------------
350    Name: Matthias Blume (blume (at) tti - c (dot) org)
351    Date: 2004/03/04 11:25:00 CST
352    Tag: blume-20040304-symlinks
353    Description:
354    
355    Fixed problem with installer script (unix only) where bin/ml-yacc and
356    friends pointed (via symlinks) to absolute locations instead of just
357    .run-sml.  This was reported by Vesa A Norrman.
358    
359    ----------------------------------------------------------------------
360    Name: Matthias Blume (blume (at) tti - c (dot) org)
361    Date: 2004/02/13 14:50:00 CST
362    Tag: Release_110_45
363    Description:
364    
365    New working version (110.45). New bootfiles.
366    
367    ----------------------------------------------------------------------
368    Name: Matthias Blume (blume (at) tti - c (dot) org)
369    Date: 2004/01/26 15:15:15 CST
370    Tag: blume-20040126-toplevel
371    Description:
372    
373    Improved handling of exceptions at the interactive toplevel.
374    
375    ----------------------------------------------------------------------
376    Name: Matthias Blume (blume (at) tti - c (dot) org)
377    Date: 2004/01/26 11:25:00
378    Tag: blume-20040126-app
379    Description:
380    
381    Type of top-level "app" corrected.
382    Added code for setting vp_limitPtrMask to Win32-specific runtime.
383    
384    ----------------------------------------------------------------------
385    Name: Matthias Blume (blume (at) tti - c (dot) org)
386    Date: 2003/11/18 17:10 CST
387    Tag: blume-20031118-basis-fiddle
388    Description:
389    
390    - changed Timer interface to what might become the spec
391    - POSIX_FLAGS -> BIT_FLAGS according to spec
392    - some other minor discrepancies wrt. spec eliminated
393    
394    ----------------------------------------------------------------------
395    Name: Matthias Blume (blume (at) tti - c (dot) org)
396    Date: 2003/11/06 12:00:00 CST
397    Tag: Release_110_44
398    Description:
399    
400    New working version (110.44). New bootfiles.
401    
402    ----------------------------------------------------------------------
403    Name: Matthias Blume (blume (at) tti - c (dot) org)
404    Date: 2003/11/04 11:50:00 CST
405    Tag: blume-20031104-move-libraries
406    Description:
407    
408    Eliminated the "dont_move_libraries" directive in config/targets.
409    (The mechanism was broken and could not be fixed easily.  Moreover,
410    there does not seem to be any reason not to move all libraries into
411    lib during installation.  I originally implemented this directive as a
412    backward-compatibility feature when I first introduced the new CM.
413    Now that things have been stable for a long time and going back to the
414    old CM is not an option, there is no reason to keep it around.)
415    
416    ----------------------------------------------------------------------
417    Name: Matthias Blume (blume (at) tti - c (dot) org)
418    Date: 2003/11/03 16:00:00 CST
419    Tag: blume-20031103-installdir
420    Description:
421    
422    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
423    Richards for pointing out the problem and providing the solution.)
424    
425    ----------------------------------------------------------------------
426    Name: Matthias Blume (blume (at) tti - c (dot) org)
427    Date: 2003/10/01 17:05:00 CDT
428    Tag: blume-20031001-lal-mlrisc
429    Description:
430    
431    MLRISC bug fix from Lal.
432    
433    ----------------------------------------------------------------------
434    Name: Matthias Blume (blume (at) tti - c (dot) org)
435    Date: 2003/09/30 16:10:00 CDT
436    Tag: blume-20030930-primio-bat
437    Description:
438    
439    1. Added openVector, nullRd, and nullWr to PRIM_IO.
440    2. Improved .bat files (for Win32 port) to make things work under Win95.
441       (thanks to Aaron S. Hawley for this one)
442    
443    ----------------------------------------------------------------------
444    Name: Matthias Blume (blume (at) tti - c (dot) org)
445    Date: 2003/09/26 16:05:00 CDT
446    Tag: blume-20030926-wrappriv
447    Description:
448    
449    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
450    
451    ----------------------------------------------------------------------
452    Name: Matthias Blume (blume (at) tti - c (dot) org)
453    Date: 2003/09/26 15:00:00 CDT
454    Tag: blume-20030926-110_43_3
455    Description:
456    
457    - additional cleanup
458    - version number bump, NEW BOOTFILES
459    
460    ----------------------------------------------------------------------
461    Name: Matthias Blume (blume (at) tti - c (dot) org)
462    Date: 2003/09/26 12:00:00 CDT
463    Tag: blume-20030926-ppautoload
464    Description:
465    
466    I modified the read-eval-print loop so that the autoloader gets
467    invoked whenever the prettyprinter tries to look up a symbol that
468    is not currently defined in the toplevel environment but which
469    appears in CM's autoload registry.  As a result, we see far fewer of
470    those ?.Foo.Bar.xxx names in the prettyprinter's output.
471    
472    In addition to this I tried to clean up some pieces of the Basis
473    implementation (e.g., Socket, Word8Array) in order to prevent other
474    instances of these ?.Foo.Bar.xxx names from being printed.
475    
476    The mechanism that picks names for types still needs some work, though.
477    (Right now it seems that if there is a type A.t which is defined to
478    be B.u, but B is unavailable at toplevel, then A.t gets printed as
479    "?.B.u" although the perhaps more sensible solution would be to use
480    "A.t" in this case.  In other words, the prettyprinter should follow
481    a chain of DEFtycs not farther than there are corresponding toplevel
482    names in the current environment.)
483    
484    ----------------------------------------------------------------------
485    Name: Matthias Blume (blume (at) tti - c (dot) org)
486    Date: 2003/09/24 16:31:00 CDT
487    Tag: blume-20030924-installer
488    Description:
489    
490    Another installer tweak:  All the ML code for the installer is now
491    compiled during CMB.make and put into a little library called
492    $smlnj/installer.cm.  The installation then simply invokes
493    
494       sml -m $smlnj/installer.cm
495    
496    and everything happens automagically.
497    
498    Win32:  ML code senses value of environment variable SMLNJ_HOME.
499    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
500            and BINDIR.
501    
502    The new scheme guarantees that the ML code responsible for the installation
503    is in sync with the APIs of the main system.  Also, the installer is
504    somewhat faster because the installer script is precompiled.
505    
506    ----------------------------------------------------------------------
507  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
508  Date: 2003/09/24 15:35:00 CDT  Date: 2003/09/24 15:35:00 CDT
509  Tag: blume-20030924-synsock  Tag: blume-20030924-synsock

Legend:
Removed from v.1390  
changed lines
  Added in v.1539

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