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

Legend:
Removed from v.1427  
changed lines
  Added in v.1617

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