Skip to content
Snippets Groups Projects
  1. May 05, 1998
    • dtc's avatar
      Fix for string-stream-read-n-bytes: when the requested number of bytes · eb2bca57
      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.
      eb2bca57
  2. May 04, 1998
    • dtc's avatar
      Gray streams support: · 6c21ff8a
      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.
      6c21ff8a
  3. Apr 27, 1998
    • pw's avatar
      · 9fa03c83
      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.
      9fa03c83
  4. Mar 01, 1998
  5. Feb 03, 1998
  6. Oct 24, 1997
    • dtc's avatar
      Add the read-sequence and write-sequence functions. Based on a · d934024e
      dtc authored
      contribution by Marco Antoniotti: style modified to be more consistent
      with CMUCL; numerous fixes; only string and ({un}signed-byte 8)
      sequences handled efficiently until support for multi-byte stream
      operations is added to CMUCL.
      d934024e
  7. Dec 05, 1994
  8. Nov 01, 1994
  9. Oct 31, 1994
  10. Oct 19, 1994
  11. Sep 28, 1994
  12. Aug 23, 1994
  13. Mar 16, 1994
  14. Mar 12, 1993
  15. Feb 26, 1993
  16. Feb 12, 1993
  17. Feb 10, 1993
  18. Jan 13, 1993
  19. Dec 11, 1992
  20. Dec 10, 1992
  21. Nov 29, 1991
  22. Jun 10, 1991
    • chiles's avatar
      · 86d34389
      chiles authored
      Moved EXT:GET-STREAM-COMMAND into this file, so kernel cores could enter the
      debugger.
      86d34389
  23. Apr 23, 1991
  24. Feb 14, 1991
    • ram's avatar
      Merged systems-work sources as of this date: · 6f10d865
      ram authored
      .../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.
      6f10d865
  25. Feb 08, 1991
  26. Jan 13, 1991
  27. Jan 12, 1991
  28. Oct 17, 1990
  29. Oct 11, 1990
  30. Aug 24, 1990
  31. May 30, 1990
  32. May 14, 1990
  33. Mar 05, 1990
  34. Feb 22, 1990
    • ram's avatar
      .../systems-work/code/stream.lisp, 16-Jan-90 11:47:26, Edit by Wlott. · 3cd40c8f
      ram authored
        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.
      3cd40c8f
  35. Feb 06, 1990
Loading