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

Legend:
Removed from v.1391  
changed lines
  Added in v.1593

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