sbcl Log


Commit Date  
[43156b] (sbcl-1.1.4) by Christophe Rhodes Christophe Rhodes

1.1.4: will be tagged as "sbcl-1.1.4"

2013-01-30 19:28:03 Tree
[7f4bf0] by Nikodemus Siivola Nikodemus Siivola

disable the other sb-sprof test on darwin as well *sigh*

2013-01-26 15:34:35 Tree
[540540] by Stas Boukarev Stas Boukarev

Slightly improve random seed on Windows.

Use unix-getpid on Windows too.

2013-01-23 11:33:12 Tree
[f10d93] by Christoph Egger Christoph Egger , pushed by Christophe Rhodes Christophe Rhodes

Adapt cheneygc.c to type changes in gc-internal.h

2013-01-23 07:14:03 Tree
[b9691e] by Cyrus Harmon Cyrus Harmon

disable sb-sprof test on darwin

restore buildability by disabling failing test for the moment.

2013-01-21 01:24:24 Tree
[91ab8b] by Nikodemus Siivola Nikodemus Siivola

better initial value for LOOP variables of-type CHARACTER

2013-01-20 11:28:43 Tree
[dd09e3] by Nikodemus Siivola Nikodemus Siivola

note FIRST fix in NEWS, fix stupid typo in tests

2013-01-20 11:16:31 Tree
[c43287] by Nikodemus Siivola Nikodemus Siivola

fix open coding of FIRST

Regression from 373df66df093e8c1771069dcc30c2ec32598af6a:
"more funky &REST smartness".

Make the source-transform of FIRST never decline, falling back on
CAR if the argument is not a &REST list.

2013-01-20 09:50:39 Tree
[3eed77] by Christophe Rhodes Christophe Rhodes

fix constant-list-related initargs in CTOR optimization

lp#1099708, reported by Derek Baldwin; also test for _3b's #sbcl irc insight
that this would break non-EQLity of distinct but EQUAL list constants

Also deal with pathnames, bit-vectors and strings, which are precisely the
types EQUAL descends into.

(The general problem of function names being looked up using EQUAL remains
a problem, though with fewer observable consequences: for example, methods
with EQUAL eql-specializers will have their function names collide with
each other, though since in CLOS the functions are looked up through the
method objects this is less serious than with CTORs.

2013-01-18 22:51:23 Tree
[63e78f] by Stas Boukarev Stas Boukarev

format: ~R should check a type only if base is not supplied.

(format t "~2r" 1/2) is valid.

2013-01-11 03:38:13 Tree
[6f4c86] by Stas Boukarev Stas Boukarev

format: Check types for ~C and ~R.

Both require arguments to be characters and integers respectively.

2013-01-10 20:26:32 Tree
[8369a4] by Stas Boukarev Stas Boukarev

sb-sprof.lisp: Remove trailing white-spaces.

2013-01-05 17:09:52 Tree
[bab82f] by Stas Boukarev Stas Boukarev

adjust-array: Make sure that :initial-element is used.

Adjust-array ignored :initial-element for arrays of type T.

Fixes lp#1096359.

2013-01-05 15:43:05 Tree
[c8feda] by Stas Boukarev Stas Boukarev

sb-sprof: Define pthread-kill only on +sb-thread.

pthread_kill alien is not present on -sb-thread, because libpthread is
not loaded, and it results in unnecessary style warnings.

2013-01-04 12:59:01 Tree
[b7de10] by Stas Boukarev Stas Boukarev

Fix reading `#3(x).

Previously it returned #(x), while it should be #(x x x).

Fixes lp#1095918.

2013-01-04 12:46:43 Tree
[678a5d] by Paul Khuong Paul Khuong

Do not traverse long constant lists when expanding DOLIST

* Only gather type information on the list contents' if it's short
(at most 20 elements); otherwise, do not derive type information.

* Thanks to Douglas Katzman for the bug report (lp#1095488).

2013-01-03 15:38:55 Tree
[e31ed1] (sbcl-1.1.3) by Christophe Rhodes Christophe Rhodes

1.1.3: will be tagged as "sbcl-1.1.3"

2012-12-31 21:29:02 Tree
[bf40ae] by David Lichteblau David Lichteblau

Fix attach_thread to allocate a TLS index for *gc-inhibit* if needed

Instead of occasionally setting a global value for this variable...

Thanks to Stas Boukarev for the bug report.

2012-12-29 14:24:14 Tree
2012-12-21 20:29:23 Tree
[d8422b] by David Lichteblau David Lichteblau

Preserve superclass structure accessors in infodb

Do not overwrite inherited structure accessor entries in infodb when
a sub-structure-class gets defined with same conc-name.

Fixes CAS access to slots of direct superclass instances in this
case (and in particular, non-futex safepoint builds).

2012-12-21 19:32:21 Tree
[935edf] by David Lichteblau David Lichteblau

Set a console Ctrl handler for Windows

Install a Lisp callback using SetConsoleCtrlHandler, allowing users
to interrupt SBCL using C-c in the Windows console.

We cannot currently control the size of the stack available to us in
this handler, but since we are mainly only calling INTERRUPT-THREAD,
even a small stack might be sufficient for our purposes.

Thanks to Anton Kovalenko.

2012-12-21 19:32:21 Tree
[79721a] by David Lichteblau David Lichteblau

Add STDCALL alien convention support for Windows

Thanks to Anton Kovalenko.

2012-12-21 19:32:21 Tree
[37d382] by David Lichteblau David Lichteblau

Support building without PSEUDO-ATOMIC on POSIX safepoints

- Mark Lisp signal handlers with a flag `synchronous' to indicate
whether we can (and must) handle them immediately. Conversely,
we understand this flag to imply a guarantee that the signal
does not occur during allocation.

- Any signal with a Lisp handler that is not synchronous is
implemented in the runtime using a trampoline, which (instead of
invoking Lisp code directly) first spawns a new pthread, which
only then calls back into Lisp to invoke the handler function
(with a fake signal context).

- Used in particular for SIGINT.

- For SIGPROF, introduce a second per-thread allocation region,
which gets swapped with the usual region around the call into
SIGPROF-HANDLER. This handler is a special case, because it is
careful not to trigger GC nor non-local unwinds, and we can
safely return to the original region afterwards.

- Add a new subclass SIGNAL-HANDLER-THREAD for this purpose,
making it easy to identify these threads (e.g. in the test
driver).

- Run sprof tests while building the contrib. Add a test stressing
time profiling of allocation sequences.

Enable using :SB-SAFEPOINT-STRICTLY on features.

Quite usable already on x86 and x86-64; PPC still has more prominent
issues, e.g. in threads.impure.lisp.

2012-12-21 19:30:48 Tree
[daa6f0] by David Lichteblau David Lichteblau

Foreign callbacks

Allow alien callbacks to be invoked in pthreads created outside of
the Lisp runtime:

Add new runtime functions attach_os_thread, detach_os_thread
allowing such threads to acquire a `struct thread' temporarily,
turning them into Lisp threads.

In a main deviation from the Windows branch (which has a similar
feature), this mechanism does not involve user-land thread (fiber)
mechanisms to switch between stacks. Instead, Lisp code merely runs
on the existing pthread's stack.

Currently a safepoint-only feature, because only safepoint-based
builds already go through a convenient trampoline function for
callbacks, but a backport of this feature to non-safepoint builds
might be straightforward.

2012-12-21 19:28:09 Tree
[d80e51] by David Lichteblau David Lichteblau

Re-complicate all_threads check in arch_os_get_current_thread

This check used to be x86-only, and apparently for good reason.
Make it so again.

2012-12-21 19:27:45 Tree
Older >