- Nov 05, 2007
-
-
rtoy authored
simple-streams buffers) into LISP and removes them from simple-streams (and from EXT). Use boot-2007-11-1.lisp to bootstrap the necessary symbol changes. Patch from Paul Foley.
-
- Feb 27, 2006
-
-
rtoy authored
original. This is the solution from Carl, for a bug reported by Madhu, cmucl-imp, 2006-02-19.
-
- Apr 04, 2005
-
-
rtoy authored
is done, based on a suggestion from Lynn Quam. o Add BINARY-TEXT-STREAM structure for streams that support binary and character I/O. This is basically an FD-STREAM. o Export BINARY-TEXT-STREAM from the EXTENSIONS package. o OPEN will recognize :class 'ext:binary-text-stream to enable such streams. o Removed *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT*, since we use OPEN to specify that now. Use boot-2005-03-2.lisp to bootstrap this change.
-
- Feb 21, 2005
-
-
rtoy authored
streams opened with element-type (unsigned-byte 8) to be also opened for character input. This gives simple-streams semantics to fd-streams. * code/fd-stream.lisp o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct type of input. o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary and character input. Currently defaults to NIL, but will change to T. * code/stream.lisp o New READ-INTO-SIMPLE-STRING to allow stream element-type of (unsigned-byte 8). o Support reading and writing simple arrays of single-float and double-float. o Strings can be written to streams of element-type '(unsigned-byte 8). * tools/worldcom.lisp o Compile stream-vector-io.lisp. * tools/worldload.lisp o Load stream-vector-io. * code/stream-vector-io.lisp o New file implementing READ-VECTOR and WRITE-VECTOR.
-
- Feb 10, 2005
-
-
rtoy authored
connection is reset. Based on code from Scott Burson, cmucl-imp, 2005-01-31.
-
- Sep 23, 2004
-
-
rtoy authored
it always DPB'ed the result into -1, which always results in a negative number. We need to check the most significant bit to decide what to do.
-
- Apr 23, 2004
- Apr 15, 2004
-
-
rtoy authored
o FILE-STRING-LENGTH can be used on BROADCAST-STREAM's where the result is 1. o Graphic characters are not printed using the character name (hence #\space is printed #\ ) o Make INPUT-STREAM-P and OUTPUT-STREAM-P work correctly on synonym streams. o MAKE-STRING-INPUT-STREAM was not accepting NIL for the optional END argument. o Close string-input streams. (We weren't before.)
-
- Apr 06, 2004
-
-
emarsden authored
- fix defaulting behaviour of :if-not-exist in OPEN when used with :direction :io. Corrects a number of the OPEN.IO.* ANSI compliance tests.
-
- Mar 26, 2004
-
-
emarsden authored
- add a SIMPLE-STREAM-ERROR class, and use it when signaling errors from fd-streams DO-OUTPUT (noted by Matthew Danish) - fix bug in fd-stream error handling (patch from Ole Rohne)
-
- Nov 05, 2003
-
-
gerd authored
as last change, which fixed write-char etc. only.
-
- Nov 03, 2003
-
-
gerd authored
:if-exists :supersede) (format stream "~S ~S ~S~%" 'these 'are 'symbols)) (with-open-file (stream "test.123" :direction :io :if-exists :overwrite) (read stream) (prin1 'insert stream)) (with-open-file (stream "test.123") (loop for line = (read-line stream nil) until (null line) do (write-line line))) Output should be "these insertmbols" Output is "these are symbols\ninsert" * src/code/fd-stream.lisp (def-output-routines): If there is any input read from UNIX but not supplied to the user of the stream, reposition to the real file position as seen from Lisp. Reported by Adam Warner.
-
- Aug 19, 2003
-
-
gerd authored
into account.
-
- Aug 05, 2003
-
-
emarsden authored
-
- Jun 26, 2003
-
-
toy authored
Non-simple-streams-related changes: * Stop commands which go through invoke-command-interactive from affecting the history variables. * Fix some typos in comments * When the GC closes a lost stream, revert to original contents * Replace #+nil with #+(or) in unix*.lisp [NIL is a potentially valid feature name] Simple-streams-related changes: * Teach reader to handle simple-streams * Add missing package prefixes in OPEN * Add unix:unix-msync for force-output on mmapped files * Add placeholder documentation * Numerous changes in simple-streams implementation * Add "external-formats" directory for external formats Note: :BIG-ENDIAN or :LITTLE-ENDIAN should be put on *features*
-
- Jun 11, 2003
-
-
emarsden authored
-
- Jun 10, 2003
-
-
toy authored
o Fix a number of spelling errors. o Add EXT:PURGE-FILES (hmm, should that be renamed to purge-backup-files?) to delete old versions of files. o Opening a file with :if-exists :append shouldn't set the Unix append flag, else you can't seek back to a point before you started appending. (Actually from Rudi Schlatte.) o Fix a bug in logical pathname parsing. o Fix FASL-file versioning so we don't create versioned fasl files.
-
- 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.
-
- Jun 05, 2003
-
-
toy authored
version. Bug noted by Paul Foley, who supplied this fix.
-
- Jun 02, 2003
-
-
toy authored
solution from Wolfhard Buss.
-
- Dec 12, 2002
- Aug 23, 2002
-
-
pmai authored
reporting in several places to be more specific and/or ANSI compliant. The patches have been modified to make use of the new common simple-programm-error function where applicable.
-
- Aug 02, 2002
-
-
toy authored
bug where read-byte from (signed-byte 8) (or less) streams would produce unsigned instead of signed numbers.
-
- Apr 03, 2002
-
-
pw authored
types to fail.
-
- Feb 04, 2002
-
-
toy authored
"tries to be more intelligent about a bunch of `commonly' used external format."
-
- 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.
-
- Jun 17, 2001
-
-
pw authored
FILE-LENGTH should signal a type-error if arg is not associated with a file.
-
- Mar 04, 2001
-
-
pw authored
-
- Oct 16, 2000
-
-
dtc authored
-
- Aug 25, 2000
-
-
pw authored
-
- Aug 24, 2000
-
-
pw authored
than using *terminal-io*. This lets debugger work even if someone binds *terminal-io* to an output only stream and then enters the debugger.
-
- Jun 19, 2000
-
-
dtc authored
fixnum which was only around 500Meg, as noted by Martin Cracauer.
-
- Dec 04, 1999
-
-
dtc authored
-
- Sep 04, 1999
-
-
dtc authored
-
- Jan 22, 1999
-
-
pw authored
where the user buffer was bigger than the stream buffer and the eof-error-p argument was NIL.
-
- Jan 15, 1999
-
-
dtc authored
which is handled by the type checking and was being flushed anyway.
-
- Dec 19, 1998
-
-
dtc authored
Based on patches from Peter Van Eynde.
-