sbcl Log


Commit Date  
[06c288] by David Lichteblau David Lichteblau

Disable ALLOCATION-INFORMATION.4 on gencgc for this release

This test currently exposes a bug in the contrib, yet users might prefer
to install the contrib in spite of this issue. For this reason I am
disabling the test for the moment.

2012-09-27 17:35:02 Tree
[9d17f7] by Nathan Froyd Nathan Froyd

make SOCKET-RECEIVE work correctly when receiving overly-long UDP packets

Only copy as much data as the provided buffer can hold. Continue to return
the length provided from recvfrom as per documentation.

Fixes lp#1023438. Thanks to Robert Uhl for the fix.

2012-09-05 02:45:03 Tree
[34d75f] by Stas Boukarev Stas Boukarev

Define _GNU_SOURCE when building contribs on Linux.

sb-posix:o-direct doesn't get grovelled without it.

2012-08-25 04:57:11 Tree
[28346e] by Stas Boukarev Stas Boukarev

sb-bsd-sockets: Package clean up.

sb-bsd-sockets-internal: Don't use sb-c-call package, it's a
deprecated nickname for sb-alien, and sb-alien is already
used.
sb-win32-sockets-internal: Remove, not used anywhere.

2012-08-24 23:18:17 Tree
[b75bc9] by Stas Boukarev Stas Boukarev

Fix build of contribs on Windows.

Set CC variable in make-target-contrib.sh, not in asdf-module.mk, Make
defaults CC to "cc" making it impossible to conditionally set CC to gcc
if it's unset.

2012-07-28 15:15:57 Tree
[bb99c3] by Juho Snellman Juho Snellman

Update to asdf 2.23

2012-07-27 10:31:26 Tree
[d720bc] by Nikodemus Siivola Nikodemus Siivola

fix long-standing debug-name confusion

The calls to IR1-CONVERT-LAMBDA-BODY with the a VARARGS-ENTRY and
HAIRY-ARG-PROCESSOR debug-names were no such things.

These calls produces the actual lambda for the main body of the function,
and as such should have the original source-name and debug-name.

As proof of the pudding, we previously failed to detect several known
function that are recursive but aren't marked as such in the DEFKNOWNs. With
this that changes, so fix the DEFKNOWNs.

2012-06-12 05:40:06 Tree
[4e168f] by Stas Boukarev Stas Boukarev

Update ASDF to 2.21.

Fixes lp#982286.

2012-05-05 09:38:21 Tree
[760de0] by Nikodemus Siivola Nikodemus Siivola

sb-posix: abort(3), exit(3), and _exit(2)

Also fix docstring of SB-EXT:EXIT, which referred to exit as being section 2.

2012-05-02 14:13:59 Tree
[f0da2f] by Nikodemus Siivola Nikodemus Siivola

redesign exiting SBCL

Deprecate QUIT. It occupies an uncomfortable niche between processes
and threads, and doesn't actually do what it says on the tin unless
you call it from the main thread.

SIGTERM now uses EXIT, and doesn't depend on sessions.

WITH-DEADLINE (:SECONDS NIL :OVERRIDE T) can now be used to ignore
deadlines.

JOIN-THREAD on the main thread now blocks indefinitely instead of
claiming the thread did not exit normally.

New functions:

* SB-EXT:EXIT. Always exits the process. Takes keywords :CODE,
:ABORT, and :TIMEOUT. Code is the exit status. Abort controls if
the exit is clean (unwind, exit-hooks, terminate other threads) or
dirty. Timeout controls how long to wait for other threads to
finish.

* SB-THREAD:RETURN-FROM-THREAD. Normal termination for current
thread -- equivalent to return from the thread function with the
specified values. Takes keyword :ALLOW-EXIT, which determines if
returning from the main thread is an error, or equivalent to
calling EXIT :CODE 0.

* SB-THREAD:ABORT-THREAD. Abnormal termination for current thread --
equivalent to invoking the initial ABORT restart estabilished by
MAKE-THREAD (previously known as TERMINATE-THREAD, but ANSI
recommends there to always be an ABORT restart.) Takes keyword
:ALLOW-EXIT, which determines if aborting the main thread is an
error, or equivalent to calling EXIT :CODE 1.

* SB-THREAD:MAIN-THREAD-P. Let's you determine if a given thread is
the main thread of the process. This is important for some
functions on some operating systems -- and RETURN-FROM-THREAD and
ABORT-THREAD also need it.

* SB-THREAD:MAIN-THREAD. Returns the main thread object. Convenient
for when you need to eg. load a foreign library in the main
thread.

2012-04-29 18:18:53 Tree
[ac28b4] by Kambiz Darabi Kambiz Darabi , pushed by Nikodemus Siivola Nikodemus Siivola

sb-simple-streams: signal an error for bad stream classes in OPEN

Instead of silently returning NIL, signal an error if the class does not
exist (if argument :class is a symbol) or is not a stream class.

lp#969352

2012-04-13 08:23:04 Tree
[137b4d] by Juho Snellman Juho Snellman

contrib/asdf: Import asdf 2.20 from upstream.

* lp#933112

2012-03-25 21:16:52 Tree
[512c78] by Stas Boukarev Stas Boukarev

Make SBCL buildable by Clang.

The only changes needed were a modification to use $CC when building
contribs, and inline declaration incompatibility for a couple of
functions.

Closes lp#658414.

2012-03-11 03:41:29 Tree
[654875] by Jim Wise Jim Wise

Add patches from Aymeric Vincent to fix sb-posix on recentish NetBSD.

There is some possibility that this will break one of the sb-posix tests on FreeBSD:

The "rmdir" patch needs some input from FreeBSD users.
"rmdir /" returns EBUSY on NetBSD. Given the recent commit
2a9b33fc45842ec0335fef2988e07337ae8f1fc7 on october, 17. 2011, it looks
like OpenBSD and Darwin return EISDIR, but it's clearly not the case of
NetBSD with a (usual) FFS file system.

In short, either sbcl is currently broken on FreeBSD wrt the rmdir test
and my patch will fix it, or my patch will break it and we need to include
freebsd in the list of OSes producing EISDIR upon "rmdir /".

2012-01-17 16:14:41 Tree
[de19b7] by Nikodemus Siivola Nikodemus Siivola

enable previously-broken thread tests on Darwin

WIN!?

I have not been able to make threaded SBCL on Darwin croak yet with the
semaphore implementation in the previous commit, so ... maybe.

I suspect the sb-concurrency tests can now be enabled on SunOS as well, but
since I don't have a box to test that hypothesis on, leaving them disabled
for now.

2011-12-05 16:38:39 Tree
[41bc87] by Nikodemus Siivola Nikodemus Siivola

update ASDF to 2.019

2011-11-28 12:29:57 Tree
[ecb0dd] by Nikodemus Siivola Nikodemus Siivola

make PPC/Linux buildable on ppc64 hosts

2011-11-27 13:57:00 Tree
[f7a78d] by Nikodemus Siivola Nikodemus Siivola

tweak tail merging logic

TAIL-ANNOTATE used MERGE-TAIL-CALLS policy (which is an integer) as a
boolean, instead of comparing it to zero. Oops. This means that we always did
TCO when possible.

Since adding a debug-catch-tag effectively prevents TCO, and the policy
controlling that looks just like what we would like to have in
MERGE-TAIL-CALLS if TAIL-ANNOTATE were to use it correctly... just deprecate
MERGE-TAIL-CALLS instead.

2011-11-23 07:41:15 Tree
[2a9b33] by Joshua Elsasser Joshua Elsasser

Fix errno value for sb-posix rmdir.error.3 test on OpenBSD.

Use #+bsd instead of #+(or darwin openbsd) on the assumption that all
the other BSD-derived systems use the same errno value.

2011-11-23 00:30:28 Tree
[f3491f] by Nikodemus Siivola Nikodemus Siivola

Revert "fix sb-posix tests on OpenBSD"

Oops. As Josh noted, the equivalent C code works, so the explanation was
bogus, and the test is better left enabled to track the issue.

This reverts commit d94c1b4a8c534bde146823f56558faf37cd4c4d7.

Conflicts:

NEWS

2011-11-20 18:09:49 Tree
[d94c1b] by Bruce O'Neel Bruce O'Neel , pushed by Nikodemus Siivola Nikodemus Siivola

fix sb-posix tests on OpenBSD

FCNTL.FLOCK.2 the test wants to check the PID of the lock holder, and,
OpenBSD 5.0 disallows this. OpenBSD 4.9 and earlier was fine with it.

lp#892707

Signed-off-by: Nikodemus Siivola <nikodemus@random-state.net>

2011-11-20 11:16:33 Tree
[e072a8] by Nikodemus Siivola Nikodemus Siivola

sb-bsd-sockets: fix GET-HOST-BY-NAME and -ADDRESS on unthreaded builds

(Platforms with getaddrinfo.)

Broken by recent thread-safety fix for the same.

2011-11-19 20:04:34 Tree
[dcf7b5] by Nikodemus Siivola Nikodemus Siivola

sb-bsd-sockets: gethostbyname and gethostbyaddr are not thread safe

...or re-entrant. Need to disable interrupts and grab a lock.

Affects only platforms without getaddrinfo.

Correct the size of memory leak fixed in last commit in NEWS -- it
was more than one word per call.

2011-11-18 15:34:13 Tree
[ab5427] by Nikodemus Siivola Nikodemus Siivola

sb-bsd-sockets: check for MAKE-ALIEN success in GET-PROTOCOL-BY-NAME

Currently of malloc fails it returns a null alien.

Yuck.

2011-11-18 15:19:00 Tree
[78eea0] by Nikodemus Siivola Nikodemus Siivola

sb-bsd-sockets: GET-ADDRESS-INFO foreign memory leak

Two issues:

* We were using MAKE-ALIEN and not freeing the memory.

* We were calling FREE-ADDRINFO, not FREEADDRINFO: the first is an
SB-GROVEL generated deallocator, the second is freeaddrinfo()...

2011-11-18 15:18:30 Tree
Older >