- 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.
-
- Jul 16, 1998
-
-
pw authored
in calls to error. From Douglas.
-
- Jul 14, 1998
-
-
pw authored
in various calls to ERROR. Those easily handled by using new condition types simple-file-error and simple-program-error are included. The only functional change here is that the function CHARACTER no longer accepts an integer argument so as to be ANSI compliant. This may break some code.
-
- 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.
-
- Jan 04, 1998
-
-
dtc authored
stream input blocking when there are other runnable processes.
-
- Dec 27, 1997
-
-
dtc authored
descriptor to an (unsigned-byte 32) and thus limited this code to file descriptors less than 32, this was probably done to limit consing. Replace these with unix-fast-select, allowing the use of file descriptors upto fd-setsize (doesn't cons). Tested with over 128 FDs running CL-HTTP on FreeBSD.
-
- Mar 25, 1997
-
-
dtc authored
-
- Feb 25, 1997
-
-
dtc authored
-
- Jan 18, 1997
-
-
ram authored
-
- May 07, 1996
-
-
ram authored
type correct for signed operands, thus didn't consistently work.
-
- Oct 31, 1994
-
-
ram authored
-
- Oct 02, 1994
-
-
ram authored
-
- Aug 23, 1994
-
-
ram authored
-