1. 04 Sep, 2016 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      [PATCH 5/5] Support `FILE-POSITION` on string streams. · 11e463d2
      From cb667c106187443ff2d00bace14f0ee0686fe2fd Mon Sep 17 00:00:00 2001
      Adds a custom, seekable writer to be able to go back in the written
      output for `STRING-OUTPUT-STREAM` - the input case is slightly less
      complex.
      ---
       build.xml                                          |   1 +
       src/org/armedbear/lisp/SeekableStringWriter.java   | 140 +++++++++++++++++++++
       src/org/armedbear/lisp/StringInputStream.java      |  43 ++++++-
       src/org/armedbear/lisp/StringOutputStream.java     |  35 +++++-
       test/lisp/abcl/misc-tests.lisp                     |  11 +-
       .../armedbear/lisp/SeekableStringWriterTest.java   |  19 +++
       6 files changed, 242 insertions(+), 7 deletions(-)
       create mode 100644 src/org/armedbear/lisp/SeekableStringWriter.java
       create mode 100644 test/src/org/armedbear/lisp/SeekableStringWriterTest.java
      11e463d2
  2. 05 Aug, 2011 1 commit
  3. 11 Jan, 2010 1 commit
    • vvoutilainen@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Make Stream extend StructureObject, modify Stream derivatives · 4470ef71
      to set a StructureClass symbol when invoking the superclass
      constructor. Fix clinit order in Lisp.java to cope. Some
      structure-classes need refining, at least TwoWayStream needs
      to allow (but not force) its derivatives to set a structure
      class other than TWO-WAY-STREAM (SOCKET-STREAM being one
      specific example). Thanks to Alessio Stalla and Erik Huelsmann
      for helping with getting this patch into a state where
      ansi tests run again.
      4470ef71
  4. 29 Nov, 2009 1 commit
  5. 06 Nov, 2009 1 commit
  6. 23 Mar, 2009 1 commit
  7. 20 Dec, 2008 1 commit