News |
REALPART
and IMAGPART
no longer incorrectly returns 0
instead of the correct part of a complex number in some
situations.build.sh
was accidenally loading the site-init file, but it
shouldn't. XLIB::GET-BEST-AUTHORIZATION
will now return authorization data
if the protocol is :local, if the xauth file contains just
"localhost/unix:0". Previously, no authorization data was
returned because GET-BEST-AUTHORIZATION
was looking for the
hostname.FORMAT
signals an warning if ~:;
is used inside ~:[.
SET-SYSTEM-EXTERNAL-FORMAT
was not actually setting the filename
encoding if given.REALPART
and IMAGPART
has
been fixed in the 2010-11 snapshot. A patch is provided now to fix
this issue in the 20b release. Installation
instructions are available.
COMPILE-FILE
accepts a
:DECODING-ERROR
argument that indicates how to handle
decoding errors when reading the file.RUN-PROGRAM
accepts :EXTERNAL-FORMAT
parameter to specify the external format for streams that are
created.READ-CHAR
signals errors on non-character
streams. READ-BYTE
signals errors on character
streams. This is a change from previous versions. However, both
will work if the stream is a binary-text-stream
.REALPART
and IMAGPARG
no longer
returns 0 instead of the correct part of a complex number in some
situations. CMUCL 20b has been released. For information on the changes, we refer the reader to the 20b release notes.
CMUCL 20b prelease 2 has been released, in preparation for the upcoming 20b release. Therefore there will not be a 2010-09 snapshot.
SIGCONTEXT-FLOAT-REGISTER
returned the wrong
value for single-floats. Easily noticead when tracing a function
with single-float arguments.
FILE-POSITION
returns the correct value for UTF16
and UTF32 when there is a BOM (byte-order mark) at the
beginning of the file.
CMUCL 20b prelease 1 has been released, in preparation for the upcoming 20b release. Therefore there will not be a 2010-08 snapshot.
Error handling has been added to external formats. Previously, all external formats would silently replace bad encodings with a suitable replacement character. Now, the user can specify how the errors are handled by using the :DECODING-ERROR and :ENCODING-ERROR parameters to OPEN. The default is the previous behavior.
For decoding-error, a character, symbol, or function can be given. If a character, then that character is used as the replacement character. For a symbol or function, it must be a function of 3 arguments: a message string, the offending octet (or nil), and the number of octets read in the encoding. If the function returns, it must be the codepoint of the desired replacement.
For encoding-error, a character, symbol, or function can be given. If a character, then that character is used as the replacement character. For a symbol or function, it must be a function of 2 arguments: a message string and the offending codepoint. If the function returns, it must be the codepoint of the desired replacement.
(require :asdf)
or (require :defsystem)
to
load these.
-help
has been added. This prints
out a brief summary of the available command line switches and
exists. You may also use --help
.
Experimental support for static arrays has been added. These are allocated in foreign (malloc) space and are never moved by GC. They are, however, properly garbage collected. To create an array, use MAKE-ARRAY with :ALLOCATION :MALLOC. Only arrays of character; 8, 16, and 32-bit integers (signed or unsigned); single and double floats; and complex single and double floats are supported.
Also see older news: