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

Legend:
Removed from v.1375  
changed lines
  Added in v.1500

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