Skip to content
Snippets Groups Projects
  1. Feb 10, 2005
  2. Sep 23, 2004
  3. Apr 23, 2004
  4. Apr 15, 2004
    • rtoy's avatar
      More ANSI test fixes: · 2e51cd52
      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.)
      2e51cd52
  5. Apr 06, 2004
    • emarsden's avatar
      · f01e1819
      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.
      f01e1819
  6. Mar 26, 2004
    • emarsden's avatar
      · 10b760ea
      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)
      10b760ea
  7. Nov 05, 2003
  8. Nov 03, 2003
    • gerd's avatar
      (with-open-file (stream "test.123" :direction :output · b10e98ff
      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.
      b10e98ff
  9. Aug 19, 2003
  10. Aug 05, 2003
  11. Jun 26, 2003
    • toy's avatar
      From Paul Foley: · bfbb8fd1
      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*
      bfbb8fd1
  12. Jun 11, 2003
  13. Jun 10, 2003
    • toy's avatar
      Some changes from Paul Foley: · 842ce4c2
      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.
      842ce4c2
  14. Jun 07, 2003
    • toy's avatar
      More simple-streams updates from Paul Foley: · d03aa23c
      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.
      d03aa23c
  15. Jun 06, 2003
  16. Jun 05, 2003
  17. Jun 02, 2003
  18. Dec 12, 2002
    • moore's avatar
      · 5fa826f9
      moore authored
      Remove cruft from last checkin.
      5fa826f9
    • moore's avatar
      · 1a766c11
      moore authored
      Fix a typo in apply-with-bindings.
      
      Add string-stream and file-stream, required by the ANSI spec, as
      structure classes.  Make the string streams and fd-stream,
      respectively, inherit from them.  Add bootstrap magic.
      1a766c11
  19. Aug 23, 2002
  20. Aug 02, 2002
  21. Apr 03, 2002
  22. Feb 04, 2002
  23. Jul 08, 2001
    • pw's avatar
      From Paul Foley: · c9918062
      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.
      c9918062
  24. Jun 17, 2001
    • pw's avatar
      From Eric Marsden: · 45a54c42
      pw authored
      FILE-LENGTH should signal a type-error if arg is not associated with a file.
      45a54c42
  25. Mar 04, 2001
  26. Oct 16, 2000
  27. Aug 25, 2000
  28. Aug 24, 2000
  29. Jun 19, 2000
  30. Dec 04, 1999
  31. Sep 04, 1999
  32. Jan 22, 1999
  33. Jan 15, 1999
  34. Dec 19, 1998
  35. Jul 16, 1998
  36. Jul 14, 1998
    • pw's avatar
      This revision merges in many of the fixes for ANSI condition types · 42efe00d
      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.
      42efe00d
  37. 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
  38. Jan 04, 1998
Loading