/[cmucl]/src/code/stream.lisp
ViewVC logotype

Log of /src/code/stream.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to RELENG_18: (view) (annotate)
Sticky Tag:

Revision 1.25.2.8 - (view) (annotate) - [select for diffs]
Sat Mar 23 18:50:11 2002 UTC (12 years, 1 month ago) by pw
Branch: RELENG_18
CVS Tags: RELEASE_18d
Changes since 1.25.2.7: +579 -9 lines
Diff to previous 1.25.2.7 , to branch point 1.25 , to next main 1.102
Mega commit to bring RELENG_18 branch in sync with HEAD in preparation
for release tagging 18d.

Revision 1.25.2.7 - (view) (annotate) - [select for diffs]
Thu Aug 24 19:55:53 2000 UTC (13 years, 8 months ago) by dtc
Branch: RELENG_18
CVS Tags: RELEASE_18c
Changes since 1.25.2.6: +14 -1 lines
Diff to previous 1.25.2.6 , to branch point 1.25
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.

Revision 1.25.2.6 - (view) (annotate) - [select for diffs]
Sun Jul 23 14:59:58 2000 UTC (13 years, 9 months ago) by dtc
Branch: RELENG_18
Changes since 1.25.2.5: +12 -7 lines
Diff to previous 1.25.2.5 , to branch point 1.25
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.

Revision 1.25.2.5 - (view) (annotate) - [select for diffs]
Sun Jul 23 14:59:20 2000 UTC (13 years, 9 months ago) by dtc
Branch: RELENG_18
Changes since 1.25.2.4: +7 -5 lines
Diff to previous 1.25.2.4 , to branch point 1.25
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.

Revision 1.25.2.4 - (view) (annotate) - [select for diffs]
Sat Jun 17 06:34:23 2000 UTC (13 years, 10 months ago) by dtc
Branch: RELENG_18
Changes since 1.25.2.3: +3 -3 lines
Diff to previous 1.25.2.3 , to branch point 1.25
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.

Revision 1.25.2.3 - (view) (annotate) - [select for diffs]
Tue May 23 16:36:50 2000 UTC (13 years, 11 months ago) by pw
Branch: RELENG_18
Changes since 1.25.2.2: +28 -28 lines
Diff to previous 1.25.2.2 , to branch point 1.25
This set of revisions brings the RELENG_18 branch up to HEAD in preparation
for an 18c release.

Revision 1.25.2.2 - (view) (annotate) - [select for diffs]
Sun Jul 19 01:06:12 1998 UTC (15 years, 9 months ago) by dtc
Branch: RELENG_18
CVS Tags: RELEASE_18b
Changes since 1.25.2.1: +21 -5 lines
Diff to previous 1.25.2.1 , to branch point 1.25
Update from the current main branch.

Revision 1.25.2.1 - (view) (annotate) - [select for diffs]
Tue Jun 23 11:22:30 1998 UTC (15 years, 10 months ago) by pw
Branch: RELENG_18
Changes since 1.25: +587 -288 lines
Diff to previous 1.25
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.

Revision 1.25 - (view) (annotate) - [select for diffs]
Mon Dec 5 00:02:45 1994 UTC (19 years, 4 months ago) by wlott
Branch: MAIN
CVS Tags: RELEASE_18a
Branch point for: RELENG_18
Changes since 1.24: +2 -1 lines
Diff to previous 1.24
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.

Revision 1.24 - (view) (annotate) - [select for diffs]
Tue Nov 1 17:57:46 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.23: +9 -4 lines
Diff to previous 1.23
Clarify EOF-ERROR-P handling in read-n-bytes.

Revision 1.23 - (view) (annotate) - [select for diffs]
Mon Oct 31 04:11:27 1994 UTC (19 years, 5 months ago) by ram
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22
Fix headed boilerplate.

Revision 1.22 - (view) (annotate) - [select for diffs]
Wed Sep 28 13:40:26 1994 UTC (19 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21
In read-line, put the actual stream in the call to eof-or-lose, not the
original arg (which might be T or NIL.)

Revision 1.21 - (view) (annotate) - [select for diffs]
Tue Aug 23 18:36:22 1994 UTC (19 years, 8 months ago) by ram
Branch: MAIN
Changes since 1.20: +41 -14 lines
Diff to previous 1.20
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.)

Revision 1.20 - (view) (annotate) - [select for diffs]
Wed Mar 16 11:35:08 1994 UTC (20 years, 1 month ago) by ram
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19
Tweak read-line to work better on a non-persistent EOF (e.g. ^D on TTY)

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Mar 12 21:05:38 1993 UTC (21 years, 1 month ago) by wlott
Branch: MAIN
Branch point for: solaris_patch
Changes since 1.18: +6 -5 lines
Diff to previous 1.18
Fixed type decls in FILE-POSITION to allow :START and :END for positions.

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Feb 26 08:26:15 1993 UTC (21 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.17: +180 -176 lines
Diff to previous 1.17
new structure branch & tuning, see new_struct

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Feb 12 20:21:44 1993 UTC (21 years, 2 months ago) by wlott
Branch: MAIN
Branch point for: new_struct
Changes since 1.16: +31 -25 lines
Diff to previous 1.16
Added OPEN-STREAM-P, changed a few explicit type checks to declares, and
changed a few uses of %primitive byte-blt to replace.

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Feb 10 22:17:44 1993 UTC (21 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15
base-character -> base-char.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Dec 11 15:56:52 1992 UTC (21 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
Syntax error in the defstruct for synonym-stream.

Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Dec 10 01:08:40 1992 UTC (21 years, 4 months ago) by ram
Branch: MAIN
Changes since 1.13: +36 -17 lines
Diff to previous 1.13
Exported various slot accessors of streams now part of the standard.  Made
these read-only slots.  Added open-stream-p and interactive-stream-p.

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Nov 29 19:47:19 1991 UTC (22 years, 4 months ago) by wlott
Branch: MAIN
Changes since 1.12: +214 -3 lines
Diff to previous 1.12
Added MAKE-CASE-FROB-STREAM which is used by the new format to handle
~(...~) variants.  See the doc string for details.

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Jun 10 16:57:47 1991 UTC (22 years, 10 months ago) by chiles
Branch: MAIN
Changes since 1.11: +43 -2 lines
Diff to previous 1.11
Moved EXT:GET-STREAM-COMMAND into this file, so kernel cores could enter the
debugger.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Apr 23 12:58:28 1991 UTC (23 years ago) by ram
Branch: MAIN
Changes since 1.10: +5 -2 lines
Diff to previous 1.10
Made the synonym stream methods safe so that we will get unbound errors even in
safe code.

Revision 1.10 - (view) (annotate) - [select for diffs]
Thu Feb 14 18:47:57 1991 UTC (23 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.9: +40 -11 lines
Diff to previous 1.9
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.


Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Feb 8 13:35:53 1991 UTC (23 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.8: +9 -5 lines
Diff to previous 1.8
New file header with RCS header FILE-COMMENT.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Jan 13 01:34:20 1991 UTC (23 years, 3 months ago) by wlott
Branch: MAIN
Changes since 1.7: +30 -14 lines
Diff to previous 1.7
Fixed echo streams to no longer echo unread characters twice.

Revision 1.7 - (view) (annotate) - [select for diffs]
Sat Jan 12 15:50:40 1991 UTC (23 years, 3 months ago) by ram
Branch: MAIN
Changes since 1.6: +7 -7 lines
Diff to previous 1.6
Fixed broken declarations.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Oct 17 03:46:22 1990 UTC (23 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
Fixed CONCATENATED-READLINE to not declare variables to be 
SIMPLE-STRING when they aren't.

Revision 1.5 - (view) (annotate) - [select for diffs]
Thu Oct 11 18:30:21 1990 UTC (23 years, 6 months ago) by ram
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4
Made string input stream support file-length and file-position setting.

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Aug 24 18:14:16 1990 UTC (23 years, 8 months ago) by wlott
Branch: MAIN
Changes since 1.3: +23 -18 lines
Diff to previous 1.3
Moved MIPS branch onto trunk; no merge necessary.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon May 14 12:32:42 1990 UTC (23 years, 11 months ago) by ram
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
Flushed broken INGORE declaration.
 

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Feb 22 12:40:57 1990 UTC (24 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.1: +10 -3 lines
Diff to previous 1.1
.../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.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Feb 6 17:27:02 1990 UTC (24 years, 2 months ago) by ram
Branch: MAIN
Initial revision

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5