Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

sbcl-cvs-import Log


Commit Date  
[620e42] by Nikodemus Siivola Nikodemus Siivola

1.0.48.11: update ASDF to 2.015.2

2.015 and .1 had an unfortunate interaction with Quicklisp.

2011-05-11 18:45:51 Tree
[23e319] by Nikodemus Siivola Nikodemus Siivola

1.0.48.10: add deadlock detection to spinlocks and mutexes

Each thread gets a WAITING-FOR slot which holds the lock it is
currently trying to acquire.

After initial try at lock acquisition fails, we check for deadlocks:
we look at the thread that owns the lock we want -> lock it is
waiting for, etc, recursively, until we either bottom out or find
someone waiting for us.

Print thread as having state WAITING if it is waiting for a lock.

Add a PRINT-OBJECT methods for MUTEXes and SPINLOCKs.

SB-THREAD:THREAD-DEADLOCK-CYCLE contains a list of the
threads and locks involved, so that the situation can be
analyzed even afer a handler has broken the deadlock.

2011-05-11 16:48:37 Tree
[a1a34a] by Nikodemus Siivola Nikodemus Siivola

1.0.48.9: better source information for compile-time type errors

Compile-time warning: in addition to the context, also tell exactly
which form produces the value that is not of the expected type.

Run-time error: include both the error context and exact form in the
error message.

Delete VALUES-TYPE-ERROR, and use SIMPLE-TYPE-ERROR for both legs in
%COMPILE-TIME-TYPE-ERROR.

2011-05-11 11:15:43 Tree
[5b96a0] by Nikodemus Siivola Nikodemus Siivola

1.0.48.8: better binary stream support in RUN-PROGRAM

* In COPY-DESCRIPTOR-TO-STREAM, decode octets only if the stream has
a character element type.

For :DEFAULT and (UNSIGNED-BYTE 8) just copy the octets over
directly.

For others, signal an error. (Would be nice to support, but not a
high priority.)

* Similarly for copying to temporary files from non-fd input
streams.

2011-05-10 20:41:51 Tree
[b67c2d] by Nikodemus Siivola Nikodemus Siivola

1.0.48.7: add FD-STREAM-FD-TYPE, use it to decide when to poll the fd

1.0.42.43 introduced a regression that caused reads from non-regular files
to potentially block in an uninterruptible state, as WAIT-UNTIL-FD-USABLE
started being called only when there was a timeout or events to serve.

This was a win for regular files, because filling the input buffer then
required one syscall less.

...but since uninterruptible blocking reads aren't fun for anyone, let's
make things a bit smarter:

* When creating an FD-STREAM, use fstat() to get the type of the fd, and
store a keyword describing it in the FD-STREAM.

* REFILL-INPUT-BUFFER now calls SYSREAD-MAY-BLOCK-P always if the file
anything but :REGULAR -- so pipes and sockets and whatnot get their
select() calls, and a read from a stream to one can no longer cause
SBCL to hang.

2011-05-10 20:05:25 Tree
[fe27d4] by Nikodemus Siivola Nikodemus Siivola

1.0.48.6: %SIMPLE-EVAL and backtraces

Functions from %SIMPLE-EVAL have names such as (EVAL (DEFMACRO FOO)),
which looks pretty confusing in the backtrace.

Replace that with #:EVAL-THUNK, which is more descriptive and
less head-scratchy.

Also, calls to SIMPLE-EVAL-IN-LEXENV and EVAL -- when they show
up in backtraces -- have lisp forms as arguments. This causes
pretty-printing to try and split things onto multiple lines,
but *PRINT-LINES* tends to be 1 during backtracing.

...so bind *PRINT-PRETTY* to NIL when printing eval-frame
arguments iff *PRINT-LINES* is 1 in order to have something
useful show up the backtrace.

2011-05-10 19:16:53 Tree
[3fdd67] by Nikodemus Siivola Nikodemus Siivola

1.0.48.5: update ASDF to 2.015.1

2.015 broke LOAD-SOURCE-OP, this should fix it.

2011-05-09 22:20:49 Tree
[d51e3d] by Nikodemus Siivola Nikodemus Siivola

1.0.48.4: source locations for init files

Refactor PROCESS-INIT-FILE to share code with LOAD-AS-SOURCE.

Also add in contrib/sb-introspect/load-test.lisp which was
left out from the last commit.

2011-05-09 22:12:27 Tree
[a80a02] by Nikodemus Siivola Nikodemus Siivola

1.0.48.3: source-locations from LOAD of source files, and EVAL-WHEN :COMPILE-TOPLEVEL

* Bind *SOURCE-INFO* and bind and populate *SOURCE-PATHS* in
LOAD-AS-SOURCE.

* EVAL-TLF provides a way to evaluate things while providing the
toplevel form number. It also captures the current *SOURCE-INFO*
and passes it onwards to be reused by ACTUALLY-COMPILE.

* In ACTUALLY-COMPILE, when asked to reuse a source-info object,
also retain the old *SOURCE-PATHS*.

2011-05-09 19:47:03 Tree
[82f9c5] by Nikodemus Siivola Nikodemus Siivola

1.0.48.2: ASDF 2.015

ASDF no longer ships with a separate LICENSE file, so remove it.

2011-05-09 12:33:46 Tree
[318ab6] by Nikodemus Siivola Nikodemus Siivola

1.0.48.1: WITH-COMPILATION-UNIT :SOURCE-NAMESTRING

Allows specifying an alternate namestring to use for debug-source.

This will help us get redefinition warnings working nicely with C-c C-c in
Slime.

2011-05-09 10:41:25 Tree
[c4cd9f] by Nikodemus Siivola Nikodemus Siivola

1.0.48.1: WITH-COMPILATION-UNIT :SOURCE-NAMESTRING

Allows specifying an alternate namestring to use for debug-source.

This will help us get redefinition warnings working nicely with C-c C-c in
Slime.

2011-05-09 10:21:34 Tree
[bdb254] (sbcl_1_0_48sbcl.1.0.48) by Juho Snellman Juho Snellman

1.0.48: Will be tagged as sbcl_1_0_48

2011-05-09 00:27:12 Tree
[90de1f] by Juho Snellman Juho Snellman

1.0.47.32: Fix build on MinGW

* Patch by Elliott Slaughter (lp#777339)

2011-05-08 22:28:58 Tree
[8618d6] by Stas Boukarev Stas Boukarev

1.0.47.31: set-macro-character shouldn't accept NIL as a function designator.

Use %coerce-callable-to-fun before passing it to sb-impl::set-cmt-entry, although
set-cmt-entry calls %coerce-callable-to-fun, it does that only on non-nil values.

2011-04-29 13:33:40 Tree
[1d55aa] by Stas Boukarev Stas Boukarev

1.0.47.30: sb-cltl2:function-information didn't work on setf-functions.

Change sb-cltl2:function-information ftype declaration from
(symbol ...) to ((or symbol cons) ...).

Fixes lp#769596.

2011-04-23 19:02:56 Tree
[b47999] by Cyrus Harmon Cyrus Harmon

1.0.47.29: reinstate Darwin interrupt tests that now succeed

* runnability likely due to 1.0.42.50 which works around a Darwin nanosleep bug

2011-04-23 15:43:53 Tree
[ee9dfe] by Stas Boukarev Stas Boukarev

1.0.47.28: Fix typo in the man page.

In the description of the runtime option --script, equivalent runtime
options should be terminated by --end-runtime-options, not
--end-toplevel-options.

Thanks to Sebastian Tennant.

2011-04-22 21:57:17 Tree
[fa2c3b] by Nikodemus Siivola Nikodemus Siivola

1.0.47.27: limit open coding from MEMBER, ASSOC, &co

Open coding massive lists doesn't really help, and a sufficiently
long list can blow the stack during compilation.

2011-04-21 11:08:12 Tree
[9a59de] by Nikodemus Siivola Nikodemus Siivola

1.0.47.26: BEST-SUB-SOURCE-PATH should ignore quoted constants

Not only can they be improper, they can also be cyclic.

Fixes lp#767959.

2011-04-21 11:06:14 Tree
[143981] by Nikodemus Siivola Nikodemus Siivola

1.0.47.25: make instances obsolete if slot definition classes change

Fixes lp#766271.

Regression from 1.0.46.11: previously SLOT-VALUE-USING-CLASS inhibited using
permutation vectors, so not obsoleting the instances didn't cause so easily
observed symptoms.

Now, however, since slot-infos from the previous definition can live
in the method cache, the wrappers must be invalidated so that caches
are flushed properly.

2011-04-21 09:26:58 Tree
[e87b06] by Nikodemus Siivola Nikodemus Siivola

1.0.47.24: more conservative FTYPE proclamations

Full warnings for changing FTYPE proclamations in the
cross-compiler, and always a CERROR when the function is a known one
and the new type is not a subtype of the old one.

This necessitates the following changes:

* Rewriting DEF-MATH-RTN not to use DEFINE-ALIEN-ROUTINE which
proclaims its FTYPE.

* Fix the DEFKNOWN for CLASSOID-NAME to match the DEFSTRUCT.

* Fix STRING-OUTPUT-STREAM-ELEMENT-TYPE slot type, and DEFKNOWN
result type.

2011-04-11 11:32:50 Tree
[b4ddf5] by Nikodemus Siivola Nikodemus Siivola

1.0.47.23: remove defknowns for condition slot accessors

Condition slot types aren't checked, and DEFINE-CONDITION throws the
fndb type-information out of the window -- but the defknowns cause
code compiled before that to trust the types.

Fixes lp#705690.

2011-04-11 10:52:03 Tree
[796f8a] by Nikodemus Siivola Nikodemus Siivola

1.0.47.22: better --dynamic-space-size argument validation

Based on patch by Roman Marynchak, lp#721457.

1. Check for trailing junk, in case of someone trying to use eg.
--dynamic-space-size 1Gb.

2. Check the range before converting to bytes to avoid weirdness.

2011-04-10 13:08:52 Tree
[6a6735] by Nikodemus Siivola Nikodemus Siivola

protect compile-time side-effects of DEFUN with a package-lock

Ie. proclaiming as a function, possibly nuking existing inline
definitions.

Fixes lp#675584.

Now compiling a file with

(DEFUN LOCKED:FOO ...)

signals a compile-time error.

(WITHOUT-PACKAGE-LOCKS (DEFUN LOCKED:FOO ...))

still works, as the DEFUN stops being a toplevel form, and hence no
longer has compile-time side effects except for those inherent to
compiling a NAMED-LAMBDA.

2011-04-10 12:22:35 Tree
Older >