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  
[152c97] by Nikodemus Siivola Nikodemus Siivola

1.0.48.19: another go at fixing the win32 build

Roll back the last attempt, that was not only incomplete, but
somewhat ill adviced.

Instead, put in :UNKNOWN as FD-STREAM-FD-TYPE if we need to serve
events, and :REGULAR otherwise.

2011-05-15 08:20:08 Tree
[5385e8] by Nikodemus Siivola Nikodemus Siivola

1.0.48.18: ASDF 2.015.3

Let's hope this one is good enough for a while. :)

2011-05-14 10:12:13 Tree
[12a0ad] by Nikodemus Siivola Nikodemus Siivola

1.0.48.17: hopefully fix build on win32

Regression from 1.0.48.7. Add missing S_IFMT macro wrappers to win32
build.

(Untested on win32 as of yet.)

2011-05-14 09:43:28 Tree
[94b4d5] by Nikodemus Siivola Nikodemus Siivola

1.0.48.16: deadlock detection fixes

* The same deadlock may be reported in multiple threads: adjust tests
to account for that.

* CHECK-DEADLOCK/DEADLOCK-CHAIN could signal an error if the deadlock
had disappeared between its detection and building up the chain due
to one of the involved threads unwinding.

To flush out issues like this a bit better, added looping to some
of the deadlock tests.

2011-05-14 09:14:54 Tree
[6bc7c1] by Nikodemus Siivola Nikodemus Siivola

1.0.48.15: fix null broadcast-streams as RUN-PROGRAM output streams

Regression from 1.0.48.4.

Since they have element-type T, COPY-DESCRIPTOR-TO-STREAM complains
about them -- but it's more efficient to special-case them to the
null device anyways.

Also add a missing error message about unknown element types for input
streams.

...and fix numbering of RUN-PROGRAM-CAT-* tests.

2011-05-12 17:07:01 Tree
[dd9f2a] by Nikodemus Siivola Nikodemus Siivola

1.0.48.14: more conservative global variable conversion

Based on patch by Roman Marynchak.

Fixes lp#722734.

* Modify IR1-CONVERT-VAR to emit SYMBOL-VALUE wrapper
for all global variables except those which are
ALWAYS-BOUND.

* Modify IR1-STEP-FORM-P to return false for SYMBOL-VALUE
with constant argument, now that virtually all global
variables are accessed with a function call (which gets
converted via a VOP, so the final machine code remains
the same.)

2011-05-12 10:42:20 Tree
[f71445] by Nikodemus Siivola Nikodemus Siivola

1.0.48.13: SET-SYNTAX-FROM-CHAR and dispatch-macro characterness

Previously when the to-char was a dispatch-macro character in to-readtable,
but from-char wasn't one in from-readtable, SET-SYNTAX-FROM-CHAR didn't do
anything.

CLHS says "If the character is a dispatching macro character, its entire
dispatch table of reader macro functions is copied." which *can* be taken to
mean that dispatch table should not be removed even if it doesn't exist at
all in the from-readtable, but that interpretation doesn't really match with
the rest of the description or the exhortation to copy the syntax type -- I
read it as an instruction to copy the whole dispatch table, not just the
fact that the character is a dispatching macro character.

2011-05-12 10:02:27 Tree
[564b82] by Nikodemus Siivola Nikodemus Siivola

1.0.48.12: fix bugs in deadlock detection and tests

* No timeouts on mutexes on lutex builds: so don't mark the wait as
having one.

* No timeouts on spinlocks, so don't mark the wait as having one even
if there is a deadline.

* More tests.

2011-05-11 19:42:35 Tree
[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
Older >