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

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

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