Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: sbcl_1_0_38
Commits on Apr 30, 2010
  1. @csrhodes
  2. @csrhodes support NetBSD-current

    csrhodes authored
    ... at least if I've done everything right.  Slushy freezes, don't you
    just love them?
    Also don't run the run-program inherit-stdin test, because it hangs.
Commits on Apr 27, 2010
  1. @pkhuong Remove the one place we assumed constant LVARs referred li…

    pkhuong authored
     * Resulted in a type mismatch or subtle errors during compilation with
       singleton types.
       Reported by Chun Tian (binghe) on sbcl-devel
  2. Fix ugliness in PRINT-UNREADABLE-OBJECT

    Tobias C. Rittweiler authored
      * If one used :TYPE NIL on it, one could sometimes get printed
        representations that looked like #<\nFOO...> (notice the newline.)
      * Test case included.
      * Fix some WITH-TEST forms of previous commit.
  3. Minor test suite tweaks.

    Tobias C. Rittweiler authored
      * Wrap WITH-TESTS around bare ASSERTS in pprint.impure.lisp.
      * Add #+sb-eval to test excercising the interpreter. (S.Boukarev)
Commits on Apr 26, 2010
  1. @pkhuong Fix PRINT-OBJECT for RANDOM-STATE

    pkhuong authored
     * Discovered by Hans Hubner, reported by madnificient on #lisp.
  2. @pkhuong Avoid emitting instructions (LODS, MOVSXD) that confuse ot…

    pkhuong authored
     * LODS is probably slow nowadays, and isn't supported by valgrind. Remove
       one use in calling VOPs.
     * Some disassemblers don't like useless (e.g. 32 bit to 32 bit) MOVSXD.
       Convert them to MOV.
  3. @pkhuong Downgrade WARNING to STYLE-WARNING for *possible* type errors

    pkhuong authored
     * Detect some cases that might not lead to type errors, and signal
       a STYLE-WARNING instead of a WARNING then.
  4. @pkhuong Reset a toplevel INLINE declaration for READ-BYTE

    pkhuong authored
     * It used to remain declaimed inline after load.lisp.
       Report and patch by Stas Boukarev.
  5. @pkhuong Fix the build on alpha

    pkhuong authored
     * There was a type (SC!C) in a VOP definition...
  6. @pkhuong Perform range reduction on x87 transcendentals

    pkhuong authored
      * ... instead of returning 0.0 arbitrarily.
  7. @pkhuong Fixtransforms for float TRUNCATE

    pkhuong authored
     * Detect ignored secondary values correctly
     * Handle being unused (no result LVAR) without dying at compile-time
  8. @pkhuong Test for the correct range when eliding range reduction on…

    pkhuong authored
    … x87
     * We now test for a maximal magnitude of 2^63, not 2^64.
  9. @pkhuong More robust reciprocal exactitude test

    pkhuong authored
     * Trying to divide by tiny powers of 2 could result in compile-time
  10. @pkhuong Ensure GCD always returns positive values

    pkhuong authored
     Fixes lp#413680.
Commits on Apr 23, 2010
  1. fix backtick problem breaking e.g. literal struct parsing.

    cracauer authored
    Fix a typo that sneaked in when committing a diff submitted by Stas
    Boukarev, version, launchpad bug #309093.
    This makes literal struct parsing work again.
    (defstruct foo (r nil :type (or null simple-vector)))
    #S(foo :r #(#x00 #x11 #x22 #x33 #x44 #x55 #x66 #x77))
    ==> now works again.
Commits on Apr 18, 2010
  1. micro-optimize x86oid signed-word checking

    Nathan Froyd authored
    Combine MOV/CMP by using CMP with a memory operand.  Saves a byte.
  2. micro-optimize x86 lowtag testing

    Nathan Froyd authored
    Instead of MOV/AND/CMP, use LEA/TEST, which is one byte shorter.
    Delete AL-LOADED in %TEST-LOWTAG and %TEST-HEADERS as well, since that
    parameter is unused and attempting to make the above optimization work
    in the face of that option would be tricky.
Commits on Apr 8, 2010
  1. @nikodemus better DEFMETHOD pretty-printing

    nikodemus authored
     No more #'FOO in lambda-lists.
Commits on Apr 7, 2010
  1. @nikodemus no more :NEW-OWNER in GRAB-MUTEX

    nikodemus authored
     ...and I'm sorely tempted to make GET-MUTEX signal an error if the
     argument is anything but NIL or current thread...
  2. @nikodemus typo in src/runtime/sunos-os.c

    nikodemus authored
     fault_addr where it should have been addr.
     Hopefully fixes lp#538689.
  3. @nikodemus more robust runtime executable path detection

    nikodemus authored
     Patch by Josh Elsasser.
     * os_get_runtime_executable_path() extended with an argument to
       indicate if the returned path should be externally usable (which
       precludes paths such as /proc/curproc/file).
     * If os_get_runtime_executable_path() fails, use an argv[0] derived
       path instead.
     * Check build_id when saving executable cores to make sure we got
       the right runtime -- since using the argv[0] method can otherwise
       go wrong once in a blue moon.
     Fixes Launchpad #375549.
  4. @nikodemus
  5. @nikodemus better MAKE-HASH-TABLE :WEAKNESS documentation

    nikodemus authored
     Thanks to Attila Lendvai and Nathan Froyd.
  6. @nikodemus make SB-INTROSPECT build on PPC/GENCGC, hopefully

    nikodemus authored skipping the test which is too hard on the flaky combination.
     I'm really no enthused about purporting to support GENCGC on PPC,
     when we know it's flaky, but we don't have resources to fix it. :/
  7. @nikodemus check for unbound FORMAT-CONTROL for SIMPLE-CONDITIONs

    nikodemus authored the default PRINT-OBJECT method.
  8. @nikodemus add :ABORT to SOCKET-CLOSE

    nikodemus authored
     Also take care not to disassociate the stream from the socket if the
     close fails.
     Fixed launchpad bug #543951.
  9. @nikodemus nicer *PRINT-ESCAPE* printout for SIMPLE-CONDITIONs

    nikodemus authored
     ...which is to say print the format control string to make them more
     identifiable form the escaped output.
  10. @nikodemus less pain for building threads on Darwin

    nikodemus authored
     * Use RUN-PROGRAM for impure tests everywhere. Not only is it better
       to use the more-portable solution everywhere, we had a huge number
       of bogus failures on thread tests on Darwin due to interactions
       between fork() and thread stack cleanup.
       Addresses Launchpad bug #310208.
     * Make tests depending on mutex timeout punt on lutex platform, and
       make several test which are prone hang or crash into LDB punt on
       Darwin. ("Punt" here means "call ERROR" so we get a test failure.)
     * Disable mailbox tests prone to hang on Darwin.
 building threads on Darwin means one actually has a prayer or
     running the tests with useful results -- and the failures are real
     Darwin problems.
  11. @nikodemus SB-POSIX build fix when :SB-DOC is not in features

    nikodemus authored
     * Even those who don't like documentation like working contribs:
       current SB-GROVEL design doesn't really work with #+sb-doc "doc"
     Fixes launchpad bug #552564.
  12. Remove bogus test (:CONDITION-VARIABLE :WAIT-MULTIPLE).

    Tobias C. Rittweiler authored
      * The test was introduced in to test against closely
        running waiters to cause spurious wakeups to each other.
        However, as has been shown in the thread "lost wakeup in
        condition-wait / condition-notify", feb 2010 on sbcl-devel, that
        optimization resulted in a possible lost wakeup case.
    contained a fix against that lost wakeup case but
        introduced back the pessimal behaviour of waiters interfering with
        each other.
        So the test was rendered bogus.
      * While I'm at it, also update NEWS to tag an entry with its LP#.
Commits on Apr 6, 2010
  1. @nikodemus FIND-PACKAGE and FIND-SYMBOL deadlocks

    nikodemus authored
     * Instead of linearizing purely on *PACKAGE-LOCK* split the
         1) *PACKAGE-GRAPH-LOCK* is responsible for package->package
         links, and package->symbol links.
         2) The hash-table lock on *PACKAGE-NAMES* is responsible for
         string->package associations. (%NAME and %NICKNAMES slots of
         package objects and the hash-table itself.)
       This is enough to allow FIND-SYMBOL and FIND-PACKAGE to always
       complete in finite time. INTERN, etc, can still block if eg.  the
       *PACKAGE-GRAPH-LOCK* is held by a thread waiting for the debugger,
       etc -- but the reader is at least able to read existing symbols.
     * Additionally, in cases where it is easy, signal some errors while
       *PACKAGE-GRAPH-LOCK* is not held.

    Nathan Froyd authored

    Tobias C. Rittweiler authored the compiler knows that it won't return.
  4. Improved ASSERT-NO-CONSING reporting in test suite.

    Tobias C. Rittweiler authored
    An hooray to FORMAT:
      (assert-no-consing (sleep 0.0001)) results in
          Expected the form
              (SLEEP 1.e-4)
          NOT to cons, yet running it for 10000 times resulted in the
          allocation of 1290440 bytes (129.044 per run).
Something went wrong with that request. Please try again.