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

Legend:
Removed from v.1409  
changed lines
  Added in v.1599

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