1. 03 Feb, 2017 1 commit
  2. 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
       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
  3. 16 Feb, 2014 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      (partially) restore CL:LOAD from jar files. · c5713e03
      There is apparently a fair amount of "breakage" of cases that used to
      load no longer working which seems due to the changes in the semantics
      for finding the FASL init loader.  The following tests are now broken
      but no longer cause the JVM to crash: JAR-PATHNAME.LOAD.HTTP.1,
      and JAR-PATHNAME.LOAD.HTTP.9.  Need to follow this up in subsequent work.
      Fixed the underlying HttpHead.get() interface used to determine
      whether to used a cache version. The custom HTTP HEAD code that was
      working under Java 6 no longer worked on Java 7.
      Added to HttpHead.get() asynchronous java.lang.Throwable on a socket
      timeout of 5000 ms.
  4. 06 Feb, 2014 1 commit
  5. 25 Jan, 2014 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Broaden Java-side test coverage to compile everything under `test/src'. · 62e249c9
      Tests are still explicitly chosen via the nested <arg> to the
      '//abcl.test.java/java@' element at build.xml:940 ff.
      The test in org.armedbear.lisp.util.HttpHeadTest currently hangs (!)
      the executing VM, a high priority item for abcl-1.3.0.  The problem
      lies in a hanging read in the JVM system classes that previously
      didn't exist when accessing the ZipCache.get(url) API for the second
      Users are advised to call SYSTEM:DISABLE-ZIP-CACHE until this behavior
      is fixed.
  6. 10 Apr, 2010 1 commit
  7. 08 Feb, 2010 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Replace FastStringBuffer with java.lang.StringBuilder. · d50aa273
      Phil Hudson suggested in Feburary 2009 that "[FastStringBuffer] should
      be removed with all references to it replaced with
      java.lang.StringBuilder once enough confidence in this change has been
      gained."  After almost a year of using FastStringBuffer as a delagate
      for StringBuilder, that confidence has indeed been gained.
      One subtlety for use of StringBuilder: there is no
      constructor, so use
      to construct a new StringBuilder containing a single char.  Otherwise
      that char will get promoted to an int, and you will invoke
          StringBuilder(int capacity)
      which will "swallow" the first character that you thought you were adding.
  8. 06 Feb, 2010 1 commit
  9. 26 Jan, 2010 1 commit
    • mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar
      Move abcl-test-lisp to ASDF packaging. · f71287a8
      Change to ASDF packaging of abcl-test-lisp.  Remove ASDF system
      'abcl-tests' as ASDF systems without components don't carry
      dependencies transitively.  Remove unneed :BEFORE load of
      abcl-test-lisp. Renamed conflicting tests now that they are loaded via
      Implement ability to run tests matching a string.  Export
      ABCL.TEST.LISP::RUN-MATCHING as external symbol.
      Added 'test/lisp/abcl/math-tests.lisp' back to ABCL.TEST.LISP, fixing
      errors that prevented it from working.
      Fix bug with directories specified to three-arg form of SYS:ZIP.  JAR
      files always use '/' to name hierarchial entries.  Allow of a top
      directory for creating hierarchially ZIPs: for arguments like
      "pathname pathnames &optional topdir" all pathnames will be
      interpolated relative to topdir.
      Contains the version of jar-file tests corresponding to PATHNAME,
      TRUENAME, and PROBE-FILE.  The tests for jar-file will currently fail
      as it needs the implementation of SYS:UNZIP which in turn depends on
      the new version of Pathname which should follow shortly in a separate
      jar-file initilization rewritten in Lisp, so it works under Windows.
      Java tests for Pathname and Stream.
      Help my dyslexic brain by renaming
      *abcl-{lisp-test,test,lisp}-directory* to *abcl-test-directory*.
      Refinement of jar-file tests. Correct all JAR-FILE.PATHNAME.* tests.
      JAR-FILE tests use the cross-platform form of COPY-FILE. Renamed test,
      using WITH-JAR-FILE-INIT macro.
  10. 03 Jan, 2009 1 commit