Parent Directory | Revision Log
|Links to HEAD:||(view) (annotate)|
|Links to RELENG_18:||(view) (annotate)|
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation for release tagging 18d.
o Based on suggestions from Martin Cracauer, flush commonly used output 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.
When read-sequence is using the read-n-bin method, loop if the number of bytes returned is less than required, and until either done or zero bytes is returned indicating an EOF.
Fix the handling of :unread and :clear-input in the stream 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.
Ignore the recursive-p argument to peek-char, rather than having it override eof-errorp when true. Seems to be that interpretation made by other implementations. From Raymond Toy.
This set of revisions brings the RELENG_18 branch up to HEAD in preparation for an 18c release.
Update from the current main branch.
This (huge) revision brings the RELENG_18 branch up to the current HEAD. Note code/unix-glib2.lisp not yet included -- not sure it is ready to go.
Fixed broadcast streams to not close the component streams when the broadcast stream is closed. Revision 1.21 claimed to do this, but it lied in the case of broadcast streams.
Clarify EOF-ERROR-P handling in read-n-bytes.
Fix headed boilerplate.
In read-line, put the actual stream in the call to eof-or-lose, not the original arg (which might be T or NIL.)
When closing composite streams (broadcast, etc.), don't close component streams. ANSI sez. Also, added gratuitous support for binary input from string streams (from David Axmark.)
Tweak read-line to work better on a non-persistent EOF (e.g. ^D on TTY)
Fixed type decls in FILE-POSITION to allow :START and :END for positions.
new structure branch & tuning, see new_struct
Added OPEN-STREAM-P, changed a few explicit type checks to declares, and changed a few uses of %primitive byte-blt to replace.
base-character -> base-char.
Syntax error in the defstruct for synonym-stream.
Exported various slot accessors of streams now part of the standard. Made these read-only slots. Added open-stream-p and interactive-stream-p.
Added MAKE-CASE-FROB-STREAM which is used by the new format to handle ~(...~) variants. See the doc string for details.
Moved EXT:GET-STREAM-COMMAND into this file, so kernel cores could enter the debugger.
Made the synonym stream methods safe so that we will get unbound errors even in safe code.
Merged systems-work sources as of this date: .../systems-work/code/stream.lisp, 27-May-90 14:11:17, Edit by Chiles and Wlott. Changed the semantics of the :listen misc method for streams. It now distinguishes between eof and no obvious input for other reasons. This was necessary to correctly implement READ-CHAR-NO-HANG. LISTEN no tests the result of calling the :listen misc method for being explicitly t. When it is :eof or nil, LISTEN should return nil. READ-CHAR-NO-HANG no calls the :listen misc method directly instead of calling LISTEN. When the method returns t or :eof, it calls READ-CHAR to appropriately deal with returning the character or screaming because of eof. Modified the :listen misc method for concatenated streams. It failed to step to the next stream when the current one hit eof. Modified the :listen misc method for string-input stream. They never return nil since they either have more characters, or they are at :eof. .../code/stream.lisp, 26-Apr-90 18:46:58, Edit by Wlott. Make two-way streams force-output on the output side before passing any input requests on to the input side. .../systems-work/code/stream.lisp, 22-Mar-90 22:20:05, Edit by Chiles. Made the string-input-stream structure definition no longer specify :constructor nil in addition to defining one with a name.
New file header with RCS header FILE-COMMENT.
Fixed echo streams to no longer echo unread characters twice.
Fixed broken declarations.
Fixed CONCATENATED-READLINE to not declare variables to be SIMPLE-STRING when they aren't.
Made string input stream support file-length and file-position setting.
Moved MIPS branch onto trunk; no merge necessary.
Flushed broken INGORE declaration.
.../systems-work/code/stream.lisp, 16-Jan-90 11:47:26, Edit by Wlott. Fixed bug in read-n-bytes: buffer was used where in-buffer should have been. .../systems-work/code/stream.lisp, 23-Oct-89 16:45:49, Edit by Chiles. Picked up Chris's fix to make CLEAR-INPUT always return nil. /usr1/lisp/ncode/stream.lisp, 25-Aug-89 11:46:56, Edit by Chiles. Added FILE-POSITION methods for string streams.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
|Powered by ViewVC 1.1.5|