Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
a773ea60
by Raymond Toy at 2016-09-26T19:50:47-07:00
-
48c1dd59
by Raymond Toy at 2016-09-26T19:51:12-07:00
-
1b8f72ed
by Raymond Toy at 2016-09-26T20:03:24-07:00
3 changed files:
Changes:
... | ... | @@ -48,7 +48,7 @@ |
48 | 48 |
\newcommand{\keywords}{lisp, Common Lisp, manual, compiler, programming
|
49 | 49 |
language implementation, programming environment}
|
50 | 50 |
|
51 |
\date{October 2014 \\ 20f}
|
|
51 |
\date{October 2016 \\ 21b}
|
|
52 | 52 |
|
53 | 53 |
|
54 | 54 |
\begin{document}
|
... | ... | @@ -1099,7 +1099,8 @@ It is possible to run programs from Lisp by using the following function. |
1099 | 1099 |
\morekeys{\kwd{if-input-does-not-exist}}
|
1100 | 1100 |
\yetmorekeys{\kwd{output} \kwd{if-output-exists}}
|
1101 | 1101 |
\yetmorekeys{\kwd{error} \kwd{if-error-exists}}
|
1102 |
\yetmorekeys{\kwd{status-hook}}}}
|
|
1102 |
\yetmorekeys{\kwd{status-hook} \kwd{external-format}}
|
|
1103 |
\yetmorekeys{\kwd{element-type}}}}
|
|
1103 | 1104 |
|
1104 | 1105 |
\code{run-program} runs \var{program} in a child process.
|
1105 | 1106 |
\var{Program} should be a pathname or string naming the program.
|
... | ... | @@ -1154,6 +1155,11 @@ It is possible to run programs from Lisp by using the following function. |
1154 | 1155 |
already contains all the input for the process. In this case
|
1155 | 1156 |
\code{run-program} reads all the input from this stream before
|
1156 | 1157 |
returning, so this cannot be used to interact with the process.
|
1158 |
If \kwd{input} is a string stream, it is up to the caller to call
|
|
1159 |
\code{string-encode} or other function to convert the string to
|
|
1160 |
the appropriate encoding. In either case, the least significant 8
|
|
1161 |
bits of the \code{char-code} of each \code{character} is
|
|
1162 |
sent to the program.
|
|
1157 | 1163 |
|
1158 | 1164 |
\item[\kwd{if-input-does-not-exist}] This specifies what to do if
|
1159 | 1165 |
the input file does not exist. The following values are valid:
|
... | ... | @@ -1172,7 +1178,10 @@ It is possible to run programs from Lisp by using the following function. |
1172 | 1178 |
\code{process-output} slot contains an input stream from which you
|
1173 | 1179 |
can read the program's output. \kwd{output} can also be a stream
|
1174 | 1180 |
in which case all output from the process is written to this
|
1175 |
stream.
|
|
1181 |
stream. If \kwd{output} is a string-stream, each octet read from
|
|
1182 |
the program is converted to a character using \code{code-char}.
|
|
1183 |
It is up to the caller to convert this using the appropriate
|
|
1184 |
external format to create the desired encoded string.
|
|
1176 | 1185 |
|
1177 | 1186 |
\item[\kwd{if-output-exists}] This specifies what to do if the
|
1178 | 1187 |
output file already exists. The following values are valid:
|
... | ... | @@ -1197,6 +1206,15 @@ It is possible to run programs from Lisp by using the following function. |
1197 | 1206 |
the process changes status. This is especially useful when
|
1198 | 1207 |
specifying \kwd{wait} as \nil. The function takes the process as
|
1199 | 1208 |
a required argument.
|
1209 |
|
|
1210 |
\item[\kwd{external-format}] This specifies the external format to
|
|
1211 |
use for streams created for \code{run-program}. This does not
|
|
1212 |
apply to string streams passed in as \kwd{input} or \kwd{output}
|
|
1213 |
parameters.
|
|
1214 |
|
|
1215 |
\item[\kwd{element-type}] If streams are created \code{run-program},
|
|
1216 |
use this as the \kwd{element-type} for the stream. Defaults to
|
|
1217 |
\code{BASE-CHAR}.
|
|
1200 | 1218 |
|
1201 | 1219 |
% \item[\kwd{before-execve}] This specifies a function to run in the
|
1202 | 1220 |
% child process before it becomes the program to run. This is
|
... | ... | @@ -48,7 +48,7 @@ New in this release: |
48 | 48 |
WITH-FLOAT-TRAPS-MASKED.
|
49 | 49 |
* (EXPT 0 power) doesn't throw INTEXP-LIMIT-ERROR anymore for any
|
50 | 50 |
integer value of power.
|
51 |
* Starting cmucl with "-dyanmic-space-size 0" means using the
|
|
51 |
* Starting cmucl with "-dynamic-space-size 0" means using the
|
|
52 | 52 |
maximum possible heap size for the platform.
|
53 | 53 |
* More descriptive docstring for
|
54 | 54 |
* *environment-list*
|
... | ... | @@ -56,16 +56,21 @@ New in this release: |
56 | 56 |
* Maximum dynamic-space-size on Linux reduced to 1530 MB because
|
57 | 57 |
that's the largest available space on 32-bit Ubuntu 11.10.
|
58 | 58 |
* For linux, darwin, and solaris/sparc, the binding stack and
|
59 |
control stack are now mapped into memory whereever the OS wishes
|
|
59 |
control stack are now mapped into memory wherever the OS wishes
|
|
60 | 60 |
to place them instead of being mapped into a fixed location.
|
61 | 61 |
This is indicated by new feature :relocatable-stacks.
|
62 | 62 |
|
63 | 63 |
* ANSI compliance fixes:
|
64 | 64 |
* PATHNAME-MATCH-P did not accept search-lists.
|
65 |
* (compile 'foo) returns the compiled function if foo is already
|
|
66 |
compiled. (See Ticket #24). This is a change in behavior for
|
|
67 |
developers where foo would be recompiled if the source was
|
|
68 |
available. Developers might want to investigate uncompile
|
|
69 |
combined with compile to get the old behavior back.
|
|
65 | 70 |
|
66 |
* Bugfixes:
|
|
71 |
* Bug fixes:
|
|
67 | 72 |
* Linux was missing unix-setitimer which prevented saving cores.
|
68 |
* Generate inxact exceptions more carefully.
|
|
73 |
* Generate inexact exceptions more carefully.
|
|
69 | 74 |
* Fix FP issue when building with Xcode 7.2 (and newer versions of
|
70 | 75 |
clang). (See ticket #12.)
|
71 | 76 |
* Cleanups in handling floating-point exceptions. See Tickets #15
|
... | ... | @@ -94,8 +99,13 @@ New in this release: |
94 | 99 |
* Ticket #27 fixed: Regression: ASDF test failures
|
95 | 100 |
* Ticket #28 fixed: Recursive function definition during
|
96 | 101 |
cross-compile
|
102 |
* Ticket #30 fixed: Compilation of (describe 'foo)
|
|
103 |
* Ticket #31 fixed: (compile #'foo) fails
|
|
104 |
* Ticket #24 fixed: Compilation of (compile 'foo)
|
|
105 |
* Ticket #32 fixed: doc fix: ext:run-program has no before-execve option
|
|
97 | 106 |
|
98 | 107 |
* Other changes:
|
108 |
* Update user manual.
|
|
99 | 109 |
|
100 | 110 |
* Improvements to the PCL implementation of CLOS:
|
101 | 111 |
|