- Jan 19, 2004
-
-
toy authored
current readtable. Use that instead of whitespace-char-p. (Noted from Paul Dietz's ANSI tests.)
-
- Oct 24, 2003
-
-
toy authored
(defvar *s* (open "target:code/scavhook.lisp")) (defvar *buf* (make-array 5000 :element-type 'character)) (read-sequence *buf* *s* :end 3000) => 3000 (read-sequence *buf* *s* :end 3000) => 1096 or 4096 bytes read, when we should have read 4139 (length of scavhook.lisp). Make READ-INTO-SIMPLE-STRING keep trying to READ-N-BYTES until we have enough bytes or until READ-N-BYTES returns 0 bytes read (in which case we return a short read because there's nothing left to read).
-
- Jul 30, 2003
-
-
toy authored
so (and just ignore it).
-
- Jun 18, 2003
-
-
gerd authored
package COMMON-LISP which LISP uses, so that COMMON-LISP no longer has the non-ANSI nickname LISP. To bootstrap, use boot13.lisp as target:bootstrap.lisp with pmai's build scripts, and do a full compile. * src/bootfiles/18e/boot13.lisp: Change for all the package changes. * src/code/exports.lisp: New package common-lisp, which lisp uses. * src/tools/worldload.lisp: * src/tools/setup.lisp: Use cl-user instead of user. Use lisp:: instead of cl::. * src/tools/worldcom.lisp: * src/tools/snapshot-update.lisp: * src/tools/pclcom.lisp: * src/tools/mk-lisp: * src/tools/hemcom.lisp: * src/tools/config.lisp: * src/tools/comcom.lisp: * src/tools/clxcom.lisp: * src/tools/clmcom.lisp: * src/pcl/defsys.lisp: * src/motif/lisp/initial.lisp: * src/interface/initial.lisp: * src/hemlock/lispmode.lisp (setup-lisp-mode): Use cl-user instead of user. * src/code/save.lisp (assert-user-package): * src/code/print.lisp (%with-standard-io-syntax): Find cl-user package instead of user. * src/code/package.lisp (package-locks-init): Add lisp. (package-init): Don't add user nickname to cl-user. * src/code/ntrace.lisp (*trace-encapsulate-package-names*): Add common-lisp. * src/code/hash.lisp (toplevel): * src/code/hash-new.lisp (toplevel): Use in-package :lisp instead of :common-lisp. * src/code/float-trap.lisp (sigfpe-handler): Don't qualify floating-point-inexact with ext:. * src/pcl/simple-streams/strategy.lisp (sc): * src/pcl/simple-streams/null.lisp (null-read-char): * src/pcl/simple-streams/internal.lisp (allocate-buffer) (free-buffer): * src/pcl/simple-streams/impl.lisp (%check, %read-line) (%peek-char, %read-byte): * src/pcl/simple-streams/file.lisp (open-file-stream) (device-close): * src/pcl/simple-streams/classes.lisp (simple-stream) (device-close): * src/pcl/macros.lisp (toplevel): * src/pcl/braid.lisp (lisp::sxhash-instance): * src/pcl/env.lisp (toplevel): * src/compiler/generic/objdef.lisp (symbol-hash): * src/code/stream.lisp (read-sequence, write-sequence): * src/code/macros.lisp (defmacro, deftype): * src/code/eval.lisp (interpreted-function): * src/code/defstruct.lisp (defstruct): * src/code/debug.lisp (debug-eval-print): Use lisp:: instead of cl::.
-
- Jun 07, 2003
-
-
toy authored
o An update to fix Gerd's complaint about :simple-streams being on *features* o Corrects a few bugs o Renames all the strategy functions o Gets rid of DEVICE-EXTEND (Duane Rettig tells me it's going away in the next ACL release) o A start on getting stream& composition working.
-
- Jun 06, 2003
-
-
toy authored
functionality is still missing, but Lisp streams and Gray streams should behave unchanged.
-
- Mar 19, 2003
-
-
toy authored
preventing us from reading from string-streams, among other things.
-
- Mar 17, 2003
-
-
emarsden authored
be bigger than an INDEX.
-
- Dec 12, 2002
- Nov 19, 2002
-
-
toy authored
Port Matthew Danish's fix for this bug for SBCL.
-
- Nov 13, 2002
-
-
toy authored
args in the wrong order (stream arg is first). Noted by Matthew Danish.
-
- Oct 07, 2002
-
-
toy authored
that was inadvertently deleted. (Bug noted by Rudi Schlatte). o write-sequence was calling system:output-raw-bytes with the wrong args. (Bug noted by Andras Simon)
-
toy authored
o Fix a few typos in code. o Delete a few unused symbols from various places o Use something better than %%RWSEQ-EOF%% for the eof marker. o Add target-foreign-linkage vars for the PPC and HPPA ports to aid cross-compilation. (The values are very likely wrong, but they're not used yet.) Based on a larger patch from Eric Marsden.
-
- Aug 12, 2002
-
-
toy authored
streamlike as appropriate to catch bad args instead of pretending they're gray-streams to be caught there. o For make-broadcast-stream, make-two-way-stream, make-concatenated-stream, and make-echo-stream, check that their args of input or output streams as appropriate.
-
- Aug 06, 2002
-
-
pw authored
system:read-n-bytes reads short. Problem noted by Todd Sabin.
-
- Jun 10, 2002
-
-
toy authored
The Hyperspec says that the default for end is nil, but: * (write-string "bla" *standard-output* :start 0 :end nil) Type-error in KERNEL::OBJECT-NOT-FIXNUM-ERROR-HANDLER: NIL is not of type FIXNUM Fix this and make the default for :END be NIL. (Hmm, I suppose we don't really have to default to NIL since NIL means the end of the string anyway, but we should at least accept NIL as a valid :END value. I didn't do that.)
-
- Feb 04, 2002
-
-
toy authored
"tries to be more intelligent about a bunch of `commonly' used external format."
-
- Sep 20, 2001
-
-
pw authored
From cmucl-imp before server went down. Forgot submitters name, sorry! Fix fill-pointer-ouch to work on adjustable arrays of zero length.
-
- Jul 08, 2001
-
-
pw authored
Implements READ- and WRITE-SEQUENCE on Gray streams, via STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE, and provides a :class keyword to OPEN which lets it return Gray streams classes wrapped around lisp-streams. Load exports.lisp before compiling with this set of changes.
-
- Apr 07, 2001
-
-
pw authored
Implement n-bin method for concatenated-stream. This fixes read-sequence for byte-vectors and strings for concatenated-streams.
-
- Mar 04, 2001
-
-
pw authored
-
- Aug 24, 2000
-
-
dtc authored
streams during the processing of command line switches and upon exit. This is a convenience for typical usage, and not all output streams are flushed, so important streams should still be flushed but user code. o Add a new function finish-standard-output-streams to finish output on the commonly used output streams. Called after the processing of each command line switch, and before the %end-of-the-world. o Extend the eval switch to process multiple forms, flushing the common output streams between each.
-
- Jul 23, 2000
-
-
dtc authored
of bytes returned is less than required, and until either done or zero bytes is returned indicating an EOF.
-
dtc authored
misc functions synonym-misc, two-way-misc, and concatenated-misc. These streams encapsulate other input streams which may have an input buffer so they need to call unread-char and clear-input on the encapsulated stream rather than directly calling the encapsulated streams misc method as the misc methods are below the layer of the input buffer.
-
- Jun 17, 2000
-
-
dtc authored
override eof-errorp when true. Seems to be that interpretation made by other implementations. From Raymond Toy.
-
- Apr 05, 2000
-
-
dtc authored
to read rather than all the streams; noted by Sam Steingold. The streams are now simply popped when the EOF is reached. The full list of streams is not maintained as presumably the closing of the streams will be handled separately from the concatenated-stream functionality.
-
- Feb 11, 1999
-
-
dtc authored
Spilsbury.
-
- Feb 02, 1999
-
-
dtc authored
writing it to the output stream. Noted by Peter Van Eynde.
-
- Dec 20, 1998
-
-
dtc authored
-
- Dec 19, 1998
-
-
dtc authored
recursive-p is true. Based on patches from Peter Van Eynde.
-
- Jul 24, 1998
-
-
dtc authored
remove unnecessary conditionals.
-
- Jul 16, 1998
-
-
pw authored
in calls to error. From Douglas.
-
- May 15, 1998
-
-
dtc authored
encapsulate fundamental-streams, and streamline the Gray streams related dispatch code.
-
- May 05, 1998
-
-
dtc authored
with-out-stream macros incorrectly replaced in the recent Gray stream changes.
-
dtc authored
is greater than those available, copy all those available and return the number copied; it had been simply returning Nil or generating an end-of-file error without coping any bytes. This enables read-sequence to once again use the n-bin method on string streams; remove the hack restriction. Also fix an error in the returned element index for the case in which the start index is not zero.
-
- May 04, 1998
-
-
dtc authored
* Rename the 'stream structure class to sys:lisp-stream. * Add a new none hierarchical 'stream built-in class which inherits from: instance, t. * Hack in the new stream class as a mixin for the structure base lisp-stream class which now inherits from: stream, structure-object, instance, t. * Add a new 'fundamental-stream standard-class which includes 'stream as a mixin, and add PCL hacks to allow this to be redefined after PCL is loaded to be (defclass fundamental-stream (standard-object stream) ...). * Add appropriate support to the base stream functions to dispatch to the Gray stream functions for the handling of fundamental-streams. Some of the lisp-streams encapsulating CLOS streams still need a little work.
-
- Apr 27, 1998
-
-
pw authored
Fix for read-stream; can only use read-n-bytes to read into simple-strings on fd-streams. Noted by Paul Dietz. Fix from Douglas.
-
- Mar 01, 1998
-
-
dtc authored
-
- Feb 03, 1998
-
-
pw authored
of 'base-char. Also, loop was barfing on base-char declaration wanting instead to see string-char. Simply fixed.
-