Nikodemus Siivola [Mon, 3 Mar 2008 14:21:50 +0000 (14:21 +0000)]
1.0.15.10: ASSOC and MEMBER were broken for :KEY #'IDENTITY
* Regression caused by 1.0.15.9 -- SET where is should have been SETF.
* Add a few test-cases.
Nikodemus Siivola [Mon, 3 Mar 2008 01:47:53 +0000 (01:47 +0000)]
1.0.15.9: further ASSOC & MEMBER transform improvements
* Neither should be MAYBE-INLINE, as the DEFTRANSFORM result is better.
* Compile the out-of-line bodies with high SPEED, and declare a missing
LIST type.
* Add %ASSOC-EQ, %ASSOC-KEY-EQ, and the corresponding %MEMBER-
versions, and transform to these when (1) no :TEST is given, but
the item to compare against is safe for EQ (2) :TEST is given and
either 'EQ or #'EQ.
Nikodemus Siivola [Sun, 2 Mar 2008 22:38:08 +0000 (22:38 +0000)]
1.0.15.8: fix non-threaded x86 build
* Missing #!+sb-thread in src/assembly/x86/alloc.lisp.
Nikodemus Siivola [Sat, 1 Mar 2008 19:25:41 +0000 (19:25 +0000)]
1.0.15.7: threaded BIND and UNBIND improvements on x86
* TLS index allocation is rare, so move it out of line from BIND.
Shrinks the threaded core by over 170k bytes.
* Make UNBIND use three registers instead of four.
Nikodemus Siivola [Fri, 29 Feb 2008 11:04:43 +0000 (11:04 +0000)]
1.0.15.6: split main part of SUB-SERVE-EVENT into SUB-SUB-SERVE-EVENT
* Easier to understand, fixes periodic polling. Patch by Espen S
Johnsen.
* NEWS entry for 1.0.15.5. as well.
Nikodemus Siivola [Fri, 29 Feb 2008 10:41:46 +0000 (10:41 +0000)]
1.0.15.5: handler from COPY-DESCRIPTOR-TO-STREAM to check EINTR from select()
* Just return, and continue copying the next time. Reported by Vitaly
Mayatskikh on sbcl-devel.
Richard M Kreuter [Wed, 27 Feb 2008 19:03:02 +0000 (19:03 +0000)]
1.0.15.4: Fix a non-POSIX usage of find(1) in binary-distribution.sh
Fix contributed by Josh Elsasser.
Richard M Kreuter [Wed, 27 Feb 2008 18:56:47 +0000 (18:56 +0000)]
1.0.15.3: Have PROBE-FILE return NIL whenever a truename can't be found.
See the mailing list discussions during February 2008 for details.
Richard M Kreuter [Wed, 27 Feb 2008 17:33:45 +0000 (17:33 +0000)]
1.0.15.2: Add binding to fcntl's struct flock in SB-POSIX.
File by file breakdown:
* contrib/sb-posix/constants.lisp
Add an internal ALIEN-FLOCK structure.
* contrib/sb-posix/defpackage.lisp
Export the FLOCK class the accessors.
* contrib/sb-posix/interface.lisp
Define a FLOCK "protocol class", add a path through FCNTL that accepts
FLOCK instances.
* sb-posix/posix-tests.lisp
Test two uses of exclusive (F_WRLCK) locks.
* contrib/sb-posix/sb-posix.texinfo
Add documentation for the FLOCK class to the manual.
Andreas Fuchs [Wed, 27 Feb 2008 16:56:27 +0000 (16:56 +0000)]
1.0.15.1: Fix asdf-install for HTTP servers that omit the Length: header.
Make copy-stream use the output stream's element type, as the input stream
is very likely to be a bivalent stream, which will report CHARACTER, leading
to incompatible element-types.
William Harold Newman [Tue, 26 Feb 2008 14:48:27 +0000 (14:48 +0000)]
1.0.15: release, will be tagged as sbcl_1_0_15
Nikodemus Siivola [Fri, 22 Feb 2008 19:10:36 +0000 (19:10 +0000)]
1.0.14.41: record bug 423
* TRULY-THE interacts badly with *CHECK-CONSISTENCY*.
Nikodemus Siivola [Fri, 22 Feb 2008 16:54:48 +0000 (16:54 +0000)]
1.0.14.40: make deftransforms for UB<N>-BASH-COPY have consistent return type
* Make REPLACE *CHECK-CONSISTENCY* happy: the transforms used to have
return type (VALUES NULL &OPTIONAL), whereas the out-of-line
definitions had return type (VALUES &OPTIONAL).
Nikodemus Siivola [Tue, 19 Feb 2008 16:06:34 +0000 (16:06 +0000)]
1.0.14.39: make GENCGC gencgc_zero_check=1 proof again
* 0.9.8.19 moved zeroing from GC time to allocation time, but after
the point where the check was done -- thus causing the check to
fail immediately if it was turned on. This commit moves the check
after the zeroing, so we're good again.
...which also means that gencgc_zero_check=1 is not very
interesting anymore, since the zeroing happens in the immediate
vicinity of the check.
Nikodemus Siivola [Tue, 19 Feb 2008 10:18:06 +0000 (10:18 +0000)]
1.0.14.38: build runtime with -Wsign-compare, and clean warnings on x86/Linux
* Nothing serious seemed to be going on, though, but since C has nasty
signed vs unsigned comparison semantics, it is better to be clear
about what is going on.
Nikodemus Siivola [Tue, 19 Feb 2008 09:20:09 +0000 (09:20 +0000)]
1.0.14.37: detect the Windows codepage at runtime
* Using the value from the saved core is wrong. Fix by Suzuki Kei on
sbcl-devel.
Nikodemus Siivola [Mon, 18 Feb 2008 19:25:22 +0000 (19:25 +0000)]
1.0.14.36: faster PROPAGATE-FROM-SETS
20-25% improvement for the test-case in bug 188.
* New slot in LAMBDA-VAR: LAST-INITIAL-TYPE, which holds the last
initial-type for that variable seen by PROPAGATE-FROM-SETS.
* Be lazy, and don't PROPAGATE-TO-REFS unless something of
interest has happened, to wit:
-- One of the CSET nodes has a new, more specific type.
-- INITIAL-TYPE has become more specific.
This also allows us elide TYPE-UNION computation in the
uninteresting cases.
* Requires having NODE-REOPTIMIZE set when IR1-OPTIMIZE-SET
is called.
Nikodemus Siivola [Mon, 18 Feb 2008 19:14:11 +0000 (19:14 +0000)]
1.0.14.35: lift MAKE-SINGLE-VALUE-TYPE calls from loops
* Multiple places can use the same type, no need to cons
a new one each time through the loop.
Nikodemus Siivola [Mon, 18 Feb 2008 10:05:40 +0000 (10:05 +0000)]
1.0.14.34: slightly less and slightly faster constraint propagation
* For negated EQL constaints, don't cons up multiple MEMBER-TYPE
instances during a single pass through CONSTRAIN-REF-TYPE:
accumulate a single XSET, and turn it into a MEMBER-TYPE only at
the end.
* Don't construct (NOT (MEMBER ...TON-OF-SYMBOLS...)) types at all,
unless SPEED > COMPILATION speed. Knowing that a variable is not
in a set of symbols is seldom useful, and compiling large CASE
statements with symbols as keys can end up spending huge amounts
of time just building these sets.
* Adjust FD-STREAMS to use an ECASE in the single place in SBCL where
without the aforementioned constraint propagation the compiler is
not able to determine sufficiently constrain the result type. (Not
needed since the build has SPEED > COMPILATION-SPEED, but keeps
things non-brittle.)
Christophe Rhodes [Sun, 17 Feb 2008 19:06:34 +0000 (19:06 +0000)]
1.0.14.33: Resurrexit Alpha
Sort out accumulated bitrot on the Alpha:
* xrefs slot for simple_fun: a couple of places in alpha-assem.S
* arch_skip_instruction(): compilers more careful about lvalues;
* arch_handle_single_step_trap(): implement it. (Untested)
* ld-script.alpha-linux: update for newer systems.
Works For Me. Other systems may vary.
Nikodemus Siivola [Sun, 17 Feb 2008 13:26:15 +0000 (13:26 +0000)]
1.0.14.32: fix bug 407
* %SINGLE-FLOAT and %DOUBLE-FLOAT should not be flushable.
* BUGS entry remains: should (COERCE (EXPT 2 1024) 'SINGLE-FLOAT)
really signal a TYPE-ERROR?
Nikodemus Siivola [Sun, 17 Feb 2008 08:18:40 +0000 (08:18 +0000)]
1.0.14.31: better ANSI-STREAM-FILE-POSITION
* Instead of searching for the external-format object to obtain
the character-width function, store the function (or its result
for fixed-width external formats) directly into the FD-STREAM
object. Non-FD-STREAM ANSI-STREAMS use the old strategy.
Christophe Rhodes [Sat, 16 Feb 2008 10:34:45 +0000 (10:34 +0000)]
1.0.14.30: don't construct obsolete instances
The CTOR make-instance optimization machinery closes over the
class wrapper of the class in question; however, there are
code paths that cause wrappers to be invalidated without causing
all constructors to be recomputed: for instance, the
redefinition of a superclass, or calling
MAKE-INSTANCES-OBSOLETE. This would mean that the CTORs would
create obsolete instances, which would instantly trap, showing
up as slowness in CLOS-heavy code.
Problem and fix largely identified by Andy Hefner in
<http://paste.lisp.org/display/55689>.
Nikodemus Siivola [Fri, 15 Feb 2008 14:42:30 +0000 (14:42 +0000)]
1.0.14.29: update ASDF again
* ...to a version that has correct *asdf-revision*.
Nikodemus Siivola [Thu, 14 Feb 2008 16:43:08 +0000 (16:43 +0000)]
1.0.14.28: small FGEN improvements
* Use a DEFSTRUCT instead of a vector for clarity. Also eliminate the
unused mystery slot.
* Inline code of GET-NEW-FUN-GENERATOR-INTERNAL in
GET-NEW-FUN-GENERATOR.
* Store in a hash-table for O(1) goodness instead of a list.
* ENSURE-FGEN instead of MAKE-FGEN + STORE-FGEN.
* When lifting constants out of code in FGEN construction, leave
constant lists in place: several of the functions we generate FGENs
for have ETYPECASE forms, which will otherwise cause us to close
over the :EXPECTED-TYPE and :POSSIBILITIES arguments to ERROR for
no good reason.
Nikodemus Siivola [Thu, 14 Feb 2008 16:40:45 +0000 (16:40 +0000)]
1.0.14.27: rename MAKE-FIXNUM to POINTER-HASH
* Use VOP translation instead of %PRIMITIVE.
* On x86 and x86-64 improve the pointer-hash slightly: use the whole
address, but none of the tag bits in the hash.
* Fix type in INDEX-FOR-HASHING: the first argument is a HASH, not an
INDEX. Given the better quality of low bits on x86oids (and
hopefully soon on others as well), adjust the mixing a bit.
Nikodemus Siivola [Fri, 8 Feb 2008 14:16:11 +0000 (14:16 +0000)]
1.0.14.26: tweak COND slightly
* Don't expand into a final (COND), but directly to NIL (easier to
read macroexpansion.)
* Check for the common case of final T, so that the last clause can be
unconditional instead of generating redundant IF.
Nikodemus Siivola [Fri, 8 Feb 2008 12:55:54 +0000 (12:55 +0000)]
1.0.14.25: trivial WHEN & UNLESS change
* Implement directly on top of IF & PROGN instead of COND: clearer
macroexpansion, and slightly less work to compile to boot.
Nikodemus Siivola [Fri, 8 Feb 2008 12:49:02 +0000 (12:49 +0000)]
1.0.14.0.24: spell-check and proofread NEWS a bit
* ...and add the "reported by" left out from the last commit.
Nikodemus Siivola [Fri, 8 Feb 2008 12:38:15 +0000 (12:38 +0000)]
1.0.14.0.23: hash-table printing improvements
* Respect printer-control variables when printing readably.
* Print non-null weakness when printing unreadably.
Nikodemus Siivola [Wed, 6 Feb 2008 14:26:41 +0000 (14:26 +0000)]
1.0.14.22: more backtrace verbosity, for a change
* Revert part of the *SHOW-ENTRY-POINT-DETAILS* functionality: always
return the DEBUG-FUN-KIND from FRAME-CALL, so that instead of the
rather confusing
(FOO MY-ARGUMENT)
(FOO MY-ARGUMENT)
a slightly mysterious but hopefully less confusing
(FOO MY-ARGUMENT)
(FOO MY-ARGUMENT) [:EXTERNAL]
appears in backtraces where the XEP hasn't been tail-merged.
Nikodemus Siivola [Wed, 6 Feb 2008 11:46:07 +0000 (11:46 +0000)]
1.0.14.21: debugger refactoring: MAP-BACKTRACE and MAP-FRAME-ARGS
* Thanks to Attila Lendvai.
Nikodemus Siivola [Tue, 5 Feb 2008 04:09:23 +0000 (04:09 +0000)]
1.0.14.20: XSET used EQ instead of EQL for comparison
* Fix it, and add a test specifically for MEMBER using EQL.
Richard M Kreuter [Mon, 4 Feb 2008 22:55:21 +0000 (22:55 +0000)]
1.0.14.19: Fix SB-SHOW, broken for a while.
* Optimization in CONCATENATE broke SB-SHOW in the cross compiler.
Disable this optimization in SB-SHOW.
Nikodemus Siivola [Mon, 4 Feb 2008 22:14:08 +0000 (22:14 +0000)]
1.0.14.18: fix bogus STYLE-WARNING for MAKE-HASH-TABLE :SYNCHRONIZED
* Add :SYNCHRONIZED to thr DEFKNOWN.
* Also fix a bit of totally broken indentation in the
hash-table code.
* Cautionary comment about a potential type-error in parallel code.
* More threaded hash-table tests.
Nikodemus Siivola [Mon, 4 Feb 2008 20:49:27 +0000 (20:49 +0000)]
1.0.14.17: treat (NAMED-LAMBDA NIL ...) like (LAMBDA ...)
* Getting NIL as the source-name of a functional is pretty bogus, and
getting it as the debug-name messes with our careful debug-name
sanity checks. So don't do it then.
Nikodemus Siivola [Mon, 4 Feb 2008 15:40:32 +0000 (15:40 +0000)]
1.0.14.16: add explicit CHECK-CONSTANT-MODIFICATION policy
* Allows using SB-COVER with (RESTRICT-COMPILER-POLICY 'SAFETY 3).
Nikodemus Siivola [Mon, 4 Feb 2008 15:11:35 +0000 (15:11 +0000)]
1.0.14.15: fix typo in inline declaration for SOURCE-FORM-HAS-PATH-P
* Thanks to Peter Graves.
Nikodemus Siivola [Sun, 3 Feb 2008 20:05:54 +0000 (20:05 +0000)]
1.0.14.14 fix SB-POSIX:MK*TEMP() tests
* BSD may be happy with just three Xs in the template, but Linux at
least wants six.
Juho Snellman [Sun, 3 Feb 2008 18:36:18 +0000 (18:36 +0000)]
1.0.14.13: Rewrite non-standard LOOP syntax
* Using XCL as the host compiler did not work due to a FOR/WHILE/FOR
sequence (which is not defined in the spec, though supported by
most implementations). Reported by Peter Graves.
Nikodemus Siivola [Sun, 3 Feb 2008 01:20:43 +0000 (01:20 +0000)]
1.0.14.12: export SB-POSIX:MKSTEMP, add SB-POSIX:MKTEMP and SB-POSIX:MKDTEMP
* Remove the alien struct consing from the calls -- just use the SAP
directly.
* Automagic unsupportedness handling for platforms that miss any of
these.
* Rudimentary tests.
* #-win32 for now.
Nikodemus Siivola [Sun, 3 Feb 2008 00:52:00 +0000 (00:52 +0000)]
1.0.14.11: update ASDF to 1.114 from CCLAN
* On the ASDF side of the wall merge the empty SBCL_HOME handling to
upstream, and canonicalize the whitespace there.
Nikodemus Siivola [Fri, 1 Feb 2008 11:15:34 +0000 (11:15 +0000)]
1.0.14.10: friendly CHECK-TYPE error message for quoted type-specifiers
* (QUOTE ...) is never a valid type-specifier.
* When printing the macro-form responsible for an error, increase
*PRINT-LEVEL* from 1 to 3, for a slightly better compiler-log
reading experience.
Richard M Kreuter [Thu, 31 Jan 2008 19:29:24 +0000 (19:29 +0000)]
1.0.14.9: Fix regression in RUN-PROGRAM when :INPUT et al. are pathnames.
* GET-DESCRIPTOR-FOR is defined with &rest, &key, and
&allow-other-keys, and one pathway passes the &rest list to OPEN. A
recent addition of a keyword argument to GET-DESCRIPTOR-FOR that
OPEN didn't recognize created a problem.
* Add test for the correct behavior.
Nikodemus Siivola [Thu, 31 Jan 2008 13:04:30 +0000 (13:04 +0000)]
1.0.14.8: small TRACE and UNTRACE interface improvements
* (TRACE "FOO") now traces SETF-functions as well.
* (UNTRACE "FOO") is now supported.
Nikodemus Siivola [Thu, 31 Jan 2008 07:22:16 +0000 (07:22 +0000)]
1.0.14.7: quote non-keyword :default-initargs keys in SLOT-INIT-FORMS
* Reported and diagnosed by Matt Marjanovic.
Nikodemus Siivola [Tue, 29 Jan 2008 14:21:59 +0000 (14:21 +0000)]
1.0.14.6: SIMPLE-REFERENCE-ERROR, not SIMPLE-REFERENCE-CONDITION
* Bogus export, reported by Attila Lendvai.
* Fix the test-case to check that the condition type is sane, which
would have caught this in the first place.
Nikodemus Siivola [Tue, 29 Jan 2008 14:08:27 +0000 (14:08 +0000)]
1.0.14.5: fix threaded builds
* Broken by 1.0.14.1: LET*, not LET in MAKE-THREAD now.
Nikodemus Siivola [Tue, 29 Jan 2008 13:56:19 +0000 (13:56 +0000)]
1.0.14.4: increase MAX_INTERRUPTS to 1024
* ...hopefully fixing Stumpwm, and other signal-prone applications.
Nikodemus Siivola [Tue, 29 Jan 2008 13:20:19 +0000 (13:20 +0000)]
1.0.14.3: add html -> htm abbreviation to wxs.lisp
* Now that SB-COVER is working on Windows, this is required as the
build leaves html files in the test-output/ directory.
...of course we should probably clean up after the tests...
Reported by Charlie McMackin.
Nikodemus Siivola [Tue, 29 Jan 2008 12:51:26 +0000 (12:51 +0000)]
1.0.14.2: XREF needs to account for the last node of a block as well
* ...as it can be eg. a CSET node. Reported by "mogunus" on #lisp.
Lest readers of sbcl-commits start thinking that #lisp is the best
place to report bugs: it is not. This got immediate attention as I
was working in closely related areas anyways.
sbcl-devel and sbcl-help remain the correct place to report bugs.
Nikodemus Siivola [Mon, 28 Jan 2008 15:10:54 +0000 (15:10 +0000)]
1.0.14.1: lisp-side interrupt handling improvements
* Stack-top hint for interrupts: clears the uninteresting frames from
the top of a SIGINT backtrace.
* Revert to a defunless WITHOUT-INTERRUPTS &co: less useless
interrupt twiddling frames in backtraces -- now there should only
be occasional #:WITHOUT-INTERRUPTS-BODY frames, and those only when
there is at least something moderately interesting going on. There
is a balance to be struck here, though, and this may be too far in
the opposite direction...
* Interrupt safe SORT.
* ADJUST-ARRAY doesn't need to disable interrupts anymore.
* Handle internal errors using WITH-INTERRUPT-BINDINGS as well: with
sufficently bad luck one could eg. signal a continuable error (via
the internal error code-path) from eg . :KEY to SORT and then
corrupt the temporary vector in handler. It seems also possible to
construct a similar case that would cause bogus metacircles to be
detected -- this is easier to reason about.
William Harold Newman [Sun, 27 Jan 2008 22:33:07 +0000 (22:33 +0000)]
1.0.14: release, will be tagged as sbcl_1_0_14
Richard M Kreuter [Wed, 23 Jan 2008 14:42:36 +0000 (14:42 +0000)]
1.0.13.53: Minor changes to SB-COVER, SB-MD5 tests for Win32
* Have SB-COVER use md5sums of filenames for URLs.
* Have the test of SB-MD5:MD5SUM-FILE take the md5sum of a fresh empty
file, rather /dev/null or NUL, so that the test is independent of
any other limitations in CL:OPEN on Windows.
Richard M Kreuter [Wed, 23 Jan 2008 01:43:38 +0000 (01:43 +0000)]
1.0.13.52: Fix typo in bit-vector.impure-cload.lisp
* Test file didn't compile under #-gencgc builds.
Richard M Kreuter [Tue, 22 Jan 2008 17:14:31 +0000 (17:14 +0000)]
1.0.13.51: Fixups in mkstemp wrapper used in RUN-PROGRAM.
* Preclude a buffer overflow (though one that cannot occur at present,
given the single caller of this routine). Contributed by Alex
Plotnick.
Nikodemus Siivola [Mon, 21 Jan 2008 14:46:52 +0000 (14:46 +0000)]
1.0.13.50: rename JECXZ to JRCXZ in the x86-64 backend for clarity
* Thanks to Lutz Euler. (No 32 bit variant of the instruction in
64-bit mode.)
Nikodemus Siivola [Mon, 21 Jan 2008 14:44:45 +0000 (14:44 +0000)]
1.0.13.49: save source-locations for accessor methods defined via DEFCLASS
* Just pass source-location / definition-source along the necessary
code-paths -- all the required infra is already in place.
* Also get the source locations for PCL itself: it would be embarassing
not to have the source location for SB-PCL::DEFINITION-SOURCE. :)
Nikodemus Siivola [Mon, 21 Jan 2008 14:43:15 +0000 (14:43 +0000)]
1.0.13.48: SET-CLOSED-FLAME set ANSI-STREAM-IN twice (harmless but silly)
* Thanks to David Smith.
Nikodemus Siivola [Mon, 21 Jan 2008 14:41:57 +0000 (14:41 +0000)]
1.0.13.47: spurious INLINE declaration for (SETF FOO) from typed DEFSTRUCT
* Thanks to David Smith.
Nikodemus Siivola [Mon, 21 Jan 2008 14:40:54 +0000 (14:40 +0000)]
1.0.13.46: fixed bug #402
* Rewrite SPLIT-DECLARATIONS to use two (short) constant lists and
INFO instead of *VAR-DECLARATIONS-WITH|WITHOUT-ARG*.
* Test-case for #402.
* While at it, replace the *VAR-DECLARATIONS* from walker as well,
replacing it with WALKED-VAR-DECLARATION-P, and make VAR-DECLARATION
use a compiler-macro to check for bogus-declarations when possible.
(All our whopping 3 calls to it.)
* Bug #413 was fixed in 1.0.13, remove it from BUGS.
* Whitespace.
Nikodemus Siivola [Wed, 16 Jan 2008 15:46:22 +0000 (15:46 +0000)]
1.0.13.45: close the fd before deleting / moving files on CLOSE :ABORT T
* Windows is not happy about files with open handles dancing around.
This should one of the SB-COVER problems on Windows, and is
arguably better for posixoid platforms as well.
* SET-CLOSED-FLAME immediately after closing the fd, since that is in
a very real sense the boundary after which doing stream operations
is going to lose.
* Windows additions to .gitignore.
Nikodemus Siivola [Tue, 15 Jan 2008 23:55:51 +0000 (23:55 +0000)]
1.0.13.44: bug #414 has disappeared
* Most likely due to changes in debug instrumentation. :/
Add to regression suite, in case it comes back.
Nikodemus Siivola [Tue, 15 Jan 2008 23:24:04 +0000 (23:24 +0000)]
1.0.13.43: DIVIDE-BY-ZERO from BIGNUM-TRUNCATE
* Pre 1.0.6.19 version ended up calling %FLOOR, and all was well. Now
we need to check explicitly for zero. Reported by Michael Weber.
Nikodemus Siivola [Tue, 15 Jan 2008 22:13:21 +0000 (22:13 +0000)]
1.0.13.42: character untagging test from Lutz Euler
sbcl-devel 2007-05-01
Nikodemus Siivola [Tue, 15 Jan 2008 18:25:55 +0000 (18:25 +0000)]
1.0.13.41: SB-SPROF:REPORT when there are no samples
* Used to signal an error -- report lack of samples, and return NIL
instead. Reported by Andy Hefner on sbcl-devel 2008-01-06.
Nikodemus Siivola [Tue, 15 Jan 2008 18:10:45 +0000 (18:10 +0000)]
1.0.13.40: CLASS-SLOTS signals an error for unfinalized classes
* AMOP requirement, reported by Levente Meszaros on
sbcl-devel 2007-04-20.
* New condition class for convenience:
SB-INT:SIMPLE-REFERENCE-ERROR.
Nikodemus Siivola [Tue, 15 Jan 2008 15:26:08 +0000 (15:26 +0000)]
1.0.13.39: record bug #421
* Unchecked RETURN reported by Kevin Reid.
Nikodemus Siivola [Tue, 15 Jan 2008 14:50:27 +0000 (14:50 +0000)]
1.0.13.38: final part of the debug-name improvements
* Use NAME-LAMBDALIKE to construct the debug-name if :NAME is NIL.
* Also make sure the SOURCE-NAME is not NIL, but .ANONYMOUS. if none
is provided.
* Correct handling of &OPTIONAL-PROCESSOR debug-names: the debug-name
keyword is provided by the callers, so we cannot default it as part
of the keyword parsing (in case it is NIL), additionally, even if
we have a debug-name already, we still want to make up an
&OPTIONAL-PROCESSOR debug-name.
* Ensure (and strategically AVER) that we have a non-null debug-name
for things which are .ANONYMOUS. -- by making up one using
NAME-LAMBDALIKE if nothing else.
* AVER that the second argument of DEBUG-NAME is not NIL.
* Test that (COMPILE NIL '(LAMBDA ...)) doesn't make function which
backtrace as NIL anymore.
Nikodemus Siivola [Tue, 15 Jan 2008 13:28:46 +0000 (13:28 +0000)]
1.0.13.37: skip compilation of null and non-symbol toplevel atoms
* Not a performance consideration, but rather part of tidying up code
paths that lead DEBUG-NAME to be called with NIL as the second
argument (in IR1-TOPLEVEL the form becomes part of the
TOP-LEVEL-FORM debug-name.)
Nikodemus Siivola [Tue, 15 Jan 2008 12:25:54 +0000 (12:25 +0000)]
1.0.13.36: better HAIRY-FUNCTION-ENTRY debug-names
* Instead of LVAR-FUN-NAME, use new LVAR-FUN-DEBUG-NAME, which works
even for multiply-used lvars, by returning the list of names
instead of just NIL.
Nikodemus Siivola [Tue, 15 Jan 2008 11:59:30 +0000 (11:59 +0000)]
1.0.13.35: preserve source- and debug-name in IR1-OPTIMIZE-MV-CALL
* Copying them from the original leaf before converting the
replacement function.
Nikodemus Siivola [Tue, 15 Jan 2008 11:17:27 +0000 (11:17 +0000)]
1.0.3.34: better debug-name construction
* Make *DEBUG-NAME-LEVEL* behave more like *PRINT-LEVEL*, and add
*DEBUG-NAME-LENGTH*. Now, instead of the old
(VARARG-ENTRY (LAMBDA (&OPTIONAL ("#<...>" . "#<...>") . "<...>")))
we get
(VARARG-ENTRY (LAMBDA (&OPTIONAL (FOO *BAR*) (QUUX *ZOT*)))
which is a lot more useful.
* Use slightly magical debug name markers that print as # and ...
instead of strings when abbreviating names.
Nikodemus Siivola [Tue, 15 Jan 2008 02:45:15 +0000 (02:45 +0000)]
1.0.3.33: use NAMED-LAMBDA instead of LAMBDA for pretty-printer predicates
* AKA less mysterious (LAMBDA (OBJECT)) potential in statistical
profiling &co. (No, I haven't been overly troubled by such functions,
but since it is easy to give these ones names, we just as well may.)
Nikodemus Siivola [Tue, 15 Jan 2008 02:29:50 +0000 (02:29 +0000)]
1.0.13.32: fix run-sbcl.sh when sh != bash in disguise
...2008! Shell portability issues! AAARGH!
(Ok, slightly embarrassed as well.)
Nikodemus Siivola [Mon, 14 Jan 2008 12:41:43 +0000 (12:41 +0000)]
1.0.13.31: update bug #108 (ROOM issues)
* 1.0.3.21 took care of the (SAP= CURRENT END) aver failure, but
other issues remain.
Nikodemus Siivola [Mon, 14 Jan 2008 12:22:11 +0000 (12:22 +0000)]
1.0.13.30: more README touchups
* Texinfo, not DocBook since late 2004. :) We're fast on things
like this.
* HTML available for download, not part of the normal binary
distribution.
* Mention BUGS.
* PURIFY doesn't happen on x86 Darwins, and I've never had to touch
the limits on PPC either -- so delete that bit.
Nikodemus Siivola [Mon, 14 Jan 2008 12:05:32 +0000 (12:05 +0000)]
1.0.13.29: run-sbcl.sh script
* I'm tired of typing the mantra, and it's probably good to make
it easy for users too to run SBCL before installation.
* Add to binary tarball, and mention in INSTALL.
Alexey Dejneka [Sun, 13 Jan 2008 20:39:21 +0000 (20:39 +0000)]
1.0.13.28: Add OPTIMIZE documentation for SBCL-specific optimize qualities.
Nikodemus Siivola [Sun, 13 Jan 2008 18:08:01 +0000 (18:08 +0000)]
1.0.13.27: commentary on BUG #420
...adapted from sbcl-devel.
Kevin Rosenberg [Sun, 13 Jan 2008 03:59:54 +0000 (03:59 +0000)]
1.0.13.26:
* sb-aclrepl: Display single-floats in IEEE-756 format for 64-bit
platforms for consistency with 32-bit platforms.
Nikodemus Siivola [Sat, 12 Jan 2008 15:29:02 +0000 (15:29 +0000)]
1.0.13.25: reinstante *PERIODIC-POLLING-FUNCTION*
* Instead of *MAX-EVENT-(U)SEC* use *PERIODIC-POLLING-PERIOD*.
* After polling, if there is any more waiting left to do, call
SUB-SERVE-EVENT again. (The old implementation did not do this,
but this seems right to me.)
* Export the API, and mark as EXPERIMENTAL. Unadvertised in the docs
or NEWS for now -- but the docstrings should be clear enough.
Waiting for happiness report from CLG folks before publishing this.
Kevin Rosenberg [Fri, 11 Jan 2008 18:59:58 +0000 (18:59 +0000)]
1.0.13.24:
* sb-aclrepl: Fix inspection of single-floats on 64-bit platforms
which are now unboxed data.
Nikodemus Siivola [Fri, 11 Jan 2008 11:03:18 +0000 (11:03 +0000)]
1.0.13.23: record READ-CHAR-NO-HANG bug on Windows (#421)
* Reported by Elliot Slaughter.
William Harold Newman [Thu, 10 Jan 2008 15:54:04 +0000 (15:54 +0000)]
1.0.13.22: text tweaks
* logged a bug
* searched for sbcl-devel references and added notes about
the need to subscribe (since the mailman bounce message is
particularly unhelpful, and I periodically get mail from
frustrated would-be posters)
* fixed a few typoes
* revised a few passages, and completely gave up on trying to
summarize SBCL performance in a paragraph in the man page
Nikodemus Siivola [Thu, 10 Jan 2008 14:41:27 +0000 (14:41 +0000)]
1.0.13.21: MAP-ALLOCATED-OBJECTS robustification
* There are two cases where we used to fail our AVER (SAP= CURRENT
END) in MAP-ALLOCATED-OBJECTS:
-- If we had constructed an unlucky bogus object or few during our
heap traversal, we might be just sufficiently out of synch to
overstep it.
-- If we allocated new objects past the original END during heap
traversal and, and the mapped over them.
* Fix the last case always: before calling the provided function,
check that the object ends before END.
* Fix the second case for fastidious callers (and add an optional
argument so callers can inform us about their fastidiousness) by
using MAKE-LISP-OBJ instead of %MAKE-LISP-OBJ. ROOM still uses the
old version, since the careful approach is too slow, and even
the slow path uses %MAKE-LISP-OBJ in the less-error-prone cases.
...so not quite perfect yet.
Nikodemus Siivola [Thu, 10 Jan 2008 11:32:46 +0000 (11:32 +0000)]
1.0.13.20: added SB-EXT:*EXIT-HOOKS*
* Also document *INIT-HOOKS* and *SAVE-HOOKS*.
* Trailing whitespace cleanup in start-stop.texinfo.
Richard M Kreuter [Thu, 10 Jan 2008 01:48:12 +0000 (01:48 +0000)]
1.0.13.19: Odds and ends (OpenBSD NEWS, minor bug in PROBE-FILE, mkstemp())
* Add note about OpenBSD revival in NEWS
* PROBE-FILE, TRUENAME were returning an extra value from filename parsing
* Have our internal mkstemp() binding take a mode, and remove
unix-chmod from sb-unix. This slightly improves RUN-PROGRAM
security on Unix platforms where mkstemp() doesn't create a new file
with mode #o0600.
Richard M Kreuter [Wed, 9 Jan 2008 19:12:23 +0000 (19:12 +0000)]
1.0.13.18: Revived OpenBSD support, contributed by Josh Elsasser
Alexey Dejneka [Sun, 6 Jan 2008 06:17:26 +0000 (06:17 +0000)]
1.0.3.17: new bug in DX value-cells.
Richard M Kreuter [Sat, 5 Jan 2008 14:43:13 +0000 (14:43 +0000)]
1.0.13.16: Fix regression in FILE-AUTHOR.
* Typo. File author should return the author, not the file write-date.
Spotted by Damien Diederen. Add test for same.
Juho Snellman [Fri, 4 Jan 2008 01:52:28 +0000 (01:52 +0000)]
1.0.13.15: Fix some VECTOR-PUSH-EXTEND problems
* Ensure that the vector is always extended by at least one element
when full, even if MIN-EXTENSION is smaller than 1. (Prevents
array index overflows).
* Don't try to extend a vector beyond ARRAY-DIMENSION-LIMIT.
* Patch by Paul Khuong.
Juho Snellman [Fri, 4 Jan 2008 01:49:37 +0000 (01:49 +0000)]
1.0.13.14: Reduce character stream input consing
* Inline UNIX-READ into REFILL-INPUT-BUFFER to remove SAP boxing,
remove non-local exits over full call boundaries (patch by Paul
Khuong).
* Inline REFILL-BUFFER in READ-SEQUENCE and READ-LINE.
* D-X-allocate value cells in REFILL-INPUT-BUFFER.
Christophe Rhodes [Thu, 3 Jan 2008 14:50:47 +0000 (14:50 +0000)]
1.0.13.13: Actually export RESOLVE-CONFLICT et al from SB-EXT
... as documented, but not as actually done.
Reported by Maciej Katafiasz sbcl-devel 2008-01-13
Also slightly better documentation links for *posix-argv*.
Juho Snellman [Thu, 3 Jan 2008 03:54:05 +0000 (03:54 +0000)]
1.0.13.12: Make :SB-HASH-TABLE-DEBUG feature more useful
* Only signal errors for concurrent writer/writer or reader/writer
accesses, not reader/reader. (The latter is basically intended to
always be safe).
* Patch by Attila Lendvai
Juho Snellman [Wed, 2 Jan 2008 23:07:15 +0000 (23:07 +0000)]
1.0.13.11: ensure that sb-cover records don't clash with constants in user code
* If a code coverage instrumentation record is coalesced with another
constant in the same file, the "we know what we're doing" comment
in INSTRUMENT-COVERAGE about modifying constants no longer applies.
Changes to the record will be reflected in the other constant too,
which is probably not what the user expected.
* Ensure that coalescing cannot happen by using a symbol internal to
SB-C as the CDR of the record (instead of NIL).
* Reported separately by Christophe Rhodes and Rahul Jain.
Nikodemus Siivola [Wed, 2 Jan 2008 12:04:08 +0000 (12:04 +0000)]
1.0.13.10: x86 MOVE-FROM-SIGNED & MOVE-FROM-UNSIGNED hackery
* SIGNED: use IMUL and JNO to fixnumize / check for overflow: just
one branch, but same size as the old SHL 1 & JNO twice method --
faster on modern x86en.
* UNSIGNED: always do the LEA after TEST. If we need to allocate a
bignum the LEA should be noise -- just one jump needed this way.
* Move bignum allocation out-of-line in both -- shrinks the core a
bit, and with any luck may help with cache effects: specialize the
allocation routines for each GP register, and pass the argument and
result in the same register to minimize the code-size at
call-sites. Thanks to NJF for the nicer out-of-line version using
just the single register.
* Remove / clarify old comments, and get rid of the old commented out
versions.
Juho Snellman [Tue, 1 Jan 2008 18:16:29 +0000 (18:16 +0000)]
1.0.13.9: Fix another segfault from the new RESTART-FRAME instrumentation
* When a function was inlined, and a XEP created for it in the same
component, it was possible that a BIND-SENTINEL VOP would be emitted
without a closing UNBIND-SENTINEL.
* Fix this by never instrumenting inlined functions.
* Reported by James Knight.
Richard M Kreuter [Tue, 1 Jan 2008 15:07:53 +0000 (15:07 +0000)]
1.0.13.8: Fix bug in ENSURE-DIRECTORIES-EXIST
* ENSURE-DIRECTORIES-EXIST used NAMESTRING rather than
NATIVE-NAMESTRING to construct filenames, and so failed when the
pathname denoted a filename containing wildcard characters.
* Add tests for same.
Juho Snellman [Tue, 1 Jan 2008 14:49:49 +0000 (14:49 +0000)]
1.0.13.7: Fix off-by-one regression in STRING-LIST-TO-C-STRVEC
* "Since 1.0.12.21, the size variable already includes the null byte."
* Patch by David Lichteblau