13 |
Description: |
Description: |
14 |
|
|
15 |
---------------------------------------------------------------------- |
---------------------------------------------------------------------- |
16 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
17 |
|
Date: 2004/01/26 |
18 |
|
Tag: blume-20040126-app |
19 |
|
Description: |
20 |
|
|
21 |
|
Type of top-level "app" corrected. |
22 |
|
Added code for setting vp_limitPtrMask to Win32-specific runtime. |
23 |
|
|
24 |
|
---------------------------------------------------------------------- |
25 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
26 |
|
Date: 2003/11/18 17:10 CST |
27 |
|
Tag: blume-20031118-basis-fiddle |
28 |
|
Description: |
29 |
|
|
30 |
|
- changed Timer interface to what might become the spec |
31 |
|
- POSIX_FLAGS -> BIT_FLAGS according to spec |
32 |
|
- some other minor discrepancies wrt. spec eliminated |
33 |
|
|
34 |
|
---------------------------------------------------------------------- |
35 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
36 |
|
Date: 2003/11/06 12:00:00 CST |
37 |
|
Tag: Release_110_44 |
38 |
|
Description: |
39 |
|
|
40 |
|
New working version (110.44). New bootfiles. |
41 |
|
|
42 |
|
---------------------------------------------------------------------- |
43 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
44 |
|
Date: 2003/11/04 11:50:00 CST |
45 |
|
Tag: blume-20031104-move-libraries |
46 |
|
Description: |
47 |
|
|
48 |
|
Eliminated the "dont_move_libraries" directive in config/targets. |
49 |
|
(The mechanism was broken and could not be fixed easily. Moreover, |
50 |
|
there does not seem to be any reason not to move all libraries into |
51 |
|
lib during installation. I originally implemented this directive as a |
52 |
|
backward-compatibility feature when I first introduced the new CM. |
53 |
|
Now that things have been stable for a long time and going back to the |
54 |
|
old CM is not an option, there is no reason to keep it around.) |
55 |
|
|
56 |
|
---------------------------------------------------------------------- |
57 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
58 |
|
Date: 2003/11/03 16:00:00 CST |
59 |
|
Tag: blume-20031103-installdir |
60 |
|
Description: |
61 |
|
|
62 |
|
Made installer honor INSTALLDIR variable again. (Thanks to Chris |
63 |
|
Richards for pointing out the problem and providing the solution.) |
64 |
|
|
65 |
|
---------------------------------------------------------------------- |
66 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
67 |
|
Date: 2003/10/01 17:05:00 CDT |
68 |
|
Tag: blume-20031001-lal-mlrisc |
69 |
|
Description: |
70 |
|
|
71 |
|
MLRISC bug fix from Lal. |
72 |
|
|
73 |
|
---------------------------------------------------------------------- |
74 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
75 |
|
Date: 2003/09/30 16:10:00 CDT |
76 |
|
Tag: blume-20030930-primio-bat |
77 |
|
Description: |
78 |
|
|
79 |
|
1. Added openVector, nullRd, and nullWr to PRIM_IO. |
80 |
|
2. Improved .bat files (for Win32 port) to make things work under Win95. |
81 |
|
(thanks to Aaron S. Hawley for this one) |
82 |
|
|
83 |
|
---------------------------------------------------------------------- |
84 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
85 |
|
Date: 2003/09/26 16:05:00 CDT |
86 |
|
Tag: blume-20030926-wrappriv |
87 |
|
Description: |
88 |
|
|
89 |
|
Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm. |
90 |
|
|
91 |
|
---------------------------------------------------------------------- |
92 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
93 |
|
Date: 2003/09/26 15:00:00 CDT |
94 |
|
Tag: blume-20030926-110_43_3 |
95 |
|
Description: |
96 |
|
|
97 |
|
- additional cleanup |
98 |
|
- version number bump, NEW BOOTFILES |
99 |
|
|
100 |
|
---------------------------------------------------------------------- |
101 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
102 |
|
Date: 2003/09/26 12:00:00 CDT |
103 |
|
Tag: blume-20030926-ppautoload |
104 |
|
Description: |
105 |
|
|
106 |
|
I modified the read-eval-print loop so that the autoloader gets |
107 |
|
invoked whenever the prettyprinter tries to look up a symbol that |
108 |
|
is not currently defined in the toplevel environment but which |
109 |
|
appears in CM's autoload registry. As a result, we see far fewer of |
110 |
|
those ?.Foo.Bar.xxx names in the prettyprinter's output. |
111 |
|
|
112 |
|
In addition to this I tried to clean up some pieces of the Basis |
113 |
|
implementation (e.g., Socket, Word8Array) in order to prevent other |
114 |
|
instances of these ?.Foo.Bar.xxx names from being printed. |
115 |
|
|
116 |
|
The mechanism that picks names for types still needs some work, though. |
117 |
|
(Right now it seems that if there is a type A.t which is defined to |
118 |
|
be B.u, but B is unavailable at toplevel, then A.t gets printed as |
119 |
|
"?.B.u" although the perhaps more sensible solution would be to use |
120 |
|
"A.t" in this case. In other words, the prettyprinter should follow |
121 |
|
a chain of DEFtycs not farther than there are corresponding toplevel |
122 |
|
names in the current environment.) |
123 |
|
|
124 |
|
---------------------------------------------------------------------- |
125 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
126 |
|
Date: 2003/09/24 16:31:00 CDT |
127 |
|
Tag: blume-20030924-installer |
128 |
|
Description: |
129 |
|
|
130 |
|
Another installer tweak: All the ML code for the installer is now |
131 |
|
compiled during CMB.make and put into a little library called |
132 |
|
$smlnj/installer.cm. The installation then simply invokes |
133 |
|
|
134 |
|
sml -m $smlnj/installer.cm |
135 |
|
|
136 |
|
and everything happens automagically. |
137 |
|
|
138 |
|
Win32: ML code senses value of environment variable SMLNJ_HOME. |
139 |
|
Unix: ML code senses values of environment variables ROOT, CONFIGDIR, |
140 |
|
and BINDIR. |
141 |
|
|
142 |
|
The new scheme guarantees that the ML code responsible for the installation |
143 |
|
is in sync with the APIs of the main system. Also, the installer is |
144 |
|
somewhat faster because the installer script is precompiled. |
145 |
|
|
146 |
|
---------------------------------------------------------------------- |
147 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
148 |
|
Date: 2003/09/24 15:35:00 CDT |
149 |
|
Tag: blume-20030924-synsock |
150 |
|
Description: |
151 |
|
|
152 |
|
Added a signature SYNCHRONOUS_SOCKET to basis.cm. This is like SOCKET |
153 |
|
but excludes all non-blocking operations. Defined SOCKET (in Basis) |
154 |
|
and CML_SOCKET in terms of SYNCHRONOUS_SOCKET. Removed superfluous |
155 |
|
implementations of non-blocking operations from CML's Socket |
156 |
|
structure. |
157 |
|
|
158 |
|
---------------------------------------------------------------------- |
159 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
160 |
|
Date: 2003/09/24 15:10:05 CDT |
161 |
|
Tag: blume-20030924-sockets |
162 |
|
Description: |
163 |
|
|
164 |
|
1. Fixed SOCKET API and implementation to match Basis spec. |
165 |
|
This required changing the internal representation of sockets to one |
166 |
|
that remembers (for each socket file descriptor) whether it is currently |
167 |
|
blocking or non-blocking. This state is maintained lazily (i.e., a system |
168 |
|
call is made only if the state actually needs to change). |
169 |
|
|
170 |
|
2. OS-specific details of sockets were moved into separate files, thus |
171 |
|
making it possible to unify the bulk of the socket implementations |
172 |
|
between Unix and Win32. |
173 |
|
|
174 |
|
3. CML's socket API changed accordingly. |
175 |
|
(Note that we need to remove non-blocking functions from this API |
176 |
|
since they are redundant in the case of CML!) |
177 |
|
|
178 |
|
4. CML's socket implementation now makes use of non-blocking functions |
179 |
|
provided by Basis, thus removing all OS-dependent code from this part |
180 |
|
of CML. |
181 |
|
|
182 |
|
5. Changed Real64.precision from 52 to 53. Minor cleanup in Real64 code. |
183 |
|
|
184 |
|
---------------------------------------------------------------------- |
185 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
186 |
|
Date: 2003/09/22 12:10:00 CDT |
187 |
|
Tag: blume-20030922-110_43_2 |
188 |
|
Description: |
189 |
|
|
190 |
|
Made a new interim version and bootfiles for developer's bootstrapping |
191 |
|
convenience. |
192 |
|
|
193 |
|
110.43.2 -- NEW BOOTFILES |
194 |
|
|
195 |
|
---------------------------------------------------------------------- |
196 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
197 |
|
Date: 2003/09/19 15:55:00 CDT |
198 |
|
Tag: blume-20030919-cmdir |
199 |
|
Description: |
200 |
|
|
201 |
|
1. new-install.sh -> install.sh |
202 |
|
2. changed default CM "metadata" directory name to ".cm" (instead of "CM") |
203 |
|
3. tweaked installer so that another name instead of .cm can be chosen |
204 |
|
at install time (by setting the CM_DIR_ARC environment variable |
205 |
|
during installation); once installation is complete, the name is |
206 |
|
fixed |
207 |
|
|
208 |
|
---------------------------------------------------------------------- |
209 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
210 |
|
Date: 2003/09/18 16:00:00 CDT |
211 |
|
Tag: blume-20030918-110_43_1 |
212 |
|
Description: |
213 |
|
|
214 |
|
Made a new interim version and bootfiles for developer's bootstrapping |
215 |
|
convenience. |
216 |
|
|
217 |
|
110.43.1 -- NEW BOOTFILES |
218 |
|
|
219 |
|
---------------------------------------------------------------------- |
220 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
221 |
|
Date: 2003/09/18 15:20:00 CDT |
222 |
|
Tag: blume-20030918-misc |
223 |
|
Description: |
224 |
|
|
225 |
|
1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as |
226 |
|
this seems to be controversial at the moment) and used those in |
227 |
|
Posix.ProcEnv.times. |
228 |
|
|
229 |
|
2. Added Time.{from,to}Nanoseconds to Time. |
230 |
|
|
231 |
|
3. Improved Real.{from,to}LargeInt by avoiding needless calculations. |
232 |
|
For example, fromLargeInt never needs to look at more than 3 "big |
233 |
|
digits" to get its 53 bits of precision. |
234 |
|
|
235 |
|
---------------------------------------------------------------------- |
236 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
237 |
|
Date: 2003/09/17 16:30:00 CDT |
238 |
|
Tag: blume-20030917-real32-slices |
239 |
|
Description: |
240 |
|
|
241 |
|
Added an entry to the primitive environment |
242 |
|
(compiler/Semant/statenv/prim.sml) for int32->real64 conversion and |
243 |
|
added code to compiler/CodeGen/main/mlriscGen.sml to implement it. |
244 |
|
|
245 |
|
Removed some of the "magic" constants in real64.sml and replaced them |
246 |
|
with code that generates these values from their corresponding |
247 |
|
integer counterparts. |
248 |
|
|
249 |
|
Made all(?) the slice-related changes to the Basis and made everything |
250 |
|
compile again... |
251 |
|
|
252 |
|
---------------------------------------------------------------------- |
253 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
254 |
|
Date: 2003/09/15 17:45:00 CDT |
255 |
|
Tag: blume-20030915-rbase |
256 |
|
Description: |
257 |
|
|
258 |
|
Fixed bug in Real.fromLargeInt. |
259 |
|
|
260 |
|
---------------------------------------------------------------------- |
261 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
262 |
|
Date: 2003/09/13 18:11:00 CDT |
263 |
|
Tag: blume-20030913-libinstall |
264 |
|
Description: |
265 |
|
|
266 |
|
Minor bugfix in config/libinstall (set anchor with path to |
267 |
|
standalone tool after installing it, otherwise libraries that |
268 |
|
need ml-lex or ml-yacc won't compile the first time the installer |
269 |
|
runs). |
270 |
|
|
271 |
|
---------------------------------------------------------------------- |
272 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
273 |
|
Date: 2003/09/12 11:45:00 CDT |
274 |
|
Tag: blume-20030912-various |
275 |
|
Description: |
276 |
|
|
277 |
|
- fixed bug in Real.toLargeInt |
278 |
|
- fixed bug in Posix.ProcEnv.times |
279 |
|
- changed inputLine functions to return an option |
280 |
|
- minor installer improvements / bugfixes |
281 |
|
- changed default @SMLalloc parameter for x86/celeron to 64k |
282 |
|
|
283 |
|
---------------------------------------------------------------------- |
284 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
285 |
|
Date: 2003/09/09 22:00:00 CDT |
286 |
|
Tag: Release_110_43 |
287 |
|
Description: |
288 |
|
|
289 |
|
New working release 110.43. New bootfiles. |
290 |
|
|
291 |
|
---------------------------------------------------------------------- |
292 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
293 |
|
Date: 2003/09/09 19:20:00 CDT |
294 |
|
Tag: blume-20030909-installer |
295 |
|
Description: |
296 |
|
|
297 |
|
Rewrote large parts of config/install.sh in SML (config/libinstall.sml). |
298 |
|
Modified config/install.bat to take advantage of it. Also modified |
299 |
|
config/install.sh (and called it config/new-install.sh) to take advantage |
300 |
|
of it on Unix systems. (The SML code is (supposed to be) platform- |
301 |
|
independent.) |
302 |
|
|
303 |
|
The installer can now install everything under Win32 |
304 |
|
as well as under *nix as long as it compiles. |
305 |
|
|
306 |
|
Other changes: |
307 |
|
|
308 |
|
- made CML compile again under Win32 |
309 |
|
- made eXene compile under Win32 (by providing a fake structure UnixSock |
310 |
|
and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv) |
311 |
|
- fixed a bug in nowhere: it assumed that type OS.Process.status is the |
312 |
|
same as type int; under Win32 it isn't |
313 |
|
- fixed some slice-related problems in the win32-specific parts of CML |
314 |
|
- added a functor argument "sameVol" to os-path-fn.sml in the Basis |
315 |
|
(under Win32, the volume name is case-insensitive, and the |
316 |
|
OS.Path code compares volume names for equality) |
317 |
|
|
318 |
|
---------------------------------------------------------------------- |
319 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
320 |
|
Date: 2003/09/08 11:55:00 CDT |
321 |
|
Tag: blume-20030908-fullpath |
322 |
|
Description: |
323 |
|
|
324 |
|
Made Win32 version of OS.FileSys.fullPath return current directory |
325 |
|
when given an empty string. This is what the spec says, and incidentally, |
326 |
|
CM depends on it. (CM otherwise goes into an infinite loop in certain |
327 |
|
cases when presented with the name of a non-existing .cm file.) |
328 |
|
|
329 |
|
---------------------------------------------------------------------- |
330 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
331 |
|
Date: 2003/09/04 16:30:00 CDT |
332 |
|
Tag: blume-20030905-slices-etc |
333 |
|
Description: |
334 |
|
|
335 |
|
1. Changed interface to vectors and arrays in Basis to match |
336 |
|
(draft) Basis spec. |
337 |
|
2. Added signatures and implementations of slices according to |
338 |
|
Basis spec. |
339 |
|
3. Edited source code throughout the system to make it compile again |
340 |
|
under 1. and 2. (In some cases code had to be added to have it |
341 |
|
match the new signatures.) |
342 |
|
4. MLRISC should be backward-compatible: the copies of the originals |
343 |
|
of files that needed to change under 3. were retained, the .cm files |
344 |
|
check the compiler version number and use old versions when |
345 |
|
appropriate. |
346 |
|
5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to |
347 |
|
dirstream -> string option (in accordance with Basis spec). |
348 |
|
6. When generating code that counts lines, ml-lex used function |
349 |
|
CharVector.foldli, taking advantage of its old interface. |
350 |
|
This has been replaced with the corresponding code from |
351 |
|
CharVectorSlice. (html-lex must be re-lexed!) |
352 |
|
7. BitArray in smlnj-lib/Util has been extended/modified to match the |
353 |
|
new MONO_ARRAY signature. (Do we need BitArraySlice?) |
354 |
|
8. Removed temporary additions (fromInternal, toInternal) from the |
355 |
|
(now obsolete) IntInf in smlnj-lib/Util. |
356 |
|
9. Cleaned up structure Byte. |
357 |
|
10. Added localOffset, scan, and fromString to Date (according to spec). |
358 |
|
Cleaned/corrected implementation of Date. |
359 |
|
(Still need to check for correctness; implement better canonicalizeDate.) |
360 |
|
11. Added "scan" to signature IEEE_REAL. |
361 |
|
12. Some improvements to IntInf [in particular: efficiency-hack for |
362 |
|
mod and rem when second operand is 2 (for parity checks).] |
363 |
|
13. Changed representation of type Time.time, using a single IntInf.int |
364 |
|
value counting microseconds. This considerably simplified the |
365 |
|
implementation of structure Time. We now support negative time |
366 |
|
values; scan and fromString handle signs. |
367 |
|
14. Functor PrimIO now takes two additional arguments (VectorSlice and |
368 |
|
ArraySlice). |
369 |
|
|
370 |
|
---------------------------------------------------------------------- |
371 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
372 |
|
Date: 2003/08/28 17:00:00 CDT |
373 |
|
Tag: blume-20030828-intinf |
374 |
|
Description: |
375 |
|
|
376 |
|
This is a major update which comes with a version number bump |
377 |
|
(110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES, |
378 |
|
and an implementation of IntInf in the Basis. |
379 |
|
|
380 |
|
There are a fairly large number of related changes and updates throughout |
381 |
|
the system: |
382 |
|
|
383 |
|
Basis: |
384 |
|
- Implemented IntInf. |
385 |
|
- Made LargeInt a projection of IntInf (by filtering through INTEGER). |
386 |
|
- Added some missing Real64 operations, most notably Real.toLargeInt. |
387 |
|
- Added FixedInt as a synonym for Int32. |
388 |
|
|
389 |
|
compiler: |
390 |
|
* Added support for a built-in intinf type. |
391 |
|
- literals |
392 |
|
- pattern matching |
393 |
|
- conversion shortcuts (Int32.fromLarge o Int.toLarge etc.) |
394 |
|
- overloading on literals and operations |
395 |
|
|
396 |
|
This required adding a primitive type intinf, some additional |
397 |
|
primops, and implementations for several non-trivial intinf |
398 |
|
operations in Core. (The intinf type is completely abstract |
399 |
|
to the compiler; all operations get delegated back to the Core.) |
400 |
|
|
401 |
|
* Intinf equality is handled by polyequal. However, the compiler |
402 |
|
does not print its usual warning in this case (since polyequal |
403 |
|
is the right thing to do there). |
404 |
|
|
405 |
|
* Improved the organization of structure InlineT. |
406 |
|
|
407 |
|
* A word about conversion primops: |
408 |
|
If conversions involving intinf do not cancel out during |
409 |
|
CPS contract, then the compiler must insert calls to Core functions. |
410 |
|
Since all core access must be resolved already during the FLINT |
411 |
|
translate phase, it would be too late a the time of CPS contract |
412 |
|
to add new Core calls. For this reason, conversion primops |
413 |
|
for intinf carry two arguments: 1. the numeric argument that |
414 |
|
they are supposed to convert, and 2. the Core function that |
415 |
|
can help with this conversion if necessary. If CPS contract |
416 |
|
eliminates a primop, then the associated Core function becomes |
417 |
|
dead and goes away. Intinf conversion primops that do not get |
418 |
|
eliminated by CPS contract get rewritten into calls of their |
419 |
|
core functions by a separate, new phase. |
420 |
|
|
421 |
|
interactive system: |
422 |
|
- Control.Print.intinfDepth controls max length of intinf constants |
423 |
|
being printed. (Analogous to Control.Print.stringDepth.) |
424 |
|
- Cleanup in printutil and pputil: got rid of unused stuff and |
425 |
|
duplicates; replaced some of the code with code that makes better |
426 |
|
use of library functionality. |
427 |
|
|
428 |
|
CM: |
429 |
|
Bugfix: parse-errors in init group (system/smlnj/init/init.cmi) |
430 |
|
are no longer silent. |
431 |
|
|
432 |
|
CKIT: |
433 |
|
Fixed mismatched uses of Int32 and LargeInt. I always decided |
434 |
|
in favor of LargeInt -- which is now the same as IntInf. |
435 |
|
CKIT-knowledgable people should check whether this is what's |
436 |
|
intended and otherwise change things back to using Int32 or |
437 |
|
FixedInt. |
438 |
|
|
439 |
|
Throughout the code: |
440 |
|
Started using IntInf.int literals and built-in operations |
441 |
|
(e.g., comparison with 0) where this seems appropriate. |
442 |
|
|
443 |
|
|
444 |
|
---------------------------------------------------------------------- |
445 |
|
Name: Dave MacQueen (dbm@cs.uchicago.edu) |
446 |
|
Date: 2003/08/13 11:36:00 CDT |
447 |
|
Tag: dbm-20030813-mcz-merge1 |
448 |
|
Description: |
449 |
|
|
450 |
|
Merging changes from the mcz-branch development branch into trunk. |
451 |
|
These changes involve replacement of the emulated old prettyprinter |
452 |
|
interface with direct use of the SML/NJ Lib PP library, and fixing |
453 |
|
of a couple of bugs (895, 1186) relating to error messages. A new |
454 |
|
prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml}) |
455 |
|
has been added. |
456 |
|
|
457 |
|
---------------------------------------------------------------------- |
458 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
459 |
|
Date: 2003/08/11 15:45:00 CDT |
460 |
|
Tag: blume-20030811-windows |
461 |
|
Description: |
462 |
|
|
463 |
|
Version number bumped to 110.42.9. NEW BOOTFILES!!! |
464 |
|
|
465 |
|
http://smlnj.cs.uchicago.edu/dist/working/110.42.9/ |
466 |
|
|
467 |
|
This patch restores SML/NJ's ability to run under win32. There are a |
468 |
|
number of changes, including fixes for several bugs that had gone |
469 |
|
unnoticed until now: |
470 |
|
|
471 |
|
- uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when |
472 |
|
trying to run the win32 version from within cygwin.) |
473 |
|
|
474 |
|
- There are a number of simple .bat scripts that substitute for their |
475 |
|
corresponding Unix shell-scripts. (See below.) |
476 |
|
|
477 |
|
- The internals of ml-build have been modified slightly. The main |
478 |
|
difference is that instead of calling ".link-sml" (or link-sml.bat) |
479 |
|
using OS.Process.system, the ML process delegates this task back |
480 |
|
to the script. Otherwise problems arise in mixed environments such |
481 |
|
as Cygwin where scripts look and work like Unix scripts, but |
482 |
|
where OS.Process.system cannot run them. |
483 |
|
|
484 |
|
- In CM, the srcpath pickler used native pathname syntax -- which |
485 |
|
is incorrect in the case of cross-compilation. The new pickle format |
486 |
|
is independent of platform-specific naming conventions. |
487 |
|
|
488 |
|
- Path configuration files (such as lib/pathconfig) can now choose |
489 |
|
between native and standard syntax. Placing a line of the form |
490 |
|
|
491 |
|
standard! |
492 |
|
|
493 |
|
into the file causes all subsequent paths to be interpreted using |
494 |
|
CM standard pathname syntax (= Unix conventions); a line |
495 |
|
|
496 |
|
native! |
497 |
|
|
498 |
|
switches back to native style. This was needed so that |
499 |
|
path config files can be written portably, see src/system/pathconfig. |
500 |
|
|
501 |
|
- Runtime system: |
502 |
|
|
503 |
|
- win32-filesys.c: get_file_time and set_file_time now |
504 |
|
access modification time, not creation time. |
505 |
|
|
506 |
|
- I/O code made aware of new array representation. |
507 |
|
|
508 |
|
- Bug fixes in X86.prim.masm. |
509 |
|
|
510 |
|
- src/system/makeml made aware of win32. (For use under cygwin |
511 |
|
and other Unix-environments for windows.) |
512 |
|
|
513 |
|
- In Basis, fixed off-by-one error in win32-io.sml (function vecF) |
514 |
|
which caused BinIO.inputAll to fail consistently. |
515 |
|
|
516 |
|
.bat scripts: |
517 |
|
|
518 |
|
Windows .bat scripts assume that SMLNJ_HOME is defined. |
519 |
|
|
520 |
|
- sml.bat, ml-yacc.bat, ml-lex.bat: Driver scripts for standalone |
521 |
|
applications (sml, ml-yacc, ml-lex). |
522 |
|
- ml-build.bat: analogous to ml-build. |
523 |
|
- config\install.bat: Analogous to config/install.sh. This requires |
524 |
|
that SMLNJ_HOME is set and that Microsoft Visual C is ready to use. |
525 |
|
(nmake etc. must be on the path, and vcvars32 must have been run.) |
526 |
|
Moreover, sources for ml-lex and ml-yacc need to exist under src, |
527 |
|
and the bootfile hierarchy must have been unpacked under |
528 |
|
sml.boot.x86-win32. |
529 |
|
The script is very primitive and does a poor job at error checking. |
530 |
|
It only installs the base system, ml-lex, and ml-yacc. No other |
531 |
|
libraries are being installed (i.e., you get only those that |
532 |
|
are part of the compiler.) |
533 |
|
- link-sml.bat: analogous to .link-sml, but not currently used |
534 |
|
|
535 |
|
Unrelated bug fixes: |
536 |
|
|
537 |
|
- ml-nlffigen now exports structures ST_* corresponding to incomplete |
538 |
|
types. |
539 |
|
- Added getDevice to PP/src/pp-debug-fn.sml. (Would not compile |
540 |
|
otherwise.) |
541 |
|
|
542 |
|
---------------------------------------------------------------------- |
543 |
|
Name: Dave MacQueen (macqueen@cs.uchicago.edu) |
544 |
|
Date: 2003/06/17 |
545 |
|
Tag: macqueen-20030617-bug895 |
546 |
|
Description: |
547 |
|
|
548 |
|
Modified compiler/Elaborator/print/pptype.sml to fix bug 895. |
549 |
|
Tag will be used for new development branch (mcz-branch) for |
550 |
|
use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago. |
551 |
|
|
552 |
|
---------------------------------------------------------------------- |
553 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
554 |
|
Date: 2003/05/27 16:55:00 CDT |
555 |
|
Tag: blume-20030527-polyeq |
556 |
|
Description: |
557 |
|
|
558 |
|
Tried to eliminated most cases of polymorphic equality. |
559 |
|
|
560 |
|
---------------------------------------------------------------------- |
561 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
562 |
|
Date: 2003/05/21 17:45:00 CDT |
563 |
|
Tag: blume-20030517-complete |
564 |
|
Description: |
565 |
|
|
566 |
|
Two changes: |
567 |
|
|
568 |
|
1. Added a flag for controlling whether non-exhaustive bindings will |
569 |
|
be treated as errors (default is false). |
570 |
|
2. Cleaned up the *entire* source tree so that CMB.make goes through |
571 |
|
without a single non-exhaustive match- or bind warning. |
572 |
|
|
573 |
|
---------------------------------------------------------------------- |
574 |
|
Name: Matthias Blume (blume (at) tti - c (dot) org) |
575 |
|
Date: 2003/05/17 10:20:00 CDT |
576 |
|
Tag: blume-20030517-absyn |
577 |
|
Description: |
578 |
|
|
579 |
|
1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn. |
580 |
|
|
581 |
|
This mainly affects the quality of error messages. However, some |
582 |
|
of the code is now more straightforward than before. (Treatment of |
583 |
|
the above four constructs in translate.sml is much simpler than |
584 |
|
the "macro-expansion" that was going on before. Plus, the mach- |
585 |
|
compiler no longer gets invoked just to be able to compile an |
586 |
|
if-expression.) |
587 |
|
|
588 |
|
2. The ErrorMsg.Error exception is now caught and absorbed by the |
589 |
|
interactive loop. |
590 |
|
|
591 |
|
---------------------------------------------------------------------- |
592 |
|
Name: Allen Leung |
593 |
|
Date: 2003/05/16 13:05:00 CDT |
594 |
|
Tag: leunga-20030516-cygwin-runtime |
595 |
|
Description: |
596 |
|
|
597 |
|
Ported the runtime system to cygwin, which uses the unix |
598 |
|
x86-unix bin files. Missing/buggy features: |
599 |
|
|
600 |
|
o getnetbyname, getnetbyaddr: these functions seem to be missing in |
601 |
|
the Cygwin library. |
602 |
|
o Ctrl-C handling may be flaky. |
603 |
|
o Windows system calls and Windows I/O are not supported. |
604 |
|
|
605 |
|
A new set of binfiles is located at: |
606 |
|
|
607 |
|
http://www.dorsai.org/~leunga/boot.x86-unix.tgz |
608 |
|
|
609 |
|
This is only needed for bootstrapping the cygwin version of smlnj. |
610 |
|
Other x86 versions can use the existing binfiles. |
611 |
|
|
612 |
|
---------------------------------------------------------------------- |
613 |
|
Name: Matthias Blume |
614 |
|
Date: 2003/04/08 15:42:00 CDT |
615 |
|
Tag: blume-20030408-listpair |
616 |
|
Description: |
617 |
|
|
618 |
|
1. Added a target 'mlrisc' to installer. |
619 |
|
|
620 |
|
2. Added missing elements to structure ListPair. |
621 |
|
|
622 |
|
---------------------------------------------------------------------- |
623 |
|
Name: Allen Leung |
624 |
|
Date: 2003/01/07 10:40:00 EST |
625 |
|
Tag: leunga-20030107-int-rem |
626 |
|
Description: |
627 |
|
|
628 |
|
Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86. |
629 |
|
The arguments to the SUBL instruction were swapped. |
630 |
|
|
631 |
|
---------------------------------------------------------------------- |
632 |
|
Name: Matthias Blume |
633 |
|
Date: 2002/12/12 16:25:00 EST |
634 |
|
Tag: blume-20021212-risc-ra |
635 |
|
Description: |
636 |
|
|
637 |
|
Fixed a serious bug in the rewrite code for FP spilling/reloading that |
638 |
|
sent the RA into an infinite loop when floating point registers get |
639 |
|
spilled. (Because of this bug, e.g., nucleic stopped compiling between |
640 |
|
110.37 and 110.38.) |
641 |
|
There was another set of potential problems related to the handling of |
642 |
|
MLRISC annotations (but those did not yet cause real problems, apparently). |
643 |
|
|
644 |
|
---------------------------------------------------------------------- |
645 |
|
Name: Matthias Blume |
646 |
|
Date: 2002/12/06 22:40:00 EST |
647 |
|
Tag: blume-20021206-cm-fileid |
648 |
|
Description: |
649 |
|
|
650 |
|
Added a call of SrcPath.sync at the beginning of Parse.parse (in CM). |
651 |
|
This fixes the problem of CM getting confused by files that suddenly |
652 |
|
change their identity (e.g., by getting unlinked and recreated by some |
653 |
|
text editor such as vi). There might be a better/cheaper/cleaner way |
654 |
|
of doing this, but for now this will have to do. |
655 |
|
|
656 |
|
---------------------------------------------------------------------- |
657 |
|
Name: Matthias Blume |
658 |
|
Date: 2002/10/28 09:50:00 EST |
659 |
|
Tag: blume-20021028-typecheck |
660 |
|
Description: |
661 |
|
|
662 |
|
Exported structure Typecheck from $smlnj/viscomp/core.cm. |
663 |
|
|
664 |
|
---------------------------------------------------------------------- |
665 |
|
Name: Matthias Blume |
666 |
|
Date: 2002/10/17 09:10:00 EDT |
667 |
|
Tag: Release_110_42 |
668 |
|
Description: |
669 |
|
|
670 |
|
In good old tradition, there has been a slight hiccup so that we have |
671 |
|
to patch 110.42 after the fact. The old release tag has been replaced |
672 |
|
(see below). |
673 |
|
|
674 |
|
The change solves a problem with two competing approaches the |
675 |
|
configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in |
676 |
|
each other's way. |
677 |
|
|
678 |
|
This change only affects the runtime system code and the installer script. |
679 |
|
(No new bootfiles.) |
680 |
|
|
681 |
|
---------------------------------------------------------------------- |
682 |
|
Name: Matthias Blume |
683 |
|
Date: 2002/10/16 12:00:00 EDT |
684 |
|
Tag: Release_110_42_removed |
685 |
|
Description: |
686 |
|
|
687 |
|
New working release. New bootfiles. |
688 |
|
|
689 |
|
---------------------------------------------------------------------- |
690 |
|
Name: Matthias Blume |
691 |
|
Date: 2002/10/10 13:10:00 EDT |
692 |
|
Tag: blume-20021010-ppc-divs |
693 |
|
Description: |
694 |
|
|
695 |
|
The mltree operator DIVS must be implemented with an overflow check on |
696 |
|
the PPC because the hardware indicates divide-by-zero using "overflow" as |
697 |
|
well. |
698 |
|
|
699 |
|
---------------------------------------------------------------------- |
700 |
|
Name: Matthias Blume |
701 |
|
Date: 2002/07/23 11:45:00 |
702 |
|
Tag: blume-20020723-smlnj-home |
703 |
|
Description: |
704 |
|
|
705 |
|
Sml now senses the SMLNJ_HOME environment variable. If this is set, |
706 |
|
then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless |
707 |
|
CM_PATHCONFIG is also set), the path configuration file is assumed |
708 |
|
to be in $SMLNJ_HOME/lib/pathconfig. This way one can easily move |
709 |
|
the entire tree to some other place and everything will "just work". |
710 |
|
|
711 |
|
(Companion commands such as ml-build and ml-makedepend also sense this |
712 |
|
variable.) |
713 |
|
|
714 |
|
---------------------------------------------------------------------- |
715 |
|
Name: Matthias Blume |
716 |
|
Date: 2002/07/12 21:19:00 EDT |
717 |
|
Tag: blume-20020712-liveness |
718 |
|
Description: |
719 |
|
|
720 |
|
Exported two useful "step" functions from liveness module (MLRISC). |
721 |
|
|
722 |
|
---------------------------------------------------------------------- |
723 |
|
Name: Matthias Blume |
724 |
|
Date: 2002/07/05 16:00 EDT |
725 |
|
Tag: Release_110_41 |
726 |
|
Description: |
727 |
|
|
728 |
|
New working release. New bootfiles. |
729 |
|
|
730 |
|
---------------------------------------------------------------------- |
731 |
|
Name: Matthias Blume |
732 |
|
Date: 2002/07/05 10:25:00 EDT |
733 |
|
Tag: blume-20020705-btimp |
734 |
|
Description: |
735 |
|
|
736 |
|
Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that |
737 |
|
other clients can set up backtracing support. |
738 |
|
|
739 |
|
---------------------------------------------------------------------- |
740 |
|
Name: Matthias Blume |
741 |
|
Date: 2002/06/25 17:23:00 EDT |
742 |
|
Tag: blume-20020625-fpmax |
743 |
|
Description: |
744 |
|
|
745 |
|
Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point |
746 |
|
case. (The sense of the isNaN test was reversed -- which made min and |
747 |
|
max always return their first argument.) |
748 |
|
|
749 |
|
---------------------------------------------------------------------- |
750 |
|
Name: Matthias Blume |
751 |
|
Date: 2002/06/11 |
752 |
|
Tag: blume-20020611-unixpath |
753 |
|
Description: |
754 |
|
|
755 |
|
Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch. |
756 |
|
|
757 |
|
---------------------------------------------------------------------- |
758 |
|
Name: Matthias Blume |
759 |
|
Date: 2002/06/10 16:35:00 EDT |
760 |
|
Tag: blume-20020610-ieeereal |
761 |
|
Description: |
762 |
|
|
763 |
|
I back-ported my implementation of IEEEReal.fromString from the |
764 |
|
idlbasis-devel branch so that we can test it. |
765 |
|
|
766 |
|
Another small change is that ppDec tries to give more information |
767 |
|
than just "<sig>" in the case of functors. However, this code is |
768 |
|
broken in some mysterious way if the functor's body's signature |
769 |
|
has not been declared by ascription but gets inferred from the |
770 |
|
implementation. This needs fixing... |
771 |
|
|
772 |
|
---------------------------------------------------------------------- |
773 |
|
Name: Matthias Blume |
774 |
|
Date: 2002/05/31 |
775 |
|
Tag: blume-20020531-btrace-mode |
776 |
|
Description: |
777 |
|
|
778 |
|
Resurrected SMLofNJ.Internals.BTrace.mode. (It accidentally fell by |
779 |
|
the wayside when I switched over to using Controls everywhere.) |
780 |
|
|
781 |
|
---------------------------------------------------------------------- |
782 |
|
Name: Lal George |
783 |
|
Date: 2002/05/23 12:21:40 EDT |
784 |
|
Tag: george-20020523-visual-labels |
785 |
|
Description: |
786 |
|
|
787 |
|
Labels are now displayed in the graphical output to make |
788 |
|
the fall-through and target blocks obvious. |
789 |
|
|
790 |
|
---------------------------------------------------------------------- |
791 |
|
Name: Matthias Blume |
792 |
|
Date: 2002/05/22 11:03:00 EDT |
793 |
|
Tag: blume-20020522-shrink |
794 |
|
Description: |
795 |
|
|
796 |
|
John tweaked yesterday's fix for 1131 to handle an out-of-memory |
797 |
|
situation that comes up when allocating huge arrays. |
798 |
|
|
799 |
|
---------------------------------------------------------------------- |
800 |
|
Name: Matthias Blume |
801 |
|
Date: 2002/05/21 16:00:00 EDT |
802 |
|
Tag: Release_110_40 |
803 |
|
Description: |
804 |
|
|
805 |
|
New working release (110.40). New bootfiles. |
806 |
|
|
807 |
|
[Also: John Reppy fixed GC bug 1131.] |
808 |
|
|
809 |
|
---------------------------------------------------------------------- |
810 |
|
Name: Matthias Blume |
811 |
|
Date: 2002/05/21 12:35:00 EDT |
812 |
|
Tag: blume-20020521-cmdoc |
813 |
|
Description: |
814 |
|
|
815 |
|
CM documentation update. |
816 |
|
|
817 |
|
---------------------------------------------------------------------- |
818 |
|
Name: Matthias Blume |
819 |
|
Date: 2002/05/21 10:55:00 EDT |
820 |
|
Tag: blume-20020521-misc |
821 |
|
Description: |
822 |
|
|
823 |
|
- John tweaked runtime to be silent on heap export (except when |
824 |
|
GC messages are on). |
825 |
|
- I added a few more things (cross-compiling versions of CMB) to |
826 |
|
config/preloads (as suggestions). |
827 |
|
|
828 |
|
---------------------------------------------------------------------- |
829 |
|
Name: Matthias Blume |
830 |
|
Date: 2002/05/20 22:25:00 EDT |
831 |
|
Tag: blume-20020520-controls |
832 |
|
Description: |
833 |
|
|
834 |
|
- Added ControlUtil structure to control-lib.cm. |
835 |
|
- Use it throughout. |
836 |
|
- Used Controls facility to define MLRISC controls (as opposed to |
837 |
|
registering MLRISC control ref cells with Controls after the fact) |
838 |
|
- Fixed messed-up controls priorities. |
839 |
|
|
840 |
|
* Removed again all the stuff from config/preloads that one wouldn't |
841 |
|
be able to preload at the time the initial heap image is built. |
842 |
|
(Many libraries, e.g., CML, do not exist yet at this time. The |
843 |
|
only libraries that can be preloaded via config/preloads are those |
844 |
|
that come bundled with the bootfiles.) |
845 |
|
|
846 |
|
---------------------------------------------------------------------- |
847 |
|
Name: Matthias Blume |
848 |
|
Date: 2002/05/20 10:59:00 EDT |
849 |
|
Tag: blume-20020520-preloads |
850 |
|
Description: |
851 |
|
|
852 |
|
Added a lot of commented-out suggestions for things to be included |
853 |
|
in config/preloads. |
854 |
|
|
855 |
|
---------------------------------------------------------------------- |
856 |
|
Name: Allen Leung |
857 |
|
Date: 2002/05/18 14:20:00 EDT |
858 |
|
Tag: leunga-20020518-mdl |
859 |
|
Description: |
860 |
|
|
861 |
|
o Made the mdl tool stuff compile and run again. |
862 |
|
o I've disabled all the stuff that depends on RTL specifications; they |
863 |
|
are all badly broken anyway. |
864 |
|
|
865 |
|
---------------------------------------------------------------------- |
866 |
|
Name: Matthias Blume |
867 |
|
Date: 2002/05/17 16:49:00 EDT |
868 |
|
Tag: blume-20020517-controls |
869 |
|
Description: |
870 |
|
|
871 |
|
0. John Reppy made several modifications to the SML/NJ library. |
872 |
|
In particular, there is a shiny new controls-lib.cm. |
873 |
|
|
874 |
|
1. Pushed new controls interface through compiler so that everything |
875 |
|
compiles again. |
876 |
|
|
877 |
|
2. Added FormatComb and FORMAT_COMB to the CML version of the |
878 |
|
SML/NJ library (so that CML compiles again). |
879 |
|
|
880 |
|
3. Modified init scripts because XXX_DEFAULT environment variables |
881 |
|
are no longer with us. (Boot-time initialization is now done |
882 |
|
using the same environment variables that are also used for |
883 |
|
startup-time initialization of controls.) |
884 |
|
|
885 |
|
---------------------------------------------------------------------- |
886 |
|
Name: Lal George |
887 |
|
Date: 2002/05/15 09:20:10 EDT |
888 |
|
Tag: george-20020515-pseudo-op-decls |
889 |
|
Description: |
890 |
|
|
891 |
|
All pseudo-ops emitted before the first segment declaration |
892 |
|
such as TEXT, DATA, and BSS directives are assumed to be global |
893 |
|
declarations and are emitted first in the assembly file. This is |
894 |
|
useful in a number of situations where one has pseudo-ops that are not |
895 |
|
specific to any segment, and also works around the constraint that one |
896 |
|
cannot have client pseudo-ops in the TEXT segment. |
897 |
|
|
898 |
|
Because no segment is associated with these declarations it is |
899 |
|
an error to allocate any space or objects before the first segment |
900 |
|
directive and an exception will be raised. However, we cannot make |
901 |
|
this check for client pseudo-ops. |
902 |
|
|
903 |
|
These top level declarations are a field in the CFG graph_info. |
904 |
|
In theory you can continue to add to this field after the CFG has been |
905 |
|
built -- provided you know what you are doing;-) |
906 |
|
|
907 |
|
---------------------------------------------------------------------- |
908 |
|
Name: Matthias Blume |
909 |
|
Date: 2002/05/13 16:40:00 EDT |
910 |
|
Tag: blume-20020513-pp-etc |
911 |
|
Description: |
912 |
|
|
913 |
|
A few minor bugfixes: |
914 |
|
|
915 |
|
- Stopgap measure for bug recently reported by Elsa Gunter (ppDec). |
916 |
|
(Bogus printouts for redefined bindings still occur. Compiler |
917 |
|
bug should no longer occur now. We need to redo the prettyprinter |
918 |
|
from scratch.) |
919 |
|
|
920 |
|
- CM pathname printer now also adds escape sequences for ( and ) |
921 |
|
|
922 |
|
- commend and docu fixes for ml-nlffi |
923 |
|
|
924 |
|
---------------------------------------------------------------------- |
925 |
|
Name: Matthias Blume |
926 |
|
Date: 2002/05/10 16:40:00 EDT |
927 |
|
Tag: blume-20020510-erg-textio |
928 |
|
Description: |
929 |
|
|
930 |
|
Applied the following bugfix provided by Emden Gansner: |
931 |
|
|
932 |
|
Output is corrupted when outputSubstr is used rather than output. |
933 |
|
|
934 |
|
The problem occurs when a substring |
935 |
|
|
936 |
|
ss = (s, dataStart, dataLen) |
937 |
|
|
938 |
|
where dataStart > 0, fills a stream buffer with avail bytes left. |
939 |
|
avail bytes of s, starting at index dataStart, are copied into the |
940 |
|
buffer, the buffer is flushed, and then the remaining dataLen-avail |
941 |
|
bytes of ss are copied into the beginning of the buffer. Instead of |
942 |
|
starting this copy at index dataStart+avail in s, the current code |
943 |
|
starts the copy at index avail. |
944 |
|
|
945 |
|
Fix: |
946 |
|
In text-io-fn.sml, change line 695 from |
947 |
|
val needsFlush = copyVec(v, avail, dataLen-avail, buf, 0) |
948 |
|
to |
949 |
|
val needsFlush = copyVec(v, dataStart+avail, dataLen-avail, buf, 0) |
950 |
|
|
951 |
|
---------------------------------------------------------------------- |
952 |
Name: Matthias Blume |
Name: Matthias Blume |
953 |
Date: 2002/04/12 13:55:00 EDT |
Date: 2002/04/12 13:55:00 EDT |
954 |
Tag: blume-20020412-assyntax |
Tag: blume-20020412-assyntax |