sbcl Log


Commit Date  
[7f1e94] (sbcl-1.1.13) by Christophe Rhodes Christophe Rhodes

1.1.13: will be tagged as "sbcl-1.1.13"

2013-10-31 10:42:43 Tree
[441dfe] by Paul Khuong Paul Khuong

Make sure quantifiers don't cons

Quantifiers like SOME and EVERY are implemented in terms of (MAP NIL)
of a wrapper function with early RETURN. If type information does not
enable MAP to be open coded, declarations are necessary to avoid
consing up a closure and a value cell for the return.

DX functions really shouldn't cause value cells for return blocks.

Also, revert d0f65b07a30adc989e36a82ddc0ed54d135d638e which is
now mostly redundant.

2013-10-26 17:47:53 Tree
[d0f65b] by Stas Boukarev Stas Boukarev

Reduce consing during SUBTYPEP on classes.

sb-pcl::class-has-a-forward-referenced-superclass-p, used in the
implementation of subtypep on classes, conses because SOME can't
perform the required inlining when used on the sequences of unknown
type. (See lp#1070635)

2013-10-26 14:42:22 Tree
[69e6ae] by Jan Moringen Jan Moringen , pushed by Christophe Rhodes Christophe Rhodes

Use new MAP-RESTARTS in FIND-RESTART, COMPUTE-RESTARTS; fix FIND-RESTART

* Both FIND-RESTART and COMPUTE-RESTARTS traverse, filter and select
active restarts, potentially for a particular condition and
potentially calling restart test functions. This common behavior has
been factored into the new function MAP-RESTARTS.

* Remove *CONDITION-RESTARTS*; use new slot ASSOCIATED-CONDITIONS in
RESTART structure instead.

* As stated in bug 774410, when given a RESTART instance, FIND-RESTART
did not test whether the restart was still active and whether the
restart had been associated to a different condition in the
meantime. This behavior has been changed by calling MAP-RESTARTS which
checks activity and association to conditions (sadly, making

(find-restart RESTART-INSTANCE CONDITION-OBJECT)

a bit slower than before).

* INVOKE-RESTART is also affected by the changes for bug
774410. However, it does not respect restart test functions when
called with a RESTART instance (This is underspecified in CLHS and
other implementations behave in various ways. However, behaving
differently would make some restarts un-invokable).

* As suggested in bug 769615, (find-restart SYMBOL ...) now calls
MAP-RESTARTS instead of COMPUTE-RESTARTS, consing less and executing
faster in many cases.

* New (find-restart :recheck-conditions-and-tests :bug-774410) test from
Jean-Philippe Paradis from original bug report in
tests/condition.impure.lisp checks the new behavior.

Fixes lp#769615, lp#774410

2013-10-22 19:26:22 Tree
[657ded] by Jan Moringen Jan Moringen , pushed by Christophe Rhodes Christophe Rhodes

Make some RESTART slots read-only

The RESTART slots FUNCTION, REPORT-FUNCTION, INTERACTIVE-FUNCTION and
TEST-FUNCTION are never mutated and can thus be read-only.

2013-10-22 10:30:20 Tree
[2fcf36] by Jan Moringen Jan Moringen , pushed by Christophe Rhodes Christophe Rhodes

Comments and rearrangements in {defboot,target-error}.lisp

Add and/or extend explanatory comments for the special
variables *HANDLER-CLUSTERS*, *RESTART-CLUSTERS*
and *CONDITION-RESTARTS*.

Slightly rearranged RESTART-NAME and RESTART-REPORT.

2013-10-22 10:30:20 Tree
[15cd75] by Jan Moringen Jan Moringen , pushed by Christophe Rhodes Christophe Rhodes

Silence some unused variable warnings in tests/condition.[im]pure.lisp

2013-10-22 10:30:20 Tree
[9d5be5] by Christophe Rhodes Christophe Rhodes

fix symlink handling (generally and on OS X) in run-sbcl.sh

Patch from Stelian Ionescu, lp#1242643

2013-10-21 11:41:35 Tree
[885a95] by Christophe Rhodes Christophe Rhodes

signal errors for bad initialization of slot definitions

In order to get slot definition initialization right, move the
readers/writers slots to direct slot definitions, and write code to
detect all the bad cases documented in the MOP dictionary at
initialization time. Condition slots also need changing, to have
separate initform and initfunction information. Moving the slots
breaks metacircle resolution, naturally, so rewrite that to find the
relevant reader/writer information from the direct slots at runtime.
The irony of having to rewrite metacircle detection and resolution for
a bug tagged "easy" on launchpad is not lost on me.

Originally reported by Bruno Haible at some point in prehistory,
probably around December 2004, lp#309072.

2013-10-21 11:15:04 Tree
[519396] by Paul Khuong Paul Khuong

Warn when wrapping constants with THE of multiple value types

IR1 translation was too eager in eliminating redundant THE forms
when the value is a constant. We now also make sure that the
asserted type accepts single values.

Reported by Nathan Trapuzzano on sbcl-help.

2013-10-19 21:47:47 Tree
[cee8ef] by Stas Boukarev Stas Boukarev

Remove duplicate implementations of (setf aref/sbit/bit).

Since (setf aref/sbit/bit) have to work with
(setf (apply #'aref array subscripts)), they had both a setf expander
and a setf-function, but it can be implemented with just a
setf-function. All other accessors are still done using
(defsetf accessor %setaccessor), I haven't found a technical reason to
prefer one to another, other than (setf accessor) being a nicer name.

Fixes lp#1241095.

2013-10-18 11:18:36 Tree
[c58678] by Stas Boukarev Stas Boukarev

Add some missing FNDB declarations.

2013-10-17 16:53:18 Tree
[f0f380] by Stas Boukarev Stas Boukarev

Stop (describe (make-instance 'generic-function)) from crashing.

All the describy things can be pried out of a generic function only if
it's a standard-generic-function.
Also add an FNDB entry for FUNCTION-LAMBDA-EXPRESSION.

2013-10-17 15:16:41 Tree
[dfc9c3] by Stas Boukarev Stas Boukarev

function-lambda-expression: Return the name of a generic function.

The third value of
(function-lambda-expression (defgeneric foo ()))
is now FOO, and not
(LAMBDA (&REST SB-PCL::ARGS) :IN SB-PCL::MAKE-INITIAL-DFUN)
Reported by Marco Baringer.

2013-10-17 15:05:29 Tree
[d68655] by Stas Boukarev Stas Boukarev

tests: don't require ASDF.

With the new scheme, ASDF is not needed at all to load contribs, but
even in the past the contribs which needed it would have loaded it
automatically.

2013-10-17 07:50:23 Tree
[1f704c] by Stas Boukarev Stas Boukarev

Fix where tests are trying to find contribs.

2013-10-17 07:33:26 Tree
[ecebde] by Juho Snellman Juho Snellman

Fix release-related things

contrib changes need to be reflected in binary-distribution.sh
and documentation building too.

2013-10-17 02:56:46 Tree
[25c176] by Francois-Rene Rideau Francois-Rene Rideau , pushed by Juho Snellman Juho Snellman

Deliver each contrib as a single FASL. Don't implicitly require ASDF or source code at runtime.

Also, move contrib output to obj/sbcl-home/, asdf cache to obj/asdf-cache/
Update sb-grovel and other contribs and their tests for asdf3.

Fixes lp#1132254.

2013-10-17 01:10:58 Tree
[9c3a95] by Stas Boukarev Stas Boukarev

run-program: Improve argument escaping on WIN32.

The rules of how #\\ should be escaped depend on whether it's followed
by #\" or not.

Fixes lp#1239242.

2013-10-16 16:36:22 Tree
[911a74] by Stas Boukarev Stas Boukarev

run-program: Add support for :environment on WIN32.

2013-10-16 13:29:02 Tree
[a76995] by Stas Boukarev Stas Boukarev

Disable some sb-concurrency tests on win32.

Some mailbox tests are hanging stopping from building other contribs.

2013-10-16 13:28:57 Tree
[5c2f5c] by Stas Boukarev Stas Boukarev

sb-bsd-sockets: Rearrange how get-host-by-name/address are defined.
#+/-sb-bsd-sockets-addrinfo have different definitions of
get-host-by-name and get-host-by-address. Instead of having
(defun get-host-by-name ()
#+sb-bsd-sockets-addrinfo (call-getaddrinfo-flavour)
#-sb-bsd-sockets-addrinfo
(implementaiton-using gethostbyname))

define
#+sb-bsd-sockets-addrinfo
(defun get-host-by-name ()
(implementaiton-using getaddrinfo))

#-sb-bsd-sockets-addrinfo
(defun get-host-by-name ()
(implementaiton-using gethostbyname))

2013-10-16 10:36:34 Tree
[37bf7d] by Stas Boukarev Stas Boukarev

sb-introspect:find-definition-sources-by-name: support globals.

(sb-ext:defglobal x ...) couldn't be found.

2013-10-15 14:29:02 Tree
[9b69e8] by Jim Wise Jim Wise

For consistency with other shell scripts here, use #!/bin/sh.

This (alone) used #!/bin/bash, but does not seem to depend on it.

2013-10-13 21:23:38 Tree
[4afcad] by Jim Wise Jim Wise

Fix on Solaris by accounting for /bin/sh there.

Solaris' /bin/sh does not grok $(...), so use `...` instead.

Note that all recent versions of Solaris have included /bin/bash, but
I'm not sure the impact of using #!/bin/bash instead of #!/bin/sh on
some of our other platforms.

2013-10-13 21:22:19 Tree
Older >