Switch branches/tags
Commits on Oct 25, 2007
  1. 1.0.11: release, will be tagged as sbcl_1_0_11

    William Harold Newman committed Oct 25, 2007
Commits on Oct 22, 2007
Commits on Oct 21, 2007
  1. Fix build with old gcc

    Surround code fragment with braces for variable declarations.
    NIIMI Satoshi committed Oct 21, 2007
  2. fix undefined-alien errors on darwin

     * the new mach exception handling stuff was checking to see if there
       were two faults on the page by checking the region's protection
       status and bailing out assuming that there were two faults on the
       same page. The problem was that it was following this code path for
       undefined-alien errors (and presumably control-stack-exhausted)
       thereby just resignalling an EXC_BAD_ACCESS, ad infinitum. Moved
       the checks for the page address being undefined_alien_address, or
       the control stack guard pages up before checking the page
    Cyrus Harmon committed Oct 21, 2007
Commits on Oct 20, 2007
  1. New function: THREAD-YIELD

    An interface to sched_yield().  And use it in busy loops in some tests.
    NIIMI Satoshi committed Oct 20, 2007
Commits on Oct 19, 2007
  1. short-circuit LVAR type derivation when type becomes T

    * Even if there are uses we have not considered yet,
      %LVAR-DERIVED-TYPE can stop if the type turns into the universal
    nikodemus committed Oct 19, 2007
  2. deadline refinements

    * Deadlines are per-thread. (Children do no inherit their parents
    * SIGNAL-DEADLINE estabilishes a DEFER-DEADLINE restart.
    * Handle SIGNAL-DEADLINE returning due to deferred deadlines where
    * Documentation.
    nikodemus committed Oct 19, 2007
Commits on Oct 18, 2007
  1. new function TRY-RESTART

    * Factor out all "find-restart and maybe invoke-restart" logic to one
    nikodemus committed Oct 18, 2007
  2. proper fix for "high-debug-known-function-inlining"

    * Add ALLOW-INSTRUMENTING slot to CLAMBDA, taking it's value
    * Require LAMBDA-ALLOW-INSTRUMENTING to be true for emission
    * Remove the earlier KLUDGE workaround.
    nikodemus committed Oct 18, 2007
Commits on Oct 14, 2007
  1. Inline the local functions in MAYBE-REHASH

            * Fixes small hash-table speed regression introduced in
     (and hidden by the other improvements in that
            * 15-30% speedup over .14 on common hash operations.
    jsnell committed Oct 14, 2007
Commits on Oct 11, 2007
  1. save typecheck-function in slot-table even if location is …

    …not saved
     * Otherwise non-standard metaclasses for which optimized instance
       accessors can be used don't get the typecheck-fun from the wrapper
       in the function returned from MAKE-OPTIMIZED-STD-WRITER-FUNCTION.
     * Test-case.
     * Missing NEWS entry for .44.
    nikodemus committed Oct 11, 2007

     * Reported by Yuri Vishnevsky on sbcl-devel.
     * Test-case coming Real Soon.
    nikodemus committed Oct 11, 2007
  3. Fix NaN comparison on x86-64

    Comisd and comiss sets all of ZF, PF, and CF of EFLAGS if its
    operand contains NaN.  Because PF is never set by normal
    comparison, we use it to check NaN.  This is same as "=" vops.
    NIIMI Satoshi committed Oct 11, 2007
  4. change dynamic space area on FreeBSD

    If KVA_PAGES is extended from 256 to 384 (1GB to 1.5GB), stack starts
    0x9FC00000.  So change dynamic space from 0x60000000-0xA0000000 to
    Nowadays, 4GB of address space is too small, isn't it?
    NIIMI Satoshi committed Oct 11, 2007
Commits on Oct 10, 2007
  1. Remove unnecessary sched_yield()

    Don't call sched_yield() on thread creation and retirement, since
    the cost of sched_yield() is very high on FreeBSD 7.
    NIIMI Satoshi committed Oct 10, 2007
Commits on Oct 8, 2007
  1. fix get-host-by-address on Darwin

      sockaddr_in has a length field on Darwin but not on linux
    rudi committed Oct 8, 2007
  2. fix x86-64/darwin build

     * use MAC_OS_X_VERSION_10_5 instead of __DARWIN_UNIX03 as the test
       for new style headers as __DARWIN_UNIX03 is defined when building
       x86-64 on 10.4
    Cyrus Harmon committed Oct 8, 2007
  3. support for Darwin versions that support __DARWIN_UNIX03

     * on some versions of darwin symbols without a leading _ are dropped
       by the linker. Use a leading _ on Darwin ldso_stub functions.
     * Add a FIXME about 128-bit integeer passing being broken on x86-64
     * _DARWIN_UNIX03 support
       ** os_context_t is now __darwin_ucontext
       ** eip -> __eip (and friends) - use macro hackery EIP etc...
       ** use darwin_ucontext/darwin_mcontext instead of struct
          ucontext/mcontext where appropriate.
       ** struct ucontext -> os_context_t where appropriate
     * allow socket-error for the aceptable errors in inet-socket error
       test cases
     * Add a fix me about a rumored OS bug fix that in name-service tests
    Cyrus Harmon committed Oct 8, 2007
Commits on Oct 7, 2007
  1. fix sb-posix test on linux

     * look for sys instead of wheel when testing getgrnam
    Cyrus Harmon committed Oct 7, 2007
  2. Fix sb-posix:get{{gr,pw}nam},pwuid,grgid} for non-existing…

    … entries.
    Used to signal memory fault, now returns NIL on queries for non-existing
    users or groups.
    antifuchs committed Oct 7, 2007
Commits on Oct 6, 2007
  1. Lesson: Test before commit.

    Thiemo Seufer committed Oct 6, 2007
  2. better mach exception handling

     * Patch from Ole Myren Rohne for better mach exception handling. This
       deals with the case where the kernel started a signal handler
       before our mach exception handler got a chance to run. This was
       causing us to inappropriately SIGILL and die. This patch fixes
       this, along with some general cleanup issues, including the
       call_handler_on_thread wrapper function.
     * TODO: this logic needs to be applied to the x86-64/darwin port as
    Cyrus Harmon committed Oct 6, 2007
  3. sb-posix support for getgrnam and getgrgid

     * add alien-group and group protocol-class
     * add define-gr-call macro a la define-pw-call
     * alien definitions for getgrnam and getgrgid
     * trivial test for above calls
    Cyrus Harmon committed Oct 6, 2007
  4. Fix build without sb-thread

    NIIMI Satoshi committed Oct 6, 2007
Commits on Oct 5, 2007
  1. MUTEX refactoring & optimization

     * (SETF MUTEX-VALUE) removed entirely. Using it was never sane,
       and in the new setup entirely broken.
     * On futex platforms, keep track of state of the mutex: free, taken,
       or contested (taken and may have one ore more threads waiting).
     * On release, if the mutex is not contested, there is no need to
       perform the wakeup.
     * Document assumptions made by GET-MUTEX & RELEASE-MUTEX better.
     * Update FASL version.
    nikodemus committed Oct 5, 2007
  2. export semaphore interface

     * Semaphores are a fundamental threading construct -- export them.
       Clean up the interface slightly: not (SETF SEMAPHORE-COUNT), note
       that being a subclass of STRUCTURE-OBJECT is not guaranteed, etc.
    nikodemus committed Oct 5, 2007
  3. Change unportable find option "-path"

    The find option "-path" is not portable.  Use "-prune" not to
    recurse into CVS directory.
    NIIMI Satoshi committed Oct 5, 2007
Commits on Oct 4, 2007
  1. Code formatting.

    Thiemo Seufer committed Oct 4, 2007