1 ;;;; -*- coding: utf-8; fill-column: 78 -*-
3 changes relative to sbcl-2.3.7:
4 * enhancement: Stack allocation via DYNAMIC-EXTENT is now possible for
5 conditionals even when not all branches are stack-allocatable. Previously
6 all branches needed to be stack-allocatable for the otherwise-inaccessible
7 subparts to get stack allocated.
9 changes in sbcl-2.3.7 relative to sbcl-2.3.6:
10 * minor incompatible change: MACROLET macro functions are now compiled with
11 (SPEED 1), leading to fewer efficiency notes being emitted when compiled
12 in otherwise high-SPEED environments.
13 * minor incompatible change: when coalescing list data, the file compiler
14 respects substructure equality more accurately, with the side-effect of
15 coalescing along CDR chains as well as CARs. (lp#2025086)
16 * minor incompatible change: FUNCTION type declarations for local variables
17 generate assertions around their use when called.
19 ** on OpenBSD, the regression test suite expectations have been updated.
20 (lp#2026809, thanks to Sebastien Marie)
21 ** on OpenBSD, the data limit is now 1GB. (lp#2027536, thanks to
23 ** on Darwin with the SB-FUTEX feature, do not use unpaired
24 mach_thread_self() syscalls, avoiding resource leaks when creating
26 ** on 64-bit RISCV, add support for some REM-by-multiplication
28 ** on Windows, work around a C compiler bug relating to SYSV_ABI.
29 * bug fix: FILE-POSITION on string output streams no longer crashes or
30 causes arbitrary memory overwrites. (lp#1839040)
31 * bug fix: the compiler no longer constant-folds POSITION to NIL if the
32 START or END arguments are not valid.
33 * optimization: the compiler derives types of &KEY arguments in local calls.
35 * optimization: type tests of values of known union type can be faster if
36 the type being tested for has a non-trivial intersection with the known
38 * optimization: the low-level implementation of NUMBERP, REALP and RATIONALP
39 has been improved on x86-64 and arm64.
40 * optimization: the compiler removes known-NIL arguments from calls to
41 APPEND and NCONC, and empty sequences from calls to CONCATENATE.
42 * optimization: checks for symbols being bindable are now memoized, speeding
43 up compiled uses of PROGV.
44 * optimization: SLOT-VALUE on STRUCTURE-OBJECTs with non-constant slot-name
47 changes in sbcl-2.3.6 relative to sbcl-2.3.5:
49 ** restore building contribs on riscv; (lp#2002930)
50 ** shorter constant-loading sequences on riscv;
51 ** on OpenBSD, map the stack without executable permission (thanks to
53 ** Restore OpenBSD/arm64 for OpenBSD 7.3 (lp#2024003, reported by Robert
55 * bug fix: AREF on multidimensional arrays with the wrong number of indices
56 now signals an error. (lp#2022327, reported by EU)
57 * bug fix: the nature of NIL as both STRING and SEQUENCE is correctly handled
58 in the compiler's handling of string functions. (lp#2023118, reported by
60 * bug fix: the sb-bsd-sockets tests no longer fail on systems configured
61 without IPv6. (reported by Will Senn)
62 * bug fix: the compiler no longer transforms into incompletely-known functions
64 * optimization: better (the word-sized-type (ASH word-sized word-sized))
65 when the result can overflow. For arm64 and x86-64.
66 * optimization: better unoptimized calls to CEILING, FLOOR.
67 * optimization: functions that involve coercing floats now cons less.
69 * optimization: array displacement to simple arrays is slightly faster.
70 (reported by Shubhamkar Ayare)
72 changes in sbcl-2.3.5 relative to sbcl-2.3.4:
73 * enhancement: Unicode support has been updated to support version 15.0.0 of
74 the Unicode standard, including addition of characters and their collation
75 keys, and refinements to grapheme-, word- and line-breaking algorithms.
76 * new contrib module: an interface to perf, a performance-analysing tool for
77 Linux. (thanks to Luke Gorrie and Philipp Marek)
79 ** on x86-64, prefer using the LEAVE instruction rather than MOV/POP at
80 function epilogue to restore RSP/RBP.
81 ** support SB-FUTEX on OpenBSD. (thanks to Elijah Stone)
82 ** support SB-FUTEX on Darwin/arm64. (thanks to Elijah Stone)
83 ** fix compilation with clang on Windows. (lp#2018601, thanks to Andrew)
84 * bug fix: inspecting objects with unbound slots produces output that is less
85 confusable with the string "unbound". (thanks to Nicolas Martyanoff)
86 * optimization: make TN-REFs doubly-linked, allowing faster deletion.
87 (lp#2018124, reported by Matt Kaufmann)
88 * optimization: MAPCAN/MAPCON are less accidentally quadratic. (thanks to
90 * optimization: improved arithmetic operations in the form of
91 (the word-sized-type (-+* word-sized word-sized)) when the result can
92 overflow. For arm64 and x86-64.
94 changes in sbcl-2.3.4 relative to sbcl-2.3.3:
95 * enhancement: attempts to call non-callable objects can now provide
96 USE-VALUE restarts on x86-64 and arm64.
97 * bug fix: ioctl() (both in SBCL's internals and through SB-POSIX) was
98 broken on ARM64/Darwin. (reported by fiddlerwoaroof)
100 ** support for cross-compiling the system to Android has been added;
102 ** include likely absolute paths for gmp and mpfr on ARM64/Darwin; (thanks
104 ** include another absolute path for mpfr on Windows; (thanks to Ari
106 ** the PROMISE-COMPILE feature from the SB-CONCURRENCY contrib is now
107 available on all threaded platforms;
108 * optimization: VALUES-LIST performs less redundant work on x86-64 and
111 changes in sbcl-2.3.3 relative to sbcl-2.3.2:
112 * enhancement: LET-bound anonymous closures declared dynamic extent can now
113 be stack allocated, just like closures bound with FLET or
114 LABELS. Otherwise-inaccessible closure subparts of objects declared
115 dynamic extent can now also be stack allocated
116 * optimization: many standard CL functions which take functional arguments
117 will automatically stack allocate any downward funarg closures.
118 * optimization: better arithmetic between signed and unsigned words on arm64.
119 * optimization: reduce consing when doing arithmetic resulting in small (3
120 words or fewer) bignums.
121 * bug fix: miscompilation of some additions of signed and unsigned words on
123 * bug fix: loading the SB-SIMPLE-STREAMS contrib no longer incompatibly
124 overwrites CL:OPEN's function type. (lp#2008811)
125 * bug fix: implement the special-case automatic function definition for
126 PCL's slot accessor functions in the SB-EVAL interpreter. (lp#2008922,
127 reported by Jonathan Braud)
128 * bug fix: allow the build to succeed under SBCLs older than 2.0.0 in the
129 event that the host emits STYLE-WARNINGs while compiling the
130 cross-compiler. (lp#2009493, reported by Kirill)
131 * bug fix: restore compilation on ARM64 with OpenBSD. (lp#2009585, reported
133 * bug fix: compiling a HANDLER-BIND with a function undefined at
134 compile-time produces a compile-time STYLE-WARNING. (lp#2010176)
135 * bug fix: support files bigger than 4GB on ARM64/Linux, *BSD. (lp#2011453,
137 * bug fix: it is now possible to run sb-simd tests on systems without AVX2.
138 (lp#2011923, thanks to Sergio Durigan Junior)
139 * bug fix: miscompilation of some conditional moves. (lp#2012312, reported
141 * bug fix: SB-GMP no longer signals a TYPE-ERROR when raising a ratio base
142 to a negative integer exponent. (lp#2012577, thanks to Ari Projansky)
143 * bug fix: warn the user when they have declared a structure or
144 standard-object slot of :TYPE NIL.
146 changes in sbcl-2.3.2 relative to sbcl-2.3.1:
147 * incompatible change: the :ORDER long-form-option in
148 DEFINE-METHOD-COMBINATION accepts NIL as well as :MOST-SPECIFIC-FIRST and
149 :MOST-SPECIFIC-LAST. A value of NIL implies no particular ordering of the
150 methods, and so disables checks of multiple methods with the same
151 specializers in that group.
152 * bug fix: evaluate the :ORDER long-form-option in DEFINE-METHOD-COMBINATION
153 properly, avoiding an infinite loop in DEFINE-METHOD-COMBINATION if the
154 :ORDER argument leads to a cycle of compile-time constants.
155 * bug fix: better compile time on chains of conditionals which have gaps in
156 integer ranges. (lp#1992349, reported by Mykola Matvyeyev)
157 * bug fix: type derivation of VECTOR-LENGTH leading to wrong type handling
158 for MEMBER types involving vectors. (lp#2004094)
159 * bug fix: equality constraint propagation in the presence of constants
160 could cause code to be not deleted when it should have been. (lp#2006487)
161 * bug fix: better compile time when the compiler needs to perform checks to
162 see if fixnum or word computations result in overflow. (lp#2007741)
163 * bug fix: miscompilation on ARM64. (lp#2007758, reported by Stephen
165 * optimization: on x86-64, use SIMD instructions for UTF-8 buffer decoding;
166 * various type-driven optimizations:
167 ** comparisons of rationals with constant ratios or floats;
168 ** comparisons of unsigned-bytes with fixnums;
169 ** comparisons of fixnums with constant powers of two;
170 ** equality of numbers with integers too large to be exactly represented
172 ** arithmetic operations on a mixture of signed and unsigned word-sized
175 changes in sbcl-2.3.1 relative to sbcl-2.3.0:
176 * sb-graph has been removed. To visualize IR1 in sbcl, it is recommended to
177 use the function IR1-TO-DOT (which only survives the final tree shake if
178 the feature :sb-devel is enabled at build time).
180 ** implement some peephole optimizations on arm64;
181 ** support float traps on arm64;
182 * bug fix: package-manipulation operations within fasls work as expected in
183 the absence of explicit block compilation requests. (lp#2000004, reported
185 * bug fix: incorrect type simplification of certain CONS types.
186 (lp#1999352, reported by Paul Dietz)
187 * bug fix: method combination group selection interprets the symbol * as
188 a wildcard element within proper qualifier-pattern lists. (reported by
189 Maciej Katafiasz and by Daniel Kochmański)
190 * bug fix: &WHOLE can be used without error in define-method-combination
191 arguments lambda lists. (reported by Daniel Kochmański)
192 * bug fix: bogus debug variables generated for closure variables whose value
193 cell had not yet been allocated could cause segfaults and gc crashes
194 (reported by _death on #sbcl)
195 * bug fix: handling of float NaNs in two-arg numeric comparison functions is
196 more consistent with the required semantics in IEEE 754 when comparing
198 * bug fix: ensure that the hide-packages test passes even when the system
199 retains internal cross-reference metadata. (lp#2002896, reported by 3b)
200 * bug fix: don't trip an internal assertion in weak hash tables with
201 finalizers. (lp#1998064)
202 * optimization: load-time only code is no longer retained at runtime when
203 functions close over top level bindings.
204 * optimization: GO and RETURN-FROM now elide out-of-extent tag checks when
205 the compiler can prove it's safe even on high safety.
206 * optimization: addition of a fixnum to a bignum generates less garbage.
207 * optimization: in many cases, type inference and code generation is
208 improved for and around numerical comparison functions.
210 changes in sbcl-2.3.0 relative to sbcl-2.2.11:
211 * enhancement: support for SLOT-VALUE and friends has been extended to
212 structure and condition instances.
213 * enhancement: the error message for invalid array index conditions is clearer.
214 (lp#1999337, reported by Hadrien Lacour)
215 * minor incompatible change: COMPILED-FUNCTION-P now returns false for
217 * minor incompatible change: the compiler emit STYLE-WARNING conditions for
218 FIND and POSITION where the item sought can never be present in the
220 * optimization: support computing the remainder of a constant division by
222 * optimization: faster out of line float truncation routines.
223 * optimization: faster RATIONAL on 64-bit platforms.
224 * optimization: more compact testing of widetags on x86-64 and arm64.
225 * bug fix: type intersections of RATIONAL ranges with (NOT INTEGER) are
226 computed more consistently. (lp#1998008)
227 * bug fix: fix miscompilation of integer/fixnum comparisons where both
228 arguments are on the stack.
230 changes in sbcl-2.2.11 relative to sbcl-2.2.10:
232 ** arm64: allow the use of CLISP as a build host. (lp#1996942, reported
234 * enhancement: improvements to constraint propagation around comparison
236 * optimization: conditional move VOPs can work on boxed values and
237 produce less consing.
238 * optimization: NUNION and UNION are generally faster.
239 * bug fix: slot-makunbound-using-class can be redefined without redefining
240 the other slot methods. (lp#1956621, reported by Michał Herda)
241 * bug fix: GETHASH on a table created without ":synchronized t" when run
242 concurrently in multiple threads could have returned incorrect results.
243 * bug fix: build of contributed modules assumed that 'cat' was always
244 in /bin/cat on POSIX systems. (lp#1995224, reported by Kasper Gałkowski)
245 * bug fix: INSPECT on an (ARRAY NIL) no longer hangs. (lp#1995639, reported
247 * bug fix: Fix miscompilation of FILE-STRING-LENGTH when the first argument
248 has a known FILE-STREAM type. (lp#1995881)
250 changes in sbcl-2.2.10 relative to sbcl-2.2.9:
252 ** win32: improved handling of stack overflow exceptions. (lp#1302866)
253 ** Mac OS X: enforce stronger alignment when building the runtime.
254 (lp#1991485, reported by Yan)
255 ** arm64: support for building the system without the sb-unicode feature
256 (i.e. with 8-bit characters) is restored.
257 * bug fix: do not elide the GC store barrier in closures. (lp#1982608,
258 reported by Andrew Berkley)
259 * bug fix: make sb-introspect tests pass when the system is built without
260 support for source locations. (lp#1635349, reported by Tomas Hlavaty)
261 * bug fix: erroneous assumption that the format-control of a simple condition
262 was a string. (lp#1803727)
263 * bug fix: compiler consistency failure in modular arithmetic widening.
265 * bug fix: provide a stub for a helper function (lp#1992316)
267 changes in sbcl-2.2.9 relative to sbcl-2.2.8:
269 ** fix build on Darwin platforms with -fno-common. (lp#1980570, thanks to
271 ** include /usr/local paths when building on FreeBSD. (lp#1981112,
272 reported by William G Lederer)
273 ** several micro-optimizations on x86-64, including: better use of
274 INC/SUB, better SAP+, shorter KEYWORDP, better argument count
276 ** arm64: better KEYWORDP, better argument count verification
277 ** fix build on 32-bit Windows. (lp#1988534, thanks to Alexis Rivera)
278 ** x86-64: WITH-PINNED-OBJECTS can pin constants. (lp#1989037)
279 * bug fix: make sb-simd build in compiler-only SBCL. (thanks to Tonas
281 * bug fix: SB-SPROF:WITH-PROFILING now returns the value of its body (as was
282 advertised in its documentation).
283 * bug fix: catch malformed LET* forms in DEFMETHOD bodies. (lp#1988880,
284 reported by Patrick Poitras)
285 * enhancement: better source form tracking for atoms in LET bindings.
286 * optimization: reader character macro lookup is simpler and faster.
287 * optimization: FILL-POINTER (and its setter) are more compact.
289 changes in sbcl-2.2.8 relative to sbcl-2.2.7:
290 * minor incompatible change: support for 32-bit x86/Darwin has been removed.
291 * bug fix: fix miscompilation related to empty infinite loops preceded by
292 conditional expressions. (lp#1986810, reported by Artyom Bologov)
293 * bug fix: fix gc invariant violations. (lp#1983218, reported by Marius
294 Gerbershagen; lp#1983248, reported by Vasily Postnicov)
295 * bug fix: use CC to compile SBCL as a shared library. (lp#1976148,
296 reported by Pierre Neidhardt)
297 * bug fix: don't crash the system completely if RUN-PROGRAM fails to create
298 a pipe. (lp#1979841, reported by Thor Kristofferson)
299 * bug fix: be more disciplined about use of C system includes. (lp#1981799,
300 reported by Mark Evenson)
301 * bug fix: STRING/= returning wrong results for some cases when :END1/:END2
302 were not compile-time constants. (lp#1983284)
303 * bug fix: compile-time checking of :START and :END keyword arguments to
304 FILL is more complete.
305 * optimization: adjacent type tests on the same value are more compact
307 * optimization: the compiler can inline COPY-STRUCTURE in more cases.
308 * optimization: type checks for non-simple arrays are shorter.
309 * optimization: printing strings (as Lisp data) is faster.
311 changes in sbcl-2.2.7 relative to sbcl-2.2.6:
312 * minor incompatible change: the compiler emits full WARNINGs for undefined
313 references to variables in TYPE and DYNAMIC-EXTENT declarations, and for
314 SETQ of an undefined variable. (This was the historic behaviour for
315 everything except the DYNAMIC-EXTENT case, which used to emit a
316 STYLE-WARNING, but these diagnostics got lost in a refactoring since
318 * minor incompatible change: literal objects (strings, in particular)
319 in compiled code may at the discretion of the runtime be placed in
320 read-only memory. Violations of CLHS 3.7.1 could produce memory faults.
321 If ":PURIFY NIL" is given to SAVE-LISP-AND-DIE then no read-only memory
323 * enhancement: Unicode support has been updated to support version 10.0.0 of
324 the Unicode standard, including addition of characters and refinements to
325 breaking and collation algorithms.
326 * bug fix: AVX is no longer used for loading simd-pack-256 constants.
328 * bug fix: fix building the manual when some contribs are blocked or
329 otherwise disabled. (lp#1979821, thanks to Robert Schiele)
330 * bug fix: fix type derivation of sequence functions with highly-specific
331 declared argument types. (lp#1980292, reported by James Kalenius)
332 * bug fix: internal error when optimizing chains of conditionals in local
333 functions. (lp#1981607, reported by Pasha K)
334 * bug fix: fix comparison of negative floats with bignums.
335 * optimization: faster TRUNCATE with float arguments.
336 * optimization: EQUALP hashing of large floating point values should
337 generate less garbage.
339 changes in sbcl-2.2.6 relative to sbcl-2.2.5:
340 * minor incompatible change: support for 32-bit x86 on macOS has been
342 * new contrib: sb-simd, to provide a convenient interface for SIMD
343 programming on x86-64. (Thanks to Marco Heisig and other sb-simd
345 * enhancement: core compression now uses zstd instead of zlib. (lp#1881089)
346 * enhancement: provide compiler warnings for specialized array type
347 mismatches in CONCATENATE.
348 * enhancement: provide compiler warnings for bad sequence bounding index
349 designator arguments to sequence functions.
350 * enhancement: The sb-mpfr contrib now allows coercion from MPFR-FLOATs
351 to CL:RATIONAL. (Thanks to Robert Smith)
352 * bug fix: fix compilation failure related to declaiming types of constants.
353 (lp#1977726, reported by Pierre Neidhardt)
354 * bug fix: fix race condition in CLOS optimized constructors. (lp#1951341)
355 * bug fix: fix too-eager elision of allocation barriers when initializing
356 closure and structure objects.
357 * optimization: fasl files are now usually smaller (up to 10% on default
358 policy) and may load faster, especially on high debug.
359 * optimization: faster string comparisons on arm64, x86-64.
360 * optimization: faster [n]string-down/upcase on arm64, x86-64.
361 * optimization: faster [n]reverse for 8- and 32-bit element vectors on
363 * optimization: faster type tests for (CONS (EQL symbol)) on x86-64.
365 changes in sbcl-2.2.5 relative to sbcl-2.2.4:
366 * minor incompatible change: SB-EXT:*DERIVE-FUNCTION-TYPES* being NIL now
367 means that function calls will strictly only use type information from
368 proclaimed ftypes. The previous behavior (still the default) of using
369 derived type information from the same file is specified with :SAME-FILE.
371 * minor incompatible change: RENAME-FILE now overwrites the target file on
372 Windows too, making its behaviour consistent with other platforms.
373 * minor incompatible change: inlining of local function is inhibited if
376 ** single-stepping is now supported on 64-bit PowerPC platforms. (thanks
377 to Thomas Fitzsimmons)
378 ** the :SB-LINKABLE-RUNTIME feature is now supported on 32-bit and 64-bit
379 PowerPC platforms. (thanks to Thomas Fitzsimmons)
380 * optimization: improved type derivation of REDUCE with some known reducing
382 * enhancement: debug source locations now work correctly for top level forms
383 with policy DEBUG = 1, as well as for block compiled files.
384 * enhancement: TRACE now supports tracing macro functions, compiler-macro
385 functions, individual methods and local functions. See the user manual for
386 more details. (lp#375314)
387 * bug fix: fix integer comparisons on x86-64 and arm64 (lp#1971088, reported
388 by Guillaume LE VAILLANT)
389 * bug fix: coverage instrumentation behaves correctly with respect to
391 * bug fix: ftype proclamations now take effect immediately during block
393 * bug fix: block compilation of top-level closures now work. (lp#1931730,
394 reported by Sean Maher)
395 * bug fix: streams opened from RUN-PROGRAM but left unclosed because of a
396 non-local exit no longer cause unrelated streams to be closed later.
398 changes in sbcl-2.2.4 relative to sbcl-2.2.3:
399 * enhancement: better constraint propagation in the compiler. Specifically,
400 the compiler can now derive the type of X in control flow join situations
402 (LAMBDA (X) (ECASE (1 ...) (2 ...)) X)
404 (LAMBDA (X) (ETYPECASE (INTEGER ...) (SYMBOL ...)) X)
405 instead of forgetting all information about X after the E(TYPE)CASE.
406 * optimization: inlined functions enclosed in local macro definitions no
407 longer save their entire lexical environment, reducing unnecessary
409 * optimization: faster (< integer fixnum) comparisons (ARM64 and x86-64).
411 ** RUN-PROGRAM is faster on Linux and FreeBSD if close_range(2) is
413 * bug fix: block compilation now interacts more correctly with the creation
415 * bug fix: internal compiler error in array reference
416 optimizer. (lp#1966624)
418 changes in sbcl-2.2.3 relative to sbcl-2.2.2:
419 * minor incompatible change: SB-THREAD:MUTEX-OWNER may return :THREAD-DEAD
420 if the apparent owner either exited nearly instantly after releasing the
421 mutex (and is not now the owner), or died and never released it.
422 * minor incompatible change: building the system with the simple semi-space
423 copying collector is no longer supported.
424 * minor incompatible change: support for PPC/Darwin has been removed.
426 ** fix regressions in threads on RISC-V. (lp#1962598)
427 ** threads are now enabled by default on RISC-V.
428 ** The generational garbage collector is now supported on MIPS.
429 * optimization: fasls containing standard object literals are now smaller
430 and load more efficiently.
431 * optimization: faster arithmetic (*-+) on word-sized integers when the
432 result is not known to fit into a word (ARM64 and x86-64).
433 * bug fix: EQness of constants is now always preserved when block compiling.
435 changes in sbcl-2.2.2 relative to sbcl-2.2.1:
437 ** all architectures now share the coverage mark instrumentation
438 implementation, meaning that performance now equals what had been
439 implemented only on x86 architectures.
440 ** fixed a performance regression on x86-64 from changes in AVX2 register
441 handling. (lp#1960081, reported by Michael Kappert)
442 ** fixed a garbage collection bug on ppc64 manifesting in occasional
443 corruption on threaded programs. (lp#1959338, lp#1952973)
444 ** micro-optimizations in type tests for (SIGNED-BYTE 64).
445 * enhancement: improved handling of source locations for some classes
446 of compile time and runtime errors.
447 * enhancement: better source locations for structure accessors.
448 * bug fix: SB-COVER now always instruments top level forms correctly.
449 * bug fix: muffling conditions now works correctly on higher debug settings.
450 * bug fix: local muffling declarations now scope correctly with respect to
451 undefined variable warnings.
452 * optimization: calls to STRING= can now return NIL more quickly on strings
455 changes in sbcl-2.2.1 relative to sbcl-2.2.0:
456 * incompatible change: DEFINE-ALIEN-CALLBACK, which has never been exported
457 from a public package, has been deleted. It is superseded by
458 SB-ALIEN:DEFINE-ALIEN-CALLABLE.
459 * minor incompatible change: compiler warnings are emitted on more
460 provably-erroneous code involving sequence functions on specialized
463 ** support getting thread IDs on FreeBSD. (thanks to Felix Lange)
464 ** faster function call sequence on arm64.
465 ** the built-in buffer size for file streams is increased to 8KB.
466 * enhancement: provide a restart for method lambda list mismatches that
467 fmakunbounds the generic function.
468 * enhancement: provide a USE-VALUE restart around type errors signalled from
470 * enhancement: when UPDATE-INSTANCE-FOR-DIFFERENT-CLASS (or -REDEFINED-)
471 undergoes a non-local exit, restore the instance to its original state.
472 (thanks to Michał phoe Herda)
473 * enhancement: the :SYNCHRONIZED keyword argument to MAKE-HASH-TABLE is no
475 * bug fix: fix an erroneous compiler tranform for (EXPT SINGLE-FLOAT
476 INTEGER). (lp#1958061, thanks to Vasily Postnicov)
477 * bug fix: disassembly of closures is more likely to show the relevant code
478 if more than one closure closes over the same environment. (lp#1956870,
479 reported by Michał phoe Herda)
480 * bug fix: RUN-PROGRAM with :IF-EXISTS :APPEND no longer signals an error if
481 the output does not exist. (lp#1958569, thanks to Ingo Krabbe)
482 * optimization: reorder basic blocks to have loop code fall through more
483 often. (thanks to Hayley Patton)
484 * optimization: sequences larger than the buffer size are written to streams
485 without going through a buffering stage. (reported by Philipp Marek)
487 changes in sbcl-2.2.0 relative to sbcl-2.1.11:
489 ** support for FreeBSD on 64-bit arm platforms has been added.
490 ** the :SB-LINKABLE-RUNTIME build-time feature is now supported on 32-bit
491 and 64-bit arm platforms, and on the FreeBSD operating system.
492 ** bug fix: correct encoding for vmovsd. (lp#1953483, reported by Marco
494 ** bug fix: support ABIv1 callbacks on big-endian ppc64. (lp#1900343,
495 thanks to Thomas Fitzsimmons)
496 ** bug fix: don't misuse mprotect() in dynamic space on Windows.
497 (lp#1955723, reported by 3b)
498 * enhancement: catch type mismatches for REPLACE, SUBSTITUTE, MAKE-ARRAY
499 with :INITIAL-CONTENTS.
500 * optimization: printing symbols is around 10% faster than previously.
501 * bug fix: don't use the current type of non-returning functions when
502 redefining them in another file. (lp#1953214, reported by Nicolas Hafner)
503 * bug fix: eliminate stack cleanups more conservatively. (lp#1954330,
504 reported by Daniel Kochmański)
505 * bug fix: check consistently in tests for the existence of VOPs.
506 (lp#1952896, reported by Sébastien Villemot)
508 changes in sbcl-2.1.11 relative to sbcl-2.1.10:
509 * minor incompatible change: *COMPILE-PRINT* now defaults to NIL. T gives
510 the old behavior of echoing top level forms. Users who want to see a
511 report of the phases of compilation can use *COMPILE-PROGRESS* and the
512 corresponding COMPILE-FILE :PROGRESS argument.
513 * optimization: The compiler assignment-converts functions much more
514 aggressively; local or non-entry block-compiled functions
515 which always return to the same place are automatically converted into the
516 equivalent loop or goto control structures.
517 * enhancement: on x86-64 and ppc64 platforms, the system uses inline
518 instructions rather than page protection to implement a store barrier for
519 the garbage collector.
520 * enhancement: improved reporting of code deletion notes.
522 ** unbound-variable restarts for amd64 are now supported.
523 ** bug fix: single-floats to foreign functions on 32-bit ARMel.
524 (lp#1950080, reported by Sebastien Villemot)
525 ** bug fix: opening files with names containing non-ASCII characters on
526 Windows works better. (reported by Nikolay)
527 ** bug fix: use fp_xsave to access the floating point flags and control
528 word in Haiku signal contexts. (Thanks to Al Hoang)
529 ** bug fix: complex single-float support on riscv64.
530 ** optimization: support for accessing elements of &rest args directly on
532 ** optimization: parse a /proc file rather than executing uname for
533 SOFTWARE-VERSION on Linux
534 * bug fix: fix crash from SB-COVER:RESET-COVERAGE. (lp#1950059, reported by
537 changes in sbcl-2.1.10 relative to sbcl-2.1.9:
538 * incompatible change: simd-pack without a specific element-type is no
539 longer treated as containing integers. A type must be supplied for VOPs to
541 * minor incompatible change: the list form of the FUNCTION type specifier
542 does not allow * as any argument type, but does allow * as a placeholder
543 for wholly unspecified arguments when specifying the value(s) type.
544 * minor incompatible change: the default (Lisp) toplevel option parser
545 throws an error if it encounters an option which was intended to be used
546 and removed by the C runtime. (lp#1945081, reported by Luke Gorrie)
547 * new feature: there is now a defined interface for defining foreign
548 callable functions, which can be used for passing callbacks to foreign
549 functions or for calling Lisp code from the foreign world as a shared
550 library (preliminary support). See the revised manual section "Calling
551 into Lisp From C" for more details.
552 * enhancement: arg-count mismatches in self-calls in defmethod are reported.
553 (lp#1912436, reported by 3b)
554 * enhancement: the SB-CLTL2 contrib now returns type information for
555 generated structure accessors. (lp#1934859, reported by SATO shinichi)
556 * optimization: code generation is improved for modular arithmetic involving
559 ** x86-64 machine code emitter crash when attempting to assemble some
560 vector instructions. (lp#1945975, thanks to Marco Heisig)
561 ** conditional move instructions are now supported on arm64.
562 ** a number of new peephole optimizations have been implemented on arm64.
563 ** arm64 on Darwin now uses gcc-compatible thread-local storage.
564 * bug fix: compiler notes are no longer emitted when compiling FORMATTER
565 forms, including when implicitly triggered on a constant string argument
566 to FORMAT. (lp#1946246, reported by SATO shinichi)
567 * bug fix: a compiler error when attempting to compile a call to AREF with
568 too many dimensions. (lp#1902985)
569 * bug fix: harmonize the behaviour of SLOT-BOUNDP on non-standard-objects
570 between the various ways in which it can be called. (lp#732229, reported
572 * bug fix: FTRUNCATE and similar functions are now more careful about
573 deriving facts about the sign of zero they might return. (lp#1732009,
574 reported by Paul Dietz)
576 changes in sbcl-2.1.9 relative to sbcl-2.1.8:
577 * minor incompatible change: the experimental DEFCAS macro has been removed.
578 * minor incompatible change: finalizing classes with slots with duplicate
579 symbol-names will only emit a warning if either slot name is an exported
582 ** the debugger is better able to display SIMD packs. (thanks to Marco
584 ** fix a bug in zeroing YMM registers. (thanks to Marco Heisig)
585 ** fix instruction definitions for SSE blend and shuffle vector
586 instructions. (thanks to Marco Heisig)
587 ** handle heap corruption exceptions in our exception handler on win64.
588 ** improve WAIT-UNTIL-FD-USABLE on Windows, reducing busy-looping.
589 (thanks to Fabio Almeida)
590 * bug fix: EQUALP hash tables whose keys contain arrays containing floats should
591 behave correctly. (lp#1942424, reported by Nicolas Neuss)
593 changes in sbcl-2.1.8 relative to sbcl-2.1.7:
594 * minor incompatible change: the experimental DEFINE-CAS-EXPANDER macro has
596 * minor incompatible change: the hooks in *INIT-HOOKS* are called before
597 starting the finalizer or other non-user threads. (thanks to Sean Whitton)
599 ** many improvements to code generation on arm64.
600 ** avoid slow forms of the bit test instructions BT, BTS, BTR on x86-64.
601 ** fix a bug in loading large core files on the Apple M1/arm64. (thanks
603 ** fix a bug in loading core loading on the Apple M1/arm64. (reported by
605 * enhancement: the block-compiler is more robust to files with intermingled
606 compile-time and load-time effects. The semantics of the block-compiler
607 remain not-entirely ANSI compatible. (thanks to Sean Maher)
608 * enhancement: (CAS SAP-REF-<x>) and CAS on alien integers is implemented on
609 ppc64 and x86-64, working towards fixing lp#1894057
610 * bug fix: fix OPEN-STREAM-P on streams closed by saving a core.
611 (lp#1938433, reported by Guillaume LE VAILLANT)
612 * bug fix: remove a spurious warning from COERCE. (lp#1920931, reported by
614 * bug fix: remove a warning from inlining SET-EXCLUSIVE-OR. (lp#1936470,
615 reported by Jerome Abela)
617 changes in sbcl-2.1.7 relative to sbcl-2.1.6:
618 * incompatible change: on certain platforms (currently just x86-64),
619 dynamic-extent arrays specialized on character and numeric types and
620 created without either :INITIAL-ELEMENT or :INITIAL-CONTENTS will reflect
621 previous contents of the stack instead of #\null (or 0) in all elements.
622 * minor incompatible change: SB-SPROF:START-PROFILING no longer silently
623 does nothing if the clock is already running. It instead stop and restarts
624 with the newly provided options, and warns.
625 * minor incompatible change: the system attempts to refer to the supplied
626 pathname in compiler diagnostics, if relevant, rather than the truename.
627 * enhancement: new contrib module sb-graph producing graphical
628 visualizations of Intermediate Representations of SBCL compilation data
631 ** improved code generation for unary minus in modular contexts on arm64.
632 ** make the disassembler annotations slightly more robust on arm64.
633 ** release space back to the Operating System on Windows.
634 ** improve the test for whether pages need to be committed on Windows.
635 * optimization: the type of (LOOP ... COLLECT ...), and the type of COLLECT
636 INTO variables, is derived as LIST. (lp#1934577, reported by SATO
639 changes in sbcl-2.1.6 relative to sbcl-2.1.5:
640 * minor incompatible change: COMPILE-FILE does not merge the input file's
641 pathname-directory into the output path if :OUTPUT-FILE was specified
642 and has a directory that is not :UNSPECIFIC.
644 ** improvements to unwind code generation on arm64.
645 ** on x86-64, accept three operands for vshufpd. (reported by Bela
647 ** on x86-64, improvements to use of popcount
648 ** improve exception handling on 64-bit Windows. (thanks to Luis Borges
650 * bug fix: allow use of macros with improper argument list. (lp#1929623,
651 thanks to Sean Maher)
652 * bug fix: COERCE no longer attempts to guess what the user meant if they
653 provide a type specifier of a union of types other than STRING.
655 * bug fix: print a single trailing zero after the decimal point for FORMAT
656 ~E if there are no digits remaining to be printed and the width allows it.
659 changes in sbcl-2.1.5 relative to sbcl-2.1.4:
660 * minor incompatible change: on x86-64, the backend instruction encoders for
661 movzx and for string opcodes have changed their semantics.
663 ** compatibility: support the latest MinGW on x86. (lp#1923325, thanks to
665 ** bug fix: on x86-64, fix instruction encoding for TEST on RIP-relative
666 addresses. (lp#1925808, reported by Shinmera on #sbcl, thanks also to
668 ** bug fix: on x86-64, loading all-1s into an AVX2 register no longer
669 causes an error. (lp#1928516, thanks to Marco Heisig)
670 ** bug fix: on arm64, improve disassembly of ADD with constant 0 as MOV
671 ** enhancement: on arm64, support debugger commands RETURN-FROM-FRAME and
672 RESTART-FRAME more efficiently.
673 ** enhancement: on x86-64, add support for vshuf* AVX2 instructions.
674 (reported by Bela Pecsek)
675 ** optimization: faster function calls on arm64.
676 ** optimization: (SETF SBIT) is faster on x86-64.
677 * bug fix: INTEGER-DECODE-FLOAT was computing the wrong answer for denormal
678 double floats. (lp#1926383, reported by Stavros Macrakis)
679 * bug fix: RANDOM on a floating point argument now does not cons. (reported
681 * bug fix: fix a compiler crash in type derivation of LOGTEST. (lp#1928243)
682 * bug fix: fix a compiler failure when a declared function type contains a
683 literal structure with a valid MAKE-LOAD-FORM method. (lp#1929160, thanks
685 * optimization: FBOUNDP on a constant symbol is now faster.
686 * optimization: file compilation now produces smaller fasls for files which
687 reference package literals.
688 * optimization: derive the type of calls to FLOAT-SIGN.
690 changes in sbcl-2.1.4 relative to sbcl-2.1.3:
692 ** work around address-space randomization causing instability on new
693 versions of MinGW. (lp#1921141)
694 * bug fix: RANDOM on floats returns values strictly less than the float
696 * bug fix: compiler error on x86-64 resulting from attempting to zero a
697 memory location with xor. (reported by Eric Marsden)
698 * optimization: extended loops updating iteration variables with THEN can
699 perform specialized arithmetic for those updates.
700 * optimization: in some cases, the jump table resulting from a compilation
701 of TYPECASE is simpler.
702 * optimization: on x86-64, IF BOUNDP followed by SYMBOL-VALUE can elide some
703 memory loads and tests.
705 changes in sbcl-2.1.3 relative to sbcl-2.1.2:
706 * minor incompatible change: support for the :SB-SAFEPOINT-STRICTLY,
707 :SB-THRUPTION, and :SB-WTIMER build features has been removed
709 ** support for :SB-CORE-COMPRESSION on Darwin/ARM64
710 ** support ARM v8.1 atomic and compare-and-swap instructions
711 ** x86, x86-64: microoptimizations in multiple type-checking routines
712 * bug fix: structures and conditions are now TYPEP all classes in the class
713 precedence list of their class. (reported by Luis Oliveira)
714 * bug fix: derivation of the result type from subtraction sometimes
715 erroneously excluded zero. (lp#1916895)
716 * bug fix: reduce the number of places where the system permissively accepts
717 the symbol * as a type specifier where it should not be accepted.
719 * bug fix: the code-walker used by the system's implementation of CLOS can
720 handle defuns declared inline. (reported by Don Cohen)
721 * optimization: EQUALP on specialized vectors and arrays is faster.
722 * optimization: support routines for EQUALP hash tables generate less garbage.
724 changes in sbcl-2.1.2 relative to sbcl-2.1.1:
726 ** support for ARM64 macOS;
727 ** improvement in coverage mark implementation on non-x86oid backends,
728 approaching the existing x86oid support;
729 ** more empirically-robust retrieval of the program counter from illegal
730 instruction traps on SPARC;
731 ** retain fewer dead objects when saving cores with precise collectors.
732 * incompatible change: MAP-ALL-SAMPLES and MAP-TRACE-SAMPLES
733 are no longer present in the SB-SPROF contrib module.
734 * minor incompatible change: SB-SPROF:WITH-PROFILING defaults to all
735 threads. SB-SPROF:START-PROFILING no longer accepts a :SAMPLING keyword.
736 * enhancement: the sb-introspect contrib now supports finding the lambda
737 lists of method combinations. (thanks to Didier Verna)
738 * enhancement: short-form DEFSETF now stores a source-location.
739 * bug fix: canonical unions of CONS types were being incorrectly computed.
740 (lp#1912863, reported by James Kalenius)
741 * bug fix: better understanding of array simplicity (or otherwise) in the
742 type system. (lp#1903241)
743 * bug fix: unions of rational and integer types now have a single canonical
744 form, allowing more correct reasoning about them in the type system.
745 * bug fix: less likely to overclaim certainty about type equality of union
747 * bug fix: HANDLER-BIND evaluates the forms producing handler functions only
748 once. (lp#1916302, reported by Christophe Junke)
749 * optimization: FIND on constant sequences can be compiled into a jump
750 table, in a similar manner to POSITION
751 * optimization: the compiler's awareness of numeric contagion rules for
752 operations on pairs of floating point numbers is improved. (lp#1914094,
753 thanks to Andrew Berkley)
755 changes in sbcl-2.1.1 relative to sbcl-2.1.0:
757 ** restore non-threaded NetBSD builds;
758 ** adjust how the finalizer thread is started; (lp#1906571, lp#1907872)
759 ** fix the encoding of PEXTR on x86-64;
760 * minor incompatible change: emit warnings for list iteration forms when the
761 object being iterated over is known not to be a list. (lp#1908819,
762 reported by Michael Fiano)
763 * bug fix: detect 2 or 1 as an invalid number of arguments passed to
764 optimized slot reading or writing effective method respectively.
765 (lp#1909659, reported by Michal Herda)
766 * bug fix: division by zero errors were in some cases not being signalled.
767 (lp#1910098, reported by il71)
768 * bug fix: erroneous coercions in the type system could lose precision.
770 * bug fix: literal (read-time evaluated) NaNs in source code no longer cause
771 compiler crashes. (lp#1909881, reported by Michal Herda)
772 * bug fix: detect more erroneous syntax in method bodies. (lp#1912362,
773 reported by Paul M. Rodriguez)
774 * optimization: the compiler's understanding of EXPT is improved, reducing
775 the introduction of COMPLEX types. (lp#1908830, reported by Michael Fiano)
776 * optimization: the compiler is better at computing numeric contagion when
777 (COMPLEX FLOAT) types are involved.
778 * micro-optimizations:
779 ** moving from slightly-bigger-than-fixnum ranges is more efficient on x86-64;
780 ** encode character comparisons with smaller operands on x86-64;
781 ** truncating (and related operations) on floats can be inlined in more
782 cases on 64-bit platforms;
783 ** rounding can use specialized instructions on ARM64 and on x86-64 when
786 changes in sbcl-2.1.0 relative to sbcl-2.0.11:
787 * minor incompatible change: the MAKE-EA internal function, used in the
788 assembler, has been removed (affecting some libraries defining their own
790 * new feature: SB-EXT:PRIMITIVE-OBJECT-SIZE can be used to interrogate the
791 low-level size in memory of objects. (lp#1636910, reported by anquegi)
793 ** pass required -std argument to the compiler on Solaris (lp#1885751,
795 ** better treatment of non-ASCII program arguments on Windows (lp#1907970,
796 reported by Timofei Shatrov)
797 ** implement the improved TYPEP with structure types on all other
798 supported platforms (32-bit PowerPC, ARM, ARM64, MIPS, SPARC, RISC-V)
799 * enhancement: stream dispatch (to vanilla ANSI / Gray / Simple variants) has
800 been rewritten and optimized, fixing a number of bugs including:
801 ** performance of WRITE-SEQUENCE on composite streams (lp#309136)
802 ** handling of CLOSE on SYNONYM-STREAM (lp#1904257, reported by Richard M
804 ** handling of CLOSE on BROADCAST-STREAM with no components (lp#1904722,
805 reported by Richard M Kreuter)
806 ** loading SB-SIMPLE-STREAMS breaks functionality of other stream classes
808 ** some excessive consing in READ-LINE
809 * enhancements related to RUN-PROGRAM:
810 ** improved the documentation related to the ARGS argument (lp#806733,
812 ** added a PRESERVE-FDS argument
813 * bug fix: ensure that TYPE-OF returns something even on internal instances,
814 which may become visible in the debugger. (lp#1908261, reported by
816 * bug fix: iteration variables established by standard forms should always
817 be considered used by the compiler. (lp#719585, reported by Roman
819 * bug fix: don't allow compiler transformations to weaken the requirement
820 against extended (list-form) function names in FUNCALL and related
821 operators. (lp#310069)
822 * bug fix: improve automated version number generation in branches.
823 (lp#897867, thanks to Martin Cracauer)
824 * bug fix: add possibly-spurious futex wakes when unwinding from a call to
825 futex-wait, to avoid deadlocks from interrupted waits. (lp#1038034)
826 * bug fixes in the compiler:
827 ** error on malformed DESTRUCTURING-BIND (lp#1738638)
828 ** error on malformed SPECIAL declaration (lp#1740756)
829 ** error from use of VALUES type in COERCE (lp#1887712)
830 ** enforcement of FTYPE types involving &OPTIONAL (lp#1903932)
831 ** checking for proper-list-ness before applying transforms (lp#1905512)
832 ** compilation of LAMBDA form including a malformed DEFUN (lp#1906056)
833 ** memory fault from VALUES-related handling in high DEBUG code
835 ** transforms handle explicit NIL arguments in :END arguments to SEARCH
837 * bug fix: return COMPILED-FUNCTION for TYPE-OF on compiled functions.
839 * some bugs were also closed in this release cycle as obsolete, having been
840 fixed by the passage of time or other change in the environment:
841 ** floating point error reporting on OS X (lp#309454)
842 ** load-shared-library not working from non-main threads on OS X (lp#592425)
843 * optimization: CONSTANTLY on constant arguments returns a more efficient
844 function. (lp#1852585)
845 * optimization: perform fewer Lisp/Alien representation conversions in
847 * optimization: perform fewer redundant widetag tests when doing type tests
848 of complicated union types.
849 * optimization: signed-integer division on machine-word sized operands is
850 now implemented using multiplication, affecting TRUNCATE, FLOOR, CEILING,
851 MOD and REM. (This optimization was already performed on unsigned-integer
854 changes in sbcl-2.0.11 relative to sbcl-2.0.10:
855 * minor incompatible change: (ARRAY NIL (*)) is not a subtype of STRING,
856 as is consistent with a majority of maintained CL implementations.
857 * minor incompatible change: ARRAY-RANK-LIMIT is decreased from 65529 to 256
858 * optimization: TYPEP on structure types is faster and more compact on
860 * optimization: LOGCOUNT is faster on arm64.
861 * optimization: SIGNUM can be inlined if its argument type is known.
863 * bug fix: compiler crash in tail call handling. (lp#1903938)
864 * bug fix: crash in traceroot. (lp#1903419, reported by Michal Herda)
865 * bug fix: DESCRIBE called with a string as second argument no longer mutates
866 that string. (lp#1903901, reported by Michal Herda)
867 * bug fix: stack clobbering by 256-bit SIMD packs on x86-64. (lp#1901685,
868 reported by Marco Heisig)
870 changes in sbcl-2.0.10 relative to sbcl-2.0.9:
871 * minor incompatible change: the funarg given to SB-SPROF:MAP-TRACES
872 does not receive a wallclock time with each trace.
873 * minor incompatible change: INTERNAL-TIME-UNITS-PER-SECOND has been
874 increased to 10^6 on 64-bit architectures.
875 * minor incompatible change: SIGPIPE is ignored by default again. (lp#1897624)
876 * minor incompatible change: the system code compiled under the
877 :LINKAGE-TABLE feature is now unconditionally compiled in, and the
878 corresponding entry in *FEATURES* has been removed.
879 * enhancement: style-warnings are issued for variables which have an
880 assignment but no "for-value reference" (per CLHS glossary entry)
881 * bug fix: SB-CLTL2:MACROEXPAND-ALL did not expand MULTIPLE-VALUE-BIND
882 and MULTIPLE-VALUE-SETQ
883 * bug fix: CPUID-based feature detection had an index/mask confusion
885 * bug fix: fix a deadlock on Windows (lp#1896802)
886 * bug fix: eliminate type errors when wall clocks go back (lp#1028026,
888 * bug fix: fix EOF handling in read-char-no-hang on concatenenated streams
889 (lp#690408, reported by Willem Broekema)
890 * bug fix: fix MAP-INTO on extended sequences (lp#1855375, thanks to James
892 * bug fix: SB-GMP can now raise -1, 0 and 1 to the power of a bignum.
893 (thanks to Aaron Chen)
894 * bug fixes in tests:
895 ** add a C function declaration (lp#1897627, thanks to Bob Felts)
896 ** parse vmmap output more liberally (lp#1897722, reported by Bob Felts)
898 changes in sbcl-2.0.9 relative to sbcl-2.0.8:
899 * incompatible change: HPPA and DEC Alpha architecture
900 support has been removed.
901 * minor incompatible change: the compiler signals a warning at
902 compile-time when an initform of T, NIL or 0 does not match a
903 STANDARD-CLASS slot's declared type.
904 * minor incompatible change: the runtime no longer uses SIGPIPE internally,
905 so the signal is deliverable to user code as is customary. Ignoring the
906 signal - in lieu of the OS default of process termination - is obtainable
907 via (SB-SYS:ENABLE-INTERRUPT SB-UNIX:SIGPIPE :IGNORE).
909 ** a number of obsolete portability layers (particularly on the Windows
910 platform) have been removed in favour of direct calling of the native
912 ** RUN-PROGRAM now accepts a :WINDOW argument to control whether a
913 subprocess window should be displayed. (Thanks to Luis Borges de
915 ** the use of futexes implied by :SB-FUTEX is now implemented on FreeBSD.
916 * bug fix: SB-SPROF can distinguish between SBCL-internal assembly routines.
917 * bug fix: SB-SPROF has better output in its reports for anonymous
919 * optimization: CALL-NEXT-METHOD with supplied arguments in required
920 positions is now faster if the supplied arguments are EQL to the original
923 changes in sbcl-2.0.8 relative to sbcl-2.0.7:
925 ** added support for NetBSD/ARM64;
926 ** threads on Linux now have OS-visible names;
927 ** removed unnecessary emulation of pthread functions on Windows;
928 ** work around a sigwait() bug on Mac OS X;
929 ** allow safepoint build on Mac OS X, though it probably doesn't
930 work very well (reported by Chris Wagner, lp#1382811)
931 ** removed stub support for HPUX.
932 * optimization: SB-THREAD:MAKE-THREAD is faster on most platforms.
933 * optimization: faster RATIONAL when the result is a RATIO.
934 * optimization: improved cross-type comparisons (float/ratio/bignum).
935 * bug fix: EQUALP on pathnames was wrong
936 * bug fixes: fix compiler issues in:
937 ** COUNT (lp#1889391)
938 ** VECTOR-LENGTH (lp#1888919)
939 ** constant-folding (lp#1888384)
940 ** FIND and POSITION (lp#1887316)
942 changes in sbcl-2.0.7 relative to sbcl-2.0.6:
943 * minor incompatible change: SB-THREAD:THREAD-OS-TID returns NIL for
944 a thread which has exited.
945 * minor incompatible change: OPEN no longer calls TRUENAME implicitly
946 on a string filespec prior to issuing an open() system call.
947 * minor incompatible change: PATHNAME is no longer a STRUCTURE-OBJECT.
948 * documentation: HASH-FUNCTION is a function designator. (lp#1888028,
949 reported by Jacek Zlydach)
950 * bug fix: eliminated a potential garbage-collector deadlock
951 when linking with TCMalloc.
952 * bug fix: foreign threads (those not made by SB-THREAD:MAKE-THREAD)
953 can not crash with a "GC_PENDING, but why?" error when returning
954 back from Lisp into the foreign caller.
955 * bug fix: sb-fasteval crashed trying to install a JIT-compiled
956 DEFSTRUCT accessor in a locked package.
957 * bug fix: removed misuse of putwc() which caused stdio streams
959 * bug fix: the "maximum interrupt nesting depth exceeded" error
960 generated in the C runtime is significantly less likely to occur.
961 * bug fix: sb-sprof should no longer segfault from calling pthread_kill()
962 on a nonexistent thread.
963 * bug fix: a portability issue arising from various build hosts
964 (lp#1886255, reported by Pierre Neidhardt)
965 * bug fix: spurious compiler warnings from REDUCE with :INITIAL-VALUE.
966 (lp#1885515, reported by Michael South)
967 * bug fix: an inconsistency between class hierarchies and the type system
968 under some circumstances involving redefinition. (lp#1886397, reported by
970 * bug fix: the USE-VALUE restart for OPEN on non-existent files is more
971 likely to function as expected. (lp#1886587)
972 * bug fix: various invalid inputs to ROTATE-BYTE no longer cause compiler
973 errors. (lp#1887164, lp#1888152)
974 * optimization: PPC64 on linux uses the __thread annotation on C variables
975 in preference to pthread_setspecific() and pthread_getspecific().
977 changes in sbcl-2.0.6 relative to sbcl-2.0.5:
978 * planned incompatible change: the defined symbols in the Metaobject
979 Protocol, currently accessible from both SB-MOP and SB-PCL packages, will
980 in a later release be no longer exported from SB-PCL.
982 ** better support for dynamic-extent on the SPARC architecture.
983 ** bug fix for loading very large core files.
984 ** bug fix for logior and logxor on PPC64.
985 * enhancement: EQUALP on structure instances uses code specialized
986 to each structure type, inlining comparison of non-pointer slots.
987 * enhancement: some standard operators, such as WITH-OUTPUT-TO-STRING and
988 CHANGE-CLASS, have been adapted to use dynamic-extent temporary objects,
989 and so cons less garbage on the heap.
990 * enhancement: read tables are more space- and speed efficient
991 * bug fix: stream conditions with dynamic-extent streams have the stream
992 replaced by a stub. (reported by Matt Kaufmann)
993 * bug fix: garbage collections triggered from foreign callbacks crashed.
994 (lp#1884403, reported by Andrew Kent)
995 * bug fix: compiler failure in compiling MAKE-LIST. (lp#1881349)
996 * bug fix: using the debugger from frames with calls to functions with
997 unsupplied optional arguments is less likely to cause heap corruption.
1000 changes in sbcl-2.0.5 relative to sbcl-2.0.4:
1002 ** experimental support for ARM32 and ARM64 on OpenBSD
1003 ** better musl libc support. (lp#1768368, thanks to Eric Timmons)
1004 ** more correct use of futexes on 64-bit Linux. (lp#1876825, reported by
1006 ** restore building on current Solaris. (lp#1881393, thanks to Shawn
1008 * enhancement: CMUCL-style START-BLOCK and END-BLOCK declarations are now
1009 supported for block compiling forms at a sub-file granularity.
1010 * enhancement: IPv6 support in sb-bsd-sockets is enabled on Windows.
1011 * minor change: *compile-print* now makes it more clear what block
1012 compilation is actually doing. The default output is now slightly more
1013 verbose as a result.
1014 * bug fix: number keys in EQUALP hash tables are correctly hashed.
1015 (lp#1878653, reported by Syll)
1016 * bug fix: EQness is better preserved given partial sharing of list contents
1017 in the file compiler. (lp#1583753, reported by Denis Budyak)
1018 * bug fix: the peephole pass neglected to preserve jump table labels.
1020 * bug fix: fix compiler crash in block compilation merging of toplevel
1021 lambdas. (lp#1865336, reported by il71)
1022 * bug fix: sb-introspect's function-lambda-arglist is better at extracting
1023 default values of nested macro arguments. (lp#1876194)
1024 * bug fix: RESTART-BIND's body is an implicit progn, and so does not accept
1025 declarations. (lp#1876303, reported by Michal Herda)
1026 * optimization: EQUAL hash tables with keys involving structure-objects will
1027 have fewer systematic collisions.
1029 changes in sbcl-2.0.4 relative to sbcl-2.0.3:
1031 ** 32-bit RISC-V is now fully supported. Unlike other ports, its backend
1032 is entirely shared with 64-bit RISC-V.
1033 ** native threads are now supported on RISC-V.
1034 ** fix and add some x86-64 vector instructions. (reported by Shubhamkar
1036 ** improve pointer representation on ppc64 for low-level performance
1038 ** threads are more stable on big-endian ppc64
1039 * enhancement: forward-referenced type tests can now be open-coded by using
1040 block compilation. The result is that mutually referential defstructs are
1041 now efficiently compiled in block compilation mode, superseding a lighter
1042 mechanism that worked in fewer contexts. However, that lighter mechanism
1043 has been removed, so for now, users who want to efficiently compile
1044 mutually referential defstructs must explicitly opt-in using block
1046 * bug fix: defstructs with empty initforms in the sbcl source are now
1047 explicitly intiialized with NIL, as that is undefined behavior under
1048 ANSI. This helps cross compilation hosts which do not implicitly
1049 initialize empty initform slots to NIL. (Thanks to Karsten Poeck)
1050 * bug fix: backtracing through assembly routines now works properly on
1052 * bug fix: ASH no longer gets miscompiled in certain edge cases on RISC-V.
1053 * bug fix: &MORE args have been slightly optimized and are more correct on
1055 * bug fix: unused local functions with &REST/&KEY/&OPTIONAL now also issue a
1057 * bug fix: APPLY on a large list ("large" being in excess of 2k to 16k items
1058 depending on the platform) can no longer crash the gencgc collector.
1059 * bug fix: sb-concurrency FRLOCK algorithm has been corrected. (lp#1087955)
1060 * bug fix: block compilation now respects inlining declarations better (like
1062 * optimization: hashing of structures with raw slots for EQUALP hash tables
1065 changes in sbcl-2.0.3 relative to sbcl-2.0.2:
1066 * incompatible change: the external format now defaults to UTF-8 and is not
1067 affected by LANG. SB-EXT:*DEFAULT-EXTERNAL-FORMAT* is now the only way to
1069 * minor incompatible change: the undocumented :EPHEMERAL argument to
1070 MAKE-THREAD has been removed.
1071 * minor incompatible change: DECLARE type testing of structure types when
1072 the SAFETY optimization quality is less than SPEED (but greater than 0) is
1073 precise, rather than merely testing that an object is a (general)
1076 ** respect sunos platform assembler flag handling
1077 ** riscv architecture can be detected during the build
1078 ** enabled the sb-dynamic-core feature on riscv, sparc, and made it
1079 unconditional everywhere
1080 ** cheneygc is an option for arm and arm64
1081 * enhancement: the installed sbcl executable tree can be renamed or moved
1082 without risk of incorrectly referencing a '.core' file from an obsolete
1084 * optimization: transform (values-list (list one-item)) to (values one-item)
1085 as multiple items were already recognized.
1087 changes in sbcl-2.0.2 relative to sbcl-2.0.1:
1088 * new feature: CMUCL-style block compilation support has been added,
1089 allowing whole program optimization. It has been documented in a new
1090 section of the manual entitled "Advanced Compiler Use and Efficiency
1091 Hints". In particular, users of block compilation will find a large
1092 speedup for numerical code, as functions which call or return floating
1093 point values will keep everything unboxed.
1094 * bug fix: in CHANGE-CLASS, handle non-standard slot-value-using-class for
1095 :INSTANCE and :CLASS slots better. (reported by Shinmera on #sbcl)
1096 * bug fix: REMHASH in an EQUAL or EQUALP hash-table works correctly on a
1097 key for which EQUAL (respectively EQUALP) is reduced to EQ. (lp#1865094)
1098 * bug fix: do not emit a warning for DEFCLASS slots with mismatched :TYPE
1099 and :INITFORM when the class has a non-standard metaclass.
1100 * bug fix: DISASSEMBLE on SPARC is less likely to spuriously annotate code
1101 sequences as error traps.
1103 changes in sbcl-2.0.1 relative to sbcl-2.0.0:
1104 * minor incompatible change: some symbols have been removed from *FEATURES*
1105 based on a determination of which should be impermissible to examine
1106 via #+ and #- reader macros in user-written code.
1107 * optimization: DEFSTRUCT copiers including COPY-STRUCTURE are able to
1108 stack-allocate the result when declared dynamic-extent.
1109 * bug fix: loop analysis code more robust. In particular, loop nesting depth
1110 is computed more accurately, improving the register allocation around
1113 changes in sbcl-2.0.0 relative to sbcl-1.5.9:
1114 * minor incompatible change: heap relocation now works on Windows. Since
1115 this feature now works on all platforms, it is enabled unconditionally and
1116 the :RELOCATABLE-HEAP symbol no longer appears on *FEATURES* in any
1117 builds. (Thanks to Luís Borges de Oliveira)
1118 * enhancement: malformed type specifiers and occurrences of deprecated types
1119 in :TYPE initargs of DEFCLASS and DEFINE-CONDITION slot specifications
1120 are detected and result in compile-time errors and warnings respectively.
1121 * enhancement: parallel contrib building, controlled by SBCL_MAKE_JOBS=-jX
1122 the same as for the C runtime.
1123 * bug fix: add a walker template for WITH-SOURCE-FORM.
1124 * bug fix: start the summary of a compilation unit on a fresh line. (Thanks
1126 * bug fix: on Windows, PARSE-NATIVE-NAMESTRING produces an absolute
1127 directory when parsing a bare drive name and :AS-DIRECTORY is specified.
1128 (Thanks to Luís Borges de Oliveira)
1129 * bug fix: on RISCV, the runtime is linked with libz if the core compression
1130 feature is requested. (Thanks to Andreas Schwab)
1131 * bug fix: ADJOIN using an EQL test and a KEY function only transforms into
1132 an EQ test if the key function returns values for which EQ and EQL are
1133 guaranteed to be the same.
1135 ** the instruction sequence for multiple-value calls is more
1136 efficient on x86-64.
1137 ** the direction flag is now unused on x86 and x86-64 when handling
1138 an unknown number of return values. (Thanks to Fanael Linithien)
1139 ** the x86-64 backend is better able to use memory operands for arithmetic
1141 ** compilation of TYPECASE to a jump table is enabled when all the types
1142 being tested are frozen.
1143 ** compilation of CASE and ECASE into a jump table has been implemented on
1144 32- and 64-bit powerpc platforms.
1145 ** the implementation of Unicode normalization has been sped up.
1146 ** pretty-printing dispatch on conses is faster, particularly with the
1147 standard pretty-print dispatch table. Deeply-nested forms should also
1148 pretty-print faster.
1150 changes in sbcl-1.5.9 relative to sbcl-1.5.8:
1152 ** a message intended to be more helpful will be displayed for an mmap
1154 ** the soft-float ABI on ARM32 is better supported, in particular in
1155 returning double floats from calls into C.
1157 ** CASE and ECASE with symbols as keys may be optimized into a vector
1158 lookup if all result forms are quoted or self-evaluating objects.
1159 ** CASE and ECASE can be optimized into a jump table on the x86[-64]
1160 backends with arbitrary result forms provided that the clause keys
1161 are either all fixnums, all characters, or all symbols.
1162 ** a number of forms are converted to use CASE in circumstances where that
1163 makes sense, including calls to POSITION, MEMQ and MEMBER, and TYPECASE
1164 where the types are MEMBER/EQL types.
1165 ** POSITION of a variable symbol in a constant sequence of symbols is
1166 converted to CASE and thence to a jump table.
1167 ** TYPECASE of a variable where the clauses are member types is converted
1168 to CASE and thence to a jump table.
1169 ** a number of slow instructions are no longer used on x86 and x86-64
1170 machines. (Thanks to Fanael Linithien)
1171 ** the compiler is better at tracking the implications of branches after
1173 ** parsing &KEY lists is slightly less register-intensive.
1174 ** a pattern-based peephole optimizer pass has been added, running some
1175 simple transformations on the x86-64 backend.
1176 * enhancements: more thorough compile-time type checking of various
1177 initforms (defclass, &key, defstruct).
1178 * bug fix: unions of complicated CONS types are less likely to cause an
1179 infinite loop. (lp#1799719)
1180 * bug fix: DESCRIBE on functions not named by extended function designators
1181 no longer signals a type error. (lp#1850531, reported by Michal Herda)
1183 changes in sbcl-1.5.8 relative to sbcl-1.5.7:
1185 ** support for Mac OS X Catalina
1186 ** improvements in interoperability with C code compiled with memory
1187 sanitization options
1188 ** libsbcl.so links to zlib when sb-core-compression is enabled.
1189 (lp#1845763, thanks to Juan M. Bello-Rivas)
1190 ** workarounds for BSD issues around mmap() and pthread_attr_setstack().
1192 ** support SSE for bzero if available on OpenBSD
1194 ** improved type understanding and translations for division operators
1195 (including TRUNCATE, GCD, LCM).
1196 ** sequential comparisons and branches can elide intermediate comparisons.
1198 ** convert EQUAL and EQUALP to EQL if either of the arguments is a type
1199 for which the structural equality predicate is identical to the simpler
1200 equality check. (lp#1848583)
1201 ** internal operators implementing string comparisons produce
1202 simpler-to-consume values. (lp#1848776)
1203 * bug fix: inspecting adjustable arrays and vectors with fill pointers works
1204 better. (lp#1846191, reported by Yves Pagani)
1206 changes in sbcl-1.5.7 relative to sbcl-1.5.6:
1208 ** many bug fixes to the experimental 64-bit PowerPC/Linux port, to the
1209 extent that the little-endian variant passes all applicable tests in
1210 the regression test suite; the big-endian variant currently has some
1212 ** experimental support for sb-threads on 64-bit PowerPC/Linux
1213 ** support threads on x86-64 Sun OS (lp#1841280)
1214 ** handle PAX restrictions on mprotect() on NetBSD
1215 ** experimental support for HaikuOS
1216 ** the runtime is built as a position-independent executable by default on
1217 x86-64 Linux and x86-64 Darwin
1218 * fixes and enhancements related to Unicode:
1219 ** update of the data files to Unicode 8.0
1220 ** fix a bug in the implementation of the Unicode line breaking algorithm
1221 regarding hebrew letters and hyphens
1222 * enhancement: add a restart to OPEN with :IF-EXISTS :ERROR to allow
1223 re-opening with :APPEND. (lp#806398, reported by Tobias Rittweiler)
1224 * bug fix: compiler optimizations on SEARCH with :FROM-END T didn't account
1225 for the empty sequence. (lp#1844821)
1226 * bug fix: handle SETF of nested empty VALUES correctly. (lp#1806478)
1227 * optimization: FLOOR and CEILING on rationals are simpler, and the
1228 compiler's understanding of them is better.
1230 changes in sbcl-1.5.6 relative to sbcl-1.5.5:
1232 ** experimental support for 64-bit PowerPC running Linux (extending Brian
1233 Bokser's work from 2018), on both the v1 and v2 ABIs
1234 * new feature: SB-EXT:SEARCH-ROOTS discovers paths from live objects to the
1235 roots keeping them alive.
1236 * enhancement: string output streams created with :ELEMENT-TYPE 'BASE-CHAR
1237 use internal buffers of BASE-STRING instead of UCS-4 strings restricted
1238 to the ASCII range, yielding a theoretical 4:1 space reduction.
1239 * optimization: improved make-array type derivation for multi-dimensional
1240 arrays. (lp#1838442)
1241 * bug fix: compliant redefinition of classes whose previous definition
1242 caused argument mismatch errors does not generate errors any more.
1243 (lp#1840595, reported by 3b on #sbcl)
1244 * bug fixes for issues caught by the random tester:
1245 ** never derive the type of TRUNCATE on arbitrary numbers as the empty
1247 ** provide out-of-line definitions for internal machinery related to
1248 FLOAT-SIGN. (lp#1838337)
1249 ** include COMPLEX in the derived type of SIGNUM when appropriate.
1251 ** more correct internal type testing for function types. (lp#1838808,
1252 lp#1838888, lp#1838986)
1253 ** don't assume that all objects of type (NOT SIMPLE-ARRAY) have an array
1254 header. (lp#1838827)
1255 ** recognize that PHASE on non-positive numbers can return 0 as well as PI.
1258 changes in sbcl-1.5.5 relative to sbcl-1.5.4:
1260 ** SunOS: bug reports and patches from Richard Lowe in sb-posix tests
1261 (lp#1837495), sb-concurrency tests (lp#1837817), unencapsulated tracing
1262 (lp#1837307), float registers in interrupt contexts (lp#1837168)
1263 * bug fix: do not generate version.lisp-expr from git describe if the git
1264 repository is not sbcl's own. (lp#1836663, thanks to Richard Lowe)
1265 * bug fix: compiler crash related to VALUES-LIST on a &REST argument in some
1266 contexts. (lp#1836096, reported by Samuel Jimenez)
1267 * bug fix: compiler hang related to constraint propagation. (lp#1835599,
1268 reported by Mark Cox)
1269 * bug fix: the inspector showed the wrong array element type. (lp#1835934,
1270 reported by Richard M Kreuter)
1271 * optimization: numerous improvements to hash table access and rehashing
1272 * optimization: ASSERT compiles into substantially more compact code.
1275 changes in sbcl-1.5.4 relative to sbcl-1.5.3:
1276 * minor incompatible change: hash tables on 64-bit machines consume roughly
1277 20% less memory but can only grow to hold 2^31 entries (theoretically)
1278 due to use of 31-bit indices internally.
1280 ** RISC-V: improve rotate-byte support (thanks to Philipp Matthias
1282 * bug fix: the system reasons more correctly regarding the array rank of
1283 complicated array types. (reported by Bart Botta)
1284 * bug fix: DOUBLE-FLOAT-P never gets weaked to NUMBERP. (reported by Bart
1286 * enhancement: the regression test suite can now benefit from paralellism,
1287 completing much faster when enough compute power is available.
1288 * optimization: readtables with non-base-char dispatch characters are less
1290 * optimization: INTERN performs fewer redundant type checks.
1291 * optimization: tests for PATHNAMEP and STRUCTURE-OBJECT (including in
1292 computing hash functions) are faster.
1294 changes in sbcl-1.5.3 relative to sbcl-1.5.2:
1296 ** RISC-V: numerous bug fixes and improvements
1297 ** all platforms: better run-program performance when used from multiple
1299 * enhancement: (declaim (optimize (debug 2))) ensures compilation of
1300 top-level forms, providing better debugging for simple forms that are
1301 otherwise "byte-code interpreted" when compiled into FASLs.
1302 * bug fix: use of finalizers could in rare circumstances cause a crash in
1303 the garbage collector.
1304 * bug fix: show extended function designators, e.g. (setf foo), in the
1306 * optimization: reduced overhead of calling NTH/NTHCDR.
1307 * optimization: improved FLOAT-SIGN on DOUBLE-FLOATs on 64-bit platforms
1309 changes in sbcl-1.5.2 relative to sbcl-1.5.1:
1310 * enhancement: RISC-V support with the generational garbage collector.
1311 * enhancement: command-line option "--tls-limit" can be used to alter the
1312 maximum number of thread-local symbols from its default of 4096.
1313 * enhancement: better muffling of redefinition and lambda-list warnings
1315 ** OS X: use Grand Central Dispatch semaphores, rather than Mach semaphores
1316 ** Windows: remove non-functional definition of make-listener-thread
1317 * new feature: decimal reader syntax for rationals, using the R exponent
1318 marker and/or *READ-DEFAULT-FLOAT-FORMAT* of RATIONAL.
1319 * optimization: various Unicode tables have been packed more efficiently
1321 changes in sbcl-1.5.1 relative to sbcl-1.5.0:
1322 * enhancement: restarts for missing package errors.
1323 * optimization: FIND-PACKAGE should be faster even when run in the context
1324 of a package with local package-nicknames.
1325 * optimization: fix TRUNCATE deftransform's results to have well-defined
1327 * bug fix: thread-safety problems in RUN-PROGRAM with :PTY.
1328 * bug fix: SLEEP transform could never fire.
1329 * build enhancement: defend against quirky host floating point
1331 * test enhancement: allow more parallelism in running the
1332 regression test suite
1334 changes in sbcl-1.5.0 relative to sbcl-1.4.16:
1335 * enhancement: SB-COVER emulates IN-PACKAGE when recording source maps;
1336 this makes it possible to generate coverage for forms that uses local
1337 package nicknames, or otherwise must be read in the correct package.
1338 * build enhancement: new host quirks mechanism, support for building under
1339 ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)
1340 * optimization: (FIND-SYMBOL x "P") for constant "P" executes faster,
1341 subject to "P" not being a package-local nickname of any
1342 package. Similarly INTERN. (lp#1814924)
1343 * optimization: bounds checks are elided when possible where the same array
1344 is dereferenced multiple times.
1345 * bug fix: initargs are now deduplicated when computing effective slots.
1346 * bug fix: TREE-EQUAL with :TEST 'EQL now correctly computes its answer.
1347 (reported by Bahodir Mansurov)
1348 * bug fix: compiled (COERCE x 'FLOAT) no longer coerces double-floats into
1349 single-floats. (reported by J. Gareth Williams)
1351 changes in sbcl-1.4.16 relative to sbcl-1.4.15:
1352 * minor incompatible change: ENSURE-DIRECTORIES-EXIST no longer establishes
1353 a CONTINUE restart in case of an error.
1354 * minor incompatible change: Defining macros (DEFVAR, etc) which require a
1355 symbol as the name will fail to macroexpand if given a non-symbol.
1356 * enhancement: the unexported restart names SB-{ALIEN,FASL,IMPL,PCL}::RETRY
1357 have been replaced by SB-EXT:RETRY.
1359 changes in sbcl-1.4.15 relative to sbcl-1.4.14:
1360 * enhancement: added AVX2 instructions on x86-64, which can be used with
1362 * enhancement: specializer name parsing is less lenient and signals a
1363 specific condition in case of syntax errors. (lp#1808681)
1364 * enhancement: provide interactive restarts for some file-system errors.
1365 * enhancement: COMPILE no longer acquires the world lock.
1366 (fixes most occurrences of lp#308959)
1367 * bug fix: RUN-PROGRAM is more responsive and less likely to deadlock
1368 (lp#1702178, lp#1808641)
1369 * bug fix: traceroot can search for simple-fun targets (lp#1808659, reported
1371 * compiler bug fixes:
1372 ** related to code generation: lp#1805899, lp#1806982, lp#1807455
1373 ** related to interpreting and constant-folding: lp#1806513
1374 ** related to the type system: lp#1804759, lp#1804796
1375 ** related to eq-testing of structure slots: lp#1809582, lp#1808273
1376 ** related to dynamic-extent: lp#1809565, lp#1809253, lp#1809485,
1378 ** related to GC safety: lp#308949
1380 changes in sbcl-1.4.14 relative to sbcl-1.4.13:
1381 * enhancement: attempting to build on openbsd 6.0 or newer without
1382 the wxallowed mount option now results in a more useful error message.
1383 * enhancement: by popular demand, SB-EXT now exports two functions
1384 HEAP-ALLOCATED-P and STACK-ALLOCATED-P to assist in writing debug
1385 assertions that objects in hash-tables are not stack-allocated, etc.
1386 * bug fix: restored sb-thread support on OpenBSD.
1388 changes in sbcl-1.4.13 relative to sbcl-1.4.12:
1389 * minor incompatible change: PRINT-TYPE and PRINT-TYPE-SPECIFIER are not
1390 exported from SB-EXT. These were never announced, so this change would
1391 only affects users who discovered these undocumented functions.
1392 * enhancement: SB-EXT:SEARCH-ROOTS and SB-EXT:GC-AND-SEARCH-ROOTS
1393 are supported on all backends that use gencgc.
1395 changes in sbcl-1.4.12 relative to sbcl-1.4.11:
1396 * minor incompatible change: a number of platform-specific elements of
1397 *FEATURES* related to whether the system implements particular strategies
1399 * minor incompatible change: some changes to the (internal) implementation
1400 details of the x86 and x86-64 have necessitated changes to some low-level
1402 * enhancement: attempting to transfer control through GO or RETURN-FROM to
1403 frames which no longer exist are now caught and handled by the debugger.
1404 * enhancement: identical code (at the machine instruction level) can now be
1405 shared between functions, if explicitly requested.
1406 * enhancement: SB-EXT:STRING-TO-OCTETS and SB-EXT:OCTETS-TO-STRING are now
1408 * bug fixes: fix a number of bugs revealed by random testing (lp#1793171,
1409 lp#1793150, lp#1791550, lp#1792030, lp#1791059, lp#1790157, lp#1790717,
1412 changes in sbcl-1.4.11 relative to sbcl-1.4.10:
1413 * minor incompatible change: changes to the (internal) assembler on x86
1414 and x86-64 may cause problems to some low-level third-party libraries:
1415 ** new macro EA for defining an effective address, without size
1417 ** an explicit size modifier is now needed for MOVSX and MOVSZ
1419 ** MOVD and MOVQ move a single size of operand by definition.
1420 * enhancement: support the latest MinGW (lp#1786731, reported by il71)
1421 * enhancement: checks for modifications of constants can now be done in
1422 local (FLET/LABELS) functions.
1423 * optimization: improved type checking routines for various compound types.
1424 * optimization: array bound checks are elided on vectors when the index is
1425 known to be less than the length, including LOOP ACROSS.
1426 * optimization: the register allocator's use of temporaries is somewhat
1428 * optimization: checking widetags involves fewer conditional jumps on x86
1430 * bug fix: fix a number of bugs related to constant improper lists as
1431 sequence arguments (lp#1768563, lp#1768568, lp#1768652)
1433 changes in sbcl-1.4.10 relative to sbcl-1.4.9:
1434 * enhancement: added SB-EXT:MAKE-WEAK-VECTOR.
1435 * enhancement: constant-modification detection warnings can be generated
1436 in the presence of conditional constructs.
1437 * optimization: better bounds-checking on x86[-64] and ARM64.
1438 * optimization: adding 1 to or subtracting 1 from a fixnum variable does not
1440 * bug fixes: fix a number of bugs revealed by random testing (lp#1782826,
1441 lp#1779878, lp#1779737)
1443 changes in sbcl-1.4.9 relative to sbcl-1.4.8:
1444 * enhancement: SB-COVER instrumentation for x86[-64] has signficantly less
1445 overhead. The performance penalty for 64-bit code has been measured at
1446 around 30% slower than uninstrumented code as contrasted with slowdowns
1447 in excess of 100% previously.
1448 * enhancement: tracing a generic function with the :METHODS T option
1449 produces output corresponding to each method called under the default
1450 :ENCAPSULATE NIL tracing implementation.
1451 * bug fix: updated TRACE documentation. (lp#574614 was actually already
1452 fixed, but there were other issues.)
1453 * bug fix: fixed x86 GC bug causing heap corruption. (lp#1749369)
1454 * bug fix: improved compatibility with macOS High Sierra and graphical
1457 changes in sbcl-1.4.8 relative to sbcl-1.4.7:
1458 * bug fix: redefinition of method combinations now does the expected thing;
1459 generic functions using that method combination have their effective
1460 methods lazily recomputed according to the new definition of the method
1461 combination. (Reported by Didier Verna at ELS 2018)
1462 * bug fix: :arguments argument to the long form of DEFINE-METHOD-COMBINATION
1463 is now implemented more correctly, supporting suppliedp variables and
1464 &optional defaults. (Reported by Bruno Haible, lp#309084)
1466 changes in sbcl-1.4.7 relative to sbcl-1.4.6:
1467 * enhancement: better handling of unknown keyword arguments (lp#1750466)
1468 * enhancement: namestrings can now be computed for certain pathnames that
1469 previously did not have namestrings because of #\. characters in their
1470 name and/or type components.
1471 * bug fix: compiling a SLEEP call with a float positive infinity argument no
1472 longer causes an internal error (lp#1754081)
1473 * bug fix: keyword arguments provided to a generic function with
1474 EQL-specialized methods are checked more correctly (reported by Syll,
1477 changes in sbcl-1.4.6 relative to sbcl-1.4.5:
1478 * enhancement: DISASSEMBLE on a symbol naming a macro will disassemble
1479 the expander, not the code that traps attempted FUNCALL of the macro.
1480 * enhancement: The sb-sprof contrib now provides an experimental interface
1481 for accessing collected profiler data.
1482 * enhancement: The instruction-level profiling of the sb-prof contrib
1483 annotates the disassembler output more efficiently.
1484 * optimization: improved dynamic-extent handling of nested variables.
1486 changes in sbcl-1.4.5 relative to sbcl-1.4.4:
1487 * minor incompatible change: building with/without the :sb-package-locks
1488 feature is no longer an option. Package locks are always compiled in,
1489 and removing :sb-package-locks from *features* will have no effect.
1490 * enhancement: FIND-PACKAGE does not acquire a mutex
1491 * enhancement: cheneygc can perform heap relocation on startup
1492 * enhancement: in threaded builds, finalizers execute in a system-internal
1493 thread so that a user thread which invokes GC is unblocked from performing
1494 work as soon it returns from GC and invokes any post-GC hooks.
1495 As such, it is more important than before to avoid assumptions about
1496 special variable bindings in finalizers, even in single-threaded code.
1497 * optimization: faster (funcall (or function symbol)) on x86-64.
1499 changes in sbcl-1.4.4 relative to sbcl-1.4.3:
1500 * bug fix: pathname accessors such as PATHNAME-DIRECTORY work on
1502 * bug fix: (pathname-{device,directory,name,type} ... :case :common) works
1503 as expected. In particular MAKE-PATHNAME composed with the accessors
1504 roundtrips properly when both use the same :case. (lp#1739906)
1505 * bug fix: DIRECTORY no longer gets confused when the value of
1506 *DEFAULT-PATHNAME-DEFAULTS* has a name or type component. (lp#1740563)
1507 * bug fix: pattern pieces in pathname components are correctly escaped
1509 * bug fix: DELETE-DIRECTORY no longer signals an error when the directory is
1510 supplied as a pathname with name and/or type components containing escaped
1511 characters. (lp#1740624)
1512 * bug fix: weak hash-tables no longer cause GC time to scale superlinearly
1514 * bug fix: CANCEL-FINALIZATION operates in approximately constant time
1515 per operation (lp#1587983)
1516 * bug fix: big-endian MIPS systems now (mostly) work again (broken since
1518 * bug fix: backtrace from arg-count errors on systems other than x86, x86-64,
1519 ARM, and ARM64 now works again.
1520 * bug fix: backtrace from asynchronous interrupts on non-x86, non-x86-64
1521 systems should now be more reliable.
1522 * enhancement: warnings and errors referring to bindings established by LET,
1523 LET*, FLET and LABELS point to the offending form more accurately.
1524 * enhancement: backtrace for invalid argument count produces the exact
1525 supplied arguments including the extra ones on all platforms (no longer
1526 just x86, x86-64, ARM, and ARM64).
1528 changes in sbcl-1.4.3 relative to sbcl-1.4.2:
1529 * enhancement: SLEEP respects deadlines established by SB-SYS:WITH-DEADLINE.
1530 * bug fix: DECODE-TIMEOUT and operators accepting a timeout no longer signal
1531 an error when called with an argument that is of type (real 0) but not
1532 (unsigned-byte 62) (lp#1727789)
1533 * bug fix: fixed heap exhaustion bug when consing millions of small objects
1534 * bug fix: sb-safepoint builds are now a lot less prone to deadlocks and odd
1535 crashes (lp#1424031, lp#1268710)
1536 * bug fix: argumentless CALL-NEXT-METHOD where specialized-to-T or
1537 unspecialized parameters are mutated now uses the original (non-mutated)
1538 parameter values (lp#1734771)
1539 * bug fix: memory faults from lisp no longer use (thread-and-interrupt
1540 unsafe) global storage for fault addresses (everywhere), and now have
1541 cleaner backtraces (on x86 and x86-64). (lp#309068)
1542 * bug fix: pathnames with a directory component of the form
1543 (:absolute {:up,:wild,:wild-inferiors}) no longer fail to unparse.
1545 * bug fix: more reliable signal handling on macOS.
1547 changes in sbcl-1.4.2 relative to sbcl-1.4.1:
1548 * minor incompatible change: SB-EXT:QUIT is no longer marked as deprecated
1549 and behaves like SB-EXT:EXIT.
1550 * enhancement: ASDF updated to 3.3.1. The ASDF release is dedicated to
1551 the late Elias Pipping who put enormous amounts of work into it despite
1552 his terminal illness. Thank you and rest in peace. (lp#1681201)
1553 * enhancement: alien routines compiled with '-fsanitize=thread' and/or
1554 '-fsanitize=memory' cause fewer false positives in error reporting.
1555 * optimization: fewer instances of consing float constants at runtime.
1556 * bug fix: a number of compiler bugs detected by Paul F. Dietz' randomized
1557 tester. (lp#1731503, lp#1730699, lp#1723993, lp#1730434, lp#1661911,
1558 lp#1729639, lp#1729471, lp#1728692)
1559 * bug fix: better errors from NAMESTRING and friends on pathnames with no
1560 namestrings. (lp#792154)
1561 * bug fix: EQUAL and EQUALP compiler transforms were too confident in
1562 deriving a result. (lp#1732277, lp#1732225)
1563 * bug fix: FILL sometimes returned the underlying data vector rather than
1564 the given array. (lp#1732553)
1565 * bug fix: SEARCH returned the wrong answer in some cases. (lp#1732952)
1566 * bug fix: the type (COMPLEX INTEGER) behaves more as specified by Function
1567 TYPEP, which has stronger constraints than System Class COMPLEX.
1568 (Reported by Eric Marsden, lp#1733400)
1570 changes in sbcl-1.4.1 relative to sbcl-1.4.0:
1571 * optimization: faster foreign callbacks.
1572 * enhancement: complex arrays can be stack allocated.
1573 * enhancement: PROCESS-KILL now exists on win32 and PROCESS-PID actually
1575 * optimization: the register allocation method used by the compiler when
1576 optimizing for speed is now faster for functions with large bodies.
1577 * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION works on big-endian CPUs
1578 (fixes lp#490490 for real rather than by disabling a test)
1579 * bug fix: code objects and bignums of large enough size to be placed
1580 on GC pages without any other object no longer cause accidental copying
1581 during garbage collection. (gencgc only)
1582 * bug fix: sb-fasteval failure with 0-argument lambdas (lp#1722715)
1583 * bug fix: RUN-PROGRAM doesn't leak handles on win32 and PROCESS-CLOSE
1584 doesn't crash. (lp#1724472)
1586 changes in sbcl-1.4.0 relative to sbcl-1.3.21:
1587 * minor incompatible change: DESTRUCTURING-BIND treats non-toplevel () as
1588 nested empty pattern. This seems to be what the standard mandates, so
1589 conforming code should not be affected.
1590 * ehancement: (GC :GEN 7) with gencgc will zero-fill dead pseudo-static
1591 objects so that they do not spuriously cause reachability of objects that
1592 would have been otherwise dead.
1593 * enhancement: PROCESS-STATUS now tracks stopped and continued processes
1594 properly (also fixes lp#1624941, based on patch by Elias Pipping).
1595 * bug fix: INSPECT handles errors signaled while printing slot
1597 * bug fix: DESCRIBE works on classes like it used to.
1598 * bug fix: *LOAD-PATHNAME* and *LOAD-TRUENAME* are bound to pathnames
1599 when processing a sysinit or userinit file
1600 * bug fix: save-lisp-and-die is able to collect more garbage on non-x86oid
1602 * bug fix: fixed out-of-bounds array read in optimized POSITION on bit-vectors
1603 * bug fix: signal emulation respects the 128-byte stack red zone on x86-64
1606 changes in sbcl-1.3.21 relative to sbcl-1.3.20:
1607 * minor incompatible change: the CLOBBER-IT restart for defstruct redefintion
1608 has been removed after a 15 year deprecation cycle. Use the new name,
1609 RECKLESSLY-CONTINUE. Note also that this restart is hidden if deemed unsafe
1610 due to altered placement of untagged slots in the structure.
1611 * enhancement: the assignment of -DSBCL_PREFIX= in src/runtime/GNUmakefile
1612 can be removed as a local patch, which results in an sbcl executable
1613 that finds its core file relative to itself by looking in "../lib/sbcl".
1614 * enhancement: backends using the generational GC are able to relocate
1615 dynamic space anywhere the operating system places it.
1616 This feature can be disabled by removing :relocatable-heap from the
1617 build configuration. Not supported on Windows.
1618 * enhancement: DEFMETHOD no longer signals IMPLICIT-GENERIC-FUNCTION-WARNING.
1619 * enhancement: better type conflict detection for high order functions, e.g.
1620 (find x "123" :test #'=)
1621 * enhancement: the tabular output of ROOM is aligned dynamically, preventing
1622 misaligned tables for larger sizes or counts.
1623 * enhancement: ROOM reports on immobile space if applicable.
1624 * optimization: optimized external-format routines.
1625 * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION returns :IMMOBILE
1626 instead of :FOREIGN for objects in immobile space.
1627 * bug fix: dotted lists in special forms and function call forms signal
1628 an appropriate error
1629 * bug fix: EQUALP hash tables with pathname keys now ignore internal slots.
1630 (lp#1712944, reported by Jason Miller)
1632 changes in sbcl-1.3.20 relative to sbcl-1.3.19:
1633 * minor incompatible change: DEF{GENERIC,METHOD} no longer accept some
1634 illegal lambda lists such as (defgeneric bar (foo &key foo)) or
1635 (defgeneric baz (t)) that were accepted before.
1636 * optimization: a valueless &AUX binding in a BOA constructor does not
1637 force all slots reads in safe code to perform a full type check.
1638 * optimization: ATOMIC-PUSH and ATOMIC-POP generate better code
1639 * bug fix: the low-level debugger would erroneously print - or not print
1640 as the case may be - "(bad-address)" for some objects depending whether
1641 the --dynamic-space-size argument was used at Lisp startup
1642 * bug fix: a DEFCONSTANT with a non non-eql-comparable object as the value
1643 could cause miscompilation if that constant appeared as the default
1644 expression for an &OPTIONAL binding
1645 * bug fix: generic function lambda lists are now checked for repeated
1646 and otherwise illegal entries. (lp#1704114)
1647 * bug fix: setting gencgc_verbose = 1 could cause deadlock in fprintf()
1648 depending on the platform's stdio implementation. The relevant code
1649 has been changed to use snprintf() and write() instead.
1651 changes in sbcl-1.3.19 relative to sbcl-1.3.18:
1652 * enhancement: specialized arrays can be printed readably without using
1654 * enhancement: SB-DEBUG:PRINT-BACKTRACE truncates huge string arguments.
1655 The full string remains available for inspection via (SB-DEBUG:ARG).
1656 * bug fix: backtracing from several threads at once could fail
1657 * bug fix: floating-point infinities could not be used as keys
1658 in EQUALP hash tables. (lp#1696274)
1659 * bug fix: random sb-fasteval failures. (lp#1642708)
1660 * bug fix: align the stack in callback wrappers to defend against C
1661 compiler over-aggressive use of SIMD. (lp#1697528)
1662 * bug fix: don't try to find the class when reporting that a class does
1663 not exist for a primitive type. (lp#1697226)
1665 changes in sbcl-1.3.18 relative to sbcl-1.3.17:
1666 * minor incompatible change: existing values of CFLAGS, ASFLAGS,
1667 CPPFLAGS, and LINKFLAGS will be incorporated into C compiler
1668 invocations when building from source.
1669 * minor incompatible change: the result of WRITE-TO-STRING may be
1670 a BASE-STRING if all characters written are of type BASE-CHAR.
1671 * minor incompatible change: the broadcast stream with no output
1672 streams is a singleton object. That object satisfies OPEN-STREAM-P
1673 regardless of how many times CLOSE is invoked on it.
1674 * enhancement: x86[-64] backends contain an experimental feature
1675 which aids in demonstrating reachability of any object starting
1676 from a tenured object or a thread stack by producing a proof
1677 as a sequence of pointers to follow.
1678 The file "tests/traceroot.test.sh" contains an example usage.
1679 * enhancement: if the alien symbol "gc_coalesce_string_literals" is
1680 set to 1 prior to SAVE-LISP-AND-DIE, then similar string constants
1681 loaded from different fasl files may be collapsed to one object.
1682 If the variable is set to 2, then additionally strings which are
1683 STRING= in code resulting from COMPILE can be coalesced.
1684 For instance, two functions returning the literal string "HI"
1685 might return EQ strings after collapsing, which may be undesired
1686 in a particular use. The flag pertains to gencgc only.
1687 * enhancement: SXHASH values on pathnames are better distributed
1688 * bug fix: MAKE-PATHNAME removes empty strings as components of a
1689 directory, as is permitted: "Whenever a pathname is constructed
1690 the components may be canonicalized if appropriate."
1691 * optimization: various printer and FORMAT performance enhancements.
1692 * bug fix: GET-FOREGROUND no longer fails in case all other interactive
1693 threads exit (lp#1682671, reported by Syll)
1694 * bug fix: RELEASE-FOREGROUND always removes the current thread from the
1695 list of interactive threads. (lp#1682867, reported by Syll)
1697 changes in sbcl-1.3.17 relative to sbcl-1.3.16:
1698 * enhancement: memory overhead from the garbage collector's metadata
1699 is reduced on 64-bit architectures; no change for 32-bit.
1700 * enhancement: further garbage collector speedups affecting
1701 pinned objects on conservative backends, and simple-vectors.
1702 * enhancement: on Linux a custom handler for SIGSEGV can be called
1703 for page faults outside of dynamic space by changing the C symbol
1704 "sbcl_fallback_sigsegv_handler".
1705 * bug fix: sb-cover does not lose source positions for AND/OR/COND.
1706 * bug fix: random disassembler failures. (lp#1527931)
1707 * The bundled sb-md5 contrib has been updated to release 2.0.4
1708 which is licensed under Creative Commons CC0 per author's statement
1709 https://github.com/pmai/md5/commit/fd134e71b71a10ab78905833a7cb9d4d6817c589
1710 (Refer to NEWS and COPYING in the contrib/sb-md5 subdirectory)
1712 changes in sbcl-1.3.16 relative to sbcl-1.3.15:
1713 * optimization: various small tweaks give around 5% faster garbage
1715 * bug fix: better detection of when an impossible code path does
1716 not need a warning. (lp#1668619)
1717 * bug fix: stronger attempts to disable position-independent
1718 executable building. (lp#1668986, patch from Mark Wright)
1719 * bug fix: OPEN :IF-EXISTS NIL signalled a condition on Windows.
1720 (lp#1674437, reported by Jan Idzikowski)
1722 changes in sbcl-1.3.15 relative to sbcl-1.3.14:
1723 * minor incompatible change: the reader will when feasible create
1724 new symbols using a BASE-STRING for the print name. Additionally,
1725 string literals can favor the base-string type if desired, though
1726 the default is to always return UTF-32 strings for compatibility.
1727 A preference for base-string does not disable reading Unicode.
1728 The choice is controlled via (SETF READTABLE-BASE-CHAR-PREFERENCE).
1729 If Unicode was disabled at build time, this setting does nothing.
1730 * enhancement: SBCL generates more debug information by default.
1731 * enhancement: type errors provide context information, such as which
1732 variable is being bound, which slot of which structure is being set.
1733 * enhancement: if #+immobile-symbols is in build-time *FEATURES* (not
1734 enabled by default), then symbols will never be moved in memory
1735 except by SAVE-LISP-AND-DIE. Immobility has helpful implications for
1736 code generation as well as interaction with foreign routines.
1737 This feature can only be enabled if #+immobile-space is enabled.
1738 * enhancement: undefined function errors can be restarted on x86-64, to
1739 either retry calling the function again or call a user supplied function.
1740 * enhancement: sb-ext:restrict-compiler-policy accepts an upper bound in
1741 addition to a lower bound.
1742 * enhancement: #+immobile-code improves the speed of function calling.
1743 Some delay may be noticed when redefining an existing function
1744 from a saved core file however.
1745 * defaults change: sb-ext:*disassemble-annotate* default to NIL, due to its
1747 * new feature: SB-LINKABLE-RUNTIME, allowing linking with extra object
1748 files to help with delivery of executables. (Thanks to François-René
1750 * bug fix: data race in GENTEMP fixed - it can no longer return the
1751 same interned symbol to multiple threads if called concurrently
1752 * bug fix: interrupting LOADing of FASLs does not leave functions without
1753 source locations. (lp#540276)
1754 * bug fix: DYNAMIC-EXTENT-declared results of NOTINLINE local functions were
1755 treated as if they were actually stack allocated (lp#1659964)
1756 * bug fix: correctly handle the case of a non-local exit within a function
1757 terminating the extent of dynamic-extent, dynamic-bound variables in the
1758 presence of multiple-values (lp#1655011)
1759 * bug fix: handling of SB-SYS:WITH-PINNED-OBJECTS in the interpreters (both
1760 sb-eval and sb-fasteval) now actually pins objects on gencgc.
1761 * bug fix: AVX registers are preserved during exceptions on x86-64 macOS.
1762 * bug fix: (directory "SOMETHING/*/**/MORE") is no longer equivalent to
1763 (directory "SOMETHING/**/MORE")
1764 * bug fix: better console IO on Windows (lp#1660906)
1766 changes in sbcl-1.3.14 relative to sbcl-1.3.13:
1767 * minor incompatible change: the SB-PCL walker no longer recognizes
1768 macros expanding into a DECLARE expression. This is not a language change,
1769 since ANSI forbids such usage (X3J13 issue DECLARE-MACROS:FLUSH).
1770 * enhancement: for several macros such as MULTIPLE-VALUE-{BIND,SETQ}, COND,
1771 DO{,*,LIST}, {RESTART,HANDLER}-{BIND,CASE}, *CASE, conditions signaled
1772 during macroexpansion point to the form that caused the problem more
1774 * enhancement: the "--noinform" command-line option inhibits output from
1775 save-lisp-and-die in addition to removing the startup banner.
1776 * bug fix: PROCESS-KILL failed to return errno if the system call failed
1777 * optimization: slightly more comprehensive treatment of the keyword
1778 arguments to MAKE-ARRAY in compiler transformations.
1780 changes in sbcl-1.3.13 relative to sbcl-1.3.12:
1781 * enhancement: SET triggers package locks on undefined variables.
1783 * enhancement: new Windows specific option to run-program, :escape-arguments
1785 * enhancement: recompiling a MAKE-INSTANCE form with an initarg :INITARG
1786 CONSTANT where CONSTANT names a constant variable picks up the new value
1787 of CONSTANT in case it has been redefined. (lp#1644944)
1788 * optimization: faster TYPEP on undefined at compile-time types and upcoming
1789 class definitions. (lp#1082967)
1790 * optimization: memory consumption of each STANDARD-OBJECT instance is
1791 reduced by 2 words if the compact-instance-header feature is enabled.
1792 * optimization: CONDITION instances are quicker to allocate.
1793 * optimization: unoptimized calls to FILL on specialized vectors are now
1794 just as fast as T vectors.
1795 * bug fix: get-timezone returns corret DST on 64-bit Windows. (lp#1641058)
1796 * bug fix: cross reference information in fasls is no longer incompatible
1797 between different cores (lp#1648186)
1799 changes in sbcl-1.3.12 relative to sbcl-1.3.11:
1800 * enhancement: on x86-64, compiled functions loaded from fasl files
1801 can not be moved, but can be freed, by GC. Additionally, COMPILE will
1802 produce immobile code if SB-C::*COMPILE-TO-MEMORY-SPACE* is set to
1803 :IMMOBILE. (Caution: the flag is experimental and subject to change.)
1804 The benefits are better physical separation of code from data,
1805 and potentially easier examination of live images by external tools.
1806 * enhancement: the docstring for SAVE-LISP-AND-DIE has been amended to
1807 say that the :ROOT-STRUCTURES parameter is not meaningless on gencgc,
1808 depending on the platform.
1809 * bug fix: calling a named function (e.g. a DEFUN) concurrently with
1810 redefining that same function could lead to execution of random bytes.
1811 * bug fix: yes-or-no-p accepts formatter functions (lp#1639490)
1812 * bug fix: better handling of exceptions on macOS.
1814 changes in sbcl-1.3.11 relative to sbcl-1.3.10:
1815 * minor incompatible change: SB-EXT:*INTEXP-MAXIMUM-EXPONENT* is removed.
1816 * enhancement: TRACE ... :REPORT {TRACE,NIL} now work as advertised in the
1817 documentation string (based on patch by Patrick Stein)
1818 * enhancement: support unboxed signed-word structure slots on x86, x86-64
1819 and ARM64. (lp#377616)
1820 * optimization: faster logical bit-array operations on multidimensional
1822 * optimization: better GC performance in the presence of many threads.
1823 (patch by Ilya Perminov, lp#1339924)
1824 * optimization: multiple-value-call is optimized with multiple argument
1825 forms, not just one. (lp#753803)
1826 * bug fix: MAKE-ALIEN-STRING returns the number of allocated bytes as a
1827 second value as advertised (reported by Johann 'Myrkraverk' Oskarsson)
1828 * bug fix: when TO-READTABLE is supplied to COPY-READTABLE, it will
1829 contain only the macros in FROM-READTABLE and no others. (lp#1631506)
1830 * enhancement: gencgc has been modified for x86-64 on Linux and macOS
1831 to a support mark-and-sweep as well as the traditional copying strategy.
1832 It is conceivable that some applications might be adversely affected.
1833 Please see ':immobile-space' in 'base-target-features.lisp-expr'
1834 for further details, and possible reasons to disable this feature.
1835 * enhancement: x86-64 supports shrinking the fixed overhead in a structure
1836 from 2 words to 1 word, reducing memory consumption in applications
1837 which create many small structures.
1839 changes in sbcl-1.3.10 relative to sbcl-1.3.9:
1840 * enhancement: more compact low-level error signaling code
1841 * enhancement: more compact encoding of cross-reference information
1842 * optimization: faster out of line fixnum-float comparisons.
1843 * optimization: filling a known simple-vector with a constant value
1844 is about as fast in unoptimized code as in code compiled with (SPEED 3),
1845 and the x86-64 implementation is able to use SSE instructions.
1846 * bug fix: correctly handle the case of a non-local exit within a function
1847 terminating the extent of dynamic-extent functions and variables in the
1848 presence of multiple-values (lp#1563127)
1849 * bug fix: restore builds on the latest OSX with the latest Xcode
1852 changes in sbcl-1.3.9 relative to sbcl-1.3.8:
1853 * minor incompatible change: NAMESTRING prefers to return a BASE-STRING
1854 instead of (ARRAY CHARACTER (*)) when possible.
1855 * enhancement: cached make-instance/allocate-instance constructors can now
1856 get garbage collected.
1857 * optimization: better performance for some unoptimized operations on
1859 * bug fix: using the options :LOCAL-NICKNAMES and :LOCK in the same
1860 DEFPACKAGE form no longer signals a bogus error
1862 changes in sbcl-1.3.8 relative to sbcl-1.3.7:
1863 * minor incompatible change: the system now understands that the CONDITION
1864 type is disjoint with many other system types.
1865 * minor incompatible change: argument types in condition report functions
1866 are now declared (in combination with the above change, this can result in
1867 early detection of erroneous code).
1868 * enhancement: simple arrays of any rank can be stack-allocated
1869 on platforms supporting stack allocation of vectors.
1870 * optimization: improved type derivation for FIND, POSITION, COUNT, SEARCH,
1871 MISMATCH and other array and sequence functions.
1872 * optimization: ALLOCATE-INSTANCE is now as fast as MAKE-INSTANCE.
1873 * optimization: more efficient CHANGE-CLASS.
1874 * bug fix: versions of getresuid() and getresgid() in SB-POSIX no longer
1875 cause memory faults, and should work properly (lp#1603806, reported by
1877 * bug fix: handle ENOENT from getprotobyname() (lp#1596043, reported by
1880 changes in sbcl-1.3.7 relative to sbcl-1.3.6:
1881 * bug fix: preserve the name of the destructive function for the destroyed
1882 constant and important result warnings, even when declared NOTINLINE.
1883 * optimization: faster operations on list-sets.
1884 * optimization: better type derivation of set functions.
1886 * optimization: load-time TLS-INDEX assignment, and other
1887 microoptimizations, on x86.
1891 ** ARRAY-DIMENSIONS;
1892 ** ARRAY-TOTAL-SIZE;
1893 ** REMOVE, REMOVE-DUPLICATES, DELETE and DELETE-DUPLICATES on lists.
1895 changes in sbcl-1.3.6 relative to sbcl-1.3.5:
1896 * bug fix: do not insert conditional newlines in print-unreadable-object
1897 (lp#1398290). This reverses a change made in lp#488979 which reversed
1898 a fix advertised in release 0.8.14 to pass the GCL ANSI Test Suite.
1899 * bug fix: constant negative rotations of 32-bit quantities are compiled
1900 correctly on x86-64 and arm. (lp#1586614, reported by Guillaume Le
1903 changes in sbcl-1.3.5 relative to sbcl-1.3.4:
1904 * enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD
1905 * enhancement: speed up debug info creation for highly nested functions.
1907 * enhancement: the interleaved structure slot optimization from
1908 release 1.2.6 has been ported to all architectures.
1909 * enhancement: support run-program I/O redirection into lisp streams on
1911 * bug fix: better wording in missed optimization note. (lp#1003265)
1912 * bug fix: interpreted (CAS SVREF) was broken
1913 * bug fix: support CLISP as build host for ARM (lp#1568256, thanks to Tomas
1916 changes in sbcl-1.3.4 relative to sbcl-1.3.3:
1917 * enhancement: who-sets and who-references work on DEFGLOBAL. (lp#1552997)
1918 * enhancement: CONSTANTP understands backquote.
1919 e.g. (CONSTANTP '`(0 (,CHAR-CODE-LIMIT))) => T
1920 * optimization: improvements to sequence functions: CONCATENATE, SUBSTITUTE,
1922 * bug fix: SB-EVAL does not signal an error for (THE KEYWORD :FOO)
1923 * bug fix: a DEFTYPE name that is redefined into a DEFSTRUCT name
1924 is less likely to cause confusion in the compiler.
1925 * bug fix: DOCUMENTATION works as intended for classes with non-standard
1927 * bug fix: (TYPEP <extended-sequence> <extended-sequence-class>) no longer
1928 returns NIL in certain situations
1929 * bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE accept class objects as
1931 * bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE expand DEFTYPEs in
1934 changes in sbcl-1.3.3 relative to sbcl-1.3.2:
1935 * enhancement: warn about argument mismatch for functions passed as
1936 arguments to other functions (e.g. REDUCE, MAP) at compile-time.
1937 * optimization: functions accepting other functions (e.g. REDUCE, FIND) can
1938 now be constant-folded if all function arguments are declared as foldable.
1939 * optimization: improved logical operations on integers of unknown type.
1940 * bug fix: exception handling no longer leaks memory on OS X. (lp#326238)
1942 changes in sbcl-1.3.2 relative to sbcl-1.3.1:
1943 * enhancement: {READ,WRITE}-SEQUENCE are much faster for some combinations
1944 of short sequences and stream types
1945 * enhancement: MAKE-LIST's result can be stack-allocated on x86-64
1946 * bug fix: WRITE-SEQUENCE no longer fails to write lists containing integers
1948 * bug fix: LOGTEST (and hence ODDP) no longer conses when given fixnum
1949 arguments and small bit positions. (lp#1277690)
1950 * bug fix: READ-FROM-STRING compiler-macro does not permute its arguments
1951 * bug fix: DEFUN of a function name that collides with a system-generated
1952 structure accessor does not confuse the runtime. (lp#540063)
1953 * bug fix: heap corruption from miscompiled RESTART-BIND. (lp#1530390)
1955 changes in sbcl-1.3.1 relative to sbcl-1.3.0:
1956 * enhancement: SB-THREAD support for ARM64.
1957 * enhancement: compiling an out-of-line DEFSTRUCT constructor call
1958 will warn if a defaulted value is incompatible with its slot type.
1959 * enhancement: a local INLINE declaration on a structure constructor
1960 will work as intended, subject to any other factors that inhibit
1961 inlining, even if the DEFSTRUCT was not itself within a global
1962 INLINE proclamation for the named constructor
1963 * enhancement: SB-EXT:DYNAMIC-SPACE-SIZE is now defined for cheneygc.
1964 * enhancement: x86[-64] platforms support SB-EXT:CAS on structure slots
1966 * enhancement: the interleaved structure slot optimization from
1967 release 1.2.6 has been ported to 32-bit x86, Sparc, PowerPC, ARM64.
1968 * enhancement: SB-THREAD:JOIN-THREAD signals a proper error when an attempt
1969 is made to join the current thread
1970 * bug fix: NTH-VALUE does not cause stack overflow. (lp#1511419)
1971 * bug fix: structure constructor type checking is better. (lp#1508735)
1972 * bug fix: supplied-p variables for unused optional or keyword variables no
1973 longer confuse SB-DI:PARSE-COMPILED-DEBUG-FUN-LAMBDA-LIST (and thus the
1974 backtrace machinery) (lp#1498644)
1975 * bug fix: Backtrace correctly handles undefined-function frames on MIPS.
1976 * bug fix: WITH-FLOAT-TRAPS-MASKED correctly clears accrued traps on MIPS
1977 (fixes issues with floating-point type derivation in the compiler).
1978 * bug fix: FLOAT-NAN-P and FLOAT-TRAPPING-NAN-P now work correctly on MIPS
1980 * bug fix: MIPS context register access now masks to 32 bits (fixing issues
1981 parsing negative-fixnum values for internal-error arguments and escaped
1982 debug variables on 64-bit CPUs).
1983 * bug fix: (SETF SAP-REF-DOUBLE) with constant offset on big-endian MIPS
1984 now works correctly.
1985 * bug fix: Callback parameter (argument) handling on MIPS is now vastly
1987 * bug fix: %DECREMENT-SEMAPHORE adjusts the remaining timeout after a
1990 changes in sbcl-1.3.0 relative to sbcl-1.2.16:
1991 * minor incompatible change: the environment passed to a macro/setf/deftype
1992 expander is not always an object of type SB-KERNEL:LEXENV.
1993 It can be nil, as is permissible by the standard.
1994 * enhancement: ported to ARM64 Linux.
1995 * enhancement: a new interpreter is included which has many benefits
1996 over sb-eval. It is disabled by default. See src/interpreter/README
1997 for instructions to enable it, and further details.
1998 * bug fix: calling COMPILE when SB-EXT:*EVALUATOR-MODE* was :INTERPRET
1999 would fail to perform "normal semantic processing such as macro expansion"
2000 as stipulated by X3J13 issue LOAD-TIME-EVAL.
2001 * bug fix: SB-UNICODE:CONFUSABLE-P no longer treats "<" and the empty
2002 string as confusable. (lp#1504739)
2003 * bug fix: (ASSERT (COMPUTE-IT ...)) would expand incorrectly
2004 if COMPUTE-IT was a local macro that shadowed a global function.
2005 * bug fix: SB-POSIX:CFSETISPEED and SB-POSIX:CFSETOSPEED now work properly
2006 on platforms that use only the minimum specified set of fields in struct
2007 termios (verified on Linux, still known not to work on FreeBSD and NetBSD,
2008 very probably others). (partial fix for lp#1500951)
2010 changes in sbcl-1.2.16 relative to sbcl-1.2.15:
2011 * enhancement: by default, timers with a repeat interval do not "catch up"
2012 by repeatedly calling their function after a clock discontinuity such as a
2013 suspend and resume cycle
2014 * bug fix: correctly restore multiple values on the stack in the presence of
2015 alien calls. (lp#1489590)
2016 * bug fix: MAKE-STRING-OUTPUT-STREAM enforces that :ELEMENT-TYPE
2017 is a subtype of CHARACTER.
2018 * bug fix: an EQL method specializer no longer causes garbage retention
2019 if there are no extant methods using the specializer. (lp#492851)
2021 changes in sbcl-1.2.15 relative to sbcl-1.2.14:
2022 * new feature: DEPRECATION declaration for functions, variables and types
2023 causes {EARLY,LATE,FINAL}-DEPRECATION-WARNING to be signaled when subject
2024 of the declaration is used. Integrated with DESCRIBE, DOCUMENTATION and
2025 SB-CLTL2:{VARIABLE,FUNCTION}-INFORMATION. Documented in the "Deprecation"
2026 section of the manual.
2027 * enhancement: ASDF updated to 3.1.5. (lp#1476867)
2028 * enhancement: definitions within PROGN get proper source locations when
2029 compiled (needs latest Slime to take advantage of this). (lp#1473147)
2030 * enhancement: source locations for DEFCLASS slots now point directly to the
2031 slot definitions, not the whole DEFCLASS form.
2032 * bug fix: better source location in the presence of quoted forms.
2034 * bug fix: better source locations inside backqoute. (lp#1361502)
2035 * bug fix: HANDLER-BIND requires that the handler-function be
2036 a function designator at the time of binding establishment. (lp#1480679)
2037 * bug fix: inlined functions surrounded by nested macrolets are properly
2038 inlined. (lp#309123)
2040 changes in sbcl-1.2.14 relative to sbcl-1.2.13:
2041 * minor incompatible change: The name of a compiled anonymous lambda
2042 as returned by the third value of FUNCTION-LAMBDA-EXPRESSION can have
2043 a lambda-list-like list following the introductory LAMBDA that is not
2044 in general a syntactically valid lambda list. Specifically, it won't
2045 retain default values, supplied-p variables, or &KEY or &AUX bindings.
2046 * enhancement: DESTRUCTURING-BIND has been totally reimplemented from
2047 scratch to address a handful of performance and correctness issues.
2048 Some minor behavioral differences exist regarding order of evaluation
2049 of default forms for unsupplied &OPTIONAL and &KEY arguments
2050 when nested destructuring patterns are involved.
2051 (lp#707556, lp#707573, lp#707578, lp#708051)
2052 * enhancement: DEFCONSTANT and DEFSTRUCT respect package locks. (lp#1186238,
2054 * enhancement: sb-unicode:normalize-string has a new optional argument,
2055 FILTER, a callback which controls which decomposed characters are
2056 collected. Useful for stripping away diacritics more efficiently.
2057 * bug fix: (TYPE-OF ARRAY) for a non-simple array is subject to change
2058 after a call of ADJUST-ARRAY. (lp#1333731)
2059 * bug fix: Dynamic-extent allocation with a loop between allocating a value
2060 and the start of its environment no longer discards the allocated data
2061 when the loop is taken. (lp#1472785)
2062 * bug fix: Variable-reference elimination no longer generates incorrect code
2063 under certain circumstances. (lp#1446891)
2064 * bug fix: variables with EQL types are no longer treated as constants by
2065 VOPs, which caused problems with closures being allocated for such
2066 variables, but they remained unused. (lp#1390149)
2067 * bug fix: Windows installer generates registry key name
2068 correctly. (lp#1476447)
2070 changes in sbcl-1.2.13 relative to sbcl-1.2.12:
2071 * incompatible change: on success, TRY-SEMAPHORE and WAIT-ON-SEMAPHORE
2072 return the new count
2073 * enhancement: WAIT-ON-SEMAPHORE accepts a decrement parameter
2074 * enhancement: JOIN-THREAD allows distinguishing timeout vs. abort in all
2076 * enhancement: On Windows DBG_PRINTEXCEPTION_C is handled and its message is
2077 printed. (lp#1437947)
2078 * bug-fix: TRUENAME works properly on broken symlinks presented as
2079 directories. (lp#1400003)
2080 * bug fix: Inlined DPB and DEPOSIT-FIELD don't interfere with left-to-right
2081 order of argument evaluation. (lp#1458190)
2082 * bug fix: (SETF (LDB (BYTE 1 2 JUNK) X) 0) is rightly rejected.
2083 * bug fix: DEFSETF lambda lists should not permit argument destructuring.
2084 * bug fix: calls to (SETF SLOT-VALUE) on a missing slot would in certain
2085 situations incorrectly return the result of a SLOT-MISSING method
2086 instead of always returning the new value. (lp#1460381)
2087 * bug fix: a DEFMACRO occurring not at toplevel and capturing parts of
2088 its lexical environment (thus being a closure) caused expressions
2089 involving the macro name to cause corruption in the pretty-printer
2090 due to faulty introspection of the lambda list of a closure.
2091 * bug fix: out of line MAP/MAP-INTO check that the results produced by the
2092 function are of the matching sequence type. (lp#1459581)
2093 * bug fix: pretty-printing of '(LET `((,X ,Y)) :B) is handled correctly.
2095 changes in sbcl-1.2.12 relative to sbcl-1.2.11:
2096 * minor incompatible change: the SB-C::*POLICY* variable is no longer
2097 a list. Code which manipulated it as such (including but not limited
2098 to non-bundled releases of ASDF) will need to be revised.
2099 * enhancement: The input stream for COMPILE-FILE implements
2101 * enhancement: EVAL errors that occur by way of LOAD report the starting
2102 line and column number of the erring toplevel form. (lp#565247)
2103 * optimization: better MAP and MAP-INTO on known vector result types.
2104 * bug fix: Read/modify/write macros accessing a place which is a
2105 composition of CAR+CDR operations, such as (SHIFTF (CADR X) (ELT V 0)),
2106 do not access subforms more than once. (lp#1450968)
2107 * bug fix: short form of DEFSETF no longer allows trailing junk.
2108 * bug fix: DEFINE-MODIFY-MACRO respects the provisions of CLHS 5.1.3
2109 regarding argument evaluation order. (lp#1452539)
2110 * bug fix: POP works as specified in CLHS if the setter for its
2111 argument has a side-effect on the existing CAR value. (lp#1454021)
2112 * bug fix: Reading "#()" with a positive numeric argument signals a
2113 reader error. As specified, reading "#1()" has undefined consequences,
2114 so correct portable code should be indifferent to this. (lp#1252100)
2115 * bug fix: Malformed reader conditionals such as "(#-no-such-feature)"
2116 and "(#+sbcl)" no longer parse as NIL. (lp#1454400)
2118 changes in sbcl-1.2.11 relative to sbcl-1.2.10:
2119 * enhancement: SET-PPRINT-DISPATCH will warn when given an expression in
2120 which any part is unrecognizable as a legal type-specifier.
2121 The dispatch table will be altered, but the new entry is disabled.
2122 Subsequent type-defining forms will cause pprint-dispatch tables to
2123 re-examine whether any disabled entries should be enabled. (lp#1429520)
2124 * enhancement: Loading code containing calls to a deprecated function will,
2125 under most circumstances, signal warnings similar to compiling such code.
2126 The usual caveat holds about not detecting calls through a computed name,
2127 as in (funcall (intern "DEPRECATED-FUN" "SB-EXT")).
2128 * enhancement: (SB-EXT:COMPILE-FILE-LINE) is a new macro that expands
2129 to a constant (VALUES integer integer) indicating the source line/column
2130 from which it was read, intended for logging Lisp runtime errors in
2131 a style similar to that afforded by the C preprocessor __LINE__ macro.
2132 Similarly (SB-EXT:COMPILE-FILE-POSITION) returns a position in characters.
2133 * enhancement: improved source locations for VOPs, alien types and
2135 * bug fix: functions in :FINAL deprecation have the correct docstring.
2136 No visible change, as no such functions presently exist. (lp#1439151)
2137 * bug fix: (SETF (FDEFINITION this) (FDEFINITION OTHER)) signals an error
2138 if OTHER names either a macro or special-operator. (lp#1439921)
2140 changes in sbcl-1.2.10 relative to sbcl-1.2.9:
2141 * minor incompatible change: all SOCKINT::WIN32-* functions have been
2142 deprecated with EARLY deprecation state
2143 * minor incompatible change: performing introspection via the system-internal
2144 SB-INT:INFO function could expose that :TYPE :TRANSLATOR is not necessarily
2145 a function, as it always was before. (Affects swank-fancy-inspector)
2146 * enhancement: The value of SXHASH on bit-vectors of length equal to the
2147 word size now depends on the vector's contents instead of being constant;
2148 its value on bit-vectors of length divisible by the word size now depends
2149 also on the contents of the vector's last word.
2150 * bug-fix: sb-bsd-sockets on win32 uses proper C function declarations.
2152 * bug fix: A new dead code elimination phase removes dead code loops
2153 that confuse stack analysis. (lp#1255782, lp#308914)
2154 * bug fix: A toplevel form which was simple enough to bypass the main
2155 compiler in COMPILE-FILE, and which contained an empty SETQ or PROGN
2156 would produce an invalid fasl file. (lp#1427050)
2157 * bug fix: The compiler no longer signals an internal error when
2158 encountering invalid FUNCTION forms like (function 1)
2159 * bug fix: express proper dependencies in the ASDF contrib, to support
2160 systems where make runs in parallel. (lp#1434768; thanks to Nikhil
2163 changes in sbcl-1.2.9 relative to sbcl-1.2.8:
2164 * minor incompatible change and bug fix: unboxed numeric constants
2165 on x86oids are arranged in memory differently, and the disassembler
2166 does not show them separately in DISASSEMBLE, but does
2167 if DISASSEMBLE-CODE-COMPONENT is used. (lp#1421987)
2168 * optimization: The compiler's treatment of type specifiers makes
2169 it slightly faster and more memory-efficient. Portable code
2170 should be indifferent to this change, however, users of
2171 SB-INTROSPECT:FUNCTION-TYPE might notice that (MEMBER T NIL)
2172 and (MEMBER NIL T) are both internally collapsed to the former,
2173 so that the latter can never be obtained as part of an FTYPE.
2174 * optimization: a TYPEP call in which the second argument is not a
2175 QUOTE form but nevertheless recognized as a compile-time constant
2176 might open-code the test. One scenario for this involves backquote,
2177 such as (TYPEP x `(my-type ,some-arg)). Code which relied upon
2178 deferring until runtime should declare (NOTINLINE TYPEP).
2179 [Due to the sematic constraints of DEFTYPE etc in in CLHS 3.2.2.3,
2180 code requiring delayed evaluation could be unportable though.]
2181 * enhancement: unused variables at the top-level are now reported.
2183 * bug fix: DEFCLASS handles cyclic {super,meta}class relations better
2185 * bug fix: compiler no longer signals an error when compiling certain
2186 function calls. (lp#1416704, lp#404441, lp#1417822, lp#1234919)
2187 * bug fix: compiler doesn't stumble on a LOGIOR transform. (lp#1389433)
2188 * bug fix: more robust debugger and backtraces. (lp#1413850, lp#1099500,
2189 lp#1412881, lp#945261, lp#1419205, lp#1409402)
2190 * bug fix: files larger than 4GB can now be compiled.
2191 * bug fix: x86 truncated results from 64-bit foreign functions to 32 bits.
2192 * bug fix: file-position didn't work on large files on win32. (lp#1271545)
2193 * bug fix: callbacks from foreign threads can work without enabling
2195 * bug fix: sb-introspect:function-lambda-list works properly on interpeted
2196 macros. (lp#1387404)
2197 * bug fix: ADJUST-ARRAY properly handles non-adjustable arrays. (lp#886418)
2198 * bug fix: compiler no longer fails to dump a multidimensional array
2199 constant involving a circular reference to itself
2200 * bug fix: conditional and nested DX allocation no longer confuse the
2201 compiler in STACK analysis. (lp#1044465)
2202 * bug fix: sb-rotate-byte constant folding bug fixed. (lp#1423682)
2204 changes in sbcl-1.2.8 relative to sbcl-1.2.7:
2205 * enhancement: better error and warning messages. (lp#1314767, lp#736383)
2206 * enhancement: backtrace for invalid argument count produces the exact
2207 supplied arguments including the extra ones, on x86, x86-64 and ARM.
2208 * enhancement: a STYLE-WARNING is signaled for DEFSTRUCT accessors which
2209 are used before the structure is defined; similarly for the predicate.
2210 * optimization: FORMAT NIL with only ~a and string arguments is transformed
2212 * optimization: POSITION and FIND when inlined into code that is compiled
2213 with qualities of safety < 2 and speed > space will no longer signal
2214 an error on circular lists, but will potentially loop forever if given
2215 no :END constraint. As was always the case, calls that are not inlined
2216 are safe regardless of lexical policy.
2217 * bug fix: CLOS methods compiled with (OPTIMIZE (DEBUG 0))
2218 no longer cause debugger failure when printing a backtrace
2219 * bug fix: more resilience to deleted code. (lp#1308328, lp#1390544)
2220 * bug fix: the CLHS example of MAKE-LOAD-FORM involving TREE-WITH-PARENT
2221 did not work, and now it does.
2223 changes in sbcl-1.2.7 relative to sbcl-1.2.6:
2224 * optimization: returning constant values refers to preboxed constants
2225 more reliably. (lp#1398785)
2226 * enhancement: a STYLE-WARNING is produced if a compiler-macro is defined
2227 for a function after at least one ordinary (not inlined) call to that
2228 function was compiled, indicating a likely compilation order problem.
2229 Likewise a warning ensues if a call is compiled to a function
2230 that is subsequently proclaimed INLINE.
2231 * enhancement: always lose() when something goes wrong while saving a core
2232 (instead of just printing an error on stderr in some situations).
2233 * enhancement: frames in the debugger are now restartable by default.
2234 * bug fix: restore error handling on Windows x86.
2235 * bug fix: MAKE-SEQUENCE detects type errors in its :INITIAL-ELEMENT
2236 at compile-time when possible. (lp#330299)
2237 * bug fix: parsing of malformed type specifiers no longer results
2238 in a memory-fault-error.
2239 * bug fix: LOOP properly destructures nested lists in WITH.
2240 * bug fix: MACROEXPANDing the redefinition of an alien structure type no
2241 longer signals the wrong error.
2242 * bug fix: PROGV doesn't get confused by forced DEBUG 3 (lp#1405456).
2244 changes in sbcl-1.2.6 relative to sbcl-1.2.5:
2245 * enhancement: SERVE-EVENTS uses the poll() system call in lieu of
2246 select() if the OS has the former. Previously poll() was used
2247 only if waiting on exactly one file descriptor.
2248 * enhancement: efficiency of access to untagged structure slots is improved
2249 on x86-64, and the order of slots in memory is exactly as specified by
2250 defstruct, simplifying use of structures as arguments to foreign calls.
2251 * bug fix: SB-DEBUG:ARG now works in all TRACE options which evaluate forms.
2253 * bug fix: GC memory corruption during internal memory handling.
2254 * bug fix: duplicate effective-slot-definition objects as compared
2255 by EQ on name could be present in CLASS-SLOTS of a class whose
2256 metaclass was structure-class or condition-class. (lp#1049423)
2257 * bug fix: HANDLER-BIND with empty bindings works again; regression in
2259 * bug fix: ATOMIC-INCF works on structure slots in interpreted code.
2261 * bug fix: MAKE-ARRAY properly handles character types like (eql #\a) and
2262 (member #\a #\c). (lp#1392068)
2263 * bug fix: READ sometimes accidentally preserved a whitespace character
2264 after a token when it should not have. (lp#327790)
2266 changes in sbcl-1.2.5 relative to sbcl-1.2.4:
2267 * enhancement: sb-bsd-sockets now has basic support for IPv6
2268 * enhancement: An sb-unicode package has been added, containing
2269 many functions related to handling Unicode text
2270 * enhancement: The reader now normalizes symbols to Normalization
2271 Form KC (NFKC). This behavior can be disabled with
2272 SB-EXT:READTABLE-NORMALIZATION
2273 * enhancement: a style-warning is signaled if OPTIMIZE declarations
2274 multiply specify a quality with differing values. (lp#310267)
2275 * bug fix: conservatively pointed to pages wipe out unused dwords so
2276 that they cannot act as false roots in turn.
2277 * bug fix: the walker's handling of lexical variable and symbol-macro
2278 bindings is improved (lp#375326, lp#1368305)
2279 * bug fix: HANDLER-{BIND,CASE} no longer drop into ldb when a clause
2280 contains an undefined condition type; regression in 1.1.19 (lp#1378939)
2281 * bug fix: in interpreted code, inequality predicates did not type-check
2282 arguments that weren't examined, and a 1-argument use of MIN or MAX
2283 accepted a complex number. (lp#1373702)
2284 * bug fix: APROPOS and APROPOS-LIST handle inherited symbols correctly.
2285 (lp#1364413, thanks to Zach Beane)
2287 changes in sbcl-1.2.4 relative to sbcl-1.2.3:
2288 * enhancement: the sequence functions MAP, CONCATENATE and MERGE now call
2289 the new generic functions SEQUENCE:MAP, SEQUENCE:CONCATENATE and
2290 SEQUENCE:MERGE respectively when the specified result type designates an
2292 * bug fix: Wrong binding order of supplied-p parameters in macro lambda
2294 * bug fix: VALIDATE-SUPERCLASS returns T when the superclass is the
2295 universal superclass (lp#1332983)
2296 * bug fix: reading an uninterned symbol whose print name has the
2297 syntax of an integer signals an error. (lp#310062)
2298 * bug fix: the walker is less likely to be confused when walking LET* forms
2299 with special bindings and use of those bindings and others of the same
2301 * bug fix: a rare bug affecting 32-bit platforms resulting in a
2302 fatal condition with the message "Globaldb rehash failure" has been fixed.
2304 changes in sbcl-1.2.3 relative to sbcl-1.2.2:
2305 * enhancement: DOCUMENTATION works on instances of
2306 FUNCALLABLE-STANDARD-CLASS
2307 * enhancement: ASSERT reports arguments of calls to lexical functions in
2308 additional to global functions.
2309 * enhancement: ASDF updated to 3.1.3
2310 * enhancement: UIOP can be loaded without ASDF.
2311 * bug fix: some methods on CHANGE-CLASS did not finalize the new class
2312 before accessing its class-precedence list.
2313 * bug fix: CHANGE-CLASS no longer fails on unbound slots in the source
2315 * bug fix: CHANGE-CLASS signals an appropriate error when the destination
2316 class is a FORWARD-REFERENCED-CLASS.
2317 * bug fix: CHANGE-CLASS no longer signals bogus TYPE-ERRORs for slots for
2318 which initargs have been supplied.
2319 * bug fix: saving cores on ARM was broken since the introduction of GENCGC.
2321 * bug fix: macroexpanding a backquoted expression involving ",."
2322 outside of the compiler failed. (lp#1354623)
2324 changes in sbcl-1.2.2 relative to sbcl-1.2.1:
2325 * incompatible change: the #\` ("backquote") reader macro was reimplemented
2326 to support robust pretty-printing. Reading a form involving #\` produces
2327 an invocation of the QUASIQUOTE ordinary macro which may contain subforms
2328 that are not lists. Code that unportably attempts operations on
2329 un-evaluated forms resulting therefrom, e.g.
2330 (SUBST a b (read-from-string "`(x (,y))"))
2331 might generate incorrect results and/or errors.
2332 * enhancement: support for GNU/kFreeBSD x86.
2333 * enhancement: ATOMIC-INCF and ATOMIC-DECF can operate on (CAR x), (CDR x)
2334 and DEFGLOBAL variables of type fixnum.
2335 * enhancement: arithmetic constant reduction is now performed on defconstant
2336 constants too. (lp#1337069).
2337 * bug fix: certain ftype proclamations containing &optional t &rest t no
2338 longer cause subsequent definitions to signal bogus style-warnings.
2339 * bug fix: #\Bell and #\Bel now read to different characters. (lp#1319452).
2340 * bug fix: CAS SYMBOL-VALUE on locally special variables didn't work.
2343 changes in sbcl-1.2.1 relative to sbcl-1.2.0:
2344 * enhancement: GENCGC is enabled on ARM.
2345 * enhancement: better error reporting for invalid calls to local functions.
2346 * enhancement: support for GNU/kFreeBSD distributions. (lp#1079954, thanks
2348 * enhancement: experimental support for threads on NetBSD/x86-64. (thanks
2349 to Robert Swindells)
2350 * enhancement: support for DragonFly BSD. (lp#1292845, thanks to Vasily
2352 * bug fix: TYPE-OF must not return AND/OR/NOT expressions.
2354 * bug fix: accessing NIL arrays stopped producing errors. (lp#1311421)
2355 * bug fix: DISASSEMBLE no longer prints unwanted stuff. (lp#1251861)
2356 * bug fix: compiling SVREF on unknown types no longer produces scary errors.
2358 * bug fix: assorted LOOP fixes and enhancements. (lp#645534, lp#1322923,
2359 lp#700538, lp#613876, lp#695286, lp#798388)
2360 * bug fix: silence compiler notes from the SEARCH transform. (lp#1071310)
2361 * bug fix: array type intersection handles T and unknown element types
2362 correctly. (lp#1258716)
2363 * bug fix: fix a corner case in array type unparsing that would result in
2364 misleading translations from our internal type representation.
2365 * bug fix: array-rank now sees through union and intersection types.
2367 * bug fix: when DECLARE expressions are in the wrong place, be careful not
2368 to attempt to evaluate the subforms. (lp#573747; thanks to Roman
2370 * bug fix: misplaced and missing declarations in DEFTRANSFORM. (lp#1066451)
2371 * bug fix: FBOUNDP returned NIL for a class of incorrect function names
2372 instead of signaling an error. (lp#1095483)
2373 * bug fix: fix a compile-time AVER in regalloc: lifetime analysis
2374 used to (rarely) introduce duplicate conflict markers in a single
2375 TN/block pair. (lp#1327008)
2377 changes in sbcl-1.2.0 relative to sbcl-1.1.18:
2378 * bug fix: read-time-eval backquote context mixup. (lp#1321047)
2379 * enhancement: when SAVE-LISP-AND-DIE fails due multiple threads, the
2380 report of the signaled conditions lists currently running threads.
2381 * enhancement: ported to ARM linux.
2382 * enhancement: sb-gmp contrib has been updated. (lp#1305266)
2383 * enhancement: new contrib sb-mpfr by Stephan Frank.
2384 * bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE
2385 (lp#1315846, thanks to Mark Cox)
2386 * bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic
2387 function-designator to a function only as needed. (lp#1012335)
2388 * bug fix: remove references to asdf-install from the manual. (lp#1207544,
2389 thanks to Thomas Hlavaty)
2390 * bug fix: handle --without-xxx options to make.sh more carefully.
2391 (lp#1246665, thanks to Richard M Kreuter)
2392 * bug fix: prevent maybe-delete-exit from doing semantically broken things
2393 with local exits. (lp#309099, lp#518099, lp#533930)
2394 * bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required
2395 by AMOP. (lp#861004)
2397 changes in sbcl-1.1.18 relative to sbcl-1.1.17:
2398 * optimization: COERCE is now more effecient for more cases when the type is
2399 known at compile-time.
2401 * bug fix: correctly inherit condition initforms. (lp#1300904)
2402 * bug fix: properly pprint literal functions inside nested lists.
2404 * bug fix: more-correctly handle array-type unity (broken for ages, causing
2405 compilation problems since 1.1.13.x due to smarter TYPEP type propagation,
2406 reported by jasom in #lisp).
2408 changes in sbcl-1.1.17 relative to sbcl-1.1.16:
2409 * enhancement: printing backtraces respects
2410 SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* when printing call arguments
2412 * optimization: defstruct out-of-line accessor are now as fast as inlined.
2414 * bug fix: INVOKE-RESTART-INTERACTIVELY no longer refuses to invoke RESTART
2415 instances with a test-function (reported by Vivitron in #sbcl)
2416 * bug fix: STREAM-ERROR-POSITION-INFO fails in fewer situations (lp#1264902)
2417 * bug fix: Change COND error message (lp#1254511)
2418 * bug fix: LOAD is no longer confused when called on a directory.
2420 * bug fix: MAKE-CONDITION reports names of missing condition classes
2421 properly (lp#1199223)
2422 * bug fix: restore building with clang. (lp#1293643)
2423 * bug fix: restore building on SPARC (broken since 1.1.15).
2424 * bug fix: improved FreeBSD support.
2425 * bug fix: PPC floating point conversion corrupted stack.
2427 changes in sbcl-1.1.16 relative to sbcl-1.1.15:
2428 * minor incompatible change: improve read/print consistency for pathnames on
2429 Win32, by using the circumflex character #\^ as the escape character.
2431 * enhancement: SB-EXT:DEFINE-LOAD-TIME-GLOBAL. (lp#1253688)
2432 * enhancement: Loading fasls with symbols from an undefined package includes
2433 the name of the symbol in the error message.
2434 * bug fix: problems when redefining classes and doing TYPEP on classes
2435 concurrently. (lp#1272742)
2436 * bug fixes to the x86-64 XCHG instruction:
2437 ** it was misencoded when used with RAX, R8-R15 registers. (reported by
2439 ** it was misencoded when used to exchange EAX with itself.
2440 ** the disassembler wrongly printed XCHG RAX, R8 and the corresponding
2441 32- and 16-bit variations as NOP.
2442 * bug fix: the disassembler outputs source annotations in the right place
2443 and no longer randomly drops some of them. (lp#1249205)
2444 * bug fix: fix commutative-arg-swap from introducing undumpable structures
2445 into code, prevent code with errors from being compiled. (lp#1276282)
2446 * bug fix: pathnames with :back in their directory component are succeffully
2448 * bug fix: the deterministic profiler now uses ENCAPSULATE functionality to
2449 wrap functions around. (lp#309086)
2451 changes in sbcl-1.1.15 relative to sbcl-1.1.14:
2452 * new feature: the iterative spilling/coloring register allocator developed
2453 by Alexandra Barchunova during Google Summer of Code 2013 is now merged
2454 in. By default, it only activates for functions that optimize with
2455 (speed 3) and (> speed compilation-speed), but setting
2456 sb-regalloc:*register-allocation-method* to :iterative forces its
2457 execution. The previous behaviour can be obtained by instead setting that
2458 variable to :greedy. Thanks again to Google for their support, and, more
2459 crucially, to Alexandra Barchunova for her hard work.
2460 * optimization: make-array with known element-type and unknown dimensions is
2462 * optimization: make-array with unknown element-type is faster as well.
2464 * enhancement: sb-ext:save-lisp-and-die on Windows now accepts
2465 :application-type argument, which can be :console or :gui. :gui allows
2466 having GUI applications without an automatically appearing console window.
2467 * enhancement: reduced conservativism on GENCGC platforms:
2468 conservative roots must be valid-looking tagged pointers or point
2469 within a code object, not merely point to within the allocated part
2470 of a page, in order to pin a page.
2471 * enhancement: support for "Mac Roman" external format.
2472 * enhancement: encapsulation of named generic functions now happens without
2473 altering the identity of the function bound to the name.
2474 * bug fix: Windows applications without the console window no longer misbehave.
2475 (patch by Wilfredo Velazquez, lp#1256034).
2476 * bug fix: modular arithmetic optimizations do not stumble on dead branches
2477 with bad constants. (reported by Douglas Katzman)
2478 * bug fix: CLISP can be used again as a cross-compilation host.
2479 (Thanks to Vasily Postnicov, lp#1261451)
2480 * bug fix: run-program crashed with :directory nil. (lp#1265077)
2482 changes in sbcl-1.1.14 relative to sbcl-1.1.13:
2483 * optimization: complicated TYPEP tests are less opaque to the type
2484 propagation pass. (lp#1229340)
2485 * optimization: [N]BUTLAST perform a single pass over the list. (lp#1245697)
2486 * optimization: EQUALP on structures with raw slots (double-float/complex)
2487 no longer conses and is faster.
2488 * optimization: RESTART-CASE expands to more compact code.
2489 Thanks to Jan Moringen. (lp#1249055)
2490 * enhancement: Top-level defmethod without defgeneric no longer causes
2491 undefined-function warnings in subsequent forms. (lp#503095)
2492 * enhancement: Better error messages for system errors on Windows.
2493 * enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William
2494 Cushing. (lp#1249183)
2495 * enhancement: new function SB-EXT:ASSERT-VERSION->= accepts a version
2496 specification (multiple integer arguments) and signals a continuable error
2497 if the current SBCL version is lower (older) than the specification.
2499 * enhancement: better ARRAY-RANK result derivation. (lp#1252108)
2500 * bug fix: EQUALP now compares correctly structures with raw slots larger
2502 * bug fix: contribs couldn't be built on Windows with MinGW.
2503 * bug fix: Better pathname handling on Windows. (lp#922117)
2504 * bug fix: OPEN reports a more meaningful error when an existing file is
2505 opened for output with :if-exists :new-version. Thanks to Philip
2506 Munksgaard. (lp#455381)
2507 * bug fix: DEFSTRUCTs with NIL as a slot name no longer cause strange
2508 CLOS-related errors. (lp#633911)
2509 * bug fix: GC deadlocks caused by concurrent consing on Windows.
2511 changes in sbcl-1.1.13 relative to sbcl-1.1.12:
2512 * optimization: better distribution of SXHASH over small conses of related
2514 * other improvements to SXHASH:
2515 ** use the whole of the positive-fixnum range for SXHASH of fixnums
2516 * enhancement: The error message when calling an undefined alien function
2517 includes the name of the function on x86-64.
2518 * enhancement: sb-ext:run-program now supports :environment on Windows.
2519 * enhancement: ASDF is no longer required to load contribs at runtime.
2521 * enhancement: when called with a symbol, FIND-RESTART no longer calls
2522 COMPUTE-RESTARTS, making it faster and cons less (lp#769615)
2523 * enhancement: FIND-RESTART and COMPUTE-RESTARTS handle huge restart
2524 clusters better in some cases
2525 * enhancement: SOME/ANY/other quantification higher-order functions no
2526 longer cons. (lp#1070635)
2527 * bug fix: forward references to classes in fasls can now be loaded.
2529 * bug fix: don't warn on a interpreted->compiled function redefinition
2530 from the same location. (patch by Douglas Katzman, lp#1042405)
2531 * bug fix: Create vectors of proper internal length when reading literal
2532 vectors from FASLs. (Reported by Jan Moringen)
2533 * bug fix: COMPILE can now successfully compile setf functions.
2534 (Reported by Douglas Katzman)
2535 * bug fix: run-program performs more correct escaping of arguments on
2536 Windows. (lp#1239242)
2537 * bug fix: function-lambda-expression on generic functions returns the
2539 * bug fix: (the [type] [constant]) now warns when [constant] matches
2540 [type] except for the number of values. (Reported by Nathan Trapuzzano
2542 * bug fix: signal errors in required cases of slot-definition initialization
2543 protocol. (lp#309072)
2544 * bug fix: run-sbcl.sh works better in the presence of symlinks on OS X.
2545 (thanks to Stelian Ionescu, lp#1242643)
2546 * bug fix: when given a restart object, FIND-RESTART checks whether the
2547 restart is active and, when a condition is supplied, whether the restart
2548 is associated to a different condition (lp#774410)
2550 changes in sbcl-1.1.12 relative to sbcl-1.1.11:
2551 * enhancement: Add sb-bsd-sockets:socket-shutdown, for calling
2552 shutdown(3). (thanks to Jan Moringen, lp#1207483)
2553 * enhancement: document extensible sequences. (thanks to Jan Moringen,
2555 * optimization: EQUAL and EQUALP transforms are smarter.
2556 (thanks to Elias Martenson, lp#1220084)
2557 * optimization: CHAR-EQUAL is faster for constant and base-char arguments.
2558 * bug fix: probe-file now can access symlinks to pipes and sockets in
2559 /proc/pid/fd on Linux. (reported by Eric Schulte)
2560 * bug fix: SBCL can now be built on Solaris x86-64.
2561 * bug fix: Floating point exceptions do not persist on Solaris anymore.
2562 * bug fix: (setf . a) is pprinted correctly (reported by Douglas Katzman).
2563 * bug fix: handle compiler-error in LOAD when it's not run from inside EVAL.
2565 * bug fix: SB-GMP:MPZ-POW no longer segfaults given a non-bignum base.
2566 (thanks to Stephan Frank)
2567 * bug fix: space allocation of result bignums in SB-GMP is more accurate.
2568 (thanks to Stephan Frank, lp#1206191)
2569 * bug fix: sb-safepoint can now reliably handle signal interruptions of
2570 foreign code. (lp#1133018)
2571 * bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback"
2572 constructors no longer fails to merge actual and default initargs
2573 (thanks to Jan Moringen, lp#1179858)
2574 * bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback"
2575 constructors handles non-KEYWORD initialization arguments more correctly.
2576 * bug fix: loading the SB-SIMPLE-STREAMS contributed module no longer
2577 clobbers FILE-NAMESTRING. (thanks to Anton Kovalenko, lp#884603)
2578 * bug fix: class definitions with CPLs inconsistent with their metaclasses
2579 are less likely to destroy the object system's integrity. (lp#309076)
2580 * bug fix: restart clause parsing in RESTART-CASE is more in line with the
2581 standard. (lp#1203585, thanks to Jan Moringen)
2582 * bug fix: silence a note from RESTART-CASE under high-SPEED optimization
2583 settings. (lp#1023721)
2584 * bug fix: getting the order of arguments to
2585 SB-MOP:SET-FUNCALLABLE-INSTANCE-FUNCTION wrong produces a sensible error
2586 rather than a failed AVER. (reported by Paul Nathan)
2587 * bug fix: Parsing of &optional/&key/&rest arguments now never overwrites
2588 arguments during copying on x86 and x86-64; it may still happen on other
2589 platforms when there are more fixed arguments than stack slots.
2590 (reported by Jan Moringen)
2592 changes in sbcl-1.1.11 relative to sbcl-1.1.10:
2593 * enhancement: support building the manual under texinfo version 5.
2595 * enhancement: Windows builds no longer display the "Kitten of Death" message.
2596 A warning is instead appended to the regular banner, and may be muted with
2597 --noinform. (lp#728247)
2598 * enhancement: support building under new linker handling of syscalls under
2599 NetBSD. (thanks to Robert Swindells)
2600 * bug fix: undefined function errors are now properly reported on PPC and MIPS.
2601 (regression since 1.1.9)
2602 * bug fix: (funcall (function X junk)) didn't causes an error when X had a
2603 compiler macro. (thanks to Douglas Katzman).
2604 * bug fix: signal a warning when defining a setf-function when a
2605 setf-expander is already present. (thanks to Douglas Katzman).
2606 * bug fix: improved threading on PPC.
2607 * bug fix: ROOM works again on Windows. (lp#1206456)
2608 * bug fix: Streams were flushed even when there was one byte still left in
2609 the buffer. (lp#910213)
2610 * bug fix: OPEN handles correctly when :if-exists and :if-does-not-exist are
2611 either NIL or :ERROR. (reported by Jan Moringen)
2613 changes in sbcl-1.1.10 relative to sbcl-1.1.9:
2614 * enhancement: ASDF has been updated to 3.0.2.
2615 * optimization: stack frames are packed more efficiently on x86oids, which
2616 ought to reduce the frequency of Methuselahn conservative references (it
2617 certainly helps with gc.impure.lisp / BUG-936304 on x86).
2618 * optimization: on x86 and x86-64, integer negation forms like (- x) are now
2619 recognized in modular arithmetic contexts, and compile to native negate,
2620 rather than going through bignums only to keep the low bits.
2621 * bug fix: Compiling potential modularic arithmetic forms does not cause type
2622 errors when some integer types lack lower or upper bounds. (lp#1199127)
2623 * bug fix: Non-trivial modular arithmetic forms are always cut to the right
2624 bitwidth before being used in a non-modular context. (lp#1199428)
2625 * bug fix: Multiple catch/unwind blocks in a single function are now
2626 allocated in the right stack order on win32. (lp#1072739)
2628 changes in sbcl-1.1.9 relative to sbcl-1.1.8:
2629 * new feature: the contrib SB-GMP links with libgmp at runtime to speed
2630 up arithmetic on bignums and ratios. (contributed by Stephan Frank)
2631 * enhancement: disassemble now annotates some previously missing static
2632 functions, like LENGTH.
2633 * enhancement: clean.sh now also cleans doc/internals.
2634 * enhancement: SB-EXT:PRINT-SYMBOL-WITH-PREFIX can be used within ~// to
2635 print a symbol with a package prefix.
2636 * enhancement: The debugger and backtracing are more robust against buggy
2637 PRINT-OBJECT methods.
2638 * optimization: calls to static functions on x86-64 use less instructions.
2639 * optimization: compute encode-universal-time at compile time when possible.
2640 * optimization: when referencing internal functions as #'x, don't go through
2641 an indirect fdefn structure.
2642 * optimization: SLEEP doesn't cons on non-immediate floats and on ratios.
2643 * optimization: (mod fixnum) type-checks are performed using one unsigned
2644 comparison, instead of two.
2645 * optimization: enable more modular arithmetic transforms in the presence of
2647 * optimization: bitwise OR forms can now trigger modular arithmetic as well,
2648 when the result is known to be negative.
2649 * optimization: recognize more cases of useless LOGAND/LOGIOR with constants.
2650 * optimization: comparisons between rationals and constant floats or between
2651 integers and constant ratios are now converted to rationals/integers at
2653 * optimization: Smaller and faster DOUBLE-FLOAT-LOW-BITS on x86-64.
2654 * bug fix: problems with NCONC type derivation (reported by Jerry James).
2655 * bug fix: EXPT type derivation no longer constructs bogus floating-point
2656 types. (reported by Vsevolod Dyomkin)
2657 * bug fix: sb-bsd-sockets has correct declaration of the canonname field of
2658 addrinfo. (lp#1187041, patch by Jerry James)
2659 * bug fix: uninitialized type-error conditions can now be printed.
2661 * bug fix: tests for sb-bsd-sockets no longer use a predefined port for
2662 listening, allowing several tests to run in parallel.
2663 * bug fix: during disassembly to *COMPILER-TRACE-OUTPUT* instruction
2664 prefixes as used on x86 and x86-64 no longer sometimes print incorrectly.
2666 * bug fix: Specialised SIMD-PACK types can be negated.
2667 * bug fix: Modular arithmetic is more robust. (incidentally fixes another bug
2668 reported by Eric Marsden)
2669 * bug fix: FP return values from foreign calls are always rounded to single
2670 or double float precision on x87.
2671 * bug fix: Known-safe vector access on x86oids should not fail spuriously
2672 when the index is of the form (+ x constant-positive-integer).
2673 * bug fix: Remove GPL-licensed files from source distribution. (lp#1185668)
2674 * bug fix: backtrace printer no longer tries to create very large lists when
2675 the arg-count register is clobberred by other code. (lp#1192929)
2676 * bug fix: x86 should never signal an FP exception while boxing an FP value,
2677 a situation that lands us into ldb.
2679 changes in sbcl-1.1.8 relative to sbcl-1.1.7:
2680 * notice: The implementation of MAP-ALLOCATED-OBJECTS (the heart of
2681 ROOM, plus a few SB-INTROSPECT functions) has been completely
2682 rewritten; it may now exhibit different bugs than before.
2683 * new feature: minimal runtime/compiler intrastructure support for SSE
2684 SIMD values, as SB-EXT:SIMD-PACK. Enabled on x86-64 via the build-time
2685 feature :sb-simd-pack. This should enable intrinsics extensions as
2686 libraries, without patching SBCL itself. Thanks to Alexander Gavrilov
2687 for maintaining a branch for so long.
2688 * enhancement: RUN-PROGRAM supports a :DIRECTORY argument to set
2689 the working directory of the spawned process.
2690 (lp#791800) (patch by Matthias Benkard)
2691 * enhancement: boxed vectors (vectors of T or of FIXNUM) can now be
2692 stack-allocated on PPC.
2693 * enhancement: "fixed objects" can now be stack-allocated on PPC.
2694 * enhancement: WITH-PINNED-OBJECTS no longer conses on PPC/GENCGC.
2695 * enhancement: (sb-introspect:find-definition-sources-by-name x :vop) now
2696 also returns VOPs which do not translate any functions, and finds
2697 defoptimizer types ir2convert and stack-allocate-result.
2698 * enhancement: better type derivation for APPEND, NCONC, LIST.
2700 * enhancement: MAP-ALLOCATED-OBJECTS (the heart of ROOM) now walks the
2701 heap in a manner similar to the GC rather than its previous ad-hoc
2702 scheme, and is therefore no less and possibly more accurate.
2703 * fixes and enhancements related to Unicode:
2704 ** the character database information has been updated to Unicode 6.2;
2705 ** support for canonical and compatibility decomposition of characters has
2706 been added, along with support for primary composition;
2707 ** support for Unicode normalization forms of strings (NFC, NFKC, NFD and
2708 NFKD) has been included;
2709 ** querying the character database for code points not defined by Unicode
2710 gives less wrong answers (lp#1178038, reported by Ken Harris)
2711 * enhancement: print intermediate evaluation results for some ASSERTed
2712 expressions. (lp#789497) (patch by Alexandra Barchunova)
2713 * enhancement: x86-64 disassemblies are annotated with unboxed constant
2714 values when there are references to (RIP-relative) unboxed constants.
2715 * bug fix: type derivation for LOG{AND,IOR,XOR} scales linearly instead
2716 of quadratically with the size of the input in the worst case.
2718 * bug fix: handle errors when initializing *default-pathname-defaults*,
2719 sb-ext:*runtime-pathname*, sb-ext:*posix-argv* on startup, like character
2720 decoding errors, or directories being deleted.
2721 * bug fix: Loading a core with a discontiguous dynamic space now correctly
2722 computes the amount of dynamic space used.
2723 * bug fix: disassembler missing ",8" on SHLD
2724 * bug fix: backtracing through INTERNAL-ERROR signal handlers on systems
2725 that provide an "invalid" stack frame link for the signal handler
2726 itself now use the saved-fp-and-pc mechanism to pick up from the stack
2727 frame in the interrupt (signal) context. This is known to affect
2728 threaded FreeBSD/x86-64.
2729 * bug fix: some LOOP statements couldn't be compiled.
2731 * bug fix: sb-sequence:dosequence works on literal vectors.
2732 * bug fix: errors in generic arithmetic show the assembly routine's
2733 caller on x86 and x86-64. (lp#800343)
2734 * bug fix: Compile-time type errors should never result in COMPILE-FILE
2735 failure. (lp#943953)
2736 * bug fix: Known bad local calls do not cause strange failures when
2737 emitting or dumping code. (lp#504121)
2738 * bug fix: Multiply-inlined structure constructor don't cause IR2-time
2739 codegen errors: type checks are inserted as necessary. (lp#1177703)
2740 * bug fix: Unsigned modular arithmetic is correctly converted into signed
2741 modular arithemtic (mostly to exploit fixnum-width VOPs). (lp#1026634)
2742 * bug fix: a combination of inlined local function with &optional and
2743 recursion no longer causes undescriptive compiler errors. (lp#1180992)
2744 * bug fix: sub-word BOOLEAN alien types now disregard higher order bits
2745 when testing for non-zero-ness.
2746 * bug fix: (CONCATENATE 'null ...) no longer fails for generic sequences.
2748 * bug fix: Type mismatch for the value of conditional expressions are
2749 correctly reported when detected at compile-time, instead of complaining
2750 about a constant NIL (similar for non-EQ-comparable catch tags).
2751 * bug fix: Referring to INLINE global functions as values should not result
2752 in a compilation failure. (lp#1035721)
2753 * optimization: faster ISQRT on fixnums and small bignums
2754 * optimization: faster and smaller INTEGER-LENGTH on fixnums on x86-64.
2755 * optimization: On x86-64, the number of multi-byte NOP instructions used
2756 for code alignment is now always minimal.
2757 * optimization: On 64-bit targets, the compiler generates much faster
2758 code for type checks for types known at compile time that are smaller
2759 than (SIGNED-BYTE 64) or (UNSIGNED-BYTE 64) and larger than FIXNUM, and
2760 their COMPLEX variants.
2761 * optimization: On x86 targets, more uses of ALIEN-FUNCALL during cross
2762 compilation now inline the INVOKE-WITH-SAVED-FP-AND-PC dance.
2763 * optimization: ROOM no longer conses so egregiously on non-x86oid
2765 * optimization: associative bitwise operations reassociate patterns like
2766 (f (f x k1) k2) to expose (f x (f k1 k2)). Same for + and * of
2768 * optimization: quasiquote expressions now perform more constant folding,
2769 instead of consing equal lists at runtime. (lp#1026439)
2770 * optimization: local call analysis of inlined higher-order function
2771 should converge more quickly, resulting in better code for complex
2773 * optimization: On x86-64, medium (word-sized but wider than 32 bits)
2774 integer constants are handled more cleverly, especially when they
2775 can be represented as sign-extended (signed-byte 32). (Based on a
2776 patch by Douglas Katzman)
2777 * optimization: IF/IF conversion should reliably result in sane code
2778 when (some of) the results of the inner IF are always false or
2780 * optimization: On x86oids, variable right shifts of machine words are
2781 compiled into straight SAR/SHR, instead of going through the generic
2784 changes in sbcl-1.1.7 relative to sbcl-1.1.6:
2785 * enhancement: TRACE :PRINT-ALL handles multiple-valued forms.
2787 * bug fix: :allocation slot option works for condition slots
2789 * bug fix: redefining conditions does not lead to multiple evaluations of
2790 hairy slot initfunctions anymore (lp#1164969)
2791 * bug fix: CLASS-DIRECT-DEFAULT-INITARGS now works for condition classes
2793 * bug fix: function constants now work as initforms and default initarg
2794 values of conditions (lp#539517)
2795 * bug fix: svref/(setf svref) on symbol macros don't crash the compiler
2796 anymore. (Minimal test case provided by James M. Lawrence on sbcl-devel)
2797 * bug fix: no more bogus ## references when pretty printing backquoted
2798 forms with non-trivial structure sharing. (lp#1161218)
2799 * bug fix: Don't signal an error on (setf (documentation nil 'function)
2800 "doc"). Signal a style-warning instead when trying to set documentation
2801 of NIL for all other documentation types. (Reported by Zach
2802 Beane; regression since 2e52fa05.)
2803 * bug fix: modular arithmetic involving large constants and conditionals
2804 should no longer result in spurious dead code elimination. (Reported by
2806 * bug fix: our mach exception handler can seemingly called very early in
2807 the program execution process on OS X 10.8.0. Try and handle that case
2808 robustly, without potentially leaking mach ports too much.
2809 * optimization: LOGBITP and LOGTEST optimizations from x86 ported to x86_64.
2811 changes in sbcl-1.1.6 relative to sbcl-1.1.5:
2812 * enhancement: the continuable error when defknown-ing over extant
2813 fndb entries can be ignored by passing :overwrite-fndb-silently t
2814 as a keyword argument to sb-c:defknown (after attributes). Useful
2815 to allow defknown to be re-loaded. Use with :allow-other-keys t
2816 for backward compatibility.
2817 * optimization: compiler is much faster in compiling SVREF and (SETF SVREF)
2819 * bug fix: Prevent a make-array transform from modifying source forms
2820 causing problems for inlined code. Thanks to Bart Botta.
2821 (regression since 1.0.42.11-bis)
2822 * bug fix: clear-output calls the correct gray stream routine,
2823 sb-gray:stream-clear-output. (lp#1153257)
2824 * bug fix: an error is signalled for an invalid format modifier: ~<~@>.
2826 * bug fix: Better error messages for package operations (lp#1154776)
2827 * bug fix: delete-package on a nonexistent package should signal a cerror.
2828 (regression since 1.0.37.44).
2829 * bug fix: accessing &MORE (stack allocated &REST) arguments checks bounds.
2830 (lp#1154946, lp#1072112)
2831 * bug fix: compiling make-array no longer signals an error when the
2832 element-type is an uknown type, a warning is issued instead.
2833 Thanks to James Kalenius (lp#1156095)
2834 * bug fix: SEARCH on generic (non-VECTOR non-LIST) sequence types no longer
2835 produces wrong results for some inputs. (Thanks to Jan Moringen.)
2838 changes in sbcl-1.1.5 relative to sbcl-1.1.4:
2839 * minor incompatible change: SB-SPROF:WITH-PROFILING no longer loops
2841 * new feature: package local nicknames. See manual for details.
2842 * new feature: SB-EXT:MAP-DIRECTORY provides a powerful interface for
2843 directory traversal: it is the backend used by SBCL for CL:DIRECTORY.
2844 * enhancement: easier to use restarts for resolving name-conflicts
2845 resulting from IMPORT, EXPORT, or USE-PACKAGE.
2846 * enhancement: variant DEFPACKAGE forms now signal a full error with
2847 restarts provided for resolving the situation. (lp#891351)
2848 * enhancement: by setting SB-EXT:*ON-PACKAGE-VARIANCE* appropriately variant
2849 DEFPACKAGE forms can now signal a full error with restarts provided for
2850 resolving the situation. See manual for details. (lp#891351)
2851 * enhancement: make-random-state now uses CryptGenRandom as a seed on Windows.
2852 (Thanks to Anton Kovalenko.) (lp#1102748)
2853 * enhancement: backtrace improvements
2854 ** secondary CLOS dispatch functions have better debug names (lp#503081)
2855 ** easier to read method names in backtraces. See
2856 SB-DEBUG:*METHOD-FRAME-STYLE*.
2857 ** SB-DEBUG:PRINT-BACKTRACE and SB-DEBUG:LIST-BACKTRACE are available as
2858 forwards-compatible replacements for SB-DEBUG:BACKTRACE and
2859 SB-DEBUG:BACKTRACE-AS-LIST.
2860 ** SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS** has been deprecated, as the same
2861 information is available in less intrusive form as frame annotations.
2862 * enhancement: SB-POSIX now provides MAP-ANON.
2863 * enhancement: test-suite results are colorized, failures in red, unexpected
2864 success in green. Works on Windows and on terminals with ANSI escape code
2865 support. Can be disabled with --no-color.
2866 * optimization: SB-CONCURRENCY:QUEUE implementation is more efficient.
2867 (thanks to James M. Lawrence)
2868 * bug fix: no more unused variable style warnings from RESTART-CASE
2869 macroexpansion (lp#1113859)
2870 * bug fix: no more unused variable style warnings when loading
2871 sb-bsd-sockets.asd (lp#1114681)
2872 * bug fix: deleting a package removes it from implementation-package
2873 lists of other packages.
2874 * bug fix: SB-SPROF:WITH-PROFILING is now usable in the Slime REPL on Darwin.
2875 This does not fix the occasional "interrupt already pending" issue, though.
2876 * bug fix: (setf (documentation 'x 'function)) and
2877 (setf (documentation #'x t)) set documentation in different places.
2878 (regression since 1.0.43.63)
2879 * bug fix: build on newer glibc. (lp#1095036)
2881 changes in sbcl-1.1.4 relative to sbcl-1.1.3:
2882 * optimization: LOOP expressions using "of-type character" have slightly
2883 more efficient expansions.
2884 * bug fix: very long (or infinite) constant lists in DOLIST do not result
2885 in very long compile times or heap exhaustion anymore. (lp#1095488)
2886 * bug fix: `#3(1) is read as #(1 1 1), not as #(1). (lp#1095918)
2887 * bug fix: adjust-array ignored :initial-element for simple-vectors.
2889 * bug fix: optimizations to MAKE-INSTANCE with literal list initargs no
2890 longer cause infinite loops (on circular data) or violate eqlity
2891 constraints. (lp#1099708)
2892 * bug fix: FIRST was not being open coded. (regression from 1.1.0)
2894 changes in sbcl-1.1.3 relative to sbcl-1.1.2:
2895 * enhancement: warnings about bad locale settings, LANG, LC_CTYPE, etc.
2897 * enhancement: support for C-c to interrupt the foreground thread
2898 on Windows. (Thanks to Anton Kovalenko.)
2899 * enhancement: STDCALL alien callbacks. (Thanks to Anton Kovalenko.)
2900 * enhancement: Safepoint builds on POSIX platforms can now optionally be
2901 built without pseudo-atomic sequences and their run-time overhead.
2902 * enhancement: Threads created outside of Lisp can enter Lisp through
2903 alien callbacks and appear as Lisp threads for the duration of that
2904 function invocation. On safepoint builds only.
2905 * enhancement: Miscellaneous improvements to namestrings and underlying
2906 calls to OS functions for file system access on Windows. (Thanks to
2908 * enhancement: The MSI installer support for Windows now uses Windows
2909 Installer XML at least version 3.5 and includes various usability
2910 improvements. (Thanks to Dmitry Kalyanov and Anton Kovalenko.)
2911 * enhancement: The sb-bsd-sockets contrib now supports non-blocking-mode
2912 on Windows. (Thanks to Anton Kovalenko.)
2913 * enhancement: The Windows backend now supports the x86-64 platform.
2914 (Thanks to Anton Kovalenko.)
2915 * bug fix: fasls are now once again directly executable (on platforms
2916 supporting shebang lines, with a suitably-installed sbcl).
2917 * bug fix: make.sh --help no longer runs clean.sh. (lp#937001)
2918 * bug fix: Fix CAS access to slots of direct instances of structure classes
2919 in the presence of subclasses sharing the same conc-name.
2920 * bug fix: Logical pathname namestrings on Windows have been changed to
2921 be lower-case, to minimize differences between POSIX and Windows.
2923 changes in sbcl-1.1.2 relative to sbcl-1.1.1:
2924 * notice: System requirements for SBCL on Microsoft Windows: Windows NT 5.1
2925 or newer (Windows XP, Server 2003) is required. Support for Windows 2000
2926 (NT 5.0) is no longer being maintained.
2927 * notice: Starting with this version, SBCL on Windows no longer supports
2928 building with disabled thread support.
2929 * enhancement: frlocks have been added to SB-CONCURRENCY contrib module.
2930 * enhancement: New feature sb-dynamic-core allows the runtime to be
2931 rebuilt or relocated without requiring changes to the core file on
2932 all linkage table platforms. Required on Windows. (Thanks to Anton
2934 * enhancement: Console I/O streams use UCS-2. (Thanks to Anton Kovalenko.)
2935 * enhancement: I/O on Windows unnamed pipes is interruptible
2936 asynchronously using interrupt-thread, timers when running on Windows NT
2937 version 6.1 or newer (Windows 7, Server 2008 R2). (Thanks to Anton
2939 * enhancement: Support for the experimental safepoint-based stop-the-world
2940 protocol on the PowerPC platform.
2941 * bug fix: Non-blocking reads from the Windows console were not necessarily
2942 non-blocking. Thanks to Anton Kovalenko. (lp#308923)
2943 * bug fix: stability of threads on Windows has been improved upon through
2944 an updated stop-the-world protocol (thanks to Anton Kovalenko).
2946 changes in sbcl-1.1.1 relative to sbcl-1.1.0:
2947 * enhancement: WITH-COMPILATION-UNIT no longer grabs the world-lock.
2948 (COMPILE and COMPILE-FILE still do.)
2949 * optimization: the SPARC backend now supports the precise generational
2950 (GENCGC) garbage collection. Enabled by default on Solaris/SPARC and
2951 Linux/SPARC. Thanks to Raymond Toy (via CMUCL).
2952 * enhancement: add experimental support for the SB-THREAD feature and the
2953 timer facility on Windows. Thanks to Dmitry Kalyanov and Anton Kovalenko.
2954 Threads are enabled by default, and this version of SBCL is considered
2955 to be the last and final release to officially support building with
2957 * optimization: The compiler no longer rotates loops in some cases where
2958 this transformation actually lead to worse code being generated.
2959 * bug fix: SB-CLTL2:MACROEXPAND-ALL correctly handles shadowing of
2960 symbol-macros by lexical bindings.
2961 * bug fix: stack allocation was prevented by high DEBUG declaration in
2963 * bug fix: SB-EXT:GC-LOGFILE signaled an error when no logfile was set.
2964 (thanks to SANO Masatoshi)
2965 * bug fix: PARSE-NATIVE-NAMESTRING performed non-native parsing when
2966 :JUNK-ALLOWED was true.
2967 * bug fix: type derivation inferred overly conservative types for
2968 unions of array types. (lp#1050768)
2970 changes in sbcl-1.1.0 relative to sbcl-1.0.58:
2971 * enhancement: New variable, sb-ext:*disassemble-annotate* for controlling
2972 source annotation of DISASSEMBLE output. Defaults to T.
2973 * enhancement: TIMEOUT arguments added to WITH-MUTEX and WITH-RECURSIVE-LOCK, and
2974 WAIT-P argument added to WITH-RECURSIVE-LOCK.
2975 * enhancement: SB-EXT:ATOMIC-PUSH and SB-EXT:ATOMIC-POP allow atomic operations
2977 * enhancement: Optional features (not enabled by default) allow the
2978 use of signals for inter-thread synchronization to be reduced on certain
2979 supported platforms (currently Linux, Solaris, and FreeBSD on x86 and
2980 x86-64). Set (and :sb-thread :sb-safepoint :sb-thruption :sb-wtimer)
2981 to test these experimental features. Known remaining bugs include minor
2982 thread safety issues, less timely freeing of memory by GC, and certain
2983 (not yet optimally low) runtime overhead. Thanks to Anton Kovalenko.
2984 * optimization: CL:SORT and CL:STABLE-SORT of lists are faster and use fewer
2985 comparisons, particularly on almost-sorted inputs.
2986 * bug fix: Reading floats with large exponents no longer takes too much time
2987 before reporting that the exponent is too large.
2988 * bug fix: SB-BSD-SOCKETS:SOCKET-RECEIVE with a UDP socket now works
2989 correctly when the received datagram is larger than the provided buffer.
2990 (lp#1023438, thanks to Robert Uhl)
2991 * bug fix: SB-EXT:GET-CAS-EXPANSION returned a bogus read-form when given
2992 a SYMBOL-VALUE form with a constant symbol argument.
2993 * bug fix: SB-EXT:GET-CAS-EXPANSION signaled an error when a macro expanding
2994 into a DEFCAS defined place was used as the place.
2995 * bug fix: FIND and POSITION signaled a type-error when non-bits where looked
2996 for from bit-vectors.
2997 * bug fix: a race condition around thread creation could (in SBCL 1.0.57)
2998 lead to internal errors or crashes (lp#1058799).
2999 * documentation: a section on random number generation has been added to the
3002 changes in sbcl-1.0.58 relative to sbcl-1.0.57:
3003 * enhancement: implicit generic function warnings now specify the package
3004 in which the new generic function is being created.
3005 * enhancement: SB-EXT:ATOMIC-UPDATE makes it easy to perform non-destructive
3006 updates of CAS-able places (similar to Clojure's swap!).
3007 * enhancement: run-program no longer decodes and re-encodes environment when
3008 :environment argument is not provided. (lp#985904)
3009 * enhancement: errors during compiler-macro expansion no longer cause
3010 runtime errors, only a compile-time warning, otherwise behaving as if
3011 the compiler macro had declined to expand.
3012 * optimization: On x86-64, code alignment of block headers is done with
3013 multi-byte NOPs now instead of repetitions of the single-byte NOP.
3014 * optimization: MAP-INTO is substantially faster when the target sequence is
3015 of unknown type; mapping into lists is no longer O(N^2). (lp#1001043,
3016 thanks to James M. Lawrence)
3017 * optimization: the compiler no longer heap-conses to check exits in cases
3018 where the exit function is dynamic extent, or when it can prove the exit
3019 function cannot escape. (lp#1002534)
3020 * optimization: SB-SEQUENCE:DOSEQUENCE is faster on vectors of unknown
3021 element type, and vectors that aren't SIMPLE-ARRAYs.
3022 * optimization: CL:SORT and CL:STABLE-SORT are more efficient in execution
3023 speed (around 1/3 the time in some cases), and a little better in terms of
3024 comparison calls. (Thanks to Takeru Ohta)
3025 * bug fix: On SPARC, a limitation on the number of code constants emittable
3026 by the compiler has been lifted, allowing certain long functions to
3027 compiled and assembled which had previously been unsupported; fixes
3028 cl-bench on this ISA (lp#1008996).
3029 * bug fix: potential for infinite recursion during compilation of CLOS slot
3030 typechecks when dependency graph had loops. (lp#1001799)
3031 * bug fix: error forms reported with some program-errors were not escaped
3033 * bug fix: functions from EVAL are now on more equal footing with functions
3034 from COMPILE. (lp#1000783, lp#851170, lp#922408)
3035 * bug fix: ENSURE-GENERIC-METHOD-COMBINATION accepts method combination
3036 objects as its :METHOD-COMBINATION argument, not just lists designating
3037 method combinations. (lp#936513)
3038 * bug fix: run-program no longer unconditionally uses /tmp/ for temporary
3040 * bug fix: restore build on solaris/sparc. (lp#1008506)
3041 * bug fix: an issue with LDB in the PowerPC backend has been resolved;
3042 this fixes an issue found with cl-postgres (thanks to Tomas Hlavaty).
3043 * bug fix: compiler-macro lambda-lists specifying non-keyword symbols
3044 as keyword arguments no longer accidentally match unevaluated symbols
3046 * bug fix: FORMAT used to loop infinitely in some cases when a COLINC
3047 parameter was zero, now it signals an error. (lp#905817, fixed since
3049 * bug fix: run-program with :pty t no longer makes the pty as the process's
3050 controling terminal.
3051 * bug fix: spawning threads on OS X 10.8 no longer crashes the process
3054 changes in sbcl-1.0.57 relative to sbcl-1.0.56:
3055 * RANDOM enhancements and bug fixes:
3056 ** bug fix: the range and distribution of random integers could be
3057 catastrophically wrong when the compiler derived the type of its
3058 argument as a disjoint set of small integers.
3059 ** bug fix: the distribution of random integers is now completely
3060 uniform even when the specified limit is not a power of two.
3061 (Previously some values could be about 0.1 % more probable than
3062 others in the worst case.) (lp#309467)
3063 ** RANDOM on large integer arguments is generally faster and conses
3064 less than before; this is visible for fixnums above a length of
3065 about 24 bits, but extremely so for bignums: the old implementation
3066 used time and space quadratical in the size of the argument there,
3067 the new one is linear.
3068 * enhancement: redesigned protocol for quitting SBCL. SB-EXT:EXIT is the new
3069 main entry point, SB-EXT:QUIT is deprecated.
3070 * enhancement: additions to the SB-THREAD API: RETURN-FROM-THREAD,
3071 ABORT-THREAD, MAIN-THREAD-P, and MAIN-THREAD.
3072 * enhancement: FASL loading no longer grabs the world-lock.
3073 * enhancement: GENCGC reclaims space more aggressively when objects being
3074 allocated are a large fraction of the total available heap space.
3076 * enhancement: backtraces show the correct number of arguments for frames
3077 called with too many arguments.
3078 * enhancement: support for abort(3), exit(3), and _exit(2) has been added to
3080 * enhancement: ASDF has been updated 2.21.
3081 * optimization: fewer uses of full calls to signed modular functions.
3083 * optimization: typechecking alien values is typically 5 x faster.
3084 * optimization: FDEFINITION, SYMBOL-FUNCTION, MACRO-FUNCTION, and FBOUNDP
3086 * bug fix: file compilation performance issues when dumping subtypes
3087 of CHARACTER (lp#994487)
3088 * bug fix: fixed disassembly of some SSE instructions on x86-64.
3089 * bug fix: SB-SIMPLE-STREAMS signals an error for bogus :CLASS arguments in
3090 OPEN. (lp#969352, thanks to Kambiz Darabi)
3091 * bug fix: CASE normal-clauses do not allow T and OTHERWISE as keys.
3093 * bug fix: (SETF (FIND-CLASS X) NIL) removed proper name of the underlying
3094 classoid even if X was not the proper name of the class. (lp#941102)
3095 * bug fix: declaration leakage between lexical environments due to careless
3096 use of NCONC in MAKE-LEXENV. (lp#924276)
3097 * bug fix: ENSURE-DIRECTORIES-EXIST now works when
3098 *default-pathname-defaults* contains NAME or TYPE components.
3099 * bug fix: PPRINT couldn't print improper lists with CARs being some symbols
3100 from CL package, e.g. (loop . 10).
3101 * bug fix: run-program with existent or non-existent files for :output or
3102 :input when :if-output-exists or :if-input-does-not-exist are NIL properly
3103 returns NIL instead of signalling an obscure error.
3104 * bug fix: fix miscompilation of some logand forms with large constant
3105 arguments. (lp#974406)
3106 * bug fix: account for funcallable-instance objects properly in ROOM.
3107 * bug fix: incorrect octets reported for c-string decoding errors.
3109 * bug fix: miscompilation of LDB on the PowerPC platform. (thanks to Bruce
3111 * bug fix: better input error reporting for COMPILE-FILE. (lp#493380)
3112 * bug fix: default size of non-nursery generations has been shrunk on GENCGC,
3113 allowing faster release of memory back to the OS. (lp#991293)
3114 * bug fix: WITH-DEADLINE (:SECONDS NIL :OVERRIDE T) now drops any
3115 existing deadline for the dynamic scope of its body.
3116 * bug fix: compiler-internal interval arithmetic needed to be more
3117 conservative about open intervals when operated on by monotonic but not
3118 strictly-monotonic functions. (lp#975528)
3119 * bug fix: copy-tree caused stack exhaustion on long linear lists, and now
3120 it's also slightly faster. (lp#998926)
3121 * bug fix: better error messages for malformed declarations.
3123 * bug fix: define-condition didn't return the name of the defined condition.
3125 ** improved docstrings: REPLACE (lp#965592)
3127 changes in sbcl-1.0.56 relative to sbcl-1.0.55:
3128 * bug fix: fix copy-structure. When copying from stack to heap, garbage
3129 could end up in the heap making GC unhappy.
3130 (Thanks to James Knight, lp#911027)
3132 ** SBCL can now be built using Clang.
3133 ** ASDF has been updated 2.20.
3134 * bug fix: compiler errors when weakening hairy integer types. (lp#913232)
3135 * bug fix: don't complain about a too-hairy lexical environment for inlining
3136 when the function has never been requested for inlining. (lp#963530)
3138 changes in sbcl-1.0.55 relative to sbcl-1.0.54:
3139 * enhancements to building SBCL using make.sh:
3140 ** --fancy can be specified to enable all supported feature enhancements.
3141 ** --with-<feature> and --without-<feature> can be used to specify
3142 which features to build with.
3143 ** --arch option can be used to specify the architecture to build for.
3144 (Mainly useful for building 32-bit SBCL's on x86-64 hosts, not
3145 full-blows cross-compilation.)
3146 * enhancement: extended package prefix syntax <pkgname>::<form-in-package>
3147 which allows specifying name of the default interning package for the
3149 * enhancement: when *READ-EVAL* is true, arrays with element type other than
3150 T can be printed readably using #.-based syntax. (Thanks to Robert Brown)
3151 * enhancement: MAKE-ALIEN signals a storage-condition instead of returning a
3152 null alien when malloc() fails. (lp#891268)
3153 * enhancement: SB-EXT:PRINT-UNREADABLY restart for PRINT-NOT-READABLE
3154 conditions can be conveniently accessed through function with the same
3155 name, analogously to CONTINUE.
3156 * enhancement: SB-EXT:*SUPPRESS-PRINT-ERRORS* can be used to suppress errors
3157 from the printer by type, causing an error marker to be printed instead.
3158 (Thanks to Attila Lendvai)
3159 * enhancement: BACKTRACE and DESCRIBE now bind *PRINT-CIRCLE* to T, and
3160 generally behave better when errors occur during printing.
3161 * enhancement: the test runner now takes a --report-skipped-tests argument
3162 to report the individual tests skipped as well as the number of skipped
3164 * enhancement: undefined functions now appear in backtraces as ("undefined
3165 function") instead of ("bogus stack frame") on x86oids.
3166 * enhancement: detected deadlocks no longer cause stderr to be spammed, and
3167 deadlock errors are reported in an easier-to-decipher manner.
3168 * enhancement: DESCRIBE on type designators reports the expansion in more
3170 * enhancement: SBCL now provides either an explicit :BIG-ENDIAN or
3171 :LITTLE-ENDIAN in *FEATURES*, instead of :BIG-ENDIAN being implied by lack
3172 of the :LITTLE-ENDIAN feature. (Thanks to Luís Oliveira, lp#901661)
3173 * enhancement: better disassembly of segment-prefixes on x86 and other
3174 instruction prefixes (e.g. LOCK) on x86 and x86-64.
3175 * optimization: FIND and POSITION on bit-vectors are orders of magnitude
3176 faster (assuming KEY and TEST are not used, or are sufficiently trivial.)
3177 * optimization: SUBSEQ on vectors of unknown element type is substantially
3179 * optimization: specialized arrays with non-zero :INITIAL-ELEMENT can
3180 be stack-allocated. (lp#902351)
3181 * optimization: the compiler is smarter about representation selection for
3182 floating point constants used in full calls.
3183 * optimization: the compiler no longer refuses to coerce large fixnums to
3184 single floats inline, except on x86 where this limitation is still
3186 * optimization: truncation operations on integers with constant divisor
3187 arguments 1 and -1 are optimized away.
3188 * bug fix: deadlock detection could report the same deadlock twice, for
3189 two different threads. Now a single deadlock is reported exactly once.
3190 * bug fix: interval-arithmetic division during type derivation did not
3191 account for signed zeros.
3192 * bug fix: compiler error when typechecking a call to a function with
3193 non-constant keyword arguments.
3194 * bug fix: misoptimization of TRUNCATE causing erratic behaviour.
3195 * bug fix: condition slot accessors no longer cause undefined function
3196 style-warnings when used in the :REPORT clause of the DEFINE-CONDITION
3197 form that defines them. (lp#896379)
3198 * bug fix: DEFGENERIC warns about unsupported declarations, as specified
3199 by ANSI. (lp#894202)
3200 * bug fix: SUBTYPEP tests involving forward-referenced classes no longer
3201 bogusly report NIL, T.
3202 * bug fix: bogus style-warnings for DEFMETHOD forms that both declared some
3203 required arguments ignored and performed assignments to others.
3205 * bug fix: *EVALUATOR-MODE* :COMPILE treated (LET () ...) identically
3206 to (LOCALLY ...) leading to internally inconsistent toplevel-formness.
3207 * bug fix: non-toplevel DEFSTRUCT signaled a style warning for unknown type.
3208 * bug fix: redefining a function whose previous definition contained an
3209 unknown type no longer causes a style-warning. (lp#806243)
3210 * bug fix: undefined functions now appear in backtraces as ("undefined
3211 function") instead of ("bogus stack frame") on non-x86oids.
3212 * bug fix: backtraces are no longer cut off at ("undefined function") when
3213 called under certain circumstances (involving a caller-allocated stack
3215 * bug fix: RUN-PROGRAM leaked a file-descriptor per call on non-Windows
3216 systems. (regression since 1.0.53)
3217 * bug fix: GC deadlocks from dladdr() on certain platforms.
3218 * bug fix: broken standard streams no longer automatically cause recursive
3219 errors on debugger entry.
3220 * bug fix: build ignored --dynamic-space-size=<size> argument to make.sh
3221 (regression since 1.0.53)
3222 * bug fix: attempts to stack allocate a required argument to a function with
3223 an external entry point caused compiler-errors.
3224 * bug fix: compiler notes for failed stack allocation for a function argument
3225 no longer claim to be unable to stack allocate the function.
3226 * bug fix: COERCE now signals a type-error on several coercions to
3227 subtypes of CHARACTER that are forbidden according to ANSI. (lp#841312)
3228 * bug fix: missing failure-to-stack-allocate compiler notes for some
3229 forms of MAKE-ARRAY with dynamic-extent. (lp#902351)
3230 * bug fix: some of the compile-time side-effects of DEFCLASS were not caught
3232 * bug fix: Proper handling of --dynamic-space-size option on 32 bit platforms.
3234 changes in sbcl-1.0.54 relative to sbcl-1.0.53:
3235 * minor incompatible changes:
3236 ** RENAME-FILE on a symbolic links used to rename the linked-to file
3237 instead of the link.
3238 ** DELETE-DIRECTORY on symbolic link to a directory used to delete the
3239 directory, but now signal an error instead. Use TRUENAME to resolve the
3240 pathname if you wish to delete the linked directory, and DELETE-FILE if
3241 you wish to delete the
3242 ** The internal SB-THREAD::SPINLOCK API has been deprecated, and using
3243 symbols associated with it will trigger a compile-time warning.
3244 * thread-related enhancements:
3245 (This work has been funded by the SBCL Threading 2011 IndieGoGo campaign.
3246 Many thanks to generous donors!)
3247 ** Threading is now more reliable on non-Linux platforms. We still don't
3248 consider threads on non-Linux platforms good enough to enable them by
3249 default, but they're in a clearly better shape now.
3250 ** Deadlines supported now on all platforms.
3251 ** All blocking functions in the threading API now have a :TIMEOUT
3253 ** Semaphore notification objects have been added to SB-THREAD.
3254 ** SB-CONCURRENCY contrib now includes Allegro-style GATE objects.
3255 ** SB-EXT:COMPARE-AND-SWAP has been extended to support SLOT-VALUE,
3256 STANDARD-INSTANCE-ACCESS, and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
3257 ** Users can now defined new places usable with SB-EXT:COMPARE-AND-SWAP
3258 using an API anologous to defining new SETFable places.
3259 * GC-related enhancements and bug fixes:
3260 ** --dynamic-space-size and --control-stack-size now understand Kb, Mb,
3261 and Gb suffixes. Default is megabytes as before.
3262 ** on GENCGC targets, the default dynamic space size is now 512Mb for
3263 32-bit systems, and 1Gb for 64-bit systems. (OpenBSD/x86-64 is the only
3264 exception, defaulting to mere 444Mb to fit under default ulimits.) The
3265 new defaults are in place to prevent hitting swap on low-end systems.
3266 Use build-time option --dynamic-space-size to build an SBCL with
3267 another default, or the runtime option to adjust the size at startup: a
3268 good size is at most equal to the amount of physical memory the system
3270 ** on GENCGC targets, nursery and generation sizes now default to 5% of
3272 ** on GENCGC targets, SB-KERNEL:MAKE-LISP-OBJ no longer categorically
3273 refuses to create SIMPLE-FUN objects.
3274 ** on 64-bit GENCGC targets, setting the nursery size above 4Gb now works.
3276 ** on CHENEYGC targets, SB-KERNEL:MAKE-LISP-OBJ now does the same
3277 validation of pointer objects as GENCGC does, instead of a
3278 comparatively weak bounds-check against the heap spaces.
3279 * SB-BSD-SOCKETS bug fixes:
3280 ** GET-PROTOCOL-BY-NAME had a significant memory leak.
3281 ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS small amounts of memory on
3282 systems with getaddrinfo().
3283 ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS weren't thread or interrupt
3284 safe outside systems with getaddrinfo().
3285 * enhancement: ASDF has been updated 2.019.
3286 * enhancement: special-case TCO prevention for functions which never return
3287 extended to untrusted types, keeping one more frame's worth of debug
3288 information around in many cases.
3289 * enhancement: debug-names of anonymous and local function are more
3290 descriptive. Affects backtraces and SB-SPROF results. (lp#805100)
3291 * enhancement: on win32, ABS of complex floats guards better against
3292 overflows. (lp#888410)
3293 * enhancement: RUN-PROGRAM now distinguishes exec() failing from child
3294 process exiting with code 1. (lp#676987)
3295 * enhancement: convenience function SET-SBCL-SOURCE-LOCATION for informing
3296 the system where on the filesystem the SBCL sources themselves are
3297 located. (Thanks to Zach Beane)
3298 * enhancement: the compiler is now able to derive tighter bounds for
3299 floating point numbers in some cases. (Thanks to Lutz Euler, lp#894498)
3300 * bug fix: on 64-bit targets, atomic-incf/aref does index computation
3301 correctly, even on wide-fixnum builds. (lp#887220)
3302 * bug fix: (DIRECTORY "foo/*/*.*") did not follow symlinks in foo/ that
3303 resolved to directories.
3304 * bug fix: type mismatch when assigning to lexical variables no longer
3305 result in fasl-dumping internal type objects. (lp#890750)
3306 * bug fix: type mismatch on (SETF AREF) and function return values no
3307 longer result in fasl-dumping internal type objects.
3308 * bug fix: With several combinations of argument types, for example (EXPT
3309 <integer> <(complex double)>), EXPT now uses double-precision throughout
3310 instead of partially calculating only to single-precision. (lp#741564;
3311 thanks to Lutz Euler)
3312 * bug fix: SYMBOL-VALUE-IN-THREAD is no longer able to construct bogus
3313 objects when interrupted by GC on PPC.
3315 changes in sbcl-1.0.53 relative to sbcl-1.0.52:
3316 * enhancement: on 64-bit targets, in src/compiler/generic/early-vm.lisp,
3317 the parameter n-fixnum-tag-bits may now vary from 1 (fixnum =
3318 (signed-byte 63)) to 3 (fixnum = (signed-byte 61)) at build-time.
3319 * enhancement: SB-EXT:WAIT-FOR allows waiting for arbitrary events.
3320 * minor(?) incompatible(?) change: The default fixnum width on 64-bit
3321 targets is now 63 bits (up from 61).
3322 * enhancement: DESCRIBE now reports a lambda-list and source location
3323 for complext setf-expanders.
3324 * bug fix: PUSH, PUSHNEW, POP, REMF, INCF, DECF, DEFINE-MODIFY-MACRO,
3325 GETF, LOGBITP, LDB, and MASK-FIELD now arrange for non-primary values
3326 of multiple-valued places to be set to NIL, instead of signalling an
3327 error (per a careful reading of CLHS 5.1.2.3).
3328 * bug fix: floating-point traps now work on darwin/x86 and /x86-64.
3329 * bug fix: repair crash in x86oid darwin signal handling emulation
3330 when built with certain compilers.
3331 * bug fix: SB-ROTATE-BYTE misrotated to the right when using constant
3332 rotation arguments on x86-64. (lp#882151)
3333 * bug fix: low-level control flow optimisations could result in bogus
3334 code in functions with tail and non-tail calls to local functions on
3335 x86oids. (lp#883500)
3336 * bug fix: on SPARC/:sb-unicode, avoid crashing the assembler by trying
3337 to emit literal characters > (code-char 4095), for comparisons with
3338 constant characters.
3339 * bug fix: ROOM reported only the low 32 bits of dynamic space usage
3340 on 64 bit platforms. (lp#881445)
3341 * bug fix: DELETE-FILE did not MERGE-PATHNAMES, making it possible to
3342 delete the wrong file when using relative pathnames. (lp#882877)
3343 * bug fix: optimized SEARCH of vectors-on-vectors mishandled zero-length
3344 sequences and :KEY NIL.
3346 changes in sbcl-1.0.52 relative to sbcl-1.0.51:
3347 * enhancement: ASDF has been updated to version 2.017.
3348 * enhancement: the --core command line option now accepts binaries with
3350 * enhancement: when built with :sb-core-compression, core files (regular
3351 or executable) can be compressed with zlib. Use the :COMPRESSION
3352 argument to SAVE-LISP-AND-DIE to specify a compression level.
3353 * enhancement: --[no-]merge-core-pages determines whether the runtime
3354 hints the operating system that identical core pages between SBCL
3355 processes should share the same physical memory. Default is to only
3356 enable this for compressed cores.
3357 * optimization: SLEEP no longer conses.
3358 * optimization: *PRINT-PRETTY* no longer slows down printing of strings
3359 or bit-vectors when using the standard pretty-print dispatch table.
3360 * bug fix: non-function FTYPE declarations no longer cause a compiler-error.
3362 * bug fix: compiler-errors causes by MEMBER types in conjunction with with
3363 AREF, CHAR, etc. (lp#826971)
3364 * bug fix: compiler-errors causes by integer arguments with composed of
3365 multiple ranges to ARRAY-IN-BOUNDS-P. (lp#826970)
3366 * bug fix: ,@ and ,. now signal a read-time error for certain non-list
3367 expressions. (lp#770184)
3368 * bug fix: complex single float literals are correctly aligned when used
3369 as arguments of arithmetic operators.
3370 * bug fix: on 32-bit platforms, rounding of double floats larger than a
3371 fixnum is correct. (reported by Peter Keller)
3372 * bug fix: stray FD-HANDLERs are no longer left lying around after unwinds
3373 from RUN-PROGRAM. (lp#840190, reported by Dominic Pearson; fix from Max
3375 * bug fix: redefining classes such that slots with custom allocation are
3376 added or removed works again.
3378 changes in sbcl-1.0.51 relative to sbcl-1.0.50:
3379 * minor incompatible change: SB-BSD-SOCKET socket streams no longer
3380 participate in SERVE-EVENT by default: pass :SERVE-EVENTS T to
3381 MAKE-SOCKET-STREAM if using SERVE-EVENT.
3382 * enhancement: added support for socket keepalive timeout intervals
3383 and probe counts on Linux.
3384 * enhancement: building 32-bit SBCL on Linux/x86-64 now works without a
3385 chroot. (Use "SBCL_ARCH=x86 sh make.sh" to build.)
3386 * enhancement: added new toplevel options --quit and --non-interactive
3388 * enhancement: the Windows port of SBCL now builds and runs on Wine
3389 (thanks to Anton Kovalenko).
3390 * enhancement: more, and more correct, SSE instruction definitions on
3391 x86-64 (thanks to Alexander Gavrilov).
3392 * enhancement: SB-EXT:SPIN-LOOP-HINT assembles to an instruction designed
3393 to help the processor execute spin loops, when applicable. Currently
3394 implemented for x86 and x86-64.
3395 * optimization: unsigned integer divisions by a constant are implemented
3396 using multiplication (affects CEILING, FLOOR, TRUNCATE, MOD, and REM.)
3397 * optimization: improved type-derivation for LOAD-TIME-VALUE.
3398 * bug fix: correct RIP offset calculation in SSE comparison and shuffle
3399 instructions. (lp#814688)
3400 * bug fix: COERCE to unfinalized extended sequence classes now works.
3401 (reported by Jan Moringen; lp#815155)
3402 * bug fix: a compiler error during typecheck generation, reported by Eric
3403 Marsden. (lp#816564)
3404 * bug fix: obsolete instance protocol fires when shared slots are added
3406 * bug fix: fixed-format floating point printing with scaling factors.
3408 * bug fix: using GCC >= 4.6 to build SBCL on x86 no longer breaks
3409 backtraces. (lp#818460)
3410 * bug fix: better backtraces for interrupted syscall frames on x86.
3412 * bug fix: SSE comparison instructions can be disassembled even when one
3413 operand is in memory. (lp#814702)
3414 * bug fix: incomplete writes when not using SERVE-EVENTS. (lp#820599)
3415 * bug fix: MULTIPLE-VALUE-BIND + VALUES -> LET conversion could lose derived
3416 type information associated with the VALUES form.
3417 * bug fix: broken warnings/errors for type-errors involving LOAD-TIME-VALUE
3419 * bug fix: OPEN :IF-EXISTS :APPEND now returns correct FILE-POSITION before
3420 first write (lp#561642).
3421 * bug fix: compiled closures from EVAL could not be DESCRIBEd. (lp#824974)
3422 * bug fix: bound propagation involving conversion of large bignums to
3423 floats no longer signals a SIMPLE-TYPE-ERROR, reported by Lutz Euler.
3425 * bug fix: &REST to &MORE conversion still works in unsafe call to known
3426 functions; reported by Lutz Euler (lp#826459).
3427 * bug fix: bogus deadlocks from interrupts and GCs. (lp#807475, regression
3430 changes in sbcl-1.0.50 relative to sbcl-1.0.49:
3431 * enhancement: errors from FD handlers now provide a restart to remove
3432 the offending handler.
3433 * enhancement: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works on structure
3435 * enhancement: location of user or system initialization file can now easily
3436 be customized for saved cores. See: SB-EXT:*USERINIT-PATHNAME-FUNCTION*
3437 and SB-EXT:*SYSINIT-PATHNAME-FUNCTION*.
3438 * enhancement: SB-EXT:MAKE-THREAD accepts an argument list designator for
3439 the thunk, as a keyword argument, :arguments.
3440 * enhancement: constraint propagation is simplified (and sped up) when
3441 COMPILATION-SPEED > SPEED.
3442 * enhancement: SB-ALIEN exports alien type specifiers SIZE-T and OFF-T.
3443 * enhancement: debugger understands &MORE arguments better.
3444 * optimization: extracting bits of a single-float on x86-64 has been
3445 optimized. (lp#555201)
3446 * optimization: MAP and MAP-INTO are more efficient for non-simple vectors,
3447 when (> SPEED SPACE).
3448 * optimization: local call trampolines (x86 and x86-64) are emitted
3450 * optimization: implicit value cells for dynamic-extent closed-over bindings
3451 on x86 and x86-64 can hold unboxed values as well.
3452 * meta-optimization: improved compilation speed, especially for large
3453 functions. (lp#792363 and lp#394206)
3454 * bug fix: bound derivation for floating point operations is now more
3455 careful about rounding possibly closing open bounds. (lp#793771)
3456 * bug fix: SB-POSIX:SYSCALL-ERROR's argument is now optional. (accidental
3457 backwards incompatible change in 1.0.48.27)
3458 * bug fix: occasional debugger errors in when a type-error occured in a
3459 function with dynamic-extent &rest list.
3460 * bug fix: &optional and &key supplied-p arguments in DEFSTRUCT
3461 boa-construtors can be used to initialized structure slots.
3462 * bug fix: FMAKUNBOUND removes the MACRO-FUNCTION, should one exist.
3463 (lp#795705, regression)
3464 * bug fix: DIRECTORY works better on logical pathnames.
3465 * bug fix: RUN-PROGRAM no longer fails spuriously when argument strings
3466 are of the order of ARRAY-TOTAL-SIZE-LIMIT. (lp#787237)
3467 * bug fix: the compiler no longer constant-folds NaNs in
3468 MAKE-{SINGLE,DOUBLE}-FLOAT. (lp#486812)
3469 * bug fix: FORMAT now handles floating point rounding correct, eg.
3470 (format nil "~,1F" 0.01) => "0.0" instead of "0.01" as previously.
3472 * bug fix: style warning during lambda-list introspection of generic
3473 functions with both optional and key argments.
3474 * bug fix: regalloc doesn't barf on unused TNs due to type-directed constant
3475 folding. (lp#729765)
3476 * bug fix: Fixed an off-by-one in MAP-ALLOCATED-OBJECTS that might have caused
3479 changes in sbcl-1.0.49 relative to sbcl-1.0.48:
3480 * minor incompatible change: WITH-LOCKED-HASH-TABLE no longer disables
3481 interrupts for its body.
3482 * enhancement: source locations are now available for files loaded as
3483 source, compile-time-too evaluation, and initialization files.
3484 * enhancement: WITH-COMPILATION-UNIT :SOURCE-NAMESTRING allows providing
3485 virtual source-file information, eg. overriding input-file of COMPILE-FILE
3486 when a temporary file is used for compilation.
3487 * enhancement: ASDF has been updated to version 2.015.3.
3488 * enhancement: backtraces involving frames from the default evaluator are
3490 * enhancement: RUN-PROGRAM works with user-defined binary input and output
3492 * enhancement: more informative compile-time warnings and runtime errors for
3493 type-errors detected at compile-time.
3494 * enhancement: deadlock detection for mutexes and spinlocks.
3495 * enhancement: dynamic-extent for &rest lists stack allocate only their
3496 spines, not their argumets. While portable code should not rely on this,
3497 particularly in combination with inlining, it should make dynamic-extent
3498 easier to use safely.
3499 * enhancement: SB-POSIX improvements:
3500 ** WNOHANG and WUNTRACED are exported.
3501 ** SYSCALL-ERROR now also provides the name of the failing system call.
3502 * enhancement: --script improvements:
3503 ** errors on standard input, output, and error streams are handled and
3504 cause scripts to exit silently, making them easier to use in shell
3506 ** backtraces from scripts now go to standard error instead of the
3507 terminal even if one is available.
3508 ** --script can be an argument, causing the script to be loaded from
3510 * enhancement: MAKE-ALIEN-STRING provides an easy way to transport lisp
3511 strings to foreign memory.
3512 * enhancement: (SETF GC-LOGFILE) allows logging garbage collections to
3513 a file, making it easier to understand heap dynamics.
3514 * optimization: using a &REST argument only in APPLY or VALUES-LIST calls
3515 allows the compiler to automatically elide rest-list allocation so long as
3516 the call sites are in functions that the compiler knows cannot escape.
3518 * optimization: CALL-NEXT-METHOD using explicit arguments is faster,
3519 especially in safe code when none of the required arguments have changed
3521 * bug fix: blocking reads from FIFOs created by RUN-PROGRAM were
3522 uninterruptible, as well as blocking reads from socket streams created
3523 with for which :SERVE-EVENTS NIL. (regression from 1.0.42.43)
3524 * bug fix: SET-SYNTAX-FROM-CHAR now removes dispatch-macro character syntax
3525 from the to-char if the from-char is not a dispatch-macro character.
3526 * bug fix: references to undefined variables in function calls that are
3527 optimized away now signal a runtime error. (lp#722734)
3528 * bug fix: miscompilation of MULTIPLE-VALUE-CALL when asserting derived
3529 types from a function defined in the same file. (regression from
3531 * bug fix: TRULY-THE forms are now macroexpandable and setf-expandable.
3533 * bug fix: spurious errors during QUIT when standard streams were closed.
3535 changes in sbcl-1.0.48 relative to sbcl-1.0.47:
3536 * incompatible change: SB!KERNEL:INSTANCE-LAMBDA, deprecated for over five
3537 years, is now no longer supported.
3538 * enhancement: read() and write() have been added to SB-POSIX.
3539 * enhancement: types of DEFSTRUCT constructors are proclaimed more
3540 accurately, allowing better typechecking of call-sites.
3541 * enhancement: errors during compile-time-too processing (i.e. EVAL-WHEN)
3542 are no longer caught. (reverted to pre 1.0.34 behaviour)
3543 * optimization: slightly faster ISQRT. (lp#713343)
3544 * bug fix: better support for Solaris /bin/sh in sh-based tests.
3545 * bug fix: TRACE behaves better when attempting to trace undefined
3546 functions. (lp#740717)
3547 * bug fix: missed optimizations for (FUNCALL (LAMBDA ...) ...) in comparison
3548 to (FUNCALL #'(LAMBDA ...) ...).
3549 * bug fix: ((LAMBDA ...) ...) forms with invalid argument counts resulted in
3550 a compile-time error. (lp#720382)
3551 * bug fix: forms such as (FUNCALL (FUNCTION NAME OOPS) ...) were compiled
3553 * bug fix: less verbose source forms for functions from EVAL. (lp#747485)
3554 * bug fix: sense of SLOT-BOUNDP-USING-CLASS was inverted in a MAKE-INSTANCE
3555 optimization. (regression from 1.0.45.18/1.0.46.15)
3556 * bug fix: package locks did not protects against compile-time side-effects
3557 of DEFUN. (lp#675584)
3558 * bug fix: --dynamic-space-size argument is validated more carefully.
3560 * bug fix: memory fault from printing a malformed simple-condition.
3562 * bug fix: redefining classes so that slot-definition classes change now
3563 engages the obsolete instance protocol. (lp#766271)
3564 * bug fix: constant improper lists could break source coverage recording.
3566 * bug fix: compiling calls to eg. MEMBER with massive constant list arguments
3567 could exhaust stack.
3569 changes in sbcl-1.0.47 relative to sbcl-1.0.46:
3570 * bug fix: fix mach port rights leaks in mach exception handling code on
3571 darwin/x86 and /x86-64. (thanks to Willem Oudshoorn for motivation and the
3573 * enhancement: --script muffles style-warnings and compiler notes. (lp#677779)
3574 * enhancement: redefinition warnings for macros from different files. (lp#434657)
3575 * enhancement: better MACHINE-VERSION on Darwin x86 and x86-64. (lp#668332)
3576 * enhancement: (FORMAT "foo" ...) and similar signal a compile-time warning. (lp#327223)
3577 * enhancement: no more "in: LAMBDA NIL" messages from the compiler for forms
3578 processed using EVAL -- now the appropriate toplevel form is reported instead.
3579 * enhancement: more legible style-warnings for inappropriate IGNORE and IGNORABLE
3580 declarations. (lp#726331)
3581 * enhancement: :NOT-NULL option has been added to alien C-STRING type to indicate
3582 that NIL/NULL is excluded from the type.
3583 * enhancement: SB-INTROSPECT:MAP-ROOT allows mapping over pointers contained in
3585 * optimization: SLOT-VALUE &co are faster in the presence of SLOT-VALUE-USING-CLASS
3586 and its compatriots.
3587 * optimization: core startup time is reduced by 30% on x86-64. (lp#557357)
3588 * bug fix: SB-DEBUG:BACKTRACE-AS-LIST guards against potentially leaking
3589 stack-allocated values out of their dynamic-extent. (lp#310175)
3590 * bug fix: attempts to use SB-SPROF for wallclock profiling on threaded
3591 x86-64 builds caused a type-error.
3592 * bug fix: calling COMPILE with something else than a lambda-expression as the
3593 second argument reports a more sensible error. (lp#718905)
3594 * bug fix: invalid combinations of :PREDICATE and :TYPE options in DEFSTRUCT
3595 are detected. (lp#520607)
3596 * bug fix: constant keyword argument checking didn't take :ALLOW-OTHER-KEYS
3598 * bug fix: SLOT-BOUNDP information is correct during MAKE-INSTANCE in the
3599 presence of (SETF SLOT-VALUE-USING-CLASS) and SLOT-BOUNDP-USING-CLASS
3600 methods. (regression from 1.0.45.18)
3601 * bug fix: INITIALIZE-INSTANCE :AROUND methods supplying initargs via
3602 CALL-NEXT-METHOD work correctly. (regression from 1.0.45.19)
3603 * bug fix: several foreign functions accepting string also accepted NIL and
3604 consequently caused a memory fault at 0 now signal a type-error instead.
3606 * bug fix: under rare circumstances, constraint propagation could rewrite a
3607 variable reference to refer to a variable not in scope, causing an error
3608 during physical environment analysis when attempting to close over the
3609 variable. (lp#551227)
3610 * bug fix: SIMPLE-CONDITION :FORMAT-CONTROL defaults to NIL.
3612 changes in sbcl-1.0.46 relative to sbcl-1.0.45:
3613 * enhancement: largefile support on Solaris.
3614 * enhancement: SB-PROFILE:REPORT now supports :LIMIT and :PRINT-NO-CALL-LIST
3615 arguments (lp#710017)
3616 * enhancement: SB-PCL:+SLOT-UNBOUND+ is exported, making it possible to
3617 distinguish unbound instance slots when using STANDARD-INSTANCE-ACCESS
3619 * optimization: ERROR and CERROR are approximately 5 times faster.
3620 * optimization: optimized constructors are used for MAKE-INSTANCE of classes
3621 with applicable non-standard (SETF SLOT-VALUE-USING-CLASS),
3622 SLOT-BOUNDP-USING-CLASS, and INITIALIZE-INSTANCE :AROUND methods, speeding
3623 up instance creation in those cases.
3624 * optimization: arithmetic operations with multiple constant arguments in now
3625 have them reduced at compile-time. (lp#676414)
3626 * optimization: determining current character position on string-streams for
3627 pretty-printing was overly slow.
3628 * bug fix: local tail calls to DYNAMIC-EXTENT functions can no longer cause
3629 lifetime analysis to overwrite closed-over variables (lp#681092).
3630 * bug fix: encoding errors from some multibyte external formats such as EUC-JP
3631 were not handled correctly (lp#713063).
3632 * bug fix: printing waitqueue objects without setting *PRINT-CIRCLE* to T is now
3634 * bug fix: Solaris/x86-64 wasn't getting built with lutex support by
3635 mistake. (lp#667297).
3636 * bug fix: CONSTANTLY generated functions had bogus lambda-lists. (lp#713626)
3637 * bug fix: RUN-PROGRAM :PTY option was racy on OpenBSD. (lp#669485)
3638 * bug fix: UNINTERN takes a symbol, not a symbol designator -- could previously
3639 unintern the wrong symbol with the same name. (lp#693796)
3640 * bug fix: COPY-PPRINT-DISPATCH always has access to a pristine table,
3641 making it possible to restore the initial table if it has been messed up.
3644 changes in sbcl-1.0.45 relative to sbcl-1.0.44:
3645 * enhancement: ~/ and ~user/ are treated specially in pathnames.
3646 Refer to documentation for details.
3647 * enhancement: ASDF has been updated to version 2.010.
3648 * optimization: mutated closed-over variables that are only accessed by
3649 DYNAMIC-EXTENT closures (currently only FLET and LABELS functions
3650 declared to be DYNAMIC-EXTENT) are stored directly in their containing
3651 stack frame, rather than allocating a VALUE-CELL (lp#586103).
3652 * optimization: UNWIND-PROTECT cleanup functions are now declared
3654 * bug fix: backtracing function with &REST arguments now shows the full
3655 argument list. (lp#310173)
3656 * bug fix: return types for functions with complex lambda-lists are now
3657 derived properly (lp#384892)
3658 * bug fix: when SPEED > SPACE compiling CONCATENATE 'STRING with constant
3659 long string arguments slowed the compiler down to a crawl.
3660 * bug fix: closure VALUE-CELLs are no longer stack-allocated (lp#308934).
3661 * bug fix: non-standard MAKE-METHOD-LAMBDA methods could break RETURN-FROM
3662 in the DEFMETHOD body.
3663 * bug fix: #<SB-C::DEFINED-FUN ...> should no longer appear in compiler
3664 messages, being instead replaced with the corresponding function name.
3665 * bug fix: don't derive overly complex unions of numeric types for arithmetic
3666 operators. (lp#309448)
3668 changes in sbcl-1.0.44 relative to sbcl-1.0.43:
3669 * enhancement: RUN-PROGRAM accepts :EXTERNAL-FORMAT argument to select the
3670 external-format for its :INPUT, :OUTPUT, AND :ERROR :STREAMs.
3671 * enhancement: ALLOCATION-INFORMATION also provides the page the object
3673 * enhancement: default dynamic-space size can be configured at build-time
3674 without touching source, using the --dynamic-space-size argument to make.sh.
3675 * enhancement: DESCRIBE recognizes symbols naming optimization policy
3676 qualities, and mentions ALWAYS-BOUND declarations.
3677 * enhancement: ATOMIC-INCF now supports AREF of (SIMPLE-ARRAY SB-EXT:WORD (*))
3679 * enhancement: ASDF has been updated to 2.009.
3680 * enhancement: the system detects known type-erros in calls better,
3681 signalling a full warning about violated proclaimed FTYPEs and violations
3682 of derived FTYPEs within the same file, including self-calls.
3683 * enhancement: new function: SB-EXT:DELETE-DIRECTORY is now provided.
3684 * optimization: constant-folding exploits numeric and character types, in
3685 addition member types.
3686 * optimization: numeric, character and member types that are inhabited by
3687 exactly one value are tested with EQL.
3688 * optimization: more conditional branches are eliminated during IR1.
3689 Branches are simplified before performing if/if-conversion, and simple
3690 equivalent branches (that only read the same constant or variable) are
3692 * improvements to the Windows port:
3693 ** change: canonical unparsing form for pathname namestrings now uses / as
3694 directory separator. NATIVE-NAMESTRING still uses \ as the separator.
3695 ** bug fix: stackoverwriting due to incorrect usage of PeekConsoleInput
3696 on Windows. (thanks to Kalyanov Dmitry)
3697 ** bug fix: build now works on cygwin with GCC 4.x installed. (thanks to
3699 ** bug fix: run-sbcl.sh now works on Cygwin. (thanks to Kalyanov Dmitry)
3700 * bug fix: compiler failed to derive the result-type of MAKE-ARRAY as
3701 (AND VECTOR (NOT SIMPLE-ARRAY)) when appropriate. (lp#309130)
3702 * bug fix: (THE (VALUES ...)) in LOAD-TIME-VALUE caused a compiler-error.
3704 * bug fix: interrupts arriving during CL:OPEN caused an error.
3705 * bug fix: overeager character buffering could cause input to block
3706 spuriously when reading from a pipe (lp#643686)
3707 * bug fix: more efficient timer expiry should avoid starvation on systems
3708 where number of SIGALRMs per second is restricted. (lp#375515)
3709 * bug fix: non-unicode builds no longer fail (broken since 1.0.36.15).
3710 * bug fix: compile-times no longer scale linearly with the size of
3711 quoted lists in source-code. (lp#654289)
3712 * bug fix: better errors for unknown external-formats in OPEN. (lp#561974)
3713 * bug fix: DEBUG>SPEED no longer degrades ALIEN-FUNCALL performance quite
3714 so badly. (lp#654485)
3715 * bug fix: SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME no longer signals
3716 an error for eg. STRUCTURE. (lp#458015)
3717 * bug fix: LOOP WITH NIL = ... signalled an unused variable style-warning.
3718 (lp#613871, thanks to Roman Marynchak)
3719 * bug fix: more reliable &REST list type derivation. (lp#655203)
3720 * bug fix: PPRINT-LOGICAL-BLOCK multiply-evaluated :PER-LINE-PREFIX,
3721 and issued pointles code-deletion notes for it, :PREFIX, and :SUFFIX.
3722 * bug fix: the compiler didn't utilize the proclaimed ftype for functions
3723 also declared NOTINLINE. (lp#655581)
3724 * bug fix: the compiler could attempt to emit constant left shifts of
3725 greater value than n-word-bits. (lp#309063)
3726 * bug fix: (SETF SYMBOL-FUNCTION) and (SETF FDEFINITION) clear derived
3727 type information for the function being set. (lp#659220)
3728 * bug fix: the system used to signal bogus STYLE-WARNINGs when functions
3729 containing self-calls were recompiled with a new signature, and failed
3730 to warn when a self-call using the old signature was left in. (lp#655126)
3731 * bug fix: incorrect FILE-POSITION on streams opened using :EXTERNAL-FORMAT
3732 :DEFAULT when the default external had character size other than 8 bits.
3734 * bug fix: derived types of functions in the same file were implicitly
3735 trusted, leading to potential heap corruption when those function were
3736 defined incompatibly. (lp#657499)
3737 * bug fix: existing ASDF source registries are ignored when building
3738 contribs (lp#659105)
3739 * bug fix: short-form DEFSETF checks that the second argument is a symbol
3740 (lp#655824, thanks to Roman Marynchak)
3741 * bug fix: (SETF MACRO-FUNCTION) clobbered macro-definitions before
3742 package-lock violation was detected. (lp#660752)
3743 * bug fix: the system can store different docstrings for a single function
3744 under different names. (lp#661631, regression from 1.0.29.24)
3745 * bug fix: source-locations of DEFGENERIC forms weren't getting recorded
3746 properly. (lp#384801)
3747 * bug fix: (COERCE X '(SIMPLE-VECTOR 5)) and similar coercions to vectors
3748 of specified length could confuse the type derivation in unsafe code.
3750 * bug fix: SB-POSIX:FORK now signals an error if an attempt to
3751 fork with multiple Lisp threads running is made on every platform,
3752 not just Darwin. (lp#451111)
3753 * bug fix: SB-BSD-SOCKETS and SB-SIMPLE-STREAMS could leave stale finalizers
3754 around when core was saved, which could cause undefined behaviour when the
3756 * bug fix: Allow UNTRACE of functions that are no longer defined
3757 (lp#667657, thanks to Attila Lendvai)
3758 * bug fix: MAKE-ARRAY calls with invalid keyword argument lists now signal a
3759 compile-time warning (lp#664373, thanks to Stas Boukarev)
3761 changes in sbcl-1.0.43 relative to sbcl-1.0.42:
3762 * incompatible change: FD-STREAMS no longer participate in the serve-event
3763 event-loop by default. (lp#316072)
3764 ** In addition to streams created by explicit calls to MAKE-FD-STREAM this
3765 affects streams from CL:OPEN.
3766 ** Streams from SOCKET-MAKE-STREAM still participate in serve-event by
3767 default, but this is liable to change: applications needing serve-event
3768 for socket streams should explicitly request it using :SERVE-EVENTS T
3770 * enhancement: SB-EXT:WORD type is provided for use with SB-EXT:ATOMIC-INCF
3772 * enhancement: CLOS effective method functions and defclass slot typechecking
3773 function now have debug names for use in backtraces and profiles.
3774 * enhancement: ASDF has been updated to version 2.004. (lp#605260, thanks to
3776 * enhancement: symbols are printed using fully qualified names in several
3777 error and warning messages which are often associated with package
3778 conflicts or mixups (lp#622789, thanks to Attila Lendvai)
3779 * bug fix: SB-BSD-SOCKETS:SOCKET-CONNECT was not thread safe. (lp#505497,
3780 thanks to Andrew Golding)
3781 * bug fix: reading /proc files on Linux works. (lp#425199)
3782 * bug fix: DOTIMES accepted literal non-integer reals. (lp#619393, thanks to
3784 * bug fix: WRITE-TO-STRING compiler macro binding special variable names,
3785 breaking code that tried to write the value of a printer control variable.
3786 (lp#581564, thanks to Stas Boukarev)
3787 * bug fix: WRITE compiler macro did not handle output stream designators
3788 correctly. (lp#598374, thanks to Stas Boukarev)
3789 * bug fix: better availability of names of foreign functions in backtraces
3790 on Linux. (lp#626962, thanks to Stas Boukarev)
3791 * bug fix: scripting and build for Solaris and FreeBSD. (lp#615497,
3792 lp#627581, thanks to Josh Elsasser and Jim Wise)
3793 * bug fix: build fixes for OpenBSD -current and 4.8 (lp#615489, lp#615492,
3794 thanks to Josh Elsasser)
3795 * bug fix: using aliases for builtin classes as defmethod specializers
3796 without adding DEFTYPEs for them works. (lp#618387)
3797 * bug fix: timetravel by getrusage() no longer causes type-errors during GC.
3799 * bug fix: legally dynamic-extent lists and vectors used as
3800 initialization arguments to MAKE-ARRAY can be stack allocated. (lp#586105)
3801 * bug fix: inline-expansion creating references to dead lambda-variables
3802 (lp#454681, thanks to Alexey Dejneka)
3803 * bug fix: better error message for bogus numerical arguments to RANDOM.
3804 (lp#598986, thanks to Stas Boukarev)
3805 * bug fix: the compiler occasionally inlined references from incompatible
3806 environments occurs. (lp#308951)
3807 * bug fix: the compiler threw an error when trying to compile a local
3808 function (labels or flet) known to take a specialized complex argument.
3809 (not in launchpad, reported by sykopomp in #lispgames)
3810 * bug fix: package-locks failed to protect against compile-time effects of
3811 DEFUN when the symbol previously had a macro definition. (lp#576637)
3812 * bug fix: spurious ignore warnings even given (DECLARE IGNORE) in methods
3813 when parameter bindings mutated. (reported by Faré Rideau; lp #611361)
3814 * bug fix: workaround for compiler hang in ORDER-UVL-SETS (lp#308914)
3815 * bug fix: evaluation in debugger REPL works using the global context when
3816 in frames that do not have sufficient debug information.
3817 * bug fix: exceeding FD_SETSIZE limit now results in an sensible error
3819 * bug fix: (SETF DOCUMENTATION) of a macro works properly. (lp#643958, thanks
3821 * bug fix: interrupt taking longer than the requested period caused SLEEP
3822 to hang on Darwin. (lp#640516, thanks to Joe Lebroco for the analysis)
3824 changes in sbcl-1.0.42 relative to sbcl-1.0.41
3826 ** Cross-compilation host is now specified to make.sh using
3827 command-line argument --xc-host=<command> instead of a positional
3828 argument. (thanks to Daniel Herring)
3829 ** Install location can be specified to make.sh using command-line
3830 argument --prefix=<path>. (lp#550889s, thanks to Daniel Herring)
3831 * optimization: The default implementation of
3832 COMPUTE-DISCRIMINATING-FUNCTION does much less wasted work.
3833 * enhancement: Explicit memory barrier operations are now available for use
3834 by multithreaded code. See documentation for details.
3835 * enhancement: Experimental support for threading on Linux/PPC.
3836 * bug fix: RENAME-PACKAGE returns the package. (Thanks to Eric Marsden)
3837 * bug fix: EXPT signals an error if first argument is a zero and second
3838 argument is a floating point zero. (lp#571581, thanks to Roman Marynchak)
3839 * bug fix: DEFTYPE signals an error for non-list lambda-lists.
3840 (lp#576594, thanks to Roman Marynchak)
3841 * bug fix: make ASDF-INSTALL compatible with the now-included ASDF2.
3842 (lp#612998, reported by Phil Hargett; patch from Jim Wise)
3844 changes in sbcl-1.0.41 relative to sbcl-1.0.40:
3845 * optimization: validity of observed keyword initargs to MAKE-INSTANCE is
3846 cached, leading to many fewer expensive calls to
3847 COMPUTE-APPLICABLE-METHODS.
3848 * optimization: in the (unoptimized) general method for MAKE-INSTANCE on a
3849 CLASS argument, search for and call an appropriate optimized ctor function
3851 * bug fix: WRITE always returns the correct value.
3853 changes in sbcl-1.0.40 relative to sbcl-1.0.39:
3854 * bug fix: readdir now works on :inode64 darwin builds (lp#592897)
3855 * bug fix: Name conflicts between symbols passed as arguments to a single
3856 call to IMPORT no longer add multiple symbols with the same name to the
3857 package (detectable via DO-SYMBOLS).
3858 * bug fix: support building without the dlshim on darwin x86 and x86-64
3860 * bug fix: TRACE :ENCAPSULATE NIL now works on ppc/linux.
3862 changes in sbcl-1.0.39 relative to sbcl-1.0.38:
3863 * bug fix: Backtrace from undefined function on x86 and x86-64 now show
3865 * bug fix: linkage-table entries on PPC now no longer overflow their
3866 space allocation (potentially causing crashes if they are written out
3868 * bug fix: Scrub control stack after scavenging in gencgc on non-x86oid
3869 platforms, preventing the GC from seeing stale pointers on the control
3870 stack in subsequent GCs (which would, and does, break invariants).
3871 * bug fix: 32-bit unicode external formats now work on big-endian systems.
3872 * bug fix: Literal characters with code points greater than about 32767
3873 now work on PPC UNICODE builds.
3874 * bug fix: Any noise left by SSE operations (sqrt and conversions) in the
3875 high order bits are explicitly cleared out. In some contrived situations,
3876 this could lead to wrong results in mixed real/complex float arithmetic.
3877 * bug fix: Fix function/macro redefinition warnings when building with
3878 clisp. (lp#576787, thanks to Josh Elsasser)
3879 * new platform: experimental support for ppc/openbsd (thanks to Josh
3881 * bug fix: Floating-point traps now work on ppc/linux.
3883 changes in sbcl-1.0.38 relative to sbcl-1.0.37:
3884 * incompatible change: Thread names are now restricted to SIMPLE-STRINGs
3885 like for any other thread-related datastructure, MUTEX, etc. (lp#547095)
3886 * deprecation: the SB-QUEUE contrib was merged into the SB-CONCURRENCY
3887 contrib module. New code should depend on SB-CONCURRENCY, not SB-QUEUE.
3888 * deprecation: SB-THEAD:GET-MUTEX was deprecated in favor of
3889 SB-THREAD:GRAB-MUTEX.
3890 * new contributed module: SB-CONCURRENCY is a new contrib; it's supposed to
3891 contain additional data structures and tools for concurrent programming;
3892 at the moment it contains a lock-free queue, and a lock-free mailbox
3894 * new feature: added SB-THREAD:GRAB-MUTEX; it's like the now deprecated
3895 GET-MUTEX but takes &key rather than &optional parameters. Also added
3896 :TIMEOUT argument to GRAB-MUTEX on non-sb-lutex platforms like Linux and
3898 * new feature: added SB-THREAD:TRY-SEMAPHORE, a non-blocking variant of
3899 SB-THREAD:WAIT-ON-SEMAPHORE.
3900 * new feature: SB-EXT:ATOMIC-DECF has been added as a companion to
3902 * new feature: a CANCEL-DEADLINE is associated with DEADLINE-TIMEOUT
3903 conditions to defer the deadline for forever.
3904 * enhancement: *STANDARD-OUTPUT*, *STANDARD-INPUT*, and *ERROR-OUTPUT* are
3906 * enhancement: errors from NO-APPLICABLE-METHOD and
3907 NO-PRIMARY-METHOD now have a RETRY restart available to retry the
3908 generic function call.
3909 * enhancement: SB-BSD-SOCKET improvements
3910 ** sockets and socket streams now have a more informative printed
3911 representation based on the corresponding SOCKET-NAME and
3913 ** SOCKET-MAKE-STREAM once more supports the :AUTO-CLOSE option.
3915 ** SOCKET-CLOSE now accepts :ABORT argument, which is passed on to
3916 CL:CLOSE when appropriate, and no longer disassociates the stream
3917 from the socket if close failed. (lp#543951)
3918 * improvements to the instrumenting profiler
3919 ** new feature: report per-function GC overhead. (thanks to John Fremlin)
3920 ** optimization: counters no longer use locks for the overflow mode.
3921 ** bug fix: whenever a profiling counter wrapped into overflow mode, it
3922 incurred an off-by-one miscount.
3923 * enhancement: improved MAKE-HASH-TABLE documentation (lp#543473)
3924 * enhancement: improved DEFMETHOD pretty-printing.
3925 * enhancement: perform range reduction when arguments are too large for
3926 x87's transcendentals (instead of returning 0). (lp#327192)
3927 * enhancement: eliminate some spurious TYPE-WARNINGs. Should help with
3928 some of CL-PPCRE's macros. (lp#570079)
3929 * enhancement: our machine code is slightly less hostile to valgrind on
3931 * enhancement: up-to-date versions of NetBSD-current are supported. (Thanks
3932 to Robert Swindells and Aleksej Saushev)
3933 * bug fix: correct restart text for the continuable error in MAKE-PACKAGE.
3934 * bug fix: a rare case of startup-time page table corruption.
3935 * bug fix: a semaphore with multiple waiters and some of them unwinding due
3936 to timeouts could be left in an inconsistent state.
3937 * bug fix: fix typo in "Reporting Bugs" section of the manual (lp#520366)
3938 * bug fix: misoptimization of multiplication by one in
3939 (SB-C::FLOAT-ACCURACY 0) policies.
3940 * bug fix: miscounts in SB-PROFILE.
3941 * bug fix: Fix lost wakeup bug between SB-THREAD:CONDITION-WAIT and
3942 CONDITION-NOTIFY on Linux. See threads "lost wakeup in condition-wait /
3943 condition-notify" (Feb 2010) and "Condition-Wait, Deadline handler, waking
3944 up itself" (March 2010) for further details.
3945 * bug fix: allow forward FIND and POSITION on lists to elide checking :END
3946 against length of the list if the element is found before the specified
3947 END is reached. (thanks to Alec Berryman, lp#554385)
3948 * bug fix: errors signalled during package graph modification no longer
3949 block FIND-SYMBOL and FIND-PACKAGE in other threads. (lp#511072)
3950 * bug fix: SB-POSIX build was broken when SBCL was compiled without the
3951 :SB-DOC feature. (lp#552564)
3952 * bug fix: SB-INTROSPECT build issues on GENGC/PPC. (lp#490490)
3953 * bug fix: more robust runtime executable path detection. (lp#375549)
3954 * bug fix: GCD always returns positive values. (lp#413680)
3955 * bug fix: Converting division to multiplication by reciprocal handles
3957 * bug fix: We were too eager in eliding range reduction tests on x87.
3958 The maximal magnitude is 2^63, not 2^64.
3959 * bug fix: Transforms for TRUNCATE don't die when the result is completely
3961 * bug fix: Maybe restore buildability on Alpha.
3962 * bug fix: READ-BYTE isn't inline anymore, fixing weird streams failures.
3964 * bug fix: RANDOM-STATE can be printed readably again.
3965 * bug fix: Unreadable objects were sometimes printed like #<\nFoo>.
3966 * bug fix: Using EQL with non-constant values of constant type (e.g. EQL
3967 types) could result in type mismatches during compilation.
3969 changes in sbcl-1.0.37 relative to sbcl-1.0.36:
3970 * enhancement: Backtrace from THROW to uncaught tag on x86oids now shows
3971 stack frame thrown from.
3972 * enhancement: WITH-COMPILATION-UNIT :POLICY allows restricting changes to
3973 compiler optimization qualities inside dynamic extent of its body.
3974 * enhancement: LOAD-LOGICAL-PATHNAME-TRANSLATIONS can be used to load
3975 translations from SYS:SITE;<HOST>.TRANSLATIONS.NEWEST (thanks to Michael
3977 * optimization: SLOT-VALUE and (SETF SLOT-VALUE) take advantage of
3978 constraint propgation, allowing better compilation eg. when used to
3979 access structures with WITH-SLOTS. (lp#520366)
3980 * optimization: the compiler is now more aware of the type of the underlying
3981 storage vector for multidimensional simple arrays resulting in better code
3982 for accessing such arrays.
3983 * optimization: passing NIL as the environment argument to TYPEP no longer
3984 inhibits optimizing it. (lp#309788)
3985 * optimization: more efficient register usage when handling single-float
3986 arguments on x86-64. (thanks to Lutz Euler)
3987 * optimization: ADJUST-ARRAY and STABLE-SORT on vectors no longer use
3988 pre-allocated temporary vectors. (lp#496249)
3989 * bug fix: Fix compiler error involving MAKE-ARRAY and IF forms
3990 in :INITIAL-CONTENTS. (lp#523612)
3991 * bug fix: FUNCTION-LAMBDA-EXPRESSION lost declarations from interpreted
3992 functions. (lp#524707)
3993 * bug fix: bogus style warnings from certain (SETF SLOT-VALUE) and
3994 WITH-SLOTS usages during compilation.
3995 * bug fix: SB-C::CLASS-INFO now prints correctly. (lp#514762)
3996 * enhancement: Can now build with ud2 instead of int3 as trap instruction on
3997 all x86oid platforms with :UD2-BREAKPOINTS target feature.
3998 * bug fix: Breakpoints now work when using ud2 instead of int3 as trap
3999 instruction (tested on x86oid linux with ud2-breakpoints).
4000 * bug fix: slam.sh now works on win32.
4001 * bug fix: better differences of numeric types. (lp#309124)
4002 * bug fix: arrays declared intersection and union types can have their
4003 upgraded element type derived. (lp#316078)
4004 * bug fix: SB-SPROF allocation profiling for all threads failed to profile
4005 threads started during profiling. (lp#472499)
4006 * bug fix: SB-INTROSPECT test failure when building without SB-EVAL feature.
4008 * bug fix: SB-CLTL2:DECLARATION-INFORMATION did not take
4009 SB-EXT:RESTRICT-COMPILER-POLICY into account. (lp#313337)
4010 * bug fix: Comma inside a backquoted array or structure resulted in nonsense
4011 values instead of signaling an error. (lp#309093)
4012 * bug fix: Spurious unused variable warning in a DEFSTRUCT edge case.
4014 * bug fix: More consistent warnings and notes for ignored DYNAMIC-EXTENT
4015 declarations (lp#497321)
4016 * bug fix: FIND and POSITION on lists did not check sequence bounds properly
4017 and failed to detect circular lists (lp#452008)
4018 * bug fix: leakage from ~/.asdf-install into the ASDf-INSTALL contrib build
4020 * bug fix: LOOP OF-TYPE VECTOR compile-time error. (lp#540186)
4021 * bug fix: SIGNAL SB-SYS:INTERACTIVE-INTERRUPT before entering the debugger
4022 due to it, so that handlers can run.
4023 * bug fix: reparsing undefined types if they have become defined since
4024 parsing. (lp#309128)
4025 * bug fix: missing &REST type in a proclamation for a function with both
4026 &REST and &KEY in lambda-list caused miscompilation (lp#458354)
4027 * bug fix: WHO-CALLS information for source-transformed and compiler-macro
4028 expanded calls (lp#542174)
4029 * bug fix: more accurate WHO-MACROEXPANDS information; point into rather
4030 than just at toplevel form.
4032 changes in sbcl-1.0.36 relative to sbcl-1.0.35:
4033 * new feature: SB-EXT:TYPEXPAND-1, SB-EXT:TYPEXPAND, and
4034 SB-EXT:TYPEXPAND-ALL behave exactly like their MACROEXPAND counterparts
4035 but work on type specifiers.
4036 * new feature: SB-EXT:DEFINED-TYPE-NAME-P returns whether a symbol is known
4037 to name a type specifier.
4038 * new feature: SB-EXT:VALID-TYPE-SPECIFIER-P returns whether a given type
4039 specifier is valid where "valid" basically means "would be accepted as
4040 second argument of TYPEP".
4041 * new feature: SB-INTROSPECT:FUNCTION-TYPE takes a function-designator and
4042 returns the function's declared, or derived FTYPE.
4043 * new feature: SB-POSIX now supports accessing the d_ino member of
4044 dirent structures. (Thanks to Philipp Marek and Pierre THEIRRY)
4045 * new feature: The function SB-EXT:SEED-RANDOM-STATE has been added to
4046 provide for seeding a RANDOM-STATE object with user-provided data or
4047 from the operating system's PRNG. Also, (MAKE-RANDOM-STATE T) will
4048 attempt to initialize the returned state from the operating system's
4049 PRNG where possible. (Thanks to Fare Rideau; launchpad bug lp#310116)
4050 * bug fix: Fix SB-SIMPLE-STREAMS:READ-VECTOR to correctly set the
4051 FILE-POSITION of the stream being read from. (launchpad bug lp#491087)
4052 * bug fix: Fix grammar and style issues for the docstrings of
4053 printer-related variables and functions. (Thanks to mon_key; launchpad
4055 * bug fix: Fix compilation on chenygc platforms. Thanks to Larry Valkama and
4057 * bug fix: SB-THREAD:CONDITION-WAIT sometimes signaled a deadline twice
4058 in a row even though a handler defered the deadline long into the
4060 * bug fix: A deadline handler was run without interrupts enabled for a
4061 deadline signaled within SB-THREAD:CONDITION-WAIT. That could result
4062 in infinitely spinning, non-killable threads.
4063 * bug fix: Backtrace from internal-errors on x86-64 os x was truncated
4064 before reaching the erring stack frame.
4065 * bug fix: Fix type derivation for EXPT when raising a fixnum to a
4066 real power. (launchpad bug lp#525949)
4067 * bug fix: Fix SB-EXT:GENERATION-* accessors for generations > 0 on
4068 GENCGC platforms. (launchpad bug lp#529014)
4069 * bug fix: More robust checks for invalid DEFMETHOD argument specializers.
4070 (launchpad bug lp#525916)
4071 * bug fix: Fix building on Darwin when sysctl is not in the user's PATH.
4072 (Thanks to Robert Goldman)
4074 changes in sbcl-1.0.35 relative to sbcl-1.0.34:
4075 * optimization: ROUND with a single single-float or double-float argument
4076 is properly inlined when possible.
4077 * optimization: Slightly better code is generated for integer<->float
4078 conversions and for single-float<->double-float conversions on x86-64.
4079 * optimization: SB-ROTATE-BYTE:ROTATE-BYTE now generates more efficient
4080 code for 32-bit and 64-bit rotations on x86-64.
4081 * bug fix: The install script changes the ownership of directories as well
4082 as files for contrib modules using asdf. (thanks to Eugene Ossintsev;
4083 launchpad bug lp#508485)
4084 * bug fix: TRUNCATE with a single single-float or double-float argument is
4085 properly inlined when possible. (launchpad bug lp#489388)
4086 * bug fix: Passing a rotation count of zero to SB-ROTATE-BYTE:ROTATE-BYTE
4087 no longer causes a compiler error on x86 and ppc.
4088 * bug fix: GET-MACRO-CHARACTER bogusly computed its second return value
4089 always relative to *READTABLE* rather than the passed argument.
4091 changes in sbcl-1.0.34 relative to sbcl-1.0.33:
4092 * minor incompatible change: threading support is now enabled by default
4094 * enhancement: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST now also works on most
4096 * enhancement: Errors during compile-time-too processing (i.e. EVAL-WHEN)
4097 are now caught and reported just like errors during macroexpansion.
4098 * enhancement: SB-POSIX now provides access to tcdrain(), tcflow(),
4099 tcflush(), tcgetsid(), and tcsendbreak(). (thanks to Jerry James)
4100 * enhancement: ASDF systems can now depends on SB-QUEUE.
4101 * fixes and improvements related to Unicode and external formats:
4102 ** bug fix: error handling and restart usage in the ucs-2 external format
4104 ** there is now an implementation of the ucs-4 external format.
4105 ** the utf-16 and utf-32 external formats are supported.
4106 * bug fix: SB-POSIX wrapper for putenv no longer tries to put lisp strings
4107 in the environment. setenv() and unsetenv() are also provided. (reported by
4108 Fare Rideau; launchpad bug lp#460455)
4109 * bug fix: LOAD of both .fasl and .FASL type files now forces fasl-style
4110 loading. This ensures sensible errors for .FASL files from other
4111 implementations on case-insensitive filesystems. (reported by Willem
4112 Broekema; launchpad bug lp#489417)
4113 * bug fix: #p"\\\\" can now be read without error on Win32. (reported by
4114 Willem Broekema; launchpad bug lp#489698).
4115 * bug fix: some minor code rearrangements to reenable warning-free building
4116 from CMUCL (reported by xme@gmx.net; launchpad bug lp#491104)
4117 * bug fix: PRINT-OBJECT for clos instances respects the right margin when
4119 * bug fix: FIND-PACKAGE & DEFPACKAGE were not thread safe. (reported by
4122 changes in sbcl-1.0.33 relative to sbcl-1.0.32:
4123 * new port: support added for x86-64 NetBSD. (thanks to Aymeric Vincent)
4124 * improvement: support O_LARGEFILE access to files larger than 2GB on
4125 x86-64/linux. (thanks to Daniel Janus; launchpad bug lp#453080)
4126 * new feature: SB-INTROSPECT:WHO-SPECIALIZES-DIRECTLY to get a list of
4127 definitions for methods specializing on the passed class itself.
4128 * new feature: SB-INTROSPECT:WHO-SPECIALIZES-GENERALLY to get a list of
4129 definitions for methods specializing on the passed class itself, or on
4131 * new build flag: :sb-xref-for-internals; SBCL will collect xref information
4132 about itself during the build (e.g. for M-? in Slime), if this flag is
4133 enabled in customize-target-features.lisp. This will increase the core
4134 size by about 5-6mb, though, so it's mostly interesting to SBCL
4136 * new feature: various GENCGC tuning parameters have been experimentally
4137 documented and exported from SB-EXT. See documentation for details.
4138 * fixes and improvements related to Unicode and external formats:
4139 ** the Unicode character database has been upgraded to the
4140 Unicode 5.2 standard, giving names and properties to a number of new
4141 characters, and providing a few extra characters with case
4143 ** improvement: restarts for providing replacement input/output on coding
4144 errors for fd-stream external formats.
4145 ** improvement: where :<encoding> is a keyword corresponding to an
4146 external format the system supports, it is now possible to specify
4147 (:<encoding> :replacement <character>) as an external format which will
4148 automatically substitute <character> on encoding or decoding errors for
4149 streams and for STRING-TO-OCTETS and its inverse. (launchpad bug
4151 ** improvement: the file streams underlying the standard streams (such as
4152 *STANDARD-INPUT*, *TERMINAL-IO*) are opened with an external format
4153 which uses the replacement mechanism to handle encoding errors,
4154 preventing various infinite error chains and unrecoverable I/O
4156 ** minor incompatible change: the utf-8 external format now correctly
4157 refuses to encode Lisp characters in the surrogate range (char-codes
4158 between #xd800 and #xdfff).
4159 ** fix a typo preventing conversion of strings into octet vectors
4160 in the latin-2 encoding. (reported by Attila Lendvai; launchpad bug
4162 ** fix a bug in the octet multibyte handling of decoding errors and the
4163 USE-VALUE restart. (launchpad bug lp#314939)
4164 ** fix the bug underlying the expected failure in the FORCE-END-OF-FILE
4165 restart on fd-stream decoding errors.
4166 ** fix a bug in the ATTEMPT-RESYNC fd-stream decoding restart when the
4167 error is near the end of file.
4168 ** fix a double-error case in unibyte octet conversions, when the first
4169 use of USE-VALUE is ignored.
4170 ** fix bugs in handling of undefined code points in unibyte encodings.
4171 ** fix LISTEN (and consequent hangs in READ-CHAR-NO-HANG) on bivalent
4172 streams after an UNREAD-CHAR.
4173 * enhancement: SB-INTROSPECT:ALLOCATION-INFORMATION also reports if the
4174 object is allocated in a boxed region of dynamic space.
4175 * enhancement: SB-POSIX:FORK now signals an error if an attempt to
4176 fork with multiple Lisp threads running is made, instead of going
4177 ahead with unpredictable consequences. (reported by Leslie Polzer)
4178 * bug fix: uses of slot accessors on specialized method parameters within
4179 the bodies of SLOT-VALUE-USING-CLASS methods no longer triggers a type
4180 error while finalizing the class. This fix may cause classes with slot
4181 accessors to be finalized later than previously. (reported by Lars Rune
4182 Nøstdal; launchpad bug lp#473699)
4183 * bug fix: restore buildability on the MIPS platform. (regression from
4184 1.0.30.38, reported by Samium Gromoff)
4185 * bug fix: inspecting closures is less likely to fail with a type error.
4186 * bug fix: no timer starvation when setting the system clock back.
4187 (launchpad bug lp#460283)
4188 * bug fix: WITH-STANDARD-IO-SYNTAX now binds *PRINT-PPRINT-DISPATCH* to the
4189 standard pprint dispatch table as specified by CLHS.
4190 * bug fix: give CLISP a hint about a type declaration to enable it to build
4191 the cross-compiler without warnings. (thanks to Josh Elasser; launchpad
4193 * bug fix: correctly dump literal objects in defaulting forms of arglists.
4194 (reported by Attila Lendvai; launchpad bug lp#310132)
4195 * bug fix: distinguish in type specifiers between arrays that might be
4196 complex and arrays that are definitely complex. (launchpad bug lp#309129)
4197 * bug fix: SUBTYPEP knows that the SYMBOL type is not SUBTYPEP the KEYWORD
4198 type. (reported by Levente Mészáros; launchpad bug lp#485972)
4199 * bug fix: setting the value of a symbol-macro within a method in the
4200 presence of type declarations works properly again. (reported by Iban
4201 Hatchondo; launchpad bug lp#485019)
4203 changes in sbcl-1.0.32 relative to sbcl-1.0.31:
4204 * optimization: faster FIND and POSITION on strings of unknown element type
4205 in high SPEED policies. (thanks to Karol Swietlicki)
4206 * optimization: faster CONCATENATE 'STRING in low SPEED policies (reported
4208 * improvement: better error signalling for bogus parameter specializer names
4209 in DEFMETHOD forms (reported by Pluijzer)
4210 * bug fix: DELETE-FILE once again works on logical pathnames (regression
4212 * bug fix: LOGICAL-PATHNAME signals a TYPE-ERROR if pathspec is specified
4214 * bug fix: redefinition of a class via DEFCLASS without :DEFAULT-INITARGS
4215 removes previous default initargs (reported by Lars Rune Nøstdal and
4217 * bug fix: correct WHO-CALLS information for inlined lambdas with complex
4218 lambda-lists. (reported by Peter Seibel)
4219 * bug fix: SAVE-LISP-AND-DIE option :SAVE-RUNTIME-OPTIONS did not work
4220 correctly when starting from an executable core without saved runtime
4221 options (reported by Faré Rideau, thanks to Zach Beane)
4222 * bug fix: (SETF SLOT-VALUE) signalled a warning which should have been
4223 an optimization note instead. (reported by Martin Cracauer)
4224 * bug fix: WITH-SLOTS did not work with THE forms. (thanks to David Tolpin)
4225 * bug fix: Have RUN-PROGRAM with :INPUT T only run the subprocess in a
4226 new process group if it doesn't need to share stdin with the sbcl
4227 process. (thanks to Leslie Polzer)
4228 * bug fix: SATISFIES could be misoptimized to refer to a local function.
4229 (reported by Stanislaw Halik)
4231 changes in sbcl-1.0.31 relative to sbcl-1.0.30:
4232 * improvement: stack allocation is should now be possible in all nested
4233 inlining cases: failure to stack allocate when equivalent code is manually
4234 open coded is now considered a bug.
4235 * improvements related to Unicode:
4236 ** the Unicode character database has been upgraded to the
4237 Unicode 5.1 standard, giving names and properties to a number of new
4238 characters, and providing a few extra characters with case
4240 ** the system now recognizes and produces names for Unicode Hangul
4241 syllable characters.
4242 ** the EBCDIC-US external-format is now supported for octet operations
4243 (as well as for stream operations).
4244 * new feature: experimental :EMIT-CFASL parameter to COMPILE-FILE can
4245 be used to output toplevel compile-time effects into a separate .CFASL
4247 * optimization: COERCE to VECTOR, STRING, SIMPLE-STRING and recognizable
4248 one-dimenstional subtypes of ARRAY is upto 70% faster when the coercion is
4250 * optimization: TRUNCATE on known single- and double-floats is upto 25%
4252 * optimization: division of floating point numbers by constants uses
4253 multiplication by reciprocal when an exact reciprocal exists.
4254 * optimization: multiplication of single- and double-floats floats by
4255 constant two has been optimized.
4256 * optimization: ARRAY-IN-BOUNDS-P is resolved at compile-time when
4257 sufficient type information is available. (thanks to Leslie Polzer)
4258 * optimization: SLOT-VALUE and (SETF SLOT-VALUE) with constant slot names on
4259 known structure objects are as efficient as defstruct generated accessors.
4260 * optimization: unused vector creation can now be optimized away.
4261 * improvement: ASDF systems can now depends on SB-INTROSPECT.
4262 * improvement: a STYLE-WARNING is signalled when a generic function
4263 clobbers an earlier FTYPE proclamation.
4264 * improvement: the compiler is able to track the effective type of
4265 generic function across method addition and removal even in the
4266 absence of an explicit DEFGENERIC.
4267 * improvement: DESCRIBE now reports on symbols naming undefined
4268 but assumed or declared function as well.
4269 * improvement: recompilation of systems using SB-GROVEL now works
4270 (thanks to Leslie Polzer)
4271 * improvements to SB-CLTL2 (thanks to Larry D'Anna):
4272 ** functions DECLARATION-INFORMATION, PARSE-MACRO, and ENCLOSE have been
4274 ** AUGMENT-ENVIRONMENT and DEFINE-DECLARATION have been implemented.
4275 ** DECLARATION-INFORMATION now supports declaration name DECLARATION as
4276 well as user defined declaration names.
4277 ** VARIABLE-INFORMATION is now aware of alien variables.
4278 * improvement: improved address space layout on OpenBSD (thanks to Josh
4280 * improvement: pretty-printing of various Lisp forms has been improved
4281 (thanks to Tobias Rittweiler)
4282 * bug fix: calls to DECODE-FLOAT and INTEGER-DECODE-FLOAT whose value was
4283 unused were deleted in safe code. (reported by John Fremlin)
4284 * bug fix: a failing AVER compiling certain MAKE-ARRAY forms. (reported
4286 * bug fix: some out-of-line array predicates were missing (reported by
4288 * bug fix: a failing AVER in CONVERT-MV-CALL has been fixed. (thanks to
4290 * bug fix: a failing AVER in %ALLOCATE-CLOSURES conversion has been fixed
4291 (thanks to Larry D'Anna)
4292 * bug fix: SLEEP supports times over 100 million seconds on long on OpenBSD
4293 as well. (reported by Josh Elsasser)
4294 * bug fix: DELETE-FILE on streams no longer closes the stream with :ABORT T,
4295 leading to possible attempts to delete the same file twice. See docstring
4296 on DELETE-FILE for details. (reported by John Fremlin)
4297 * bug fix: DELETE-FILE once again deletes the file named by the pathname
4298 designator argument, rather than its truename. (reported by Luis
4300 * bug fix: the low-level debugger had 32-bit assumptions and was missing
4301 information about some array types. (thanks to Luis Oliveira)
4302 * bug fix: moderately complex combinations of inline expansions could
4303 be miscompiled if the result was declared to be dynamic extent.
4304 * bug fix: on x86, SAP-REF of sizes greater than 8 bits with offsets of the
4305 form (+ <variable> <integer>) were miscompiled under certain
4307 * bug fix: in some cases no compiler note about failure to stack allocate
4308 was emitted, even if the objects were in fact heap allocated.
4309 * bug fix: minor violation of "otherwise inaccessible" rule for stack
4310 allocation could cause objects users might reasonably expect to
4311 be heap allocated to be stack allocated.
4312 * bug fix: DESCRIBE signalled an error for generic functions under
4313 certain circumstances. (thanks to Leslie Polzer)
4314 * bug fix: Fixed spelling of an error message.
4316 changes in sbcl-1.0.30 relative to sbcl-1.0.29:
4317 * minor incompatible change: SB-THREAD:JOIN-THREAD-ERROR-THREAD and
4318 SB-THREAD:INTERRUPT-THREAD-ERROR-THREAD have been deprecated in favor
4319 of SB-THREAD:THREAD-ERROR-THREAD.
4320 * new contrib module: SB-QUEUE provides thread-safe lockless FIFO queues.
4321 * new feature: docstrings for local and anonymous functions are no longer
4322 discarded. (thanks to Leslie Polzer)
4323 * new feature: SB-THREAD:SYMBOL-VALUE-IN-THREAD provides access to symbol
4324 values in other threads.
4325 * new feature: SB-INTROSPECT:ALLOCATION-INFORMATION provides information
4326 about object allocation.
4327 * optimization: division of a real float by a complex float is implemented
4328 with a specialised code sequence.
4329 * optimization: MAKE-INSTANCE with non-constant class-argument but constant
4330 keywords is an order of magnitude faster.
4331 * optimization: MAKE-INSTANCE with constant keyword arguments is x2-4 faster
4332 in the presence of :AROUND or non-standard primary INITIALIZE-INSTANCE
4333 methods, and similarly for non-standard metaclass classes as long as there
4334 are no methods additional on MAKE-INSTANCE.
4335 * optimization: more efficient type-checks for FIXNUMs when the value
4336 is known to be a signed word on x86 and x86-64.
4337 * optimization: compiler now optimizes (EXPT -1 INTEGER), (EXPT -1.0 INTEGER),
4338 and (EXPT -1.0d0 INTEGER) into an ODDP test. (thanks to Stas Boukarev and
4340 * optimization: compiler is smarter about delegating argument type checks to
4342 * optimization: several character functions are now compiled somewhat more
4343 efficiently. (reported by Lynn Quam)
4344 * optimization: the compiler now derives simple types for LOAD-VALUE-FORMs.
4345 * improvement: less unsafe constant folding in floating point arithmetic,
4346 especially for mixed complex/real -float operations.
4347 * optimization: constant double and single floats are stored in native
4348 unboxed format on x86[-64].
4349 * optimization: smarter code for arithmetic operations with constant floats,
4350 complex floats, or integers on x86[-64].
4351 * optimization: smarter code for conjugate/multiplication of float complexes
4352 and abs/negate of floats on x86-64.
4353 * optimization: more efficient complex float and real float operations on
4355 * improvement: complex float division is slightly more stable.
4356 * improvement: DESCRIBE output has been reworked to be easier to read and
4357 contains more pertinent information.
4358 * improvement: failure to provide requested stack allocation compiler notes
4359 provided in all cases (requested stack allocation not happening without a
4360 note being issued is now considered a bug.)
4361 * bug fix: SB-POSIX exports the documented types and functions
4362 FILE-DESCRIPTOR and FILENAME, and also the corresponding -DESCRIPTOR
4363 types. (reported by "abhi")
4364 * bug fix: on 64 bit platforms FILL worked incorrectly on arrays with
4365 upgraded element type (COMPLEX SINGLE-FLOAT), regression from 1.0.28.55.
4366 (thanks to Paul Khuong)
4367 * bug fix: looping around HANDLER-CASE could silently consume stack space
4368 on each iteration. (reported by "foobar")
4369 * bug fix: better error signalling when calls to functions seeking elements
4370 from lists (eg. ADJOIN) are compiled with both :TEST and :TEST-NOT.
4371 (reported by Tobias Rittweiler)
4372 * bug fix: regressions in DIRECTORY from 1.0.28.61: pattern matching of
4373 directory components now works as it used to. (various prolems reported by
4374 Michael Becker, Gabriel Dos Reis, Cyrus Harmon, and Harald Hanche-Olsen)
4375 * bug fix: :PTY option in RUN-PROGRAM was broken with stream arguments.
4376 (reported by Elliot Slaughter, thanks to Stas Boukarev)
4377 * bug fix: bogus undefined variable warnings from fopcompiled references to
4378 global variables. (thanks to Lars Rune Nøstdal)
4379 * bug fix: foreign function names should now appear in backtraces on
4380 FC6 as well. (reported by Tomasz Skutnik and Tobias Rautenkranz)
4381 * bug fix: SETF compiler macro documentation strings are not discarded
4383 * bug fix: GENTEMP is now unaffected by pretty printer dispatch table.
4384 (thanks to Alex Plotnick)
4385 * bug fix: SLEEP accepts large integer arguments, truncating them to
4386 SIGNED-WORD on the assumption that sleeping for 68 years is sufficient
4387 for anyone. (reported by Leslie Polzer, thanks to Stas Boukarev)
4388 * bug fix: compiler notes for expensive slot type checks could be emitted
4389 at runtime MAKE-INSTANCE calls. (reported by Samium Gromoff)
4391 changes in sbcl-1.0.29 relative to 1.0.28:
4392 * IMPORTANT: bug database has moved from the BUGS file to Launchpad
4393 https://bugs.launchpad.net/sbcl
4394 Bugs can be reported directly there, or by sending email to
4395 sbcl-bugs@lists.sourceforge.net
4396 (no subscription required.)
4397 * minor incompatible change: under weak type checking policy integer
4398 types are weakened less aggressively.
4399 * minor incompatible change: SAVE-LISP-AND-DIE :TOPLEVEL function is now
4400 allowed to return, which causes SBCL to quit with exit status 0. Previously
4401 if the function returned with a small integer return value, that value
4402 was accidentally reused as the exit status.
4403 * new feature: SB-EXT:DEFINE-HASH-TABLE-TEST allows defining new arguments
4404 to MAKE-HASH-TABLE :TEST, and MAKE-HASH-TABLE has been extended with
4405 :HASH-FUNCTION argument. Refer to user manual for details.
4406 * new feature: SB-EXT:DEFGLOBAL macro allows defining global non-special
4408 * new feature: SB-EXT:GET-TIME-OF-DAY provides access to seconds and
4409 microseconds since the Unix epoch on all platforms.
4410 * new feature: SB-EXT:ALWAYS-BOUND proclamation inhibits MAKUNBOUND, and
4411 allows the compiler to safely elide boundedness checks for special
4413 * new feature: SB-EXT:GLOBAL proclamation inhibits SPECIAL proclamations for
4414 the symbol, prohibits both lexical and dynamic binding. This is mainly an
4415 efficiency measure for threaded platforms, but also valueable in
4417 * new feature: UNC pathnames are now understood by the system on Windows.
4418 * optimization: the compiler uses a specialized version of FILL when the
4419 element type is know in more cases, making eg. (UNSIGNED-BYTE 8) case
4421 * optimization: accesses to potentially non-simple arrays where element type
4422 is known are 50% faster.
4423 * optimization: compiler now generates faster array typechecking code.
4424 * optimization: ARRAY-DIMENSION is now faster for multidimensional and
4426 * optimization: multidimensional array accesses in the absence of type
4427 information regarding array rank are approximately 10% faster due to
4428 open coding of ARRAY-RANK.
4429 * optimization: result of (FILL (MAKE-ARRAY ...) ...) and (REPLACE
4430 (MAKE-ARRAY ...) ...) can be stack allocated if the result of MAKE-ARRAY
4432 * optimization: result of call to VECTOR can now be stack allocated.
4433 * optimization: MAKE-ARRAY with :INITIAL-CONTENTS is now vastly faster
4434 as long as the resulting array is one-dimensional and has a known
4435 element type. In particular, :INITIAL-CONTENTS (LIST ...) where the
4436 length of the list matches the known length of the vector does not
4437 allocate the list as an intermediate step. Ditto for VECTOR and simple
4439 * optimization: MAKE-ARRAY can now stack allocate in the presence of
4440 :INITIAL-CONTENTS and :INITIAL-ELEMENT as long as the result has a
4441 known element type, and is known to be simple and one dimensional.
4442 * improvement: SBCL now emits a compiler note where stack allocation was
4443 requested but could not be provided (not in all cases, unfortunately)
4444 * improvement: better MACHINE-VERSION responses. (thanks to Josh Elsasser)
4445 * improvement: pretty-printing loop has been implemented properly. (thanks
4446 to Tobias Rittweiler)
4447 * documentation: CLOS slot typechecing policy has been documented.
4448 * bug fix: FILE-AUTHOR no longer signals an error on Windows.
4449 * bug fix: SB-SPROF could be foiled by foreign code not have a frame
4450 pointer, leading to memory faults. (thanks to Bart Botta)
4451 * bug fix: better floating point exception handling on x86/OpenBSD.
4452 (thanks to Josh Elsasser)
4453 * bug fix: exit status from QUIT when called under --script was lost
4454 (reported by Hubert Kauker)
4455 * bug fix: MAKE-ARRAY for non-zero :INITIAL-ELEMENT always used the
4456 same implementation of FILL to initialize the array, even if a more
4457 efficient one was available (reported by Stas Boukarev, thanks to
4459 * bug fix: potential miscompilation of array stack allocation on x86 and
4460 x86-64. (reported by Time Tossavainen)
4461 * bug fix: some forms of AND, OR, and COND resulted in expansions that could
4462 result in their subforms being treated as top level forms. (reported by
4464 * bug fix: On x86/x86-64 alien functions declared to return integers shorter
4465 than a machine register could leave garbage in the high bits of the
4466 result register (bug 316325).
4467 * bug fix: disable address space randomization Linux/x86-64 as well,
4468 not just x86-64. (reported by Ken Olum)
4469 * bug fix: Attempting to DEREF an (ALIEN (* T)) would produce a WARNING and
4470 generate incorrect code.
4471 * bug fix: #201; type inference for CONS and ARRAY types could derive
4472 wrong results in the presence of eg. RPLACA or ADJUST-ARRAY.
4473 * bug fix: special variables with a proclaimed specific subtype of FUNCTION
4474 could not be assigned to or bound with PROGV. (reported by Lorenz
4476 * bug fix: the value of CL:- in the inspector was the previous expression
4477 evaluated rather than the expression being evaluated.
4478 * bug fix: constants can no longer be locally declared special.
4479 * bug fix: signals delivered to threads started from foreign land (read:
4480 directly by pthread_create, not by MAKE-THREAD) are redirected to a Lisp
4481 thread by blocking all signals and resignalling.
4482 * bug fix: SHARED-INITIALIZE initialized unbound :ALLOCATION :CLASS slots
4483 from :INITFORM, if any.
4485 changes in sbcl-1.0.28 relative to 1.0.27:
4486 * a number of bugs in cross-compilation have been fixed, with the ultimate
4487 result that building under (at least) clisp should be much more reliable.
4488 * minor incompatible changes: echo-streams now propagate unread-char to the
4489 underlying input stream, and no longer permit unreading more than one
4491 * improvement: on x86/x86-64 Lisp call frames now have the same layout as C
4492 frames, allowing for instance more reliable backtraces.
4493 * improvement: the debugger REPL can now reference lexical variables
4494 by name directly for code compiled with (DEBUG 3).
4495 * improvement: errors from malformed declarations now have better source
4496 paths associated with them. (thanks to Tobias Rittweiler)
4497 * optimization: faster local calls on x86/x86-64
4498 * bug fix: some error messages for out-of-bound array indexes confused the
4499 index and the bound. (thanks to Stas Boukarev)
4500 * bug fix: pretty printing malformed DEFPACKAGE forms (thanks to Sidney
4502 * bug fix: running regressions tests in shells without OSTYPE set now works.
4503 (reported by Harald Hanche-Olsen)
4504 * bug fix: more robust static space exhaustion signalling from
4505 MAKE-STATIC-VECTOR (thanks to Daniel Lowe)
4506 * bug fix: (SETF DOCUMENTATION) for anonymous function now throws the
4507 docstring away instead of storing it under names such as (LAMBDA (X)).
4508 (reported by Leslie Polzer)
4509 * bug fix: timers could go off in the wrong order, be delayed indefinitely
4510 (thanks to Ole Arndt for the patch)
4511 * bug fix: RESTART-FRAME and RETURN-FROM-FRAME stack corruption
4512 * bug fix: the discriminating function for PRINT-OBJECT no longer preserves
4513 potentially-invalid effective methods in its cache.
4514 * bug fix: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works with funcallable
4515 instances as well (thanks to Paul Khuong)
4516 * bug fix: using RUN-PROGRAM does not interfere with SB-POSIX:WAIT,
4517 SB-POSIX:WAITPID and their C equivalents.
4518 * bug fix: RUN-PROGRAM does not crash on Darwin when stressed.
4520 changes in sbcl-1.0.27 relative to 1.0.26:
4521 * new port: support added for x86-64 OpenBSD. (thanks to Josh Elsasser)
4522 * new port: support added for x86-64 Solaris. (thanks to Alex Viskovatoff)
4523 * improvement: the system either recovers from stack exhaustion or dies
4524 properly as opposed to leaving the user uncertain of whether the handler
4525 trampled on some random memory next to the stack or having to rely on
4526 --lose-on-corruption (which is still a good idea to use in production
4527 because stack exhaustion can happen in signal handlers which will likely
4529 * bug fix: fix gc related interrupt handling bug on ppc (regression from
4530 1.0.25.37, reported by Harald Hanche-Olsen)
4531 * bug fix: work around signal delivery bug in darwin (regression from
4532 1.0.25.44, reported by Sidney Markowitz)
4533 * bug fix: fix ERROR leaking memory (reported by David Thompson)
4535 changes in sbcl-1.0.26 relative to 1.0.25:
4536 * incompatible change: an interruption (be it a function passed to
4537 INTERRUPT-THREAD or a timer function) runs in an environment where
4538 interrupts can be enabled. The interruption can use
4539 WITH-INTERRUPTS or WITHOUT-INTERRUPTS as it sees fit. Use
4540 WITHOUT-INTERRUPTS to avoid nesting of interruptions and
4541 potentially running out of stack. Keep in mind that in the absence
4542 of WITHOUT-INTERRUPTS some potentially blocking operation such as
4543 acquiring a lock can enable interrupts.
4544 * incompatible change: GC-OFF and GC-ON are removed, as they were
4545 always unsafe. Use WITHOUT-GCING instead.
4546 * new feature: runtime option --disable-ldb
4547 * new feature: runtime option --lose-on-corruption to die at the
4548 slightest hint of possibly non-recoverable errors: running out of
4549 memory, stack, alien stack, binding stack, encountering a memory
4550 fault, etc. In the absence of --lose-on-corruption a warning is
4552 * enhancement: detect binding stack exhaustion
4553 * enhancement: detect alien stack exhaustion on x86/x86-64
4554 * improvement: generally more stable and reliable interrupt handling
4555 * improvement: there is a per thread interruption queue,
4556 interruptions are executed in order of arrival
4557 * improvement: a repeating timer reschedules itself when the it has
4558 finished, but expiration times are spaced equally. If an
4559 expiration time is in the past it will trigger after a short grace
4560 period that may give a chance to other things to run.
4561 * optimization: slightly faster gc on multithreaded builds
4562 * optimization: faster WITHOUT-GCING
4563 * bug fix: when JOIN-THREAD signals an error, do it when not holding
4564 important locks so that the debugger/handler doesn't produce
4565 recursive errors or deadlock.
4566 * bug fix: real-time signals are not used anymore, so no more
4567 hanging when the system wide real-time signal queue gets full.
4568 * bug fix: INTERRUPT-THREAD on a dying thread could produce memory
4570 * bug fix: finalizers, gc hooks never run in a WITHOUT-INTERRUPTS
4571 * bug fix: fix random memory faults related to interrupts on alpha
4572 * bug fix: fix random memory faults related to interrupts on sparc
4573 * bug fix: fix deadlocks related to starting threads
4574 * bug fix: fix deadlines on locks on futex platforms
4575 * bug fix: restore errno in signal handlers
4576 * bug fix: fix deadlocks related to hash tables
4577 * bug fix: fix deadlocks in pcl
4579 changes in sbcl-1.0.25 relative to 1.0.24:
4580 * incompatible change: SB-INTROSPECT:FUNCTION-ARGLIST is deprecated, to be
4581 removed later. Please use SB-INTROSPECT:FUNCTION-LAMBDA-LIST instead.
4582 * new feature: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST allows retrieval of
4583 DEFTYPE lambda lists. (thanks to Tobias Rittweiler)
4584 * enhancement: MUTEX-VALUE is to be superseded by MUTEX-OWNER that has a
4585 better name and does not return values so stale on multiprocessor systems.
4586 Also, HOLDING-MUTEX-P was added for about the only sane usage of
4588 * improvement: unithread builds keep track of MUTEX-VALUE.
4589 * improvement: reading from a TWO-WAY-STREAM does not touch the output
4590 stream anymore making it thread safe to have a concurrent reader and
4591 a writer, for instance, in a pipe.
4592 * improvement: GET-SETF-EXPANDER avoids adding bindings for constant
4593 arguments, making compiler-macros for SETF-functions able to inspect
4594 their constant arguments.
4595 * improvement: COMPILE-FILE reports times with millisecond accuracy
4596 (thanks to Luis Oliveira)
4597 * optimization: CHAR-CODE type derivation has been improved, making
4598 TYPEP elimination on subtypes of CHARACTER work better. (reported
4599 by Tobias Rittweiler, patch by Paul Khuong)
4600 * bug fix: setting alien structure fields of type struct by value now
4601 computes the right offset for the memory copy.
4602 * bug fix: compilation problem involving inlined calls to aliens with
4603 result type VOID. (reported by Ken Olum)
4604 * bug fix: #235a; sequential inline expasion in different policies no
4605 longer reuses the functional from the previous expansion site.
4606 * bug fix: DEFTYPE no longer breaks on bodies consisting of a single
4607 unquoted symbol. Regression from 1.0.22.8. (reported by Ariel Badichi)
4608 * bug fix: named ENUMs in multiply-referenced alien record types no longer
4609 cause an implied type redefinition. Regression from 1.0.21.29.
4610 * bug fix: sign-extension of small signed return values now works with C
4611 code compiled with gcc 4.3 or newer. (reported by Liam Healy)
4612 * improvements to the Windows port:
4613 ** SB-BSD-SOCKETS now works from saved cores as well. (reported by Stephen
4614 Westfold, thanks to Rudi Schlatte)
4616 changes in sbcl-1.0.24 relative to 1.0.23:
4617 * new feature: ARRAY-STORAGE-VECTOR provides access to the underlying data
4618 vector of a multidimensional SIMPLE-ARRAY.
4619 * new feature: the system now signals a continuable error if standard
4620 readtable modification is attempted. (thanks to Tobias Rittweiler)
4621 * new feature: DIRECTORY has been extended with a non-standard keyword
4622 argument :RESOLVE-SYMLINKS. (thanks to TC-Rucho)
4623 * enhancement: SB-BSD-SOCKETS:MAKE-SOCKET-STREAM keyword argument handling
4624 has been robustified and documented better. (thanks to Robert Goldman)
4625 * optimization: faster generic arithmetic dispatch on x86 and x86-64.
4626 * optimization: FORMAT ~D and ~F are now approximately 5% faster.
4627 * tradeoff: constant FORMAT control strings are now compiled unless
4628 SPACE > SPEED (previously only when SPEED > SPACE.)
4629 * bug fix: Red Hat Enterprise 3 mmap randomization workaround. (thanks
4631 * bug fix: DEFCLASS and ENSURE-CLASS-USING-CLASS are now expected to
4633 * bug fix: lexical type declarations are now correctly reported by
4634 SB-CLTL2. (reported by Larry D'Anna)
4635 * bug fix: STRING-TO-OCTETS did not handle :START properly when
4636 using UTF-8 as external format. (thanks to Luis Oliveira)
4637 * bug fix: errors from invalid fill-pointer values to (SETF FILL-POINTER)
4638 are signalled correctly. (thanks to Stas Boukarev)
4639 * bug fix: SET-MACRO-CHARACTER accepts NIL as the readtable
4640 designator. (thanks to Tobias Rittweiler)
4641 * bug fix: SET-DISPATCH-MACRO-CHARACTER accepts NIL as the readtable
4642 designator, and returns T instead of the function. (thanks to
4644 * bug fix: direct superclasses of STANDARD-CLASS and
4645 FUNCALLABLE-STANDARD-CLASS now default to STANDARD-OBJECT and
4646 FUNCALLABLE-STANDARD-OBJECT as required by AMOP.
4647 * bug fix: compiling a call to SLOT-VALUE with a constant slot-name
4648 when no class with the named slot yet exists no longer causes a
4649 compile-time style-warning.
4650 * bug fix: :ALLOCATION :CLASS slots are type-checked properly
4651 in safe code. (reported by Didier Verna)
4652 * bug fix: #430; nested structure constructors can stack allocate.
4653 * bug fix: on some 64-bit platforms dynamic space size was truncated
4654 to #xffff0000 bytes. (reported by Benjamin Lambert)
4655 * bug fix: setting *READ-SUPPRESS* to T no longer renders the default
4656 REPL unusable. (reported by Daniel Herring)
4657 * bug fix: return values of READ-SEQUENCE did not take :START into
4658 account on file streams, regressions since 1.0.12.22. (reported by
4659 Thomas Russ, patch by Paul Khuong)
4660 * bug fix: using SET or (SETF SYMBOL-VALUE) to change the value of a
4661 method specializer used to confuse permuation vector optimization.
4662 * bug fix: system inserted bogus implicit type declarations for local
4663 special variables in DEFMETHOD bodies.
4664 * bug fix: #354; duplicated frames in backtraces due to
4665 non-tail-call-optimized XEPs to functions with return type NIL
4667 * bug fix: #357; MAKE-INSTANCE/SHARED-INITIALIZE now
4668 initializes structure object slots according to DEFSTRUCT initforms,
4669 and DEFSTRUCT forms :INCLUDEind structure classes defined using
4670 DEFCLASS :METACLASS STRUCTURE-CLASS now inherit their initforms.
4671 (reported by Bruno Haible and Stephen Wilson)
4672 * bug fix: #395; fill-pointer output streams used now support
4673 element-type BASE-CHAR as well.
4674 * bug fix: compiler error when attempting to derive return value of
4675 ARRAY-ELEMENT-TYPE when the array type was a union of intersection
4677 * bug fix: address-spaces overlapped on OpenBSD. (thanks to Josh
4679 * bug fix: Mac OS X binaries should now be portable between Leopard
4682 changes in sbcl-1.0.23 relative to 1.0.22:
4683 * enhancement: when disassembling method functions, disassembly
4684 for the associated fast function is also produced.
4685 * enhancement: system stores DEFTYPE lambda-lists, so DESCRIBE can
4687 * optimization: printing with *PRINT-PRETTY* true is now more
4688 efficient as long as the object being printed doesn't require
4689 special handling by the pretty printer.
4690 * bug fix: slot symbol-macros from WITH-SLOTS inside DEFMETHOD bodies
4691 now interact correctly with type declarations.
4692 * partial bug fix: PCL detects infinite recursion during wrapper
4693 validation. (thanks to Attila Lendvai)
4694 * bug fix: #426; nested function calls are inlined properly.
4695 Previously if FOO was an inline function, in calls of the form
4696 (FOO (FOO ...)) the outer call was not inlined.
4697 * bug fix: long long arguments passed in registers to alien
4698 functions on PowerPC Linux and NetBSD are now handled correctly
4699 when preceded by SYSTEM-AREA-POINTERs. (reported by Josh Elsasser)
4701 changes in sbcl-1.0.22 relative to 1.0.21:
4702 * minor incompatible change: LOAD-SHARED-OBJECT no longer by default looks
4703 for the shared object in the current directory, but passes the native
4704 namestring of the designated pathname to the operation system's shared
4705 object loading function as-it.
4706 * minor incompatible change: --disable-debugger toplevel option now takes
4707 effect before processing of initialization files and --eval or --load
4709 * new feature: new commandline argument: --script, which supports
4710 shebang lines. See documentation for details. (based on work by
4712 * new feature: SAVE-LISP-AND-DIE can save current values of
4713 --dynamic-space-size and --control-stack-size in the executable core,
4714 causing it to skip normal runtime option processing. See documentation
4715 for details. (thanks to Zach Beane)
4716 * enhancement: inoccous calls to EVAL or generic functions dispatching
4717 on subclasses of eg. STREAM no longer cause compiler notes to appear.
4718 * enhancement: the system no longer resignals errors from --load and
4719 --eval toplevel arguments as SIMPLE-ERRORS, which caused restarts
4720 associated with the original error to be lost. (thanks to Ariel
4722 * enhancement: :DONT-SAVE keyword argument has been added to
4723 LOAD-SHARED-OBJECT for controlling interaction with
4724 SAVE-LISP-AND-DIE, and UNLOAD-SHARED-OBJECT can be used to undo
4725 the effects of an earlier LOAD-SHARED-OBJECT call.
4726 * bug fix: ADJUST-ARRAY on multidimensional arrays used bogusly give
4727 them a fill pointer unless :DISPLACED-TO or :INITIAL-CONTENTS were
4728 provided. (reported by Cedric St-Jean)
4729 * bug fix: circularity handling in the reader did not treat raw
4730 structure slots correctly. (reported by Cedric St-Jean)
4731 * bug fix: SERVE-EVENT occasionally signaled an error about bogus
4732 file descriptors when there were none.
4733 * bug fix: DEFINE-COMPILER-MACRO support of destructuring lambda-lists
4734 was broken. (reporteed by Willem Broekema)
4735 * bug fix: SB-EXT:NATIVE-NAMESTRING on Windows did not work on
4736 pathnames without a directory.
4737 * bug fix: COMPILE-FILE did not warn about undefined variable
4738 references at toplevel, and LOAD of the resulting fasl did
4739 not signal an error.
4740 * bug fix: functions with non-required arguments used to end up with
4741 (SB-C::&OPTIONAL-DISPATCH ...) as their name.
4742 * bug fix: redefining a function with non-required arguments didn't
4743 update the system's knowledge about its call signature properly.
4744 * bug fix: fixed #431; incompatible alien record type redefinitions
4745 are detected and handled. (reported by Neil Haven)
4746 * bug fix: using RESTRICT-COMPILER-POLICY with DEBUG 3 could cause
4747 PROGV miscompilation. (reported by Matthias Benkard, patch by Juho
4749 * bug fix: on x86 and x86-64 backtraces were sometimes truncated
4750 after alien stack frames.
4751 * bug fix: strings passed to mk{s,d}temp lacked null termination
4753 changes in sbcl-1.0.21 relative to 1.0.20:
4754 * new feature: the compiler is able to track the effective type of a
4755 generic function across method addition and removal.
4756 * new feature: SB-EXT:ATOMIC-INCF allows atomic incrementation of
4757 appropriately typed structure slots without locking.
4758 * new feature: SB-EXT:CALL-WITH-TIMING provides access to timing
4759 information like those gathered by TIME using a programming-friendly
4761 * new feature: TIME reports time taken even if the form performs a
4762 non-local transfer of control.
4763 * enhancement: reduced conservativism on GENCGC platforms: on
4764 average 45% less pages pinned (measured from SBCL self build).
4765 * bug fix: SB-EXT:COMPARE-AND-SWAP on SYMBOL-VALUE can no longer
4766 mutate constant symbols or violate declaimed type of the symbol.
4767 * bug fix: SB-THREAD:SIGNAL-SEMAPHORE could fail to wakeup threads
4768 sleeping on the semaphore in heavily contested semaphores.
4769 * bug fix: semaphores and condition variables were not interrupt
4771 * bug fix: SB-THREAD:CONDITION-WAIT doesn't allow waits on mutexes
4772 owned by other threads anymore.
4773 * bug fix: FIND on lists called KEY outside the specified
4774 subsequence. (reported by budden)
4775 * bug fix: LOG doesn't use single-float intermediate results when
4776 given mixed integer and double-float arguments, leading to better
4777 precision. (reported by Bob Felts)
4778 * bug fix: LOG with base zero returned values of inconsistent type.
4780 changes in sbcl-1.0.20 relative to 1.0.19:
4781 * minor incompatible change: OPTIMIZE qualities
4782 SB-C::STACK-ALLOCATE-DYNAMIC-EXTENT, SB-C::STACK-ALLOCATE-VECTOR,
4783 and SB-C::STACK-ALLOCATE-VALUE-CELLS no longer exist. See documentation
4784 and SB-EXT:*STACK-ALLOCATE-DYNAMIC-EXTENT* for details.
4785 * documentation: some slot access efficiency guidelines have been
4786 added to the user manual.
4787 * optimization: ASSOC-IF, ASSOC-IF-NOT, MEMBER-IF, MEMBER-IF-NOT,
4788 RASSOC, RASSOC-IF, and RASSOC-IF-NOT are now equally efficient
4789 as ASSOC and MEMEBER.
4790 * optimization: calls to ASSOC, MEMBER, and RASSOC can be transformed
4791 to more efficient EQ-comparison versions more often.
4792 * optimization: enhanced derivation of DOLIST iteration variable type
4794 * optimization: constant folding of simple (LIST ...) forms as DOLIST
4796 * optimization: runtime lookup of function definitions can be
4797 elided in more cases, eg: (let ((x 'foo)) (funcall foo)).
4798 * optimization: compiler is able to derive the return type of
4799 (AREF (THE STRING X) Y) as being CHARACTER.
4800 * optimization: CLRHASH on empty hash-tables no longer does pointless
4801 work. (thanks to Alec Berryman)
4802 * optimization: REPLACE deftransforms don't punt when :START1 or
4804 * bug fix: compiling DESTRUCTURING-BIND on constant list arguments
4805 no longer emits a code deletion note. (reported by Andrew
4807 * bug fix: bogus odd-number-of-keywords STYLE-WARNINGs from calls to
4808 functions with an odd number of &OPTIONAL arguments, a &REST
4809 argument, and one or more &KEY arguments at the call site.
4810 * bug fix: STYLE-WARNINGs for functions with both &OPTIONAL and &KEY
4811 arguments appeared at call sites as well.
4812 * bug fix: fixed #425; CLOSE drops input buffers from streams, so
4813 READ-LINE &co can no longer read from them afterwards. (reported
4815 * bug fix: fixed #427: unused local aliens no longer cause compiler
4816 breakage. (reported by Stelian Ionescu, Andy Hefner and Stanislaw
4818 * bug fix: non-local exit from a WITH-ALIEN form no longer causes
4819 alien-stack leakage. (reported by Andy Hefner)
4820 * bug fix: PROGV signals an error when an attempt to violate declared
4821 type of a variable or bind a constant is made.
4822 * bug fix: SET signals an error when an attempt to violate declared
4823 type of a variable is made.
4824 * bug fix: restart computation during the execution of a restart
4825 test function no longer causes infinite recursion. (reported by
4827 * bug fix: calling SB-COVER:REPORT with a non-directory pathname now
4828 signals an error. (thanks to Pierre Mai)
4829 * bug fix: EXPORT left symbol unexported in conflict situations.
4830 (thanks to Michael Weber)
4831 * bug fix: correctly handle name conflicts involving CL:NIL.
4832 (thanks to Michael Weber)
4833 * bug fix: RESOLVE-CONFLICT restart for name conflicts handles
4834 conflicts arising from USEing package with conflicting symbols
4835 correctly. (thanks to Michael Weber)
4837 changes in sbcl-1.0.19 relative to 1.0.18:
4838 * new feature: user-customizable variable SB-EXT:*MUFFLED-WARNINGS*;
4839 warnings that go otherwise unhandled will be muffled if they are
4840 of the type that's the value of this variable.
4841 * optimization: stack allocation is slightly more efficient on x86
4843 * bug fix: DEFSTRUCT forms with user-specified :CONSTRUCTOR options,
4844 where a raw slot always is initialized using the initform whose
4845 type is not know sufficiently well a compile-time are now compiled
4846 correctly. (reported by John Morrison)
4847 * bug fix: compiler no longer makes erronous assumptions in the
4848 presence of non-foldable SATISFIES types.
4849 * bug fix: stack analysis missed cleanups of dynamic-extent
4850 arguments in non-let-converted calls to local functions.
4851 * improvements to the Windows port:
4852 ** adjusted address spaces for building on both Win32 and
4853 Win64. (thanks for John Connors)
4854 * fixed some bugs revealed by Paul Dietz' test suite:
4855 ** interval arithmetic during type derivation used inexact integer
4856 to single-float coercions.
4857 ** arithmetic operations involving large integers and single
4858 floats give the same results in compiled and interpreted code.
4859 ** deriving the result type of COERCE no longer signals an error
4860 if the derived type of the second argument is a MEMBER type
4861 containing invalid type specifiers.
4862 ** ADJOIN with constant NIL as second argument works correctly.
4863 ** FUNCTION-KEYWORDS was called SB-PCL::FUNCTION-KEYWORD-PARAMETERS.
4865 changes in sbcl-1.0.18 relative to 1.0.17:
4866 * minor incompatible change: SB-SPROF:WITH-PROFILING now by default
4867 profiles only the current thread.
4868 * minor incompatible change: changes to SYMBOL-VALUE of constants
4869 defined with DEFCONSTANT now signal an error.
4870 * enhancement: SB-SPROF now has support for wallclock profiling,
4871 and is also able to profile specific threads. REPORT output
4872 has also additional sorting options.
4873 * enhancement: better pretty-printing of DEFPACKAGE forms. (Thanks
4875 * optimization: structure allocation has been improved
4876 ** constructors created by non-toplevel DEFSTRUCTs are ~40% faster.
4877 ** out of line constructors are ~10% faster.
4878 ** inline constructors are ~15% faster.
4879 ** inline constructors are capable of dynamic extent allocation
4880 (generally on x86 and x86-64, in some cases on other platforms
4882 * optimization: simple uses of HANDLER-CASE and HANDLER-BIND no
4884 * optimization: file compiler is now able to coalesce non-circular
4885 lists, non-base strings, and bit-vectors. Additionally, constants
4886 are never referenced through SYMBOL-VALUE at runtime.
4887 * optimization: code defining methods on PRINT-OBJECT (and other
4888 generic functions in the COMMON-LISP package) now loads faster.
4889 * bug fix: EAI_NODATA is deprecated since RFC 3493. Stop using it
4891 * bug fix: if COMPILE-FILE aborts due to an unwind, the partial
4892 fasl is now deleted. (reported by Attila Lendvai)
4893 * bug fix: READ-LINE always returned NIL for the last line in files.
4894 (reported by Yoshinori Tahara)
4895 * bug fix: more accurate disassembly annotations of foreign function
4896 calls. (thanks to Andy Hefner)
4897 * bug fix: trimming non-simple strings and non-string string
4898 designators when the there is nothing to trim works properly.
4899 (thanks to James Knight)
4900 * new feature: SB-POSIX bindings for mlockall, munlockall, and setsid.
4901 (thanks to Travis Cross)
4902 * fixed some bugs revealed by Paul Dietz' test suite:
4903 ** NIL is a valid function name (regression at 1.0.13.38)
4904 ** FILL on lists was missing its return value (regression at 1.0.12.27)
4905 ** STRING-TRIM, STRING-LEFT-TRIM, and STRING-RIGHT-TRIM did not respect
4906 fill pointers properly (regression at 1.0.12.23)
4907 ** STRING-TRIM, STRING-LEFT-TRIM, and STRING-RIGHT-TRIM did not respect
4908 displacement indices properly (regression at 1.0.12.23)
4910 changes in sbcl-1.0.17 relative to 1.0.16:
4911 * temporary regression: user code can no longer allocate closure
4912 variable storage on stack, due to bug 419 without explicitly
4913 requesting it. Please consult sbcl-devel for advice if you need to
4914 use this feature in the meanwhile.
4915 * new feature: runtime argument --control-stack-size can be used to
4916 adjust thread default control stack size.
4917 * enhancement: improved TIME output
4918 ** all times are reported using the measured accuracy (milliseconds
4919 for real and GC times, microseconds for everything else.)
4920 ** processor cycle counts on x86 and x86-64.
4921 ** interpreted forms are counted for both evaluator modes.
4922 ** number of lambdas converted by the compiler is reported.
4923 ** CPU percentage report (computed from real and total run time.)
4924 ** more comprehensive run time reporting, using a condenced format
4925 ** interperted form, lambda, and page fault counts are omitted
4927 * optimization: ADJOIN and PUSHNEW are upto ~70% faster in normal
4929 * optimization: APPEND is upto ~10% faster in normal SPEED policies.
4930 * optimization: two argument forms of LAST are upto ~10% faster
4931 in normal SPEED policies.
4932 * optimization: NCONC no longer needs to heap cons its &REST list
4933 in normal SPEED policies.
4934 * bug fix: SB-FLUID build feature no longer breaks the build. (thanks
4935 to Sidney Markowitz)
4936 * bug fix: UNION and NUNION work with :TEST-NOT once more,
4937 regression since 1.0.9.1. (thanks to Eric Marsden)
4938 * bug fix: result of MAKE-ARRAY can be stack allocated - regression
4939 since 1.0.15.36. (thanks to Paul Khuong)
4940 * bug fix: LAST when always returned the whole list when given a bignum
4941 as the second argument.
4942 * bug fix: dynamic extent allocation of nested lists and vectors
4943 could leak to otherwise accessible parts.
4944 * bug fix: invalid optimization of heap-allocated alien variable
4946 * bug fix: fasl header checking is less vulnerable to different
4947 platform word lengths.
4948 * bug fix: more correct assembler syntax for GNU binutils
4949 2.18.50.0.4 support. (thanks to Marijn Schouten)
4950 * bug fix: fix ECASE warnings from CMUCL-as-xc-host. (reported by
4952 * bug fix: the fopcompiler can handle LOCALLY forms (with no
4953 declarations) successfully. (reported by Attila Lendvai)
4955 changes in sbcl-1.0.16 relative to 1.0.15:
4956 * minor incompatible change: revert the changes to sb-posix's error
4957 signaling added in 1.0.14.
4958 * minor incompatible change: change PROBE-FILE back to returning
4959 NIL whenever we can't get a truename, as was the case before 1.0.14.
4960 * minor incompatible change: SB-BSD-SOCKETS:NAME-SERVICE-ERROR now
4961 inherits from ERROR instead of just CONDITION.
4962 * new feature: SB-INTROSPECT can provide source locations for instances
4963 as well. (thanks to Tobias Rittweiler)
4964 * optimization: binding special variables now generates smaller code
4965 on threaded platforms.
4966 * optimization: MEMBER and ASSOC are over 50% faster for :TEST #'EQ
4967 and cases where no :TEST is given but the compiler can infer that
4968 the element to search is of type (OR FIXNUM (NOT NUMBER)).
4969 * optimization: better LOGNOT on fixnums.
4970 * optimization: modular arithmetic for a particular requested width
4971 is implemented using a tagged representation unless a better
4972 representation is available.
4973 * fixed bug 423: TRULY-THE and *CHECK-CONSISTENCY* interaction.
4974 * bug fix: SB-BSD-SOCKETS:MAKE-INET-ADDRESS checks the input string
4975 for wellformedness and returns a specialized vector. (reported by
4976 Francois-Rene Rideau)
4977 * bug fix: FIND-CLASS was not thread-safe. (reported by Attila Lendvai)
4978 * bug fix: ~R was broken for vigtillions. (thanks to Luis Oliveira)
4979 * bug fix: attempt to obtain *SCHEDULER-LOCK* recursively when
4980 unscheduling timer at the same time as another timer fires.
4981 * bug fix: don't reschedule timers for dead threads.
4982 * bug fix: periodic polling was broken. (thanks to Espen S Johnsen)
4983 * bug fix: copying output from RUN-PROGRAM to a stream signalled
4984 bogus errors if select() was interrupted.
4985 * enhancement: add support for fcntl's struct flock to SB-POSIX.
4987 changes in sbcl-1.0.15 relative to sbcl-1.0.14:
4988 * enhancement: cleaner backtraces for interactive interrupts, as
4989 well as other cases where the interesting frames used to be
4990 obscured by interrupt handling frames.
4991 * enhancement: untracing a whole package using (UNTRACE "FOO") is
4992 now supported, and tracing a whole package using (TRACE "FOO") now
4993 traces SETF-functions as well.
4994 * enhancement: implement SB-POSIX:MKTEMP and SB-POSIX:MKDTEMP.
4995 * SB-DEBUG:PRINT-FRAME-CALL now prints the entry-point kind even
4996 when SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS* is NIL.
4997 * unreadably printed representation of hash-tables now includes
4999 * bug fix: partially fixed #188: type propagation from assignments
5000 is now more efficient.
5001 * bug fix: fixed #407: (COERCE X 'SINGLE-FLOAT) and (COERCE X
5002 'DOUBLE-FLOAT) are not flushable.
5003 * bug fix: on x86 and x86-64 pointer based EQ-hashing now uses the
5004 full address of the object, and none of the tag bits.
5005 * bug fix: readably printing hash-tables now respects other printer
5006 control variables. (reported by Cedric St-Jean)
5007 * bug fix: compiler gave a bogus STYLE-WARNING for the :SYNCHRONIZED
5008 keyword with MAKE-HASH-TABLE.
5009 * bug fix: export SB-POSIX:MKSTEMP.
5010 * bug fix: SORT was not interrupt safe.
5011 * bug fix: XREF accounts for the last node of each basic-block as
5013 * bug fix: MAKE-INSTANCE optimizations interacted badly with
5014 non-keyword :DEFAULT-INITARGS in the presence of :BEFORE/:AFTER
5015 methods on SHARED-INITIALIZE. (thanks to Matt Marjanovic)
5016 * bug fix: the CTOR optimization for MAKE-INSTANCE should no longer
5017 create obsolete instances in the case of redefinition or
5018 obsoletion of a superclass. (thanks to Andy Hefner)
5019 * bug fix: Support for the Alpha architecture has been revived; it had
5020 suffered somewhat from lack of maintenance since sbcl-1.0.
5021 * improvements to the Windows port:
5022 ** The system detects the codepage to use at startup, instead of
5023 using the value from the saved core. (thanks to Kei Suzuki)
5025 changes in sbcl-1.0.14 relative to sbcl-1.0.13:
5026 * new feature: SB-EXT:*EXIT-HOOKS* are called when the process exits
5027 (see documentation for details.)
5028 * revived support for OpenBSD (contributed by Josh Elsasser)
5029 * partially fixed bug #108: ROOM no longer suffers from occasional
5030 (AVER (SAP= CURRENT END)) failures.
5031 * fixed bug #402: proclaimed non-standard declarations in DEFMETHOD
5032 bodies no longer cause a WARNING to be signalled. (reported by
5034 * bug fix: (TRUNCATE X 0) when X is a bignum now correctly signals
5035 DIVISION-BY-ZERO. Similarly for MOD and REM (which suffered due to
5036 the bug in TRUNCATE.) (reported by Michael Weber)
5037 * bug fix: SB-SPROF:REPORT no longer signals an error if there are
5038 no samples. (reported by Andy Hefner)
5039 * bug fix: functions compiled using (COMPILE NIL '(LAMBDA ...))
5040 no longer appear as (NIL ...) frames in backtraces.
5041 * bug fix: RESOLVE-CONFLICT (and the other name conflict machinery)
5042 is now actually exported from SB-EXT as documented. (reported by
5044 * bug fix: sb-aclrepl now correctly understands how to inspect
5045 single-floats on 64-bit platforms where single-floats are not boxed.
5046 * bug fix: SB-MOP:CLASS-SLOTS now signals an error if the class has not
5047 yet been finalized. (reported by Levente Meszaros)
5048 * bug fix: CLOSE :ABORT T behaves more correctly on Windows.
5049 * DESCRIBE and (DOCUMENTATION ... 'OPTIMIZE) describe meaning of
5050 SBCL-specific optimize qualities.
5052 changes in sbcl-1.0.13 relative to sbcl-1.0.12:
5053 * minor incompatible change: RUN-PROGRAM now uses execvp(3) to find
5054 an executable in the search path, and does so in the child
5055 process's PATH. The function FIND-EXECUTABLE-IN-SEARCH-PATH has
5056 been removed; it can be found in the CVS history, for somebody who
5057 needs that search behavior (see the manual).
5058 * minor incompatible change: compiler policy re. weakening type
5059 checks has changed: now type checks are weakened only if SAFETY < 2
5061 * SB-EXT:NATIVE-NAMESTRING takes a new keyword AS-FILE, forcing
5062 unparsing of directory pathnames as files. Analogously,
5063 SB-EXT:PARSE-NATIVE-NAMESTRING takes an AS-DIRECTORY, forcing a
5064 filename to parse into a directory pathname.
5065 * enhancement: implicit generic function creation now signals a
5066 specific style-warning IMPLICIT-GENERIC-FUNCTION-WARNING, which
5067 users can bind handlers for and muffle around calls to LOAD.
5068 * enhancement: RUN-PROGRAM allows unicode arguments and environments
5069 to be used (using the default stream external format), and allows
5070 non-simple strings to be used. (thanks to Harald Hanche-Olsen)
5071 * optimization: COPY-SEQ, FILL, and SUBSEQ are 30-80% faster for
5072 strings and vectors whose element-type or simplicity is not fully
5073 known at compile-time.
5074 * optimization: STRING-TRIM and related functions no longer allocate
5075 a new string when no trimming needs to be performed. These functions
5076 are also faster than before when the input string has been declared
5078 * optimization: READ-SEQUENCE on simple-strings is up to 80% faster.
5079 * optimization: READ-LINE is significantly faster for files containing
5081 * optimization: non-open coded uses of character comparison operators
5082 (e.g. char=) no longer cons when called with more than one parameter
5083 on platforms supporting dynamic-extent allocation.
5084 * bug fix: READ-SEQUENCE on composite stream wrapping a Gray stream
5085 with STREAM-ELEMENT-TYPE (UNSIGNED-BYTE 8) signalled an error.
5086 * bug fix: COPY-SEQ on lists did not signal a type-error on improper
5088 * bug fix: some sequence functions elided bounds checking when
5090 * bug fix: too liberal weakening of union-type checks when SPEED >
5092 * bug fix: more bogus fixnum declarations in ROOM implementation
5095 changes in sbcl-1.0.12 relative to sbcl-1.0.11:
5096 * new feature: MAKE-HASH-TABLE now experimentally accepts a
5097 :SYNCHRONIZED argument, which makes the hash-table safe for
5098 concurrent accesses (but not iteration.) See also:
5099 SB-EXT:WITH-LOCKED-HASH-TABLE, and
5100 SB-EXT:HASH-TABLE-SYNCHRONIZED-P.
5101 * optimization: CONCATENATE on strings is an order of magnitude faster
5102 in code compiled with (> SPEED SPACE).
5103 * optimization: SUBSEQ is ~50% faster on lists.
5104 * bug fix: bug 417 fixed -- source location reporting is now more robust.
5105 * bug fix: SUBSEQ on a list will now correctly signal an error if if
5106 END is smaller then START.
5107 * bug fix: SB-PROFILE will no longer report extra consing for nested
5108 calls to profiled functions.
5109 * bug fix: ROOM implementation had bogus fixnum declarations which
5110 could cause type-errors when calling ROOM on large images.
5111 * bug fix: if file compilation is aborted, the partial fasl is now
5112 deleted, and COMPILE-FILE returns NIL as the primary value.
5113 * bug fix: number of thread safety issues relating to SBCL's internal
5114 hash-table usage have been fixed.
5115 * bug fix: SB-SYS:WITH-PINNED-OBJECTS could cause garbage values to
5116 be returned from its body when the values were being returned
5117 using unknown-values return convection and the W-P-O was wrapped
5118 inside an UNWIND-PROTECT.
5119 * bug fix: sb-posix should now compile again under Windows, enabling
5120 slime to work again.
5122 changes in sbcl-1.0.11 relative to sbcl-1.0.10:
5123 * incompatible change: hash-table accessor functions are no longer
5124 automatically protected by locks. Concurrent accesses on the same hash-table
5125 from multiple threads can give inconsistent results or even corrupt the
5126 hash-table completely. Multi-threaded applications should do their own
5127 locking at the correct granularity. In the current implementation it is
5128 still safe to have multiple readers access the same table, but it's not
5129 guaranteed that this property will be maintained in future releases.
5130 * minor incompatible change: (SETF MUTEX-VALUE) is not longer supported,
5131 and will signal an error at runtime.
5132 * enhancement: SB-THREAD package now exports a semaphore interface.
5133 * enhancement: CONS can now stack-allocate on x86 and
5134 x86-64. (Earlier LIST and LIST* supported stack-allocation, but
5136 * enhancement: nested lists can now be stack allocated on
5137 platforms providing stack allocation support.
5138 * enhancement: dynamic-extent support has been extended to support
5139 cases where there are multiple possible sources for the stack
5141 * optimization: RELEASE-MUTEX no longer needs to perform a syscall
5142 if the mutex is uncontested on Linux.
5143 * bug fix: symbol-macro expansion now uses the *MACROEXPAND-HOOK*
5144 as specified by the CLHS. (thanks to Tobias Rittweiler)
5145 * bug fix: NaN comparison now works on x86-64.
5146 * bug fix: CLOSE :ABORT T on a stream with pending output now
5148 * bug fix: instances of non-standard metaclasses using standard
5149 instance structure protocol sometimes missed the slot type checks
5151 * bug fix: known functions can be inlined in high-debug code.
5153 changes in sbcl-1.0.10 relative to sbcl-1.0.9:
5154 * minor incompatible change: the MSI installer on Windows no longer
5155 associates .lisp and .fasl files with the installed SBCL.
5156 * minor incompatible change: :UNIX is no longer present in *FEATURES*
5157 on Windows. (thanks to Luis Oliviera)
5158 * new feature: SB-CLTL2 contrib module now implements
5159 FUNCTION-INFORMATION. (thanks to Larry D'Anna)
5160 * optimization: scavenging weak pointers is now more efficient,
5161 requiring O(1) instead of O(N) per weak pointer to identify
5162 scanvenged vs. unscavenged pointers. (thanks to Paul Khuong)
5163 * optimization: typechecking (SETF SLOT-VALUE) is now ~5x faster in
5164 method bodies using constant slot-names when the first argument is
5165 a specializer parameter for the method.
5166 * optimization: SLOT-VALUE &co are now ~50% faster for variable slot
5167 names, when the class of the instance is a direct instance
5168 STANDARD-CLASS or FUNCALLABLE-STANDARD-CLASS (making them only 3x
5169 as slow as the constant slot-name case.)
5170 * optimization: member type construction is now O(N) instead
5172 * optimization: UNION and NUNION are now O(N+M) for large
5173 inputs as long as the :TEST function is one of EQ, EQL, EQUAL, or
5175 * enhancement: DEFINE-MODIFY-MACRO lambda-list information is
5176 now more readable in environments like Slime which display it.
5177 (thanks to Tobias C. Rittweiler)
5178 * bug fix: SB-EXT:COMPARE-AND-SWAP was non-atomic unless the compiler
5179 was able to infer the correct argument type for the object on which
5180 the CAS operation was being performed.
5181 * bug fix: copy propagation interfered with parallel assignment
5182 semantics in local calls. (reported by Paul Khuong)
5183 * bug fix: the signed modular fixnum shift compiled to wrong code on
5184 x86 and x86-64. (spotted by a slight modification to some of
5187 changes in sbcl-1.0.9 relative to sbcl-1.0.8:
5188 * minor incompatible change: SB-SYS:OUTPUT-RAW-BYTES is deprecated.
5189 * enhancement: SB-EXT:FINALIZE accepts a :DONT-SAVE keyword argument,
5190 indicating the finalizer should be cancelled when SAVE-LISP-AND-DIE
5192 * enhancement: default PRINT-OBJECT methods for classes, slot-definitions,
5193 and generic function now print the object identity for anonymous
5194 instances. (thanks to Attila Lendvai)
5195 * enhancement: as an extension to MOP, SBCL now supports SETF of
5196 STANDARD-INSTANCE-ACCESS and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
5197 (thanks to Attila Lendvai)
5198 * enhancement: sb-cover has an alternate annotation mode which puts
5199 the form annotations at the car of the form, instead of annotating
5200 it completely. The benefit of this mode is that it shows better
5201 which forms were instrumented by the compiler.
5202 * bug fix: new compiler transforms for MEMBER and ASSOC were affected
5203 by printer control variables. (reported by Dan Corkill)
5204 * bug fix: system leaked memory when delayed output was performed by
5205 the OS in smaller chunks then expected. (thanks to David Smith)
5206 * bug fix: system leaked memory when file streams were not closed
5208 * bug fix: large objects written to slow streams that were modified
5209 after the write could end up with the modified state written to
5210 the underlying file descriptor.
5211 * bug fix: multiple threads operating in parallel on the same stream
5212 could cause buffer-overflows.
5213 * bug fix: source location information is stored correctly
5214 (broken since 1.0.6). This bug would generally show up as the
5215 Slime debugger highlighting the wrong form when the sldb-show-source
5217 * bug fix: Branch forms are again annotated as branches in the sb-cover
5219 * bug fix: GCD on MOST-NEGATIVE-FIXNUM no longer causes an infinite loop
5220 on x86-64. (reported by Gregory Vanuxem)
5221 * bug fix: EQUALP could return wrong results for structures with raw
5222 slots (slots with a :TYPE of SINGLE-FLOAT, DOUBLE-FLOAT, or a machine
5223 word). (reported by Vjacheslav Fyodorov)
5224 * bug fix: sb-sprof sampling didn't work on non-x86oid platforms. (patch
5227 changes in sbcl-1.0.8 relative to sbcl-1.0.7:
5228 * enhancement: experimental macro SB-EXT:COMPARE-AND-SWAP provides
5229 atomic compare-and-swap operations on threaded platforms.
5230 * enhancement: experimental function SB-EXT:RESTRICT-COMPILER-POLICY
5231 allows assigning a global minimum value to optimization qualities
5232 (overriding proclamations and declarations).
5233 * enhancement: closed over variables can be stack-allocated on x86
5235 * performance bug fix: GETHASH and (SETF GETHASH) are once again
5237 * optimization: slot definition lookup is now O(1). This speeds up
5238 eg. SLOT-VALUE and (SETF SLOT-VALUE) with variable slot names.
5239 * optimization: STRING-TO-OCTETS is now up to 60% faster for UTF-8.
5240 * optimization: ASSOC and MEMBER can now be open-coded for all
5241 combinations of keyword arguments when second argument is constant
5242 and SPEED >= SPACE. In other cases a specialized version is
5244 * bug fix: using obsoleted structure instances with TYPEP and
5245 generic functions now signals a sensible error.
5246 * bug fix: threads waiting on GET-FOREGROUND can be interrupted.
5247 (reported by Kristoffer Kvello)
5248 * bug fix: backtrace construction is now more careful when making
5249 lisp-objects from pointers on the stack, to avoid creating bogus
5250 objects that can be seen by the GC.
5251 * bug fix: defaulting of values in contexts expecting more than 7
5252 variables now works on x86-64. (reported by Christopher Laux)
5253 * bug fix: modifications to packages (INTERN, EXPORT, etc) are now
5255 * bug fix: (SETF SYMBOL-PLIST) no longer allows assigning a non-list
5256 as the property-list of a symbol.
5257 * bug fix: DEFMETHOD forms with CALL-NEXT-METHOD in the method body,
5258 in EVAL-WHEN forms with both :COMPILE-TOPLEVEL and :LOAD-TOPLEVEL
5259 situations requested, are once again file-compileable. (reported
5262 changes in sbcl-1.0.7 relative to sbcl-1.0.6:
5263 * MOP improvement: support for user-defined subclasses of
5264 SB-MOP:SPECIALIZER has been enhanced. The experimental interface
5265 function SB-PCL:MAKE-METHOD-SPECIALIZERS-FORM, called as part of
5266 the expansion of DEFMETHOD, is responsible for generating a form
5267 which creates a list of specializers when evaluated. Additional
5268 functions SB-PCL:[UN]PARSE-SPECIALIZER-USING-CLASS provide
5269 debugging and introspective support.
5270 * minor incompatible change: the (unsupported) spinlock interface
5271 has changed: free spinlock now has the value NIL, and a held spinlock
5272 has the owning thread as its value.
5273 * enhancement: WITHOUT-INTERRUPTS now binds ALLOW-WITH-INTERRUPTS and
5274 WITH-LOCAL-INTERRUPTS as local macros. Refer to documentation string
5276 * enhancement: name of a socket-stream is now "a socket" instead of
5277 "a constant string".
5278 * enhancement: SB-POSIX now supports lockf(). (Thanks to Zach Beane.)
5279 * enhancement: SB-POSIX now supports getcwd(). (Thanks to Tassilo Horn.)
5280 * enhancement: SB-INTROSPECT:FUNCTION-ARGLIST shows nicer argument lists
5281 for generic functions. (Thanks to Tobias C. Rittweiler)
5282 * optimization: bignum printing speed has been improved by 20-40%
5283 (depending on the bignum size.)
5284 * bug fix: WITH-MUTEX and WITH-RECURSIVE-LOCK are now interrupt safe
5286 * bug fix: the cache used by the CLOS to store precomputed effective
5287 methods, slot offsets, and constant return values is now thread and
5289 * bug fix: generic function dispatch function updating is now thread
5290 and interrupt safe (in the sense that the known issues have been
5292 * bug fix: ADD/REMOVE-METHOD is now thread and interrupt safe.
5293 * bug fix: interning EQL-specializers is now thread and interrupt safe.
5294 * bug fix: asdf systems with dependencies to the SB-POSIX or
5295 SB-BSD-SOCKETS contribs can be loaded with :FORCE T.
5296 * bug fix: interrupt safety of applicable method computation has been
5299 changes in sbcl-1.0.6 relative to sbcl-1.0.5:
5300 * new contrib: sb-cover, an experimental code coverage tool, is included
5301 as a contrib module.
5302 * optimization: STRING-TO-OCTETS for unibyte encodings and UTF-8 is
5303 significantly faster.
5304 * optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
5305 produce more efficient code on x86-64 if the compiler can determine
5306 that (+ INDEX <constant>) does not require a bounds check and FOO
5307 has an element type at least 8 bits wide.
5308 * enhancement: a new, experimental synchronous timeout facility is
5309 provided. Refer to SB-SYS:WITH-DEADLINE for details.
5310 * enhancement: when a symbol name conflict error arises, the
5311 conflicting symbols are always printed with a package prefix.
5312 (thanks to Kevin Reid)
5313 * enhancement: stepping is now once again supported on the SPARC and
5314 MIPS platforms. (It is also now more likely to work on CheneyGC
5316 * enhancement: sb-sprof can now also track and report accurate call
5318 * bug fixes: the treatment of non-standard subclasses of
5319 SB-MOP:SPECIALIZER is more correct.
5320 * incompatible change: PURIFY no longer copies the data from the
5321 dynamic space into the static and read-only spaces on platforms
5322 that use the generational garbage collector
5323 * bug fix: GETHASH, (SETF GETHASH), CLRHASH and REMHASH are now
5325 * bug fix: GC race condition occasionally resulting in crashes with
5326 the error message "SIG_STOP_FOR_GC blocked at a bad place" has been
5328 * bug fix: &ENVIRONMENT variables in macro lambda lists can now be
5330 * bug fix: DEFSETF lambda lists without &ENVIRONMENT no longer cause
5331 a STYLE-WARNING to be signalled (regression from 1.0.4.)
5332 * bug fix: an asynchronous interrupt could previously leave the
5333 system running with GC inhibited.
5334 * bug fix: a DECLARE form evaluated at top-level now causes an error
5335 rather than silently (or verbosely) returning NIL.
5336 * bug fix: trying to dissassemble functions compiled at high DEBUG could
5337 result in a error being signalled due to source form lookup errors.
5338 (reported by Peter Graves)
5340 changes in sbcl-1.0.5 relative to sbcl-1.0.4:
5341 * incompatible change: removed writer methods for host-ent-name,
5342 host-ent-addresses -- changing the values did not update the DNS
5344 * minor incompatible change: changed experimental JOIN-THREAD interface
5345 * documentation: the manual now lists reader and writer methods
5346 in class slot documentation sections. (thanks to Richard M Kreuter)
5347 * documentation: unwinding from asyncronous events has been
5348 documented as unsafe.
5349 * documentation: SB-SYS:WITHOUT-GCING has been documented as unsafe
5350 in multithreaded application code.
5351 * optimization: GET-INTERNAL-REAL-TIME has been optimized on POSIX
5352 platforms. (thanks to James Anderson for the optimization hint)
5353 * optimization: REPLACE, SUBSEQ, and COPY-SEQ are now optimized in
5355 * optimization: STRING-{EQUAL,LESSP,GREATER-P} and their NOT-
5356 variants no longer cons.
5357 * optimization: Direct calls to CHAR-{EQUAL,LESSP,GREATERP} and
5358 their NOT- variants no longer cons.
5359 * optimization: EQUAL hash tables no longer use SXHASH for objects
5360 of all data types, but instead use an EQL hash for types for which
5361 EQUAL is the same as EQL.
5362 * optimization: the non-inlined generic versions of AREF and (SETF AREF)
5363 are significantly faster.
5364 * optimization: new STRING-OUTPUT-STREAM implementation is much
5365 faster for large outputs and conses 30% less on average.
5366 * enhancement: XREF information is now collected for references made
5367 to global variables using SYMBOL-VALUE and a constant argument.
5368 * enhancement: SIGINT now causes a specific condition
5369 SB-SYS:INTERACTIVE-INTERRUPT to be signalled.
5370 * bug fix: FILE-POSITION used to signal an error in some cases where
5371 ANSI requires it to return NIL.
5372 * bug fix: ADJUST-ARRAY is now interrupt-safe.
5373 * bug fix: adding and removing fd-handlers is now interrupt-safe.
5374 * bug fix: inlined calls to C now ensure 16byte stack alignment on
5376 * bug fix: bad type declaration in the CLOS implementation has
5377 been fixed. (reported by James Anderson)
5378 * bug fix: incorrect ROOM reporting on x86-64 has been fixed.
5379 (thanks to Lutz Euler)
5380 * bug fix: DEFSETF now allows &ENVIRONMENT and disallows &AUX as
5381 required by the CLHS. (reported by Samium Gromoff)
5382 * bug fix: dead unbound variable references now signal an error.
5383 (reported by Marco Monteiro)
5384 * bug fix: / with an unused value was being deleted in safe code.
5385 (thanks to Marco Monteiro and Kevin Reid)
5386 * bug fix: number of characters that can be written onto a single
5387 line in a file is unlimited.
5388 * bug fix: some GC deadlocks caused by asynchronous interrupts have
5389 been fixed by inhibiting interrupts for when GC is disabled.
5390 * bug fix: some interrupt safety issues with GETHASH, (SETF
5391 GETHASH), CLRHASH and REMHASH have been fixed.
5392 * bug fix: binding *BREAK-ON-SIGNALS* to a value that is not a type
5393 specifier no longer causes infinite recursion.
5394 * bug fix: SB-EXT:MUFFLE-CONDITIONS declarations no longer trigger a
5395 bogus warning in DEFMETHOD bodies. (reported by Kevin Reid)
5396 * bug fix: an &environment argument with the correct variable information
5397 is passed to macros that are expanded during byte compilation.
5398 (reported by Samium Gromoff)
5399 * bug fix: a logic error was causing the hash function for bignums to
5400 have excessive amounts of collisions. (reported by Faré Rideau)
5401 * bug fix: modifying the contents of an array could change the return
5402 value of SXHASH on that array, which is only allowed for strings
5403 and bit vectors. (bug introduced in 0.9.16)
5404 * improvement: the x86-64/darwin port now passes all tests (except
5405 for the debugger tests) but should still be considered
5406 experimental until this is fixed.
5407 * improvement: a style-warning is signaled for CASE (etc) clauses with
5408 duplicate keys. (thanks to Kevin Reid)
5409 * improvement: macos/x86 and macos/x86-64 now use mach exception
5410 handlers for dealing with illegal instructions (for trapping and
5411 error handling) and memory protection violations (for GC).
5413 changes in sbcl-1.0.4 relative to sbcl-1.0.3:
5414 * new platform: experimental support for x86-64/darwin (MacOS).
5415 * incompatible change: the thread-safe (on most platforms) getaddrinfo
5416 and getnameinfo sockets functions are used instead of gethostbyaddr
5417 and gethostbyname, on platforms where the newer functions are available.
5418 As a result, the ALIASES field of HOST-ENT will always be NIL on these
5420 * change: runtimes with embedded cores (i.e. saved with :EXECUTABLE T)
5421 don't print the startup banner, but behave as if --noinform was passed
5422 as a command line argument. (thanks to Kevin Reid)
5423 * new experimental feature: added JOIN-THREAD (by NIIMI Satoshi)
5424 * optimization: code using alien values with undeclared types is much faster.
5425 * optimization: the compiler is now able to open code SEARCH in more cases.
5426 * optimization: more compact typechecks on x86-64 (thanks to Lutz Euler)
5427 * bug fix: using standardized COMMON-LISP special variables as loop
5428 variables no longer signals bogus package lock violations. (reported
5430 * bug fix: declaring local loop variables to be of a range-limited type
5431 such as (SINGLE-FLOAT 1.0 2.0) no longer causes a compile-time error.
5432 (reported by Andras Simon)
5433 * bug fix: >= and <= gave wrong results when used with NaNs. (Some NaN
5434 bugs remain on x86-64.)
5435 * bug fix: the #= and ## reader macros now interact reasonably with
5436 funcallable instances.
5437 * bug fix: type-checks for function arguments were compiled using the
5438 compiler policy settings of the wrong lexical environment (in 1.0.2
5440 * bug fix: SHADOW accepts characters as string designators, as required
5441 by the spec (thanks to Eric Marsden)
5442 * bug fix: fixed GC safety issues when foreign functions are called with
5443 non-base strings as arguments
5444 * bug fix: more consistent error output for fatal-compiler-warnings, like
5446 * bug fix: functions with proper names were showing up as NIL in
5447 backtraces (reported by Edi Weitz, regression in 1.0.2)
5449 changes in sbcl-1.0.3 relative to sbcl-1.0.2:
5450 * new platform: NetBSD/PPC. (thanks to Aymeric Vincent)
5451 * optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
5452 produce more efficient code on the x86 if the compiler can determine
5453 that (+ INDEX <constant>) does not require a bounds check and FOO
5454 has an element type at least 8 bits wide.
5455 * bug fix: references to undefined variables are handled the same way
5456 in toplevel forms as in the normal compiler
5457 * bug fix: the build scripts again work with non-bash /bin/sh (thanks
5459 * bug fix: use "gtar" as the asdf-install *TAR-PROGRAM* on NetBSD
5460 (thanks to Jon Buller)
5461 * improvement: faster compilation times for complex functions
5462 * improvement: added readlink support to SB-POSIX (thanks to Richard
5465 changes in sbcl-1.0.2 relative to sbcl-1.0.1:
5466 * improvement: experimental support for mach exception handling on
5467 x86/macos. requires building with :MACH-EXCEPTION-HANDLER feature
5469 * improvement: support for GBK external format.
5470 (thanks to Chun Tian (binghe))
5471 * improvement: the debugger now displays variables that have been closed
5472 over, in code compiled with (DEBUG 2) or higher
5473 * improvement: support for executable cores on NetBSD (thanks to
5475 * new feature: added a RESTART-FRAME debugger command
5476 * new feature: new generic function SB-GRAY:STREAM-FILE-POSITION can
5477 be used to provide an implementation for FILE-POSITION on Gray streams
5478 (thanks to Eric Marsden)
5479 * new feature: add syslog, openlog and closelog support to SB-POSIX
5480 (thanks to Richard Kreuter)
5481 * optimization: the function call overhead in code compiled with
5482 a high DEBUG optimization setting is significantly
5483 * bug fix: an error is signaled for attempts to use READ-SEQUENCE
5484 for a (SIGNED-BYTE 8) stream and (UNSIGNED-BYTE 8) vector, or vice versa.
5485 (thanks to Tony Martinez)
5486 * bug fix: the initforms for DEFMETHOD &AUX parameters are only
5487 evaluated once (reported by Kevin Reid)
5488 * bug fix: the :SHOW-PROGRESS keyword parameter to SB-SPROF:WITH-PROFILING
5489 works again (thanks to Kilian Sprotte)
5490 * bug fix: an error is signaled for tagbodies with duplicate tags
5491 (thanks to Stephen Wilson)
5492 * bug fix: NIL can be used as a tagbody tag (thanks to Stephen Wilson)
5493 * bug fix: Win32 port can now handle foreign code unwinding Lisp
5494 stack frames from alien callbacks.
5495 * bug fix: ATANH returned incorrect results on win32 (thanks to Pierre Mai)
5496 * bug fix: SBCL works on Linux/ppc systems with a kernel configured to use
5497 65k pages (thanks to David Woodhouse)
5498 * bug fix: fix SB-POSIX dirent and socket on NetBSD (thanks to Richard Kreuter)
5500 changes in sbcl-1.0.1 relative to sbcl-1.0:
5501 * new platform: FreeBSD/x86-64, including support for threading.
5502 * new feature: the compiler stores cross-referencing information
5503 about function calls (who-calls), macroexpansion (who-macroexpands)
5504 and special variables (who-binds, who-sets, who-references) for code
5505 compiled with (< SPACE 3). This information is available through the
5506 sb-introspect contrib.
5507 * new feature: users may subclass SEQUENCE, and have instances of
5508 these classes interoperate with standard Common Lisp functions if
5509 a number of methods are defined. (This feature is experimental
5510 and the interface subject to change based on feedback from SBCL
5511 users and the general community)
5512 * improvement: sb-sprof traces call stacks to an arbitrary depth on
5513 x86/x86-64, rather than the previous fixed depth of 8
5514 * improvement: another pthread back-end of mutex "pthread-futex".
5515 * bug fix: non-ascii command-line arguments are processed correctly
5516 (thanks to Yaroslav Kavenchuk)
5517 * bug fix: non-required arguments were not passed correctly when a method
5518 defined using DEFMETHOD was called from a mop-generated method using
5519 CALL-NEXT-METHOD (reported by Pascal Costanza)
5520 * bug fix: recursion is now permitted in accessors through
5521 SLOT-UNBOUND. (reported by Pascal Costanza)
5522 * bug fix: an error was signaled at startup if the HOME environment
5523 variable was defined, but had an empty value (reported by Peter Van Eynde)
5524 * bug fix: non ordinary lambda-list keyword in ordinary lambda lists
5525 signal a PROGRAM-ERROR, not a BUG.
5526 * bug fix: SB-POSIX:READDIR works when built with large file support.
5527 * bug fix: ENOUGH-NAMESTRING works relative to #p"/" as well. (thanks
5529 * enhancement: DESTRUCTURING-BIND lambda-list uses &BODY instead of &REST
5530 for better automatic indentation support. (thanks to Matt Pillsbury)
5531 * optimization: loading generic functions no longer takes O(n^2) time,
5532 proportional to the amount of methods in the generic function
5533 (reported by Todd Sabin and Jeremy Brown)
5534 * optimization: the FIND and POSITION family of sequence functions
5535 are significantly faster on arrays whose element types have been
5537 * improvements to the Windows port:
5538 ** Intermittent heap corruption problems have been fixed. (thanks
5539 to Alastair Bridgewater)
5540 ** TRACE :ENCAPSULATE NIL (and function end breakpoints)
5542 ** Lisp is able to unwind foreign exception frames from alien
5543 callbacks. (thanks to Alastair Bridgewater)
5545 changes in sbcl-1.0 relative to sbcl-0.9.18:
5546 * improvement: experimental support for threading on FreeBSD/x86.
5547 (thanks to NIIMI Satoshi)
5548 * improvement: runtime option --dynamic-space-size can be used
5549 to set the size of the dynamic space reserved on startup.
5550 * improvement: floating point modes in effect are now saved in
5551 core, and restored on startup.
5552 * improvement: GET-INTERNAL-REAL-TIME now reports the time since
5553 startup, not time since first call to GET-INTERNAL-REAL-TIME.
5554 * improvement: SAVE-LISP-AND-DIE explicitly checks that multiple
5555 threads are not running after *SAVE-HOOKS* have run.
5556 * improvement: writes to CLOS instance slots are type-checked in code
5557 compiled with (SAFETY 3)
5558 * improvement: floating-point exception handling on FreeBSD (thanks to
5560 * improvement: SB-POSIX supports time(2), utime(2) and utimes(2)
5561 (thanks to Zach Beane)
5562 * improvement: support for files larger than 2GB for CL streams and SB-POSIX
5564 * improvement: added support for the Shift-JIS external format.
5565 (contributed by NIIMI Satoshi)
5566 * improvement: callbacks are supported on Linux/PPC. (thanks to
5568 * bug fix: compiler bug triggered by a (non-standard) VALUES
5569 declaration in a LET* was fixed. (reported by Kaersten Poeck)
5570 * bug fix: file compiler no longer confuses validated and already
5571 dumped structurres. (reported by Kaersten Poeck)
5572 * bug fix: ADJUST-ARRAY :FILL-POINTER T on an array without a
5573 fill-pointer signals a type-error as required. (thanks to
5575 * bug fix: disassemly of funcallable instances works.
5576 * bug fix: single stepping on PPC.
5577 * bug fix: fix thread-safety problems in the type system (generally
5578 manifesting as nonsensical errors like "STRING is a bad type specifier
5579 for sequences" or "The value 1 is not of type FIXNUM")
5580 * bug fix: version components are handled correctly in TRANSLATE-PATHNAME
5581 (reported by Josip Gracin)
5582 * bug fix: an error is signaled for attempts to displace arrays with
5583 incompatible element types (thanks to Mario Mommer)
5584 * bug fix: more correct handling of wide characters in debug info
5585 (bug reported by Attila Lendvai and fixed by Juho Snellman)
5586 * optimization: method calls with &OPTIONAL or &KEY arguments are faster
5587 and don't cause extra consing
5588 * optimization: MAP and MAP-INTO are significantly faster on vectors
5589 whose elements types have been declared.
5590 * Improvements to SB-SPROF:
5591 ** Support for allocation profiling
5592 ** Reduced profiling overhead, especially for long profiling runs
5593 * Improvements to the Windows port:
5594 ** floating point exceptions are now reported correctly.
5595 ** stack exhaustion detection works partially.
5596 ** more accurate GET-INTERNAL-REAL-TIME.
5597 ** better RUN-PROGRAM behaviour in case of errors in the child
5599 ** PROBE-FILE now simplifies pathnames correctly.
5600 ** DIRECTORY now works correctly with :WILD-INFERIORS.
5601 ** DECODE-UNIVERSAL-TIME works on times before 00:00:00 January
5602 1st 1970 (although time timezone data will be unreliable).
5603 ** Hyperbolic functions TANH, ASINH, ACOSH, and ATANH work.
5605 changes in sbcl-0.9.18 (1.0.beta?) relative to sbcl-0.9.17:
5606 * enhancement: SB-POSIX now supports cfsetispeed(3), cfsetospeed(3),
5607 cfgetispeed(3), cfgetospeed(3), and related constants. (thanks to
5609 * bug fix: two potential GC deadlocks affecting threaded builds.
5610 * bug fix: (TYPEP #\A '(NOT (MEMBER #\" #\{ #\:))) now correctly
5611 returns T (reported by Anton Kazennikov)
5612 * bug fix: the STORE-VALUE restart of CHECK-TYPE works correctly
5613 with non-variable places
5614 * bug fix: remove a race condition in the setting of
5615 funcallable-instance functions, this should make threaded CLOS
5616 code more stable against memory faults.
5617 * bug fix: corruption of specials when unbinding is interrupted by an
5618 asynchronous unwind (reported by Hannu Koivisto)
5619 * improvement: the debugger will now also display local variables that
5620 are only used once, for code compiled with a DEBUG optimization quality
5623 changes in sbcl-0.9.17 (0.9.99?) relative to sbcl-0.9.16:
5624 * feature: weak hash tables, see MAKE-HASH-TABLE documentation
5625 * incompatible change: External-format support for FFI calls. The
5626 SB-ALIEN:C-STRING no longer implies an ASCII
5627 external-format. Instead the string is subject to external-format
5628 conversion. Additionally return values of type SB-ALIEN:C-STRING
5629 are by default of type (SIMPLE-ARRAY CHARACTER), not
5630 SIMPLE-BASE-STRING. For an alien type that behaves like the old
5631 SB-ALIEN:C-STRING type, use (SB-ALIEN:C-STRING :EXTERNAL-FORMAT
5632 :ASCII :ELEMENT-TYPE BASE-CHAR). (thanks to Yaroslav Kavenchuk)
5633 * incompatible change: SB-EXT package no longer contains the
5634 following unused symbols: *GC-NOTIFY-AFTER*, *GC-NOTIFY-BEFORE*,
5635 *GC-NOTIFY-STREAM*, *ERROR-PRINT-LENGTH*, *ERROR-PRINT-LEVEL*,
5637 * incompatible change: the single-stepper is no longer available
5638 on Alpha, Mips and Sparc platforms.
5639 * minor incompatible change: the direct superclasses of
5640 SB-MOP:FUNCALLABLE-STANDARD-OBJECT are (FUNCTION STANDARD-OBJECT),
5641 not (STANDARD-OBJECT FUNCTION). This makes the
5642 class-precedence-lists of GENERIC-FUNCTION and
5643 STANDARD-GENERIC-FUNCTION comply with the requirement of ANSI
5645 * minor incompatible change: the default stream external format on
5646 non-unicode SBCL is no longer detected from the locale, but is always
5648 * new feature: Add a version of evaluator that uses an interpreter instead
5649 of the compiler. EVAL still uses the compiler by default, to switch it
5650 to use the interpreter, set the value of the variable
5651 SB-EXT:*EVALUATOR-MODE* to :INTERPRET.
5652 * minor incompatible change: the single-stepper REPL has been merged
5653 with the normal debugger (see the "Stepping" heading of the debugger help
5654 for more details). The debugger command STEP will no longer switch
5655 to the single-stepper REPL.
5656 * bug fix: ENOUGH-NAMESTRING on pathnames with no name and a pattern
5657 for a type now works.
5658 * bug fix: loading of default sysinit file works. (thanks to Leonid
5660 * bug fix: better detection of circularities in the file-compiler.
5661 (reported by Marco Monteiro)
5662 * bug fix: the CL pathname functions now work with files that have
5663 non-ASCII characters in their names (thanks to Yaroslav Kavenchuk)
5664 * bug fix: The :PTY argument for RUN-PROGRAM will now work on
5665 systems with Unix98 pty semantics.
5666 * bug fix: ASDF-INSTALL will now work with bsd tar.
5667 * bug fix: ASDF-INSTALL uses GNU tar on Solaris (thanks to Josip
5669 * bug fix: timers expiring in dead threads no longer cause a
5670 type-error (reported by Paul "Nonny Mouse").
5671 * bug fix: thanks to more lightweight single-stepper instrumentation,
5672 code compiled with (DEBUG 3) will compile and execute significantly faster,
5673 and will have more accurate type-inferencing than before
5674 * bug fix: SLOT-VALUE optimizations are no longer done on method parameters
5675 whose bindings are modified
5676 * improvements to the win32 port (thanks to Yaroslav Kavenchuk):
5677 ** bug fix: arguments to RUN-PROGRAM are escaped correctly
5678 ** replace dummy implementations of CL:MACHINE-INSTANCE and
5679 CL:SOFTWARE-VERSION with proper version
5681 changes in sbcl-0.9.16 relative to sbcl-0.9.15:
5682 * feature: implemented the READER-METHOD-CLASS and
5683 WRITER-METHOD-CLASS portion of the Class Initialization Protocol
5684 as specified by AMOP.
5685 * incompatible change: variable SB-EXT:*USE-IMPLEMENTATION-TYPES*
5687 * optimization: faster LOGCOUNT implementation on x86 and x86-64
5688 (thanks to Lutz Euler)
5689 * optimization: hashing of general arrays and vectors has been
5690 improved. (reported by Any Fingerhut)
5691 * enhancement: SB-INTROSPECT is now able to find definitions of
5692 profiled functions. (thanks to Troels Henriksen)
5693 * enhancement: compiler-macro expansion applies now to FUNCALL forms
5694 as well, allowing compiler-macros for SETF-functions to expand.
5695 * enhancement: step-instrumentation no longer wraps known
5696 single-value functions with multiple-value context, allowing
5697 better type inference.
5698 * fixed bug #337: use of MAKE-METHOD in method combination now works
5699 even in the presence of user-defined method classes. (reported by
5700 Bruno Haible and Pascal Costanza)
5701 * fixed bug #339(c): if there are applicable methods not part of any
5702 long-form method-combination group, call INVALID-METHOD-ERROR.
5703 (reported by Bruno Haible)
5704 * fixed bug #361: the :FUNCTION initarg in the protocol for
5705 initialization of methods can now be used to override
5706 internally-produced optimized functions. (reported by Bruno
5708 * bug fix: extensions of MAKE-METHOD-LAMBDA which wrap the
5709 system-provided lambda expression no longer cause warnings about
5710 unbound #:|pv-table| symbols.
5711 * bug fix: improved the handling of type declarations and the
5712 detection of violations for keyword arguments with non-constant
5714 * bug fix: potentially erronous calls to PATHNAME and
5715 MERGE-PATHNAMES were being flushed in some cases.
5716 (reported by Richard Kreuter)
5717 * bug fix: compiled calls to TYPEP were mishandling obsolete
5718 instances. (reported by James Bielman and Attila Lendvai)
5719 * bug fix: format strings with ~> without matching ~< no longer
5720 trigger an AVER, but signal an understandable error instead.
5721 (reported by Antonio Martinez)
5722 * bug fix: specifying an output-file without a pathname-type for
5723 COMPILE-FILE or COMPILE-FILE-PATHNAME resulted in using the type
5724 of input-file instead of "fasl". (reported by Robert Dodier)
5725 * bug fix: compiler-macro lambda-list parsing of FUNCALL forms.
5726 (reported by James Y Knight).
5727 * bug fix: compiler-macros-function did not consider the environment
5728 argument for shadowing by local functions.
5729 * bug fix: compiler-macros expansion was inhibited by local INLINE
5731 * bug fix: inline expansions of known functions were subject to
5732 step-instrumentation in high debug policies, leading to problems
5733 with type-inference.
5734 * bug fix: compiler failed to differentiate between different CONS
5735 types in some cases.
5736 * bug fix: fixed input, output and error redirection in RUN-PROGRAM
5737 for win32. (thanks to Mike Thomas and Yaroslav Kavenchuk)
5738 * bug fix: #368: incorrect use of expressed vs. upgraded array
5740 * bug fix: #306a: more precise unions of array types.
5741 * thread-safety improvements:
5742 ** CONDITION-WAIT could return early on Linux, if the thread was
5743 interrupted and subsequently continued with SIGCONT.
5744 ** STABLE-SORT and ADJUST-ARRAY were not reentrant.
5746 changes in sbcl-0.9.15 relative to sbcl-0.9.14:
5747 * added support for the ucs-2 external format. (contributed by Ivan
5749 * minor incompatible change: pretty printing of objects of type
5750 (cons symbol) is, in the default pprint-dispatch-table, now
5751 sensitive to whether the symbol satisfies FBOUNDP. (thanks to
5753 * minor incompatible change: SB-MOP:FINALIZE-INHERITANCE is now
5754 called later in a class's lifetime, possibly as late as when the
5755 first instance of the class is created. Previously,
5756 SB-MOP:FINALIZE-INHERITANCE was called by the system as soon as a
5757 class became finalizeable.
5758 * fixed bug: FILE-POSITION sometimes returned inconsistent results
5759 for multibyte external-format streams. (thanks to "vbzoli")
5760 * fixed bug: CHANGE-CLASS would fail to preserve the values of slots
5761 with :ALLOCATION :CLASS inherited from superclasses of the
5763 * fixed bug: anonymous classes can now be created using the :NAME
5764 initarg and MAKE-INSTANCE / REINITIALIZE-INSTANCE, as specified by
5765 AMOP. (reported by Leonid Slobodov on comp.lang.lisp)
5766 * fixed bug: core-files saved with :EXECUTABLE T can again be
5767 executed when SBCL_HOME isn't set. (reported by James Knight)
5768 * fixed bug: toplevel LOCALLY forms with declarations could
5769 occasionally get miscompiled. (reported by Yaroslav Kavenchuk)
5770 * fixed bug: printing from several different threads using different
5771 values of *print-case* could cause invalid output, due to
5772 some internal special variables of the printer not being bound
5773 thread-locally (reported by Max Mikhanosha)
5774 * fixed bug: SPECIALIZER metaobjects (including anonymous classes
5775 and EQL-SPECIALIZERs) can be used as specializers to DEFMETHOD.
5776 (reported by Pascal Costanza)
5777 * fixed bug: FINALIZE-INHERITANCE is called from
5778 REINITIALIZE-INSTANCE on classes when the class has previously
5779 been finalized, as required by AMOP.
5780 * minor code generation optimizations:
5781 ** better register allocation in CLOS dispatching functions
5782 ** overflow detection when coercing signed bytes to fixnums on x86-64
5783 ** is now implemented with one IMUL instruction instead of three shifts
5784 ** more efficient bit-vector access on x86 and x86-64
5785 ** more efficient access to raw structure slots on x86 and x86-64
5786 * fixed some bugs revealed by Paul Dietz' test suite:
5787 ** ENSURE-DIRECTORIES-EXIST.8: ENSURE-DIRECTORIES-EXIST must
5788 return its argument.
5790 changes in sbcl-0.9.14 relative to sbcl-0.9.13:
5791 * feature: thread support on Solaris/x86, and experimental thread support
5793 * feature: SBCL now tries to signal a STORAGE-CONDITION when running out
5795 * feature: SBCL now provides USE-VALUE and STORE-VALUE restarts in the
5796 default method for SLOT-UNBOUND.
5797 * minor incompatible change: prevent the user from specializing the
5798 new-value argument to SB-MOP:SLOT-VALUE-USING-CLASS. It's
5799 somewhat counter to the intent of the protocol, I (CSR) think, and
5800 additionally it just doesn't work in SBCL as currently
5801 implemented, thanks to optimizations (that are always valid for
5802 the other three SLOT-VALUEish functions, but not for the setter).
5803 * minor incompatible change: the :SB-LDB feature is now enabled by
5804 default, and DISABLE-DEBUGGER and ENABLE-DEBUGGER also affect
5805 the low-level debugger.
5806 * enchancement: RUN-PROGRAM is now able to extract the file-descriptor
5807 from SYNONYM-STREAM and TWO-WAY-STREAM provided they can be decomposed
5808 down to an SB-SYS:FD-STREAM, allowing direct communication in
5809 more cases. Temporary files and pipes are still used as a fallback
5811 * thread-safety: DECODE-UNIVERSAL-TIME & GET-DECODED-TIME depended
5812 on the non-reentrant C functions localtime(3) and gmtime(3).
5813 * bug fix: global optimization policy was not visible in LOCALLY and
5815 * bug fix: class objects can be used as specializers in methods.
5816 (reported by Pascal Costanza)
5817 * bug fix: native unparsing of pathnames with :DIRECTORY NIL failed
5818 with a type error. (reported by blitz_ on #lisp)
5819 * bug fix: unparsing logical pathnames with :NAME :WILD :TYPE NIL
5820 failed with a type error. (reported by Pascal Bourguignon)
5821 * bug fix: merging pathnames against defaults with :DIRECTORY
5822 starting with '(:RELATIVE :BACK) should preserve the :BACK.
5823 (reported by James Y Knight)
5824 * bug fix: saving large (>2GB) cores on x86-64 now works
5825 * bug fix: a x86-64 backend bug when compiling (setf aref) with a
5826 constant index and a (simple-array (signed-byte 32)) array
5827 * bug fix: NAME-CHAR on an invalid symbol no longer signals an
5828 error (patch by Robert J. Macomber)
5829 * feature: TIME now displays the amount of run-time spent in GC
5830 * bug fix: The debugger now does a better job of respecting
5831 (PUSH '(*PRINT-CIRCLE* . T) SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*)
5832 when printing SB-DEBUG:*DEBUG-CONDITION*. (This is a debugger-only
5833 workaround for bug 403.)
5834 * bug fix: floating point exception handling now works on FreeBSD
5835 (thanks to NIIMI Satoshi)
5836 * fixed some bugs revealed by Paul Dietz' test suite:
5837 ** MISC.641: LET-conversion were not supposed to work in late
5839 * improvements to the Win32/x86 port:
5840 ** GET-INTERNAL-RUN-TIME implemented, thanks to Frank Buss.
5841 ** improved SB-BSD-SOCKETS support, thanks to Timothy Ritchey.
5843 changes in sbcl-0.9.13 relative to sbcl-0.9.12:
5844 * new feature: source path information is generated for macro-expansion
5845 errors for use in IDE's like Slime (thanks to Helmut Eller)
5846 * bug fix: calls to the compiler no longer modify *RANDOM-STATE*
5847 * bug fix: compiler does not loop forever on an invalid type in
5849 * improvement: compilation of most CLOS applications is significantly
5851 * optimization: added a limited bytecode compiler for simple toplevel
5852 forms, speeding up compilation and FASL loading
5853 * bug fix: the statistical profiler now properly distinguishes anonymous
5856 changes in sbcl-0.9.12 relative to sbcl-0.9.11:
5857 * minor incompatible change: in sbcl-0.9.11 (but not earlier
5858 versions) SB-MOP:FINALIZE-INHERITANCE would recursively descend
5859 into subclasses of the finalized class. Now user calls to
5860 FINALIZE-INHERITANCE finalize just the one class, and calls by the
5861 system return before any subclasses are finalized.
5862 * minor incompatible change: The reader no longer ignores errors
5863 regarding non-existent packages in #+ and #- feature tests.
5864 * new feature: command line options --no-sysinit, --no-userinit to
5865 inhibit loading the corresponding init files
5866 * new feature: add a generic function SOCKET-SEND to SB-BSD-SOCKETS,
5867 for sending data through UDP sockets (thanks to François-René Rideau)
5868 * minor incompatible change: SIGPIPE is ignored and "Broken pipe"
5869 error is signalled instead (thanks to François-René Rideau)
5870 * minor incompatible change: Error signalling behaviour of lexical
5871 operations violating package locks has changed slightly. Refer to
5872 documentation on package locks for details.
5873 * enhancement: EVAL can process IF-expressions without resorting to the
5875 * bug fix: Some operations involving SIN, COS, or TAN weren't being
5876 constant-folded properly due to missing out-of-line functions.
5877 (reported by Mika Pihlajamäki)
5878 * bug fix: LISTEN sometimes returned T even in cases where no data was
5879 immediately available from the stream
5880 * fixed bug: types of the last two arguments to SET-SYNTAX-FROM-CHAR
5881 were reversed. (reported by Levente Mészáros)
5882 * fixed bug: Tests for the (VECTOR T) type gave the wrong answer
5883 when given a vector displaced to an adjustable array. (reported
5885 * bug fix: derivation of float boundaries from numbers outside the
5886 appropriate float range (reported by John Wiseman)
5887 * bug fix: MAKE-LOAD-FORM-SAVING-SLOTS accepts en empty slot name
5889 * bug fix: precomputing cache entries for generic functions with
5890 some subclasses of specializers as yet invalid does not attempt to
5891 fill a cache line with a negative offset. (reported by Levente
5893 * improvements to DOCUMENTATION for TYPE and STRUCTURE doc-types:
5894 allow condition class objects as arguments to DOCUMENTATION and
5895 (SETF DOCUMENTATION); only find and set documentation for
5896 structure names for the STRUCTURE doc-type. (suggested by Gary
5898 * improvements to the Win32/x86 port:
5899 ** (user-homedir-pathname) and default initialization file
5900 locations now know about the user's "Documents and Settings"
5901 directory (thanks to Yaroslav Kavenchuk)
5902 ** run-program is implemented (thanks to Mike Thomas)
5903 ** sockets support (thanks to Timothy Ritchey)
5904 ** better backtrace support (thanks to Alastair Bridgewater)
5905 ** sb-grovel supported
5906 ** asdf-install and sb-posix work somewhat
5907 ** capable of running Slime using SWANK:*COMMUNICATION-STYLE* NIL
5908 * improvements to the Solaris/x86 port:
5909 ** works on Solaris 11/Solaris Express
5910 ** floating-point exception handling support
5911 ** support for the breakpoint-based TRACE :ENCAPSULATE NIL facility
5912 * fixed some bugs revealed by Paul Dietz' test suite:
5913 ** REMOVE-METHOD returns its generic function argument even when
5914 the method is not one of the generic functions' methods.
5915 ** objects declared as MEMBER types can be admissible arguments to
5916 structure accessors.
5917 ** printing characters should simply be printed by the FORMAT ~:C
5919 ** compiler failure when compiling functions with hairy constant
5920 defaults for optional parameters.
5921 ** compiler produces wrong code when MAYBE-INLINE-expanding a
5922 function, which is already optimized.
5924 changes in sbcl-0.9.11 relative to sbcl-0.9.10:
5925 * new platform: experimental support for SBCL x86/Darwin, including
5926 MacOS X 10.4.5 on Intel.
5927 * new feature: Unicode character names are now known to the system
5928 (through CHAR-NAME and NAME-CHAR).
5929 * new feature: the filesystem location of SBCL's core file is
5930 exposed to lisp through the variable SB-EXT:*CORE-PATHNAME*.
5931 * minor incompatible change: the contrib modules SB-POSIX and
5932 SB-BSD-SOCKETS no longer depend on stub C libraries; the intent of
5933 this change is to make it easier to distribute
5934 location-independent binaries.
5935 * bug fix: as implied by AMOP, standardized classes no longer have
5936 slots named by external symbols of public packages. (reported by
5938 * optimization: calling functions via constant symbols -- as in
5939 (FUNCALL 'FOO) -- is now roughly as efficient as calling them
5940 via the function object as in (FUNCALL #'FOO).
5941 * optimization: on x86 and x86-64, the calling convention for the
5942 case of dealing with an unknown number of values has been altered
5943 to be friendlier to the prediction heuristics implemented,
5944 particularly with reference to CALL and RET pairing. (thanks to
5945 Alastair Bridgewater)
5946 * optimization: on x86, the code for access to thread-local symbol
5947 values and binding/unbinding of thread-local symbols is smaller.
5948 (thanks to Alastair Bridgewater)
5949 * enhancement: CONSTANTP is now able to determine constantness of
5950 more complex forms, including calls to constant-foldable standardized
5951 functions and some special forms beyond QUOTE.
5952 * fixed bug: occasional GC crashes on Solaris/x86
5953 * optimization: x86-64 supports stack allocation of results of simple
5954 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT
5955 * enchancement: the PROCESS-INPUT and -OUTPUT streams created by
5956 SB-EXT:RUN-PROGRAM can be used for both character and byte IO
5957 (thanks to James Knight)
5958 * fixed bug: CL:LISTEN always returns NIL at end of file, as required
5959 by the standard (thanks to Stephen Compall)
5961 changes in sbcl-0.9.10 relative to sbcl-0.9.9:
5962 * new feature: new SAVE-LISP-AND-DIE keyword argument :EXECUTABLE can
5963 be used for bundling the runtime and the core file into one
5964 executable binary. This feature is not currently supported on all SBCL
5965 platforms. (thanks to James Bielman and NIIMI Satoshi)
5966 * new feature: a generational or ephemeral garbage collector is now
5967 the default on the PowerPC platform (both Linux and Darwin). The
5968 old Cheney (stop and copy) collector is a build-time option.
5969 (thanks to Cyrus Harmon, after Raymond Toy)
5970 * minor incompatible change: the method by which SBCL finds its
5971 contributed modules has changed; it no longer relies on symbolic
5972 links from an $SBCL_HOME/systems directory, but searches directly
5973 in the subdirectories of $SBCL_HOME.
5974 * enhancement: the dynamic heap size on the Linux/PPC platform is
5975 markedly larger, even using the older Cheney garbage collector.
5976 * fixed bug #399: full call to DATA-VECTOR-REF in accesses to
5977 certain complicated string types. (reported by Gary King)
5978 * fixed bug: STRING-TO-OCTETS and OCTETS-TO-STRING did not convert
5979 character codes. (thanks to Yaroslav Kavenchuk and Ivan Boldyrev)
5980 * fixed bug: DOCUMENTATION on structures no longer signals an
5981 error if no structure type of the right name exists. (reported by
5983 * fixed bug: compiled calls to MAKE-INSTANCE where there is an
5984 applicable non-standard primary or :AROUND method on
5985 INITIALIZE-INSTANCE or SHARED-INITIALIZE and a non-keyword initarg
5986 no longer cause unbound variable errors. (reported by Kevin Reid)
5987 * fixed bug: metacircle resolution in cases where methods have slots
5988 added before the slots from STANDARD-METHOD. (reported by Jean
5990 * fixed bug: the Power PC assembly code for calling into lisp
5991 sometimes computed its return address wrongly (depending on the
5992 15th bit of the address, fixed at link time). This used to
5993 manifest itself in a segmentation violation while building PCL.
5994 (reported by Kevin Rosenberg, Eric Marsden, Lars Brinkhoff and
5995 many others over the years)
5996 * fixed bug: ROOM no longer reports silly numbers for stack usage if
5997 the stack pointer (treated as a signed integer) is negative.
5998 (thanks to Peter van Eynde)
6000 changes in sbcl-0.9.9 relative to sbcl-0.9.8:
6001 * new platform: experimental support for the Windows operating
6002 system has been added. (thanks to Alastair Bridgewater)
6003 * fixed several bugs in and robustified the PPC FFI (including
6004 callbacks). (thanks to Cyrus Harmon and Heiner Schwarte)
6005 * bug fix: allow non-simple string symbol names (reported by Paul
6007 * bug fix: interrupt handling on NetBSD (thanks to Richard M
6009 * bug fix: saving a core corrupted callbacks on x86/x86-64
6010 * bug fix: closed a loophole in metacircularity detection and
6011 grounding in the PCL implementation of CLOS.
6012 * bug fix: TRUENAME on "/" no longer returns a relative pathname.
6013 (reported by tomppa on #lisp)
6014 * bug fix: clear the direction flag on Lisp -> C transitions, as
6015 required by the x86-64 ABI. Fixes mysterious GC crashes on SuSE.
6016 (reported by Andrej Grozin and Hendrik Maryns)
6017 * optimization: major improvements to GC efficiency on GENCGC platforms
6018 * optimization: faster implementation of EQUAL
6019 * optimization: emit more efficient opcodes for some common
6020 immediate->register MOV instructions on x86-64. (thanks to Lutz Euler)
6021 * optimization: several other minor code-generation improvements on x86-64
6022 * fixed segfaults on x86 FreeBSD 7-current. (thanks to NIIMI Satoshi)
6024 changes in sbcl-0.9.8 relative to sbcl-0.9.7:
6025 * minor incompatible change: (SETF CLASS-NAME) and (SETF
6026 GENERIC-FUNCTION-NAME) are generic functions once more (reverting
6027 the change in the 0.9.7 release). (SETF CLASS-NAME) is specified
6028 by ANSI as a generic function, and for consistency (SETF
6029 GENERIC-FUNCTION-NAME) is treated likewise.
6030 * fixed bug #233.b: make constraint propagation notice when a variable
6031 value is changed after it is referenced but before it is used
6032 * fixed bug #296: no more arbitrary behaviour from filenames with
6033 odd characters as --load arguments. (reported by Adam Warner)
6034 * fixed bug #390: :CHARACTER-SET pathname components now work as
6035 expected. (reported by Tim Daly Jr)
6036 * fixed bug #391: complicated :TYPE intersections in slot
6037 definitions no longer cause an error in PCL internals.
6038 * fixed bug #392: plugged a hole in the obsolete-instance protocol.
6039 * bug fix: FILE-STRING-LENGTH is now external-format sensitive,
6040 returning the number of octets which would be written to the
6041 file-stream. (thanks to Robert J. Macomber)
6042 * bug fix: the SB-SIMPLE-STREAMS contrib passes external-format
6043 arguments to the internal stream functions. (thanks to David
6045 * bug fix: stack exhaustion is now handled on the x86/SunOS
6046 platform. (thanks to Daisuke Homma)
6047 * bug fix: more accurate ROOM results on GENCGC platforms
6048 * optimization: improved type inference for arithmetic-for
6049 index variables in LOOP
6050 * optimization: faster floating-point SQRT on x86-64
6051 * fixed some bugs revealed by Paul Dietz' test suite:
6052 ** DOCUMENTATION returns NIL instead of "" for method combinations
6053 that don't have a docstring
6055 changes in sbcl-0.9.7 relative to sbcl-0.9.6:
6056 * minor incompatible change: (SETF CLASS-NAME) and (SETF
6057 GENERIC-FUNCTION-NAME) are no longer generic functions, and
6058 therefore are not customizeable by user code (as seems to be at
6059 least permitted and maybe required by AMOP). As a consolation,
6060 however, the SBCL implementation of these functions now calls
6061 REINITIALIZE-INSTANCE as specified by AMOP.
6062 * bug fix: slot-definition documentation is propagated as per ANSI
6063 7.6.2 to EFFECTIVE-SLOT-DEFINITIONS.
6064 COMPUTE-EFFECTIVE-SLOT-DEFINITION now receives a :DOCUMENTATION
6065 argument, as do eslotd initialization methods. (from Pascal
6066 Costanza's "Closer" project)
6067 * bug fix: REINITIALIZE-INSTANCE on generic functions calls
6068 COMPUTE-DISCRIMINATING-FUNCTION (almost) unconditionally, as
6070 * bug fix: it is now possible to have more than one subclass of
6071 STANDARD-GENERIC-FUNCTION without causing stack overflow.
6072 (reported by Bruno Haible, Pascal Costanza and others)
6073 * bug fix: the dependent update protocol now works for generic
6074 functions. (thanks to Gerd Moellmann; reported by Bruno Haible
6075 and Pascal Costanza)
6076 * bug fix: condition-class instances corresponding to
6077 DEFINE-CONDITION forms are now created eagerly. (reported by
6078 Kalle Olavi Niemitalo on comp.lang.lisp)
6079 * bug fix: floating point printing is more accurate in some
6080 circumstances. (thanks to Simon Alexander)
6081 * bug fix: *COMPILE-FILE-PATHNAME* now contains the user's pathname
6082 merged with *DEFAULT-PATHNAME-DEFAULTS*.
6083 * bug fix: callbacks on OS X now preserve stack-alignment.
6084 (thanks to Cyrus Harmon)
6085 * enhancement: the x86-64 disassembler is much better at
6086 disassembling SSE instructions. (thanks to Lutz Euler)
6087 * enhancement: CHECK-TYPE on a variable now allows type-inference
6088 (thanks to Vincent Arkesteijn)
6089 * optimization: improved performance of EUC-JP external format.
6090 (thanks to NIIMI Satoshi)
6091 * optimization: performance improvements to IO on file streams of
6092 :ELEMENT-TYPE CHARACTER
6093 * optimization: much faster memory allocation on x86-64
6094 * optimization: faster garbage collections (latency and throughput)
6096 * optimization: faster bignum subtraction and division on x86 and x86-64
6097 (thanks to Lutz Euler)
6098 * optimization: more accurate type-inference for loops that use a
6099 floating point index variable or a negative step.
6101 changes in sbcl-0.9.6 relative to sbcl-0.9.5:
6102 * bug fix: add a workaround to SBCL looping infinitely at startup on
6103 Linux kernels with apparently buggy implementations of personality().
6104 (thanks to Svein Ove Aas)
6105 * bug fix: Unicode symbols are correctly printed in LDB backtraces
6106 (thanks to David Lichteblau)
6107 * bug fix: local bindings shadow global symbol macros for
6108 macroexpansion. (reported by Matthew D Swank on comp.lang.lisp)
6109 * optimization: non-open coded uses of numeric comparison operators
6110 (e.g. >) no longer cons when called with more than one parameter
6111 on platforms supporting dynamic-extent allocation.
6112 * enhancement: saving cores with foreign code loaded is now supported
6113 on MIPS/Linux in addition to the previously supported platforms.
6114 * bug fix: FIND-RESTART now tests for activity, not applicability when given
6115 a restart object as identifier. (reported by Helmut Eller for CMUCL)
6116 * bug fix: division by zero in sb-sprof when no samples were collected
6117 * bug fix: a race when a slow to arrive sigprof signal killed sbcl
6118 * bug fix: asdf-install uses CRLF as required by the HTTP spec.
6119 (thanks to Alexander Kjeldaas)
6120 * new feature: ignoring the return values of destructive functions
6121 like NREVERSE signals a compile-time style-warning.
6122 (thanks to Kevin Reid)
6123 * new feature: the alignment of alien structure fields can be
6124 explicitly specified. (thanks to Cyrus Harmon)
6125 * bug fix: run cleanup forms (in all threads) when receiving a SIGTERM
6126 and dump core on SIGQUIT
6128 ** incompatible change: threads do not inherit values of specials
6129 from their parents (see manual)
6130 ** bug fix: threads stacks belonging to dead threads are freed by the
6131 next exiting thread, no need to gc to collect thread stacks anymore
6132 ** minor incompatible change: INTERRUPT-THREAD-ERROR-ERRNO removed
6133 ** WITH-RECURSIVE-LOCK can be nested in a WITH-MUTEX for the same lock
6134 ** bug fix: dynamic variable and thread start related gc lossage
6135 ** bug fix: job control (SIGSTOP/SIGCONT) no longer confuses threads
6137 * fixed some bugs revealed by Paul Dietz' test suite:
6138 ** SUBTYPEP is slightly more accurate on heinously complicated
6139 CONS types where some of the members have uncertain (in the
6140 NIL, NIL sense) type relationships to each other.
6142 ** Cores produced by SAVE-LISP-AND-DIE on GENCGC platforms are
6143 no longer purified unless :PURIFY T is explicitly specified.
6144 ** Non-purified cores are significantly smaller than before
6146 changes in sbcl-0.9.5 relative to sbcl-0.9.4:
6147 * new feature: timers based on Zach Beane's excellent timer package
6148 * added support for the following external formats: koi8-u,
6149 x-mac-cyrillic, cp437, cp850, cp852, cp855, cp857, cp860, cp861,
6150 cp862, cp863, cp864, cp865, cp866, cp869, cp874, iso-8859-2,
6151 iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7,
6152 iso-8859-8, iso-8859-9, iso-8859-10, iso-8859-11, iso-8859-13,
6153 iso-8859-14, cp1250, cp1251, cp1252, cp1253, cp1254,
6154 cp1255,cp1256, cp1257, cp1258 (contributed by Ivan Boldyrev)
6155 * incompatible change: a threaded SBCL will no longer revert to
6156 non-threaded mode on non-NPTL systems, but refuse to start entirely.
6157 * bug fix: interrupts are disabled until startup is complete; no
6158 more sigsegvs when receiving a signal to soon
6159 * optimization: faster 32-bit SB-ROTATE-BYTE:ROTATE-BYTE on non-x86/ppc
6161 * bug fix: add a workaround for the memory randomization features in
6162 Linux kernels >= 2.6.12 that interfere with SBCL's memory maps. This
6163 workaround will only be in effect on systems with the proc filesystem
6165 * bug fix: printing objects of type HASH-TABLE signals a
6166 PRINT-NOT-READABLE error when *READ-EVAL* is NIL. (reported by
6168 * bug fix: GET-INTERNAL-REAL-TIME now works even for processes that
6169 have been running for over 50 days. (reported by Gilbert Baumann)
6170 * bug fix: the logic for getting names of functions gets less
6171 confused when confronded with alternate-metaclass
6172 funcallable-instances. (reported by Cyrus Harmon)
6173 * bug fix: FUNCTIONP and (LAMBDA (X) (TYPEP X 'FUNCTION)) are now
6174 consistent, even on internal alternate-metaclass objects.
6175 * bug fix: flush closure information collected by physical
6176 environment analysis prepass before the main pass. (bug reported
6178 * bug fix: compiler pack phase does not modify a hashtable, which is
6179 iterated. (reported by Bryan O'Connor, fixed by Rob MacLachlan)
6180 * bug fix: backquote does not optimize (LIST* x y) to CONS when x
6181 may be expanded. (reported by Alexander <malishev> on c.l.l)
6182 * bug fix: no more style-warnings when compiling code using LAST
6183 under high-SPEED low-SPACE settings. (reported by David Wallin
6185 * fixed some incompatibilities between SBCL's MOP and the MOP
6187 ** the METAOBJECT class is now implemented;
6188 ** FUNCALLABLE-STANDARD-OBJECT is now a subclass of
6189 STANDARD-OBJECT, as required;
6190 ** the classes STANDARD-CLASS and FUNCALLABLE-STANDARD-CLASS are
6191 now compatible (as required by VALIDATE-SUPERCLASS); there
6192 remains a consistency requirement over the presence or absence
6193 of the FUNCTION class in the superclass list of finalized
6194 classes; see the manual for more details;
6195 ** the :AROUND method for COMPUTE-SLOTS on
6196 FUNCALLABLE-STANDARD-CLASS now honours the primary method's
6197 requested slot ordering.
6199 ** bug fix: parent thread now can be gc'ed even with a live
6201 ** bug fix: binding a special with PROGV to no value is not
6202 the same as that symbol not having been bound (thanks to
6204 ** bug fix: binding specials is thread safe (thanks to
6206 ** bug fix: interrupt handlers are now per-process, RUN-PROGRAM
6207 and SB-SPROF do not die with 'no handler for signal XX in
6208 interrupt_handle_now(..)' anymore
6209 ** bug fix: WITH-TIMEOUT works with multiple running threads
6210 * fixed some bugs revealed by Paul Dietz' test suite:
6211 ** ENSURE-GENERIC-FUNCTION should take a method class object for
6212 the :method-class keyword argument.
6214 changes in sbcl-0.9.4 relative to sbcl-0.9.3:
6215 * new port: the Solaris operating system on x86 processors is now
6216 mostly supported, though some rough edges in the environment
6217 remain. (thanks to Daisuke Homma)
6218 * enhancement: SBCL on MIPS platforms now has a much larger dynamic
6219 space for its heap. (thanks to Thiemo Seufer)
6220 * optimization: SBCL on MIPS platforms now supports dynamic-extent
6221 closures. (thanks to Thiemo Seufer)
6222 * minor incompatible change: eof selects abort in the debugger.
6223 * minor incompatible change: *INVOKE-DEBUGGER-HOOK* is run before
6224 *DEBUGGER-HOOK* => *DEBUGGER-HOOK* is not run when the debugger
6226 * minor incompatible change: SB-KERNEL:INSTANCE-LAMBDA is
6227 deprecated, and will go away in a future revision of SBCL.
6228 * minor incompatible change: GC-ON and GC-OFF are no longer
6229 implemented with a counter, it does not matter how many times gc
6230 is switched on or off
6231 * bug fix: discriminating functions for generic function classes
6232 with non-standard methods for COMPUTE-APPLICABLE-METHODS no longer
6233 make invalid assumptions about method precedence order. (reported
6235 * bug fix: TRUNCATE now correctly signals division by zero on MIPS
6236 platforms. (thanks to Thiemo Seufer)
6237 * bug fix: degree sign (<U00B0>) could not be encoded in KOI8-R.
6238 * bug fix: correct pathname printing with printer escaping is on.
6239 (thanks to Kevin Reid)
6240 * bug fix: complex VOP definitions in "user-space" no longer trigger
6241 package locks. (reported by Zach Beane)
6242 * fixed bug 343: SB-KERNEL:INSTANCE-LAMBDA is no longer necessary
6243 for funcallable-instance functions, and is no different from
6245 * bug fix: PARSE-INTEGER no longer depends on the whitespaceness of
6246 characters in the current readtable. (reported by Nicholas Neuss)
6247 * bug fix: SUBTYPEP on various CONS types returns more a more
6248 accurate acknowledgment of its certainty.
6249 * optimizations: REMOVE-DUPLICATES now runs in linear time on
6250 lists in some cases. This partially fixes bug 384.
6251 * flush all standard streams before prompting in the REPL and the
6253 * bug fix: signal handling and triggering gc do not conflict
6254 directly anymore, in particular a high frequency sb-sprof does
6255 not prevent gc from running
6256 * bug fix: DECODE-UNIVERSAL-TIME now uses a more reasonable
6257 approximation for timezone and DST information between the
6258 universal time epoch and the smallest negative 32-bit time_t.
6259 * bug fix: ENCODE-UNIVERSAL-TIME no longer errors when passed the
6260 year 1899 so long as the encoded time is non-negative.
6261 * bug fix: on the x86 platform, SB-ROTATE-BYTE:ROTATE-BYTE returns
6262 the correct answer for non-constant rotate amounts when performing
6263 an inline 32-bit rotation.
6265 ** bug fix: RELEASE-FOREGROUND doesn't choke on session lock if
6266 there is only one thread in the session
6267 ** bug fix: memory leak for streams created in one thread and
6268 written to in another
6269 ** bug fix: lockup when compiled with gcc4
6270 ** bug fix: race that allows the gc to be triggered when gc is
6272 ** bug fix: one less memory fault in INTERRUPT-THREAD, again
6273 ** bug fix: gc and INTERRUPT-THREAD don't hang when the RT signal
6275 ** bug fix: finished threads are gc'ed properly
6276 * fixed some bugs revealed by Paul Dietz' test suite:
6277 ** CALL-NEXT-METHOD signals an error (in safe code) when the call
6278 has arguments with a different set of applicable methods from
6279 the orignal arguments.
6280 ** The type error thrown by MAP now has a correct expected-type
6282 ** DISASSEMBLE now throws a TYPE-ERROR when its argument does not
6283 name a compiled function.
6284 ** Three MISC tests where a large bignum was improperly coerced to
6285 a float that couldn't represent that bignum during type
6286 derivation were fixed.
6287 ** SUBTYPEP can now handle types involving the negation of a
6288 list-form FUNCTION type.
6289 ** SUBTYPEP also now handles certain COMPLEX type specifiers such
6290 as (COMPLEX (AND RATIO (NOT FIXNUM))).
6291 ** READ-BYTE and WRITE-BYTE no longer take stream designators.
6293 changes in sbcl-0.9.3 relative to sbcl-0.9.2:
6294 * New feature: Experimental support for bivalent streams: streams
6295 opened with :element-type :default now allow character and binary
6296 (unsigned-byte 8) I/O
6297 * Support for the koi8-r external format. (thanks to Ivan Boldyrev)
6298 * Bug fix: OPEN no longer fails when *PRINT-READABLY* is T. (thanks
6300 * bug fix: no more highly sporadic "couldn't check whether ~S is
6301 readable" when reading a stream and an interrupt hits in the middle
6302 of a select system call
6303 * compiler better recognizes complex arrays (reported by Eduardo
6305 * bug fix: out-of-line SB-SYS:FOREIGN-SYMBOL-ADDRESS did not work
6306 for variables on SBCL built with linkage-tables. (reported by Luis
6308 * various error reporting improvements.
6309 * optimizations: LOGNOR on fixnums is improved in the MIPS backend.
6310 (Thanks to Thiemo Seufer)
6311 * bug fix: nested reader invokations work correctly
6312 * bug fix: it is possible to have simultaneous references to foreign
6313 code and foreign data with the same name.
6315 ** added x86-64 support
6316 ** incompatible change: the threading api now works with thread
6317 objects instead of thread ids
6318 ** bug fix: threads are protected from signals and interruption when
6319 starting up or going down
6320 ** bug fix: a race where an exiting thread could lose its stack to gc
6321 ** bug fix: don't halt on infinite error in threads if possible
6322 ** fixed numerous gc deadlocks introduced in the pthread merge
6323 ** bug fix: fixed thread safety issues in read and print
6324 ** bug fix: debugger doesn't hang on session lock if interrupted at
6325 an inappropriate moment
6326 ** bug fix: run-program is now thread safe(r)
6327 ** bug fix: inner with-recursive-lock no longer releases the mutex
6328 * fixed a bug in (DECODE-UNIVERSAL-TIME 0) (reported by Paul Dietz)
6329 * fixed some bugs revealed by Paul Dietz' test suite:
6330 ** TYPE-ERRORs from signalled by COERCE now have DATUM and
6331 EXPECTED-TYPE slots filled.
6332 ** MULTIPLE-VALUE-SETQ always returns the primary value of the
6334 ** MAKE-CONDITION accepts classes as type-designators.
6335 ** COMPILE may never return NIL.
6336 ** ENCODE-UNIVERSAL-TIME now guards against times out of Unix's
6337 range before calling Unix time functions
6339 changes in sbcl-0.9.2 relative to sbcl-0.9.1:
6340 * numerous signal handling fixes to increase stability
6341 * Support for EUC-JP external format. (thanks to NIIMI Satoshi)
6342 * minor incompatible change: we now correctly canonize default
6343 initargs, making them be a list of (INITARG INITFORM INITFUNCTION)
6344 as per the MOP, rather than the historical (INITARG INITFUNCTION
6345 INITFORM). (reported by Bruno Haible)
6346 * new feature: WITH-COMPILATION-UNIT now accepts a non-standard
6347 :SOURCE-PLIST option. See (DOCUMENTATION #'WITH-COMPILATION-UNIT T)
6348 for more information.
6349 * TRUENAME and PROBE-FILE now correctly resolve symlinks even if the
6350 pathname is a directory pathname.
6351 * SB-SPROF now works (more) reliably on non-GENCGC platforms.
6352 * dynamic space size on PPC has been increased to 768Mb. (thanks to
6354 * SB-MOP:ENSURE-CLASS-USING-CLASS now accepts a class as the
6355 :METACLASS argument in addition to a class name. (reported by
6356 Bruno Haible for CMUCL, patch for CMUCL by Gerd Moellmann)
6357 * RESTART-CASE can now be wrapped around CALL-METHOD forms.
6358 (reported by Bruno Haible; patch from Gerd Moellmann)
6359 * bug fix: sbcl runtime can now be compiled with gcc4 (thanks to
6361 * bug fix: more cleanups to the floating point exception handling on
6362 x86-64 (thanks to James Knight)
6363 * bug fix: the compiler does not try to constant fold calls of
6364 COERCE and BIT-* functions when they return freshly constructed
6365 objects. (reported by Nikodemus Siivola and Paul Dietz)
6366 * optimization: improved the MIPS versions of generic (in the
6367 generic sense) arithmetic routines. (thanks to Thiemo Seufer)
6368 * optimization: direct conversion of (unsigned-byte 32) to floats on
6369 the PowerPC platform.
6370 * optimization: structure instances with raw slots now use less
6371 memory, and probably show better memory locality. (thanks to
6373 * optimization: DYNAMIC-EXTENT declarations for lists and closures
6374 are treated as requests for stack allocation on the x86-64,
6375 Alpha-32, PPC and SPARC platforms.
6376 * contrib improvement: it's harder to cause SOCKET-CLOSE to close()
6377 the wrong file descriptor; implementation of SOCKET-OPEN-P.
6378 (thanks to Tony Martinez)
6380 ** gcing a dead thread can no longer lead to lockups
6381 ** threads block signals until they are set up properly
6382 ** errno is no longer shared by threads
6383 ** interrupt-thread restores the eflags register on x86
6384 ** fixed some lockups due to gc/thread interaction
6385 * fixed some bugs revealed by Paul Dietz' test suite:
6386 ** invalid dotted lists no longer raise a read error when
6387 *READ-SUPPRESS* is T
6388 ** signal an error if a symbol that names a declaration is used
6389 as the name of a type, or vice versa
6390 ** allow using the (declare (typespec var*)) abbreviation for
6391 (declare (type typespec var*)) with all type specifiers
6392 ** circularity detection works properly with PPRINT-LOGICAL-BLOCK
6393 ** always return NIL from PPRINT-POP when OBJECT is NIL
6394 ** don't signal errors when pretty-printing malformed LABELS,
6395 FLET or MACROLET forms
6396 ** declarations in a DOLIST body are also in scope for the
6398 ** COMPILE-FILE accepts all pathname designators as INPUT-FILE
6400 ** the ELEMENT-TYPE keyword argument to WITH-OUTPUT-STREAM is
6403 changes in sbcl-0.9.1 relative to sbcl-0.9.0:
6404 * fixed cross-compiler leakages that prevented building a 32-bit
6405 target with a 64-bit host compiler.
6406 * fixed a bug in CLOSE :ABORT T: no longer attempts to remove files
6407 opened with :IF-EXISTS :OVERWRITE.
6408 * fixed bug 281: error for an invalid qualifier in a short-form method
6409 combination method is not signalled until the faulty method is called.
6410 * bug fix: iteration variable type inferrer failed to deal with open
6411 intervals. (reported by Alan Shields)
6412 * bug fix: dynamically loading (via LOAD-SHARED-OBJECT or similar)
6413 "frameworks" on Mac OS X no longer causes an EXC_BAD_ACCESS if two
6414 or more runtime options were provided to the sbcl binary.
6415 * compiled code is not steppable if COMPILATION-SPEED >= DEBUG.
6416 * contrib improvement: implement SB-POSIX:MKSTEMP (Yannick Gingras)
6417 * optimization: there's now a fast-path for fixnum arguments in the
6418 generic subtraction routines on x86/x86-64. (Thanks to Lutz Euler)
6419 * optimization: the code generated on x86-64 is more compact thanks
6420 to not outputting unnecessary prefix bytes. (Thanks to Lutz Euler)
6421 * bug fix: floating-point exception handling now partly works on
6422 x86-64. (Thanks to James Knight)
6423 * improvement to the MIPS backend from Thiemo Seufer: C-style
6424 64-bit long long arguments and return values to alien functions
6426 * fixed some bugs revealed by Paul Dietz' test suite:
6427 ** the type-error signalled from WARN has a filled-in DATUM slot.
6428 ** the type-error required when a stream is not associated with
6429 a file has the stream as its datum.
6430 ** type-errors on single-floats on x86-64 no longer have
6431 :INVALID-OBJECT as the datum
6432 ** the type-errors signalled for invalid function names now have
6433 a correct expected type
6434 ** (SETF (DOCUMENTATION ... 'STRUCTURE)) no longer signals an error
6435 for structures defined with a :TYPE. Documentation strings for
6436 typed structures are no longer immediately discarded
6437 ** FILE-STRING-LENGTH and STREAM-EXTERNAL-FORMAT now work on
6438 broadcast streams and synonym streams. FILE-LENGTH now also works
6439 on broadcast streams.
6441 changes in sbcl-0.9.0 relative to sbcl-0.8.21:
6442 * incompatible change: the --noprogrammer option, deprecated since
6443 version 0.7.5, has been removed. Please use the equivalent
6444 --disable-debugger option instead.
6445 * incompatible change: finalizers and *AFTER-GC-HOOKS* are now run with
6447 * incompatible change: support for *BEFORE-GC-HOOKS* (that have been
6448 inoperational for a while now) has been completely removed.
6449 * null lexical environments are now printed as #<NULL-LEXENV>,
6450 significantly reducing the amount of clutter in typical backtraces.
6451 * documentation on weak pointers, finalization, and after GC hooks
6452 has been added to the manual.
6453 * optimization: REPLACE on declared (UNSIGNED-BYTE 8) vectors, as well
6454 as other specialized array types, is much faster. SUBSEQ and
6455 COPY-SEQ on such arrays have also been sped up.
6456 * optimization: EQL is now more efficient when at least other argument
6457 is known to be of type (OR FIXNUM (NOT NUMBER)).
6458 * fixed bug: the runtime is now less vulnerable to changes in the
6459 size of the SBCL object on OS X, and virtual memory is reserved for
6460 all spaces that need to be at a fixed address.
6461 * fixed bug: finalizers are now thread-safe. (thanks to Gabor Mellis)
6462 * fixed bug: finalizers and after GC hooks that cause consing are now
6464 * fixed bug: compiler error messages and summaries are now printed to
6465 *ERROR-OUTPUT*, not *STANDARD-OUTPUT*.
6466 * fixed inference of the upper bound of an iteration variable.
6467 (reported by Rajat Datta).
6468 * fixed bug 211e: calling local functions with duplicated constant
6469 keyword argument no longer causes a bogus style warning about an
6471 * fixed bug 305: INLINE/NOTINLINE declaration no longer causes local
6472 ftype declaration to be disregarded. (reported by Dave Roberts)
6473 * fixed bug 373: caused by erronous compilation of references to alien
6474 variables in the runtime on ppc/darwin.
6475 * fixed bug 376: CONJUGATE type deriver.
6476 * fixed infinite looping of ALIEN-FUNCALL, compiled with high DEBUG.
6477 (reported by Baughn on #lisp)
6478 * a cross-compiler bug on non-x86 platforms has been identified and
6479 fixed. (thanks to Bruno Haible)
6480 * improvements to the MIPS runtime code for increased stability.
6481 (thanks to Thiemo Seufer)
6482 * increased the maximimum compact environment size to allow
6483 purify on images with large amounts of functions. (thanks to Cyrus Harmon)
6484 * partial workaround for bug 135: don't name the function we're
6485 calling for hairy cases of EVAL, so as not to accumulate one environment
6486 entry per call to EVAL. (reported by Kevin Reid)
6487 * improvements to the x86-64 disassembler. (thanks to Lutz Euler)
6488 * optimization: type testing for non-vector arrays should be faster.
6489 * fixed TRACE :ENCAPSULATE NIL, added support for :ENCAPSULATE NIL
6491 * bug fix: setting 31st element of a bit vector to zero did not work
6493 * bug fix: redefining a class definition which failed due to a
6494 previous accessor / function clash now works (but see BUGS entry
6495 #380 for more problems in this area). (thanks to Zach Beane)
6496 * the long form of DEFINE-METHOD-COMBINATION disables method group
6497 checking when given a single method group with pattern *. (thanks
6499 * on x86 compiler supports stack allocation of results of simple
6500 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT.
6501 * support for building and running on Mac OS X 10.4 "Tiger" has been added
6502 ** Binaries built on Tiger will not run on 10.2 "Jaguar" currently
6503 * fixed some bugs related to Unicode integration:
6504 ** the restarts for recovering from input and output encoding
6505 errors only appear when there is in fact such an error to
6507 * fixed some bugs revealed by Paul Dietz' test suite:
6508 ** MISC.549 and similar: late transformation of unsafe type
6509 assertions into derived types caused unexpected code
6511 ** SCALE-FLOAT type deriver is less wrong.
6512 ** type derivers for EXP, LOG and similar functions compute result
6513 types for complex arguments better.
6514 ** (MISC.563) CONJUGATE type deriver works for very restricted
6516 ** out-of-line type testers for character strings are available.
6517 ** EQUAL compiler transform understands specialness of objects
6519 ** accessing double-floats stored on the stack now works on x86-64.
6520 ** debugger internals could sometimes create invalid lispobjs,
6521 resulting in GC crashes.
6522 ** MISC.548: type check weakening can convert required type into
6524 ** initialization forms for bindings are not in scope of free special
6527 changes in sbcl-0.8.21 (0.9alpha.1?) relative to sbcl-0.8.20:
6528 * incompatible change: thread support for non-NPTL systems has
6529 been removed - locking is buggy and unreliable. A threaded
6530 SBCL build will now warn at startup and refuse to create
6531 new threads, unless futex support is detected in the kernel
6532 * incompatible change: the top level REPL now has only an ABORT
6533 restart associated with it, not TOPLEVEL and ABORT as it used to.
6534 TOP and TOPLEVEL are now available as debugger commands for
6535 returning to the top level.
6536 * incompatible change: forms evaluated in the REPL now use the
6537 global optimization policy.
6538 * incompatible change: user- and system-initialization files are
6539 no longer processed with LOAD, but by READ and EVAL; hence the
6540 global optimization policy, startup package, readtable, etc,
6542 * The .fasl file format number has been incremented because of
6543 various incompatible changes.
6544 * internal entry point details and argument counts no longer appear
6545 in backtraces unless explicitly requested by setting
6546 SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS*.
6547 * built-in and standard functions no longer have names like "top
6548 level local call to FOO".
6549 * fixed bug 32: functions defined in non-null lexical environments
6550 now have more legible printed representation
6551 * fixed bug 33: functions defined in non-null lexical environemnts
6552 are now more amenable to inspection by INSPECT.
6553 * workaround for bug 354: XEPs no longer appear in backtraces unless
6554 explicitly requested.
6555 * fixed bug: receiving the signal which results from attempting to
6556 write to mprotect()ed memory (SIGSEGV on Linux and some *BSDs,
6557 SIGBUS on other *BSDs) on architectures where the C stack is also
6558 the Lisp stack (x86 and x86-64) from foreign code no longer leads
6559 to debugger confusion or wild instability. (reported by Cheuksan
6561 * fixed bug: COUNT and EQUAL no longer issue compiler efficiency
6562 notes when operating on objects known to be SIMPLE-BIT-VECTORs.
6563 (reported by Lutz Euler)
6564 * fixed bug: (TYPEP X '(MEMBER ...)) no longer returns a list in
6565 compiled code. (reported by Paul Dietz)
6566 * fixed bug 276b: mutating with MULTIPLE-VALUE-SETQ a binding of a
6567 specialized parameter to a method to something that is not TYPEP
6568 the specializer is now possible.
6569 * fixed bug: the MAKE-INSTANCE optimization is now correct in the
6570 face of package deletion.
6571 * fixed bug: LOAD should bind *LOAD-PATHNAME* to the merged
6572 pathname. (reported by David Tolpin on c.l.l)
6573 * contrib improvement: the SB-SIMPLE-STREAMS contrib now defines
6574 STRING-SIMPLE-STREAM and FILE-SIMPLE-STREAM as subclasses of
6575 STRING-STREAM and FILE-STREAM, respectively.
6576 * contrib improvement: SB-INTROSPECT handles more of SLIME's needs
6577 than previously; in addition, its test suite is now run on build.
6578 (thanks to Luke Gorrie)
6579 * a more robust x86-64 disassembler. (thanks to Lutz Euler)
6580 * optimization: added a immediate representation for single-floats
6582 * fixed some bugs revealed by Paul Dietz' test suite:
6583 ** MISC.564: defined out-of-line version of %ATAN2 on x86.
6584 ** attempting to create a package with a colliding nickname causes
6585 correctable errors to be signalled.
6586 ** MISC.572-574: :START1 and :START2 broken for simple-base-strings.
6587 ** several x86-64 backend bugs related to sign-extension of immediate
6590 changes in sbcl-0.8.20 (0.9alpha.0?) relative to sbcl-0.8.19:
6591 * fixed inspection of specialized arrays. (thanks to Simon Alexander)
6592 * fixed disassembly of SHLD and SHRD on x86. (thanks to David
6594 * fixed loading of multiply forward-referenced layouts.
6595 (thanks to Cheuksan Wang)
6596 * fixed bug 7: less verbose COMPILE-FILE output. Additionally, the
6597 output is now directed to *STANDARD-OUTPUT* as specified by ANSI.
6598 (see COMPILE-FILE documentation for details of :PRINT option)
6599 * fixed bugs 19 and 317: fixed-format floating point printing is
6600 more accurate. This also fixes a bug reported by Adam Warner
6601 related to the ~@F format directive.
6602 * fixed bug 371: bignum print/read inconsistency. (thanks to Harald
6604 * fixed bug: SET-SYNTAX-FROM-CHAR correctly shallow-copies a
6605 dispatch table if the from-char is a dispatch macro character.
6606 * fixed bug: COUNT and EQUAL on bit vectors with lengths divisible
6607 by the wordsize no longer ignore the last word. (reported by Lutz
6609 * fixed bug in type checking of dynamic-extent variables. (reported
6611 * optimization: sequence traversal functions use their freedom to
6612 coerce function designators to functions.
6613 * optimization: code with many calls to CLOS methods specialized on
6614 CLOS classes has had redundant type checks removed.
6615 * optimization: added declarations to speed up operations that access
6616 the internal character database (for example STRING-UPCASE)
6617 * optimization: comparison operations between floats and sufficiently small
6618 fixnums no longer create extra rationals
6619 * fixed some bugs related to Unicode integration:
6620 ** portions of multibyte characters at the end of buffers for
6621 character-based file input are correctly transferred to the
6622 start of the buffer at the next read.
6623 ** COMPILE-FILE now respects any EXTERNAL-FORMAT argument given,
6624 passing it through to OPEN.
6625 ** LOAD on source files likewise passes any EXTERNAL-FORMAT
6626 argument given to internal calls to OPEN.
6627 ** the built-in comment readers (introduced by character sequences
6628 ";" and "#|") are more forgiving to encoding errors; they will
6629 STYLE-WARN and then attempt to resync the stream at a character
6630 boundary. (thanks to Teemu Kalvas)
6631 * fixed some bugs in the x86-64 port:
6632 ** Negative short int return values from c-calls are sign-extended
6634 ** The stack is aligned to 16-bytes for c-calls, as required by
6635 the ABI. (thanks to Cheuksan Wang)
6636 ** The disassembler understands more x86-64. (thanks to Cheuksan Wang)
6637 ** The regression tests use SB-ALIEN:INT instead of SB-ALIEN:INTEGER
6638 for enums. (thanks to Vincent Arkesteijn)
6639 ** Multiple small optimizations and bugfixes for floating point
6641 * fixed some bugs revealed by Paul Dietz' test suite:
6642 ** Space, Tab, Linefeed, Return and Page have the invalid
6643 secondary constituent character trait.
6644 ** SET-SYNTAX-FROM-CHAR correctly copies multiple-escape character
6646 ** WITH-INPUT-FROM-STRING should only update the index place on
6648 ** Pretty-printing backquoted forms when *PRINT-CIRCLE* is true
6649 works more reliably.
6650 ** Bit-array operations (BIT-AND and similar) worked incorrectly
6651 with one-dimensional arrays with fill pointers.
6652 ** TYPE-OF failed on a complex with an integer realpart and a
6654 ** compiler failure during type inference for the code of form
6655 (IF (EQL X (THE ...)) ...) (MISC.535).
6657 changes in sbcl-0.8.19 relative to sbcl-0.8.18:
6658 * new port: SBCL now works in native 64-bit mode on x86-64/Linux
6659 platform. The port supports 61-bit fixnums, large memory spaces
6660 and reloading shared object files.
6661 * enhancement: saving cores with foreign code loaded is now
6662 supported on ppc/Darwin in addition to the previously supported
6664 * enhancement: the statistical profiler now walks deeper into the
6665 call stack for more meaningful call-graphs and accrued time
6666 reports (x86/x86-64 only). It also now reports time spent in
6668 * enhancement: it is now possible to trace most individual methods
6669 of a generic function in addition to tracing the generic function
6671 * bug fix: invalid :DEFAULT-INITARGS are detected in compiled calls
6673 * bug fix: defaulted initargs are passed to INITIALIZE-INSTANCE and
6674 SHARED-INITIALIZE methods from compiled calls to MAKE-INSTANCE.
6675 * bug fix: COERCE to (COMPLEX FLOAT) of a complex number no longer
6676 produces an error. (thanks to Vincent Arkesteijn)
6677 * bug fix: NAMESTRING on pathnames with :WILD components in their
6678 directories works correctly. (thanks to Artem V. Andreev)
6679 * fixed bug 125: compiler preserves identity of closures. (reported
6681 * bug fixed: functions with &REST arguments sometimes failed with
6682 "Undefined function" when compiled with (DEBUG 3). (reported by
6684 * bug fix: overflow during compiling of setting element of a bit
6685 vector with constant index and value. (reported by Timmy Douglas)
6686 * build fix: fixed the dependence on *LOAD-PATHNAME* and
6687 *COMPILE-FILE-PATHNAME* being absolute pathnames.
6688 * on x86 compiler partially supports stack allocation of dynamic-extent
6690 * GO and RETURN-FROM do not check the extent of their exit points
6691 when compiled with SAFETY 0.
6692 * fixed some bugs related to Unicode integration:
6693 ** encoding and decoding errors are now much more robustly
6694 handled; it should now be possible to recover even from invalid
6695 input or output to the terminal. (thanks to Teemu Kalvas)
6696 ** provided a first cut at implementing STRING-TO-OCTETS and
6697 OCTETS-TO-STRING. (thanks to Robert J. Macomber)
6698 ** altered the SB-MD5 contributed module slightly, changing the
6699 interface just enough for it to be supportable for builds where
6700 lisp characters are not eight bits.
6701 * fixed some bugs revealed by Paul Dietz' test suite:
6702 ** the FORMATTER-generated functions for ~V[ conditionals require
6703 the correct number of arguments.
6704 ** READ-FROM-STRING returns the mandated second value when applied
6705 to displaced strings.
6706 ** the #\Rubout and #\Backspace characters are treated as invalid
6707 constituent characters by the tokenizer.
6709 changes in sbcl-0.8.18 relative to sbcl-0.8.17:
6710 * new feature: reloading changed shared object files with
6711 LOAD-SHARED-OBJECT now causes the new definitions to take effect.
6712 * new feature: references to foreign variables and functions
6713 can now be compiled and loaded before the corresponding shared
6714 object file is loaded, as long as the foreign definitions are
6715 available at runtime.
6716 * Solaris 10 (aka SunOS 5.10) on the SPARC platform is now
6717 supported. (thanks to Dan Debertin)
6718 * SB-ALIEN enums can now be represented in Lisp by any symbols, not
6719 just keywords. (thanks to Vincent Arkesteijn)
6720 * fixed bug #331: structure-class instances corresponding to
6721 DEFSTRUCT forms are now created eagerly.
6722 * fixed bug #345: backtraces from calls to undefined functions work
6723 on x86 as well. Related bug #61 is now also partially fixed on x86
6724 (backtraces from throws to unknown catch tags.)
6725 * bug fix: lambda-list parsing is now stricter vrt. order and number
6726 of lambda-list keywords.
6727 * bug fix: as specified by AMOP, an error is signalled if a
6728 class-option appears multiple times in a DEFCLASS form. (reported
6730 * bug fix: RANDOM can be compiled when the compiler derives the type
6731 of its numeric argument as a disjoint set of small integers.
6732 (reported by Paul Dietz)
6733 * bug fix: starting a core saved with shared objects loaded when
6734 those objects are not available no longer causes threaded SBCL to
6735 hang. (reported by Sean Ross)
6736 * bug fix: evaluated FUNCTION no longer bypasses encapsulation (eg.
6738 * bug fix: (SETF MACRO-FUNCTION) now accepts an optional environment
6739 argument, which must always be NIL. (reported by Kalle Niemitalo)
6740 * bug fix: printing 1.0d+23 no longer results in an error.
6741 (reported by Rolf Wester for CMUCL; bug fix from Raymond Toy)
6742 * bug fix: structure slot setters preserve evaluation order. (thanks
6744 * fixed some bugs related to Unicode integration:
6745 ** RUN-PROGRAM can allow its child to take input from a Lisp
6746 stream. (reported by Stefan Scholl)
6747 ** ASDF-INSTALL successfully downloads .tar.gz files in all
6748 locales. (reported by Ken Causey)
6749 * fixed some bugs revealed by Paul Dietz' test suite:
6750 ** INCF, DECF and REMF evaluate their place form as specified in
6752 ** FORMATTER expands ~{ ~} iteration directives with V or #
6753 parameters correctly.
6754 ** FORMATTER deals with the ~@[ ~] conditional directive where the
6755 consequent uses no arguments correctly.
6756 ** the system has a partial understanding of the (COMPLEX RATIO)
6758 ** UPGRADED-COMPLEX-PART-TYPE obeys the lattice upgrading rules
6761 changes in sbcl-0.8.17 relative to sbcl-0.8.16:
6762 * new feature: a build-time option (controlled by the :SB-UNICODE
6763 keyword feature, enabled by default) for building the system with
6764 support for the entire 21-bit character space defined by the
6766 * new feature: the system now has rudimentary external-format
6767 support; the primary user-visible change at this time is that
6768 characters with the high bit set (such as lower-case-e-acute) will
6769 print correctly to a terminal in a UTF-8 environment.
6770 * minor incompatible change: BASE-CHAR no longer names a class;
6771 however, CHARACTER continues to do so, as required by ANSI.
6772 * minor incompatible change: SB-DEBUG:*DEBUG-PRINT-FOO* variables
6773 are no longer supported, and SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*
6774 has been moved to the SB-EXT package (temporarily re-exported from
6776 * minor incompatible change: SB-C::*COMPILER-ERROR-PRINT-FOO* variables
6777 are no longer supported: use SB-EXT:*COMPILER-PRINT-VARIABLE-ALIST*
6779 * fixed bug #351: better error-handlind and reporting for malformed
6781 * fixed bug #350: bignum-printing is now more memory-efficient,
6782 allowing printing of very large bignums, eg. (expt 2 10000000).
6783 (reported by Bruno Haible)
6784 * fixed bug #302: better primitive-type selection for intersection
6786 * fixed bug #308: non-graphic characters now all have names, as
6787 required. (reported by Bruno Haible)
6788 * bug fix: redefining a class with different superclasses now correctly
6789 removes it from the direct-subclasses of its previous superclasses.
6790 (reported by David Morse)
6791 * bug fix: (SETF FIND-CLASS) using a FORWARD-REFERENCED-CLASS as the
6792 new value now works. (reported by Bruno Haible)
6793 * bug fix: correct canonicalization of multiple non-standard slot
6794 options in DEFCLASS as per AMOP 5.4.2. (reported by Bruno Haible)
6795 * bug fix: SB-MOP:CLASS-PROTOTYPE now signals an error if the class
6796 is not yet finalized, as required by AMOP. (reported by Bruno Haible)
6797 * bug fix: SB-MOP:ALLOCATE-INSTANCE method for instances of BUILT-IN-CLASS
6798 now exists, an signals an error.
6799 * bug fix: duplicate LOOP variable bindings now signal PROGRAM-ERROR
6800 during macroexpansion for non-iteration variables as well. (reported
6801 by Bruno Haible for CMUCL)
6802 * bug fix: Cyclic structures and unprintable objects in compiler
6803 messages no longer cause errors. (reported by Bruno Haible)
6804 * bug fix: READ, READ-PRESERVING-WHITESPACE, READ-DELIMITED-LIST,
6805 and READ-FROM-STRING all now return a primary value of NIL if
6806 *READ-SUPPRESS* is true. (reported by Bruno Haible for CMUCL)
6807 * bug fix: Default value of EOF-ERROR-P in READ-FROM-STRING is true.
6808 (reported by Bruno Haible for CMUCL)
6809 * bug fix: ERROR now signals a TYPE-ERROR if the arguments to ERROR
6810 do not designate a condition. (reported by Bruno Haible for
6812 * bug fix: UNINTERN, USE-PACKAGE, IMPORT and EXPORT all signal an
6813 SB-EXT:NAME-CONFLICT condition (subtype of PACKAGE-ERROR) in the
6814 name conflict situations in CLHS 11.1.1.2.5, and provide a restart
6815 permitting resolution in favour of any of the conflicting symbols.
6816 (reported by Bruno Haible for CMUCL)
6817 * bug fix: EQUAL compiler optimizations is less aggressive on
6818 strings which can potentially compare true despite having distinct
6819 specialized array element types.
6820 * bug fix: unit enumerations can be defined without dividing by
6821 zero. (thanks to Vincent Arkesteijn)
6822 * FORMAT compile-time argument count checking has been enhanced.
6823 (report from Bruno Haible for CMUCL)
6824 * a partial workaround for the bug 262: the compiler does not try to
6825 inline-expand a local function doing RETURN-FROM from a deleted
6826 BLOCK. (thanks to Peter Denno for the bug report and to David
6827 Wragg for the simple test case)
6828 * fixed some bugs revealed by Paul Dietz' test suite:
6829 ** RENAME-PACKAGE allows all package designators as new package
6831 ** constraint propagation and lambda variable substitution are
6832 more cautious in dealing with partially deleted code.
6833 ** compiler sometimes lost reoptimization passes.
6834 ** CERROR, given a condition as condition designator, passes its
6835 remaining arguments to the continue format control without
6837 ** Case-altering FORMAT directives work correctly on non-ASCII
6839 ** The REAL type specifier handles bounds outside the floating
6840 point ranges without signalling FLOATING-POINT-OVERFLOW.
6841 ** Functions with IR1-transformations can create intercomponent
6842 references to global functions.
6843 ** NIL parameter to the FORMAT directive ~^ means `unsupplied
6845 ** FORMAT ~R treats a nil value for its first parameter correctly.
6847 changes in sbcl-0.8.16 relative to sbcl-0.8.15:
6848 * enhancement: saving cores with foreign code loaded is now
6849 supported on x86/NetBSD and sparc/Linux in addition to the previously
6850 supported platforms.
6851 * bug fix: on some platforms repeated installations caused multiple
6852 copies of HTML documentation to be installed -- should not happen
6853 any more. (reported by Stefan Scholl)
6854 * bug fix: parsing self-recursive alien record types multiple times
6855 no longer causes infinite recursion. (reported by Thomas F. Burdick,
6856 original patch by Helmut Eller for CMUCL)
6857 * bug fix: stack-exhaustion detection works now on NetBSD as well.
6858 (thanks to Richard Kreuter)
6859 * bug fix: defining classes whose accessors are methods on existing
6860 generic functions in other (locked) packages no longer signals
6861 bogus package lock violations. (reported by François-René Rideau)
6862 * bug fix: special variables as DEFMETHOD parameters no longer have
6863 associated bogus type declarations. (reported by David Wragg and
6865 * bug fix: read-write consistency on streams of element-type
6866 (SIGNED-BYTE N) for N > 32. (reported by Bruno Haible for CMUCL)
6867 * bug fix: redefiniton of the only method of a generic function with
6868 no DEFGENERIC no longer emits a full WARNING. In addition,
6869 redefinition of generic functions with no DEFGENERIC to an
6870 incompatible lambda list now signals an error. (thanks to Zach
6872 * bug fix: DEFGENERIC now works even when there's a function of the
6873 same name in an enclosing lexical environment. (thanks to Zach
6875 * fixed compiler failure, caused by instrumenting code during
6876 IR1-optimization. (Debian bug report #273606 by Gabor Melis)
6877 * optimization: added loop analysis and improved register allocation
6878 * fixed some bugs revealed by Paul Dietz' test suite:
6879 ** POSITION on displaced vectors with non-zero displacement
6880 returns the right answer.
6881 ** (SIMPLE-STRING) is a valid type specifier for sequence
6883 ** *PRINT-LEVEL* handling for slotless structures is pedantically
6885 ** PPRINT-INDENT accepts a request for an indentation of any REAL.
6886 ** PPRINT-TAB (and the FORMAT ~T directive) now indent by the
6888 ** The justification version of the FORMAT ~< directive treats
6889 non-zero minpad parameter correctly.
6891 changes in sbcl-0.8.15 relative to sbcl-0.8.14:
6892 * incompatible change: SB-INT:*BEFORE-SAVE-INITIALIZATIONS* and
6893 SB-INT:*AFTER-SAVE-INITIALIZATIONS* have been renamed
6894 SB-EXT:*SAVE-HOOKS* and SB-EXT:*INIT-HOOKS*, and are now part of
6895 the supported interface.
6896 * new feature: Single-stepping of code compiled with DEBUG 2 or
6897 higher and (> DEBUG (MAX SPACE SPEED)) is now possible.
6898 * new feature: saving cores with foreign code loaded is now
6899 supported on x86/FreeBSD, x86/Linux, and sparc/SunOS. (based on
6900 Timothy Moore's work for CMUCL)
6901 * bug fix: DEFTYPE lambda-list parsing now binds unsupplied keyword
6902 parameters to * instead of NIL if no initform is supplied.
6903 (reported by Johan Bockgaard)
6904 * bug fix: DEFINE-COMPILER-MACRO lambda-list parsing now binds
6905 correctly when FUNCALL appears as the car of the form. Note:
6906 despite this FUNCALL forms are not currently subject to
6907 compiler-macro expansion. (port of Raymond Toy's fix for the
6908 same from CMUCL, reported by Johan Bockgaard)
6909 * bug fix: FOR ... ON ... -clauses in LOOP now work on dotted lists
6910 (thanks for Teemu Kalvas)
6911 * bug fix: in FORMAT ~^ inside ~:{ now correctly steps to the next
6912 case instead of terminating the iteration (thanks for Julian
6913 Squires, Sean Champ and Raymond Toy)
6914 * bug fix: incorrect expansion of defgeneric that caused a style
6915 warning. (thanks for Zach Beane)
6916 * bug fix: slot accessor effective method computation works properly
6917 for classes with multiple non-standard applicable methods on
6918 SB-MOP:SLOT-VALUE-USING-CLASS. (reported by Ralf Mattes)
6919 * on x86 compiler supports stack allocation of results of LIST and
6920 LIST*, bound to variables, declared DYNAMIC-EXTENT. (based on
6921 CMUCL implementation by Gerd Moellmann)
6922 * fixed some bugs revealed by Paul Dietz' test suite:
6923 ** FORMAT strings with both the ~<~:;~> form of the justification
6924 directive and pretty-printing directives cause an error.
6926 changes in sbcl-0.8.14 relative to sbcl-0.8.13:
6927 * incompatible change: the internal functions
6928 SB-KERNEL:32BIT-LOGICAL-FOO, intended for providing efficient
6929 logical operations on (UNSIGNED-BYTE 32) values, have been renamed
6930 to SB-KERNEL:WORD-LOGICAL-FOO. Modular arithmetic should be used
6931 instead of the old functions.
6932 * new feature: on platforms where "dladdr" is available foreign
6933 function names now appear in backtraces. (based on Helmut Eller's
6935 * documentation: documentation for SB-BSD-SOCKETS, SB-GRAY,
6936 SB-SIMPLE-STREAMS, and SB-PROFILE have been integrated into the user
6938 * documentation: ASDF manual is now distributed with SBCL.
6939 * bug fix: SBCL can now load its contributed modules with REQUIRE
6940 even if the system-provided entries have been removed from
6941 ASDF:*CENTRAL-REGISTRY*. Infinite recursion in REQUIRE is also
6943 * bug fix: backtraces involving undefined functions or assembly
6944 routines are more informative. (thanks to Brian Downing)
6945 * bug fix: mutually referent alien structures now work correctly.
6946 (reported by Rick Taube)
6947 * bug fix: structures defined by WITH-ALIEN can be referred to
6948 within other definitions in the same WITH-ALIEN.
6949 * bug fix: division operators (MOD, TRUNCATE and the like) with
6950 constant zero divisors and integer dividends no longer generate
6952 * bug fix: provide default methods for INPUT-STREAM-P and
6953 OUTPUT-STREAM-P specialized on SB-GRAY:FUNDAMENTAL-STREAM.
6954 * bug fix: improve the detection and resolution of MOP metacycles
6955 (where effective method computation depends on the generic function
6956 having its effective method computed). (reported by Bruno Haible)
6957 * bug fix: pass the right initargs to :BEFORE or :AFTER methods on
6958 SHARED-INITIALIZE or INITIALIZE-INSTANCE in optimized
6959 MAKE-INSTANCE constructors. (reported by Axel Schairer for cmucl)
6960 * bug fix: pathnames with relative directory components can be
6961 represented relative to default pathnames.
6962 * optimization: in taking the GCD of bignums, reduce the two bignums
6963 to approximately the same size (using Euclid's algorithm) before
6964 applying the more sophisticated binary GCD. (thanks to Juho
6966 * optimization: COUNT on bitvectors now operates word-at-a-time.
6967 * optimization: ASH with a positive, but not necessarily constant,
6968 (leftwards) shift, when in a modular context, is compiled to a
6970 * fixed some bugs revealed by Paul Dietz' test suite:
6971 ** FORMAT variable parameters ("~V<char>") are defaulted properly
6972 if the corresponding argument is NIL.
6973 ** FORMAT directives accepting a minpad parameter treat negative
6975 ** literal commas as character parameters to FORMAT directives are
6977 ** literal spaces directly after ~<Newline> directives within a
6978 format-logical-block (~:< ~@:>) do not induce :FILL-style
6979 conditional newlines.
6980 ** PRINT-UNREADABLE-OBJECT inserts spaces as specified (and only
6981 as specified: it no longer includes conditional newlines).
6982 ** PRINC-TO-STRING binds *PRINT-READABLY* to NIL (as well as
6984 ** PPRINT-LOGICAL-BLOCK signals a TYPE-ERROR if its :PREFIX or
6985 :PER-LINE-PREFIX argument does not evaluate to a string.
6987 changes in sbcl-0.8.13 relative to sbcl-0.8.12:
6988 * new feature: SB-PACKAGE-LOCKS. See the "Package Locks" section of
6989 the manual for details; for now, package locks can be disabled by
6990 removing :SB-PACKAGE-LOCKS in customize-target-features.lisp, but
6991 if no major problems are found then it is likely that they will be
6992 compiled in unconditionally.
6993 * major incompatible change: LOAD-FOREIGN and LOAD-1-FOREIGN are now
6994 unsupported operators on all platforms. To load a shared library
6995 into SBCL, use SB-ALIEN:LOAD-SHARED-OBJECT. To load a non-shared
6996 object file, link it into a shared library outside of SBCL and
6997 load it using SB-ALIEN:LOAD-SHARED-OBJECT. (incidentally fixes
6999 * bug workaround: ROOM T and the GC were not working together
7000 reliably, because invariants expected by the SB!VM:INSTANCE-USAGE
7001 reporting facility aren't preserved. That reporting has been
7002 disabled, so now until and unless someone figures out how to make it
7003 work reliably with the current GC, (ROOM T) is equivalent to (ROOM).
7004 * minor incompatible change: as threatened around sbcl-0.8.0, the
7005 home package of MOP-related symbols is now SB-MOP, not SB-PCL.
7006 The symbols are also exported from SB-PCL for backwards
7007 compatibility, but more so than before SB-PCL should be treated as
7008 an implementation-internal package.
7009 * fasl format changed: SBCL 0.8.13 fasls are incompatible with those
7011 * the SB-SPROF contrib now works on (most) non-x86 architectures.
7012 It is known as of this release not to work on the Alpha, however.
7013 * fixed bug #167: errors signalled due to illegal syntax in method
7014 bodies are now more legible.
7015 * fixed bug #338: instances of EQL-SPECIFIER are now valid type
7016 designators and can hence be used with TYPEP.
7017 * fixed bug #333: CHECK-TYPE now ensures that the type error
7018 signalled, if any, has the right object to be accessed by
7019 TYPE-ERROR-DATUM. (reported by Tony Martinez)
7020 * fixed bug #340: SETF of VALUES obeys the specification in ANSI
7021 5.1.2.3 for multiple-value place subforms. (reported by Kalle
7023 * fixed bug #334: programmatic addition of slots using specialized
7024 methods on SB-MOP:COMPUTE-SLOTS works for :ALLOCATION :INSTANCE
7025 and :ALLOCATION :CLASS slots.
7026 * fixed bug #269: SCALE-FLOAT scales floats by any integer, not just
7027 float exponents. (rereported by Peter Seibel)
7028 * fixed a bug: #\Space (and other whitespace characters) are no
7029 longer considered to be macro characters in standard syntax by
7030 GET-MACRO-CHARACTER.
7031 * fixed bug: initialization of condition class metaobjects no longer
7032 causes an instance of the condition to be created. (reported by
7034 * fixed bug: it is now possible to have slots such that
7035 SB-MOP:SLOT-DEFINITION-ALLOCATION of the effective slot
7036 description is neither :INSTANCE nor :CLASS.
7037 * fixed bug: the ctor optimization of MAKE-INSTANCE now respects
7038 user-defined methods on SLOT-BOUNDP-USING-CLASS and (SETF
7039 SLOT-VALUE-USING-CLASS), and no longer causes errors with
7040 non-standard SLOT-DEFINITION-ALLOCATION values.
7041 * fixed bugs: various race conditions handling exiting threads.
7042 CL-PPCRE's thread torture test now passes.
7043 * fixed arguably-a-bug: GC time proportional to number of threads in
7044 system even when most of them are idle
7045 * optimization: improved performance of BIT and SBIT on bit-vectors.
7046 * .fasl file incompatibility: The fasl file version number has
7047 been incremented because of changes associated with package locks.
7049 changes in sbcl-0.8.12 relative to sbcl-0.8.11:
7050 * minor incompatible change: the system no longer provides
7051 optimization hints (conditions which are TYPEP
7052 SB-EXT:COMPILER-NOTE) for conforming code in default compilation
7053 mode; these hints are still emitted when higher SPEED optimization
7055 * new contrib module: a sampling profiler (profiling by statistical
7056 sampling, rather than by instrumenting functions) is available as
7057 the SB-SPROF contrib. (thanks to Gerd Moellmann and Juho Snellman)
7058 * the behaviour of the standard function ED is now customizeable by
7059 third parties through a hook variable: see ED's documentation
7060 string for information on the protocol.
7061 * the compiler no longer emits efficiency notes for (FUNCALL X)
7062 when the type of X is uncertain under default optimization
7064 * fixed bug 276: mutating a binding of a specialized parameter to a
7065 method to something that is not TYPEP the specializer is now
7067 * fixed bugs 45d and 118: DOUBLE-FLOAT[-NEGATIVE]-EPSILON now
7068 exhibit the required behaviour on the x86 platform. (thanks to
7069 Peter van Eynde, Eric Marsden and Bruno Haible)
7070 * fixed bug 335: ATANH now computes the inverse hyperbolic tangent
7071 even for difficult arguments. (reported by Peter Graves)
7072 * fixed bug 141a: the backquote printer now descends quoted
7074 * fixed another bug in backquote printing: no more destructive
7075 modification of the form's list structure. (reported by Brian
7077 * fixed bug in INTERRUPT-THREAD: pin the function, so that it cannot
7078 move between its address being taken and the call to
7079 interrupt_thread, fixing a crashing race condition.
7080 * the SB-POSIX contrib implementation has been adjusted so that it
7081 no longer exhibits ridiculously poor performance when constructing
7082 instances corresponding to C structs.
7084 changes in sbcl-0.8.11 relative to sbcl-0.8.10:
7085 * minor incompatible change: the sb-grovel contrib now treats C
7086 structures as alien (in the sense of SB-ALIEN) objects rather than
7087 as undistinguished (simple-array (unsigned-byte 8) (*))s. This
7088 has implications for memory management of client code
7089 (sb-grovel-returned objects must now be manually managed) and for
7090 type safety (alien objects now have full types).
7091 * new feature: the SB-EXT:MUFFLE-CONDITIONS declaration should be
7092 used to control emission of compiler diagnostics, rather than the
7093 SB-EXT:INHIBIT-WARNINGS OPTIMIZE quality. See the manual for
7094 documentation on this feature. The SB-EXT:INHIBIT-WARNINGS
7095 quality should be considered deprecated.
7096 * install.sh now installs the user manual as well
7097 * (not quite a new documentable feature, but worth considering in
7098 the light of the new SB-EXT:MUFFLE-CONDITIONS declaration): the
7099 beginnings of a semantically meaningful condition hierarchy is
7100 under development, for use in SB-EXT:MUFFLE-CONDITIONS and by
7102 * fixed bug: PARSE-NAMESTRING now accepts any valid pathaname
7103 designator as the defaults argument.
7104 * fixed bug: Displaced arrays whose displaced-to array has become
7105 too small now cause ARRAY-DIMENSION to signal an error, providing
7106 for safer bounds-checking. (reported by Bruno Haible)
7107 * fixed bug: DEFCLASS slot definitions with identical :READER and
7108 :WRITER names now signal a reasonable error. (reported by Thomas
7110 * fixed bug: CLOSE :ABORT T on appending stream no longer causes
7112 * fixed bug: Invalid slot specification errors now print correctly.
7113 (thanks to Zach Beane)
7114 * fixed bug 320: Shared to local slot value transfers in class
7115 redefinitions now happen corrently from superclasses as
7116 well. (reported by Bruno Haible)
7117 * fixed bug 316: SHIFTF now accepts VALUES forms. (reported by Bruno
7119 * fixed bug 322: DEFSTRUCT :TYPE LIST type predicates now handle
7120 improper lists correctly. (reported by Bruno Haible)
7121 * fixed bug 313: source-transform for <fun-name> was erroneously
7122 applied to a call of a value of a variable with name <fun-name>.
7123 (reported by Antonio Menezes Leitao)
7124 * fixed bug 307: The obsolete instance protocol ensures that
7125 subclasses are properly obsoleted. (thanks to Nikodemus Siivola)
7126 * fixed bug 298, revealed by Paul F. Dietz' test suite: SBCL can
7127 remove dead unknown-values globs from the middle of the stack.
7128 * added a new restart to *BREAK-ON-SIGNALS* handling to make it
7129 easier to resume long computations after using *BREAK-ON-SIGNALS*
7130 to diagnose and fix failures. (thanks to Nikodemus Siivola)
7131 * fixed bug reported by PFD in lisppaste #747 (and Bruno Haible from
7132 CLISP test suite): WRITE-TO-STRING is not constant-foldable.
7133 * fixed bugs in COMPLEX type specifier: UPGRADED-COMPLEX-PART-TYPE
7134 is now consistent with (COMPLEX <x>); bugs in treatment of COMPLEX
7135 MEMBER and UNION types have likewise been fixed. (thanks to Bruno
7137 * fixed a (fairly theoretical) bug in string printing: if
7138 *PRINT-READABLY* is true, signal PRINT-NOT-READABLE if the string
7139 does not have array-element-type equal to the most general string
7141 * fixed bug: SET-PPRINT-DISPATCH does not immediately resolve
7142 function name. (thanks to Nikodemus Siivola)
7143 * fixed bug: compile-time format string checker failed on
7144 non-closed ~{. (reported by Thomas F Burdick)
7145 * fixed bug: as reported by Kalle Olavi Niemitalo on #lisp IRC,
7146 don't warn on legal loop code involving more than one aggregate
7147 boolean. (thanks to Nikodemus Siivola)
7148 * fixed bug: as reported by Peter Graves on #lisp IRC, passing a NIL
7149 in keyword position to MAKE-PACKAGE was not being reported as
7151 * fixed bug: as reported by Juan Ripoll on cmucl-imp,
7152 MULTIPLE-VALUE-BIND should be able to lexically bind lambda list
7154 * fixed bugs 280 and 312: the checking for multiple definitions in a
7155 file is less likely to become confused by uses of inline
7157 * fixed bug: the #S reader macro performs the keyword coercion
7158 specified for slot names. (reported by Kalle Niemitalo)
7159 * fixed bug: lambda lists may contain symbols whose names start with
7160 & but are not lambda-list-keywords; their occurrence triggers a
7162 * fixed bug 321: define-method-combination argument lambda lists do
7163 not cause invalid code to be generated when &optional or &aux
7164 variables have default values. (reported by Bruno Haible)
7165 * fixed bug 327: system subclasses of STRUCTURE-OBJECT or CONDITION
7166 have CLOS classes; this appears also to have fixed reported
7167 instability in stack exhaustion detection.
7168 * fixed bug: the CONTROL-ERROR from ABORT, CONTINUE and
7169 MUFFLE-WARNING when no associated restart is present is now
7171 * optimization: rearranged the expansion of various defining macros
7172 so that each expands into only one top-level form in a
7173 :LOAD-TOPLEVEL context; this appears to decrease fasl sizes by
7175 * optimization: used a previously little-used slot in symbols to
7176 cache SXHASH values, yielding a 5-10% compiler speedup. (thanks
7178 * fixed some bugs revealed by Paul Dietz' test suite:
7179 ** MAKE-INSTANCES-OBSOLETE returns the class name when called with
7181 ** Fixed an optimization bug related to inheritance of initforms
7182 from local to shared slots.
7183 ** FILE-POSITION works as specified on BROADCAST-STREAMs.
7184 ** CAST optimizer forgot to flush argument derived type.
7185 ** print/read consistency on floats is now orders of magnitude
7186 more likely. (thanks also to Bruno Haible for a similar report
7188 ** removed stack cleaning in the cleanup part of UNWIND-PROTECT.
7189 ** IMAGPART is specified (infelicitously) to return (* 0 <thing>)
7190 for objects of type REAL. Make it so.
7191 ** SXHASH is specified (infelicitously) to respect similarity,
7192 which means that (SXHASH 0.0) must equal (SXHASH -0.0). Make
7193 it so. (thanks to Markus Ziegler)
7194 ** on the Alpha, the compiler succeeds in compiling functions
7195 returning a known number of arguments greater than 63.
7196 ** fixed handling of invalid NIL arguments in keyword position
7198 ** fixed non-pretty printing of arrays with *PRINT-RADIX* being
7200 ** provided a readably-printable representation for RANDOM-STATE
7202 ** ensured that pathnames, where they have a namestring, always
7203 print using #P"..." syntax.
7205 changes in sbcl-0.8.10 relative to sbcl-0.8.9:
7206 * Support for the forthcoming 2.0 version of the NetBSD kernel
7207 running on x86 hardware has been added. (thanks to Perry
7208 E. Metzger most immediately, and others for their past work)
7209 * SBCL now runs on OpenBSD 3.4. (Thanks to Scott Parish; 3.4 is the
7210 current release version; SBCL's OpenBSD support had been broken
7211 since about the time of OpenBSD's switch to ELF binary format.)
7212 * [placeholder for DX summary]
7213 ** user code with &REST lists declared dynamic-extent, under high
7214 speed or space and low safety and debug optimization policy.
7215 * The manual has been converted to Texinfo format and the debugger
7216 chapter from the cmucl manual has been added.
7217 * A facility has been added to extract documentation strings from
7218 sbcl and store them as Texinfo-formatted snippets for inclusion in
7219 the manual (via Texinfo's @include directive)
7220 * bug fix: compiler emitted division in optimized DEREF. (thanks for
7221 the test case to Dave Roberts)
7222 * bug fix: multidimensional simple arrays loaded from FASLs had fill
7223 pointers. (reported by Sean Ross)
7224 * bug fix: PROFILE output is printed nicely even for large numerical
7225 values. (thanks to Zach Beane)
7226 * bug fix: streams with element-type (SIGNED-BYTE <N>) for <N>
7227 greater than 32 handle EOF correctly.
7228 * bug fix: on X86 an immediate argument of the IMUL instruction is
7229 correctly printed in disassembly. (thanks to Lutz Euler)
7230 * bug fix: class slots in redefined classes preserve their old
7231 values. (thanks to Bruno Haible and Nikodemus Siivola)
7232 * bug fix: compilation of funcalls of CXX+R (e.g. CDDR) now
7233 succeeds. (reported by Marco Baringer)
7234 * fixed some bugs revealed by Paul Dietz' test suite:
7235 ** READ-SEQUENCE now works on ECHO-STREAMs.
7236 ** RATIONALIZE works more according to its specification. (thanks
7239 changes in sbcl-0.8.9 relative to sbcl-0.8.8:
7240 * deprecation of old extension: *DEBUG-PRINT-LEVEL* and
7241 *DEBUG-PRINT-LENGTH* are now deprecated in favor of the new, more
7242 general SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* mechanism. (This
7243 should matter to you only if you rebind the printer control
7244 variables and then find you want different bindings in the
7245 debugger than in the ordinary execution of your program.)
7246 * The runtime build system has been tweaked to support building
7247 (on SPARC/SunOS) using a C compiler which invokes Sun's own
7248 assembler and linker. (thanks to Nikodemus Siivola)
7249 * Unbound, undefined, undeclared variables now trigger full
7250 WARNINGs, not just STYLE-WARNINGs, on the assumption that this is
7251 more often programmer error than deliberate exploitation of undefined
7253 * optimization: the hash algorithm for strings has changed to one
7254 that is less vulnerable to spurious collisions. (thanks to Juho
7256 * optimization: VECTOR-POP, VECTOR-PUSH-EXTEND and REPLACE do less
7257 needless bounds checking. (thanks to Juho Snellman)
7258 * optimization: implemented multiplication as a modular
7259 (UNSIGNED-BYTE 32) operation on the PPC backend.
7260 * fixed some bugs revealed by Paul Dietz' test suite:
7261 ** ADJUST-ARRAY now copies the datum in a zero rank array if
7263 ** ADJUST-ARRAY no longer adjusts non-adjustable arrays.
7264 ** MAKE-STRING-INPUT-STREAM accepts NIL as a value for :END.
7265 ** MAKE-STRING-INPUT-STREAM functions correctly for strings with
7267 ** CLEAR-INPUT accepts NIL and T for its (optional) stream
7269 ** Ratios can now be printed correctly with *PRINT-BASE* bound to
7271 ** ECHO-STREAMs no longer attempt to echo the end of file value to
7272 their output stream on EOF from read.
7273 ** CONCATENATED-STREAM-STREAMS discards constituent streams which
7274 have been read to end-of-file.
7275 ** CLOSE works as expected on the null CONCATENATED-STREAM, and on
7277 ** Printing symbols with *PRINT-CASE* :CAPITALIZE respects the
7278 description of determination of which consecutive characters
7280 ** Printing the "Space" character with escaping on now yields "#\\ ",
7281 rather than "#\\Space", as mandated by ANSI 22.1.3.2.
7282 ** Reading floating-point numbers with *READ-BASE* set to a number
7283 less than 10 works correctly.
7284 ** Reading floating-point numbers with *READ-BASE* set to a number
7285 more than 10 works correctly.
7286 ** Printing with *PRINT-READABLY* targets the standard readtable, not
7287 the readtable currently in effect.
7289 changes in sbcl-0.8.8 relative to sbcl-0.8.7:
7290 * minor incompatible change: parsing of namestrings on a physical
7291 (Unix) host has changed; numbers after the final #\. in a
7292 namestring are no longer interpreted as a version field. This is
7293 intented to be largely invisible to the user, except that the
7294 meaning of the namestring "*.*.*" has changed: it now refers to a
7295 pathname with :TYPE :WILD :NAME #<pattern "*.*">. This namestring
7296 should usually be replaced by
7297 (make-pathname :name :wild :type :wild :version :wild)
7298 with the added benefit that this is more likely to be portable.
7299 As a consequence of this change, the :IF-EXISTS :NEW-VERSION
7300 option to OPEN now signals an error if the file being opened
7301 exists; this may have an impact on existing code.
7302 * fixed bug 190: RUN-PROGRAM should now work properly, respecting
7303 signals received, on the PowerPC platforms (both Linux and
7304 Darwin). (thanks to Pierre Mai for pointing out the location of
7306 * several fixes on OS X: The system now builds and runs cleanly on
7307 Panther (10.3), and works around sigreturn bug (no more SIGFPEs).
7308 (thanks to Brian Mastenbrook)
7309 * bug fix: DECODE-UNIVERSAL-TIME now accepts timezone arguments with
7310 second-resolution: integer multiples of 1/3600 between -24 and 24.
7311 (thanks to Vincent Arkesteijn)
7312 * bug fix: functions =, /=, <, <=, >, >= did not check the argument
7313 type when called with 1 argument; PEEK-CHAR checked type of
7314 PEEK-TYPE only after having read first character from a
7315 stream. (reported by Peter Graves)
7316 * bug fix: the garbage collector now has much better locality
7317 behaviour, and in particular no longer treats all memory as being
7318 exhausted when many small objects point to each other in a deeply
7320 * bug fix: arrays specialized on (UNSIGNED-BYTE 15) are now
7321 recognized as being TYPEP their class.
7322 * bug fix: the PUSHNEW documentation string has been corrected.
7323 (thanks to Vincent Arkesteijn)
7324 * bug fix: defaulting of the value for the last of an atypically
7325 large number of multiple values being bound was not being
7326 performed correctly on the Alpha or PPC platforms
7327 * optimization: implemented multiplication as a modular
7328 (UNSIGNED-BYTE 32) operation on the x86 backend.
7329 * optimization: SEARCH on simple-base-strings can now be open-coded.
7330 (see also contrib/compiler-extras.lisp for inspiration for
7331 teaching the compiler about the Boyer-Moore algorithm).
7332 * value, returned by MAX (and MIN) called with several EQUALP, but
7333 not EQL, arguments now does not depend on compiler settings.
7334 * fixed some bugs revealed by Paul Dietz' test suite:
7335 ** in stack analysis liveness information is propagated from
7336 non-local entry points.
7337 ** pathwise CAST removing failed when the CAST node did not start
7339 ** INPUT-STREAM-P, OUTPUT-STREAM-P, STREAM-ELEMENT-TYPE and
7340 OPEN-STREAM-P signal a TYPE-ERROR if their argument is not a
7342 ** LOAD-LOGICAL-PATHNAME-TRANSLATIONS returns NIL if the logical
7343 host is already defined.
7344 ** RENAME-FILE works on streams instead of signalling an internal
7346 ** PEEK-CHAR uses the current readtable when determining whether
7347 or not a character is whitespace.
7348 ** MERGE-PATHNAMES handles the case when the pathname does not
7349 specify a name while the default-pathname specifies a version.
7350 ** Pathnames now stand a better chance of respecting print/read
7352 ** Attempting to use standardized file system operators with a
7353 pathname with invalid :DIRECTORY components signals a
7355 ** OPEN :DIRECTION :IO no longer fails to work on non-existent
7357 ** DIRECTORY on logical pathnames is more correct.
7358 ** CLEAR-INPUT, CLEAR-OUTPUT, FINISH-OUTPUT and FORCE-OUTPUT
7359 signal a TYPE-ERROR if their argument is not a stream.
7360 ** READ-BYTE and WRITE-BYTE signal a TYPE-ERROR if their stream
7361 designator argument does not designate a stream.
7362 ** OPEN-STREAM-P and INPUT-STREAM-P on synonym streams work by
7363 examining the synonym.
7364 ** STREAM-ELEMENT-TYPE and FRESH-LINE on broadcast-streams now
7366 ** OPEN and WITH-OPEN-STREAM allow opening streams with
7367 element-type larger than ([UN]SIGNED-BYTE 32).
7369 changes in sbcl-0.8.7 relative to sbcl-0.8.6:
7370 * When built with the :SB-FUTEX feature, threaded builds now take
7371 advantage of the "fast userspace mutex" facility in Linux kernel 2.6
7372 for faster/more reliable mutex and condition variable support.
7373 * Incompatible change (but one you probably shouldn't have been using
7374 anyway): the interface and code for arbitrating between multiple
7375 threads in the same user session has been redesigned.
7376 * bug fix: GET-SETF-EXPANSION no longer throws an internal type
7377 error when called without an explicit environment argument.
7378 (thanks to Nikodemus Siivola)
7379 * bug fix: buffered :DIRECTION :IO streams are less likely to become
7380 confused about their position. (thanks to Adam Warner and Gerd
7382 * bug fix: Pretty printing backquoted forms with unquotations in the
7383 argument list position of various code constructs such as LAMBDA
7384 now works correctly. (reported by Paul Dietz)
7385 * bug fix: Pretty printing unquotations no longer loses all
7386 stream position information.
7387 * optimization: performance of string output streams is now less
7388 poor for multiple small sequence writes.
7389 * optimization: performance of CSUBTYPEP in the presence of complex
7390 expressions involving CONS and NOT many times has been improved.
7391 (reported by Paul Dietz)
7392 * ASDF-INSTALL bug fix: now parses *PROXY* properly. (thanks to
7394 * SB-SIMPLE-STREAMS enhancement: simple-streams can now be used as
7395 streams for the REPL, for the debugger, and so on. (thanks to
7397 * DEFINE-CODITION is more efficient. (thanks to Brian Mastenbrook)
7398 * fixed some bugs revealed by Paul Dietz' test suite:
7399 ** the value of the :REHASH-THRESHOLD argument to MAKE-HASH-TABLE
7400 is ignored if it is too small, rather than propagating through
7401 to cause DIVIDE-BY-ZERO or FLOATING-POINT-OVERFLOW errors.
7402 ** extremely complex negations of CONS types were not being
7403 sufficiently canonicalized, leading to inconsistencies in
7405 ** VALUES tranformer lost derived type.
7407 changes in sbcl-0.8.6 relative to sbcl-0.8.5:
7408 * fixed a bootstrapping bug: the build process no longer assumes
7409 that the various BOOLE-related constants have the same value in
7410 host and target lisps. (noted by Paul Dietz' test suite on an
7411 SBCL binary built from CLISP)
7412 * The system can now be dynamically linked on the MIPS platform,
7413 which enables dynamic loading of foreign code from Lisp. (thanks
7414 to Ralf Baechle for discussions on the MIPS ABI)
7415 * The system now records debugging information for its own source
7416 files in a filesystem-position-independent manner, relative to
7417 the "SYS" logical host.
7418 * fixed a compiler bug: MV-LET convertion did not check references
7419 to the "max args" entry point. (reported by Brian Downing)
7420 * tweaked disassembly notes to be less confident about proclaiming
7421 some instruction as an LRA. (thanks to Brian Downing)
7422 * contrib update: SB-ACLREPL is now threadsafe; multiple listeners
7423 now each have their own history, command character, and other
7424 characteristics. (thanks to David Lichteblau)
7425 * fixed some bugs revealed by Paul Dietz' test suite:
7426 ** compiler failure in compiling LOGAND expressions including a
7428 ** Implementation of ASH-MOD32 on X86 and PPC did not work for the
7429 shift greater than 32.
7430 ** FLUSH-DEST did not mark blocks for type check regeneration.
7431 ** HANDLER-CASE failed to accept declarations in handler clauses
7432 in some circumstances.
7434 changes in sbcl-0.8.5 relative to sbcl-0.8.4:
7435 * New code in contrib/sb-introspect (still probably not entirely
7436 stable yet) provides some support for smart Lisp development
7437 environments like SLIME.
7438 * The conditions signalled for errors occurring when loading .fasl
7439 files have been systematized (inheriting from SB-EXT:INVALID-FASL)
7440 in a way which should help ASDF recover gracefully.
7441 * The REQUIRE/PROVIDE behavior of *MODULE-PROVIDER-FUNCTIONS*
7442 stuff has been cleaned up. If you code contrib/ stuff, this might
7443 affect you, and you can look at contrib/README, contrib/STANDARDS,
7444 and/or the 0.8.4.27 diff to check.
7445 * In full calls the compiler now does not generate checks for declared
7446 argument types for all arguments.
7447 * various threading fixes
7448 ** and some experimental patches which didn't make it into
7449 the main tree for this release, but which are shipped in
7450 contrib/experimental-thread.patch as a possible fix for some
7451 failures (deadlock, spinning...) in GC-intensive multithreaded
7453 * fixed PPC build problem (source code incompatibility of different
7454 library versions): added offsetof() hackery which attempts to divine
7455 where glibc maintainers put uc_mcontext today
7456 * fixed bug 282: compiler does not trust type assertions while passing
7457 arguments to a full call.
7458 * fixed bug 261: compiler allows NIL or "no value" to be accepted for
7459 &OPTIONAL VALUES type parameter.
7460 * fix bug 214: algorithm for noting rejected templates is now more
7461 similar to that of template seletion. (also reported by rydis on
7463 * fixed bug 141b: printing backquoted information readably and prettily
7464 inserts a space where necessary.
7465 * bug fix: obviously wrong type specifiers such as (FIXNUM 1) or
7466 (CHARACTER 10) are now reported as errors, rather than propagated
7467 as unknown types. (reported by piso on #lisp)
7468 * bug fix: the :IF-EXISTS argument to OPEN now behaves correctly
7469 with values NIL and :ERROR. (thanks to Milan Zamazal)
7470 * fixed bug 191c: CLOS now does proper keyword argument checking as
7471 described in CLHS 7.6.5 and 7.6.5.1.
7472 * bug fix: LOOP forms using NIL as a for-as-arithmetic counter no
7473 longer raise an error; further, using a list as a for-as-arithmetic
7474 counter now raises a meaningful error.
7475 * fixed bug 213a: even fairly unreasonable CONS type specifiers are
7476 now understood by sequence creation functions such as MAKE-SEQUENCE
7478 * fixed bug 46k: READ-BYTE now signals an error when asked to read from
7479 a STRING-INPUT-STREAM.
7480 * compiler enhancement: SIGNUM is now better able to derive the type
7482 * type declarations inside WITH-SLOTS are checked. (reported by
7484 * fixed some bugs revealed by Paul Dietz' test suite:
7485 ** incorrect optimization of TRUNCATE for a positive first
7486 argument and negative second.
7487 ** compiler failure in let-convertion during flushing dead code.
7488 ** compiler failure while deriving type of TRUNCATE on an
7489 interval, containing 0.
7490 ** ASH of a negative bignum by a negative bignum count now returns
7492 ** intersection of CONS types now canonicalizes properly, fixing
7493 inconsistencies in SUBTYPEP.
7495 changes in sbcl-0.8.4 relative to sbcl-0.8.3:
7496 * incompatible change: The --disable-debugger command line
7497 option now clobbers the debugger at a more fundamental
7498 level, by redefining #'INVOKE-DEBUGGER instead of by
7499 rebinding *DEBUGGER-HOOK*. The main difference is that BREAK
7500 is specified by ANSI to ignore *DEBUGGER-HOOK* and
7501 INVOKE-DEBUGGER regardless. Under the old system, BREAK would
7502 enter the debugger REPL and then suffer recursive errors
7503 because *DEBUG-IO* is also messed up in --disable-debugger mode;
7504 while under the new system, BREAK in --disable-debugger mode
7505 terminates the system just as an unhandled error would.
7506 * fixed compiler performance when processing loops with a step >1;
7507 * bug fix: DOCUMENTATION now retrieves generic function
7508 documentation. Also, DOCUMENTATION and (SETF DOCUMENTATION)
7509 support has been systematized, and now supports the methods
7510 specified by ANSI, along with a default method and a method for
7511 slot documentation. (reported by Nathan Froyd)
7512 * bug fix: effective methods associated with a generic function are
7513 no longer cached over a change of that generic function's method
7514 combination. (reported by Andreas Fuchs)
7515 * bug fix: RUN-PROGRAM now does not fail if some element in $PATH
7516 names a non-existent directory. (thanks to Andreas Fuchs)
7517 * bug fix: ROUND and TRUNCATE could, under certain circumstances on
7518 the PPC platform, lead to stack corruption; this has been fixed.
7519 (reported by Rainer Joswig)
7520 * bug fix: ASH on an (UNSIGNED-BYTE 32) with a shift of -32 or lower
7521 no longer ever returns 1 instead of 0. (thanks to Lars Brinkhoff)
7522 * fixed bug 285: TRUNCATE on bignum arguments, and indeed bignum
7523 arithmetic in general, is now much more reliable on the PPC
7525 * bug fix: LOGCOUNT on (UNSIGNED-BYTE 64) objects on the Alpha
7526 platform now returns the right answer.
7527 * optimization: restored some effective method precomputation in
7528 CLOS (turned off by an ANSI fix in sbcl-0.8.3); the amount of
7529 precomputation is now tunable.
7530 * optimization: compiler-internal data structure use has been
7531 reviewed, and changes have been made that should improve the
7532 performance of the compiler by about 20%.
7533 * optimization: performance of FILL (and :INITIAL-ELEMENT) on
7534 simple-base-strings and simple-bit-vectors is improved.
7535 * optimization: the optimization of 32-bit logical and arithmetic
7536 functions introduced in version 0.8.3 on the x86 has been
7537 implemented on the mips, ppc and sparc platforms; an
7538 implementation of the same facility, but for 64-bit arithmetic,
7539 has been added for the alpha.
7540 * microoptimization: the compiler is better able to make use of the
7541 x86 LEA instruction for multiplication by constants.
7542 * bug fix: in some situations compiler did not report usage of
7543 generic arithmetic in (SPEED 3) policy.
7544 * bug 145b fix: compiler used wrong type specifier while converting
7545 MEMBER-types to numeric.
7546 * bug fix: COMPILE-FILE must bind *READTABLE*. (reported by Doug
7548 * bug fix: (SETF AREF) on byte-sized-element arrays with constant
7549 index argument now works properly on the Alpha platform.
7550 * bug fix: floating point exception treatment on the Alpha platform
7552 * bug fix: FILE-POSITION works much better on string input and
7553 output streams. (thanks to Nikodemus Siivola)
7554 * bug fix: many threading/garbage collection symptoms sorted.
7555 SB-THREAD:INTERRUPT-THREAD now safe to call on a thread that
7556 might be pseudo-atomic.
7557 * internal change: Stopping for GC is now done with signals not
7558 ptrace. GC is now done in whichever thread wanted it, instead of
7560 * bug fix: GC hooks (missing since 0.8) reinstated, so finalizers
7562 * bug fix: result form in DO is not contained in the implicit
7564 * incompatible change: ICR structure is changed; the value part of
7565 CONTINUATION is now called LVAR; corresponding functions are
7566 renamed (e.g. SB-C::CONTINUATION-TYPE has become SB-C::LVAR-TYPE).
7567 * added type deriver for ISQRT (thanks to Robert E. Brown).
7568 * bug fix: better support for loading from the command line when an
7569 initialization file sets (READTABLE-CASE *READTABLE*). (thanks
7571 * fixed some bugs revealed by Paul Dietz' test suite:
7572 ** the RETURN clause in LOOP is now equivalent to DO (RETURN ...).
7573 ** ROUND and FROUND now give the right answer when given very
7574 small float arguments.
7575 ** (FLOAT X) for X of type DOUBLE-FLOAT now returns X in all
7577 ** optimizer for (EXPT X 0) did not work for X not of type FLOAT.
7578 ** (GCD 0 <negative-integer>) returned <negative-integer>.
7579 ** LCM should return a non-negative integer.
7580 ** PARSE-INTEGER returned the index of a terminator instead of the
7581 upper bounding index of a substring in case :JUNK-ALLOWED NIL.
7582 ** PARSE-INTEGER returned an incorrect index being applied to a
7584 ** LCM with two arguments of 0 returns 0 rather than signalling
7586 ** unsigned addition of a 32-bit constant with the high bit set no
7587 longer causes an internal compiler error on the x86.
7588 ** LOGBITP accepts a non-negative bignum as its INDEX argument.
7589 ** compiler incorrectly derived types of DPB and DEPOSIT-FIELD
7590 with negative last argument.
7591 ** byte specifiers with zero size and position no longer cause
7592 an error during type derivation.
7593 ** bignum multiplication on the Alpha platform now returns the
7595 * porting: The system now builds on SuSE AMD64, although it still
7596 generates a 32-bit binary.
7597 * .fasl file incompatibility: The fasl file version number has
7598 been incremented (because of the changes to internal compiler
7599 data structures referred to above).
7601 changes in sbcl-0.8.3 relative to sbcl-0.8.2:
7602 * SBCL now builds and runs on MacOS X (version 10.2), or perhaps
7603 more accurately, on the Darwin kernel running on PowerPC hardware.
7604 (thanks to Brian Mastenbrook, Pierre Mai and Patrik Nordebo)
7605 * Compiler code deletion notes now signal a condition of type
7606 SB-EXT:CODE-DELETION-NOTE (a subtype of SB-EXT:COMPILER-NOTE) with
7607 an associated MUFFLE-WARNING restart.
7608 * The compiler now performs limited argument count validation of
7609 constant format strings in FORMAT, and where appropriate in ERROR,
7610 CERROR and WARN. (thanks to Gerd Moellmann)
7611 * New ASDF-INSTALL contrib can be used for automatic download and
7612 installation of third-party Lisp code from CCLAN or other sites
7614 * Threaded builds (:SB-THREAD) now support SB-THREAD:INTERRUPT-THREAD,
7615 which forces another thread to execute a function supplied by the
7617 * bug 75 fix: WITH-OUTPUT-TO-STRING (and MAKE-STRING-OUTPUT-STREAM)
7618 now accept and act upon their :ELEMENT-TYPE keyword argument.
7619 (reported by Martin Atzmueller, Edi Weitz)
7620 * bug fix: FILE-POSITION now accepts position designators up to
7621 ARRAY-DIMENSION-LIMIT or the extreme of the off_t range, whichever
7622 is the greater. (thanks to Patrik Nordebo)
7623 * bug fix: MAKE-ARRAY ignored :INITIAL-CONTENTS NIL. (reported by
7624 Kalle Olavi Niemitalo)
7625 * bug fix: the CLASS-PROTOTYPE of the GENERIC-FUNCTION class is now
7626 printable. (reported by Eric Marsden)
7627 * bug fix in sb-posix: mmap() now works on systems with a 64-bit
7628 off_t, including Darwin and FreeBSD. (thanks to Andreas Fuchs)
7629 * x86 bug fix in control stack exhaustion checking: now shows backtrace
7630 * bug fix in WITH-TIMEOUT: now the body can have more than one form.
7631 (thanks to Stig Sandoe)
7632 * bug fix in READ-SEQUENCE: READ-SEQUENCE following PEEK-CHAR or
7633 UNREAD-CHAR now correctly includes the unread character in the
7634 target sequence. (thanks to Gerd Moellmann)
7635 * bug fix in threaded builds: the system can now be suspended and
7636 resumed by shell job control with minimal disruption.
7637 * bug fixes in times and timezones >2038AD
7638 * better handling of "where is GNU make?" problem in build scripts
7639 (thanks to Nikodemus Siivola)
7640 * new optimization: inside a named function any reference to a
7641 function with the same name is considered to be a self-reference;
7642 this behaviour is controlled with SB-C::RECOGNIZE-SELF-CALLS
7643 optimization quality.
7644 * new optimization on x86: logical functions and + now have
7645 optimized (UNSIGNED-BYTE 32) versions, which are automatically
7646 used when the result is truncated to 32 bits.
7647 * VALUES declaration is partially enabled.
7648 * fixes in SB-GROVEL (thanks to Andreas Fuchs)
7649 * fixed some bugs revealed by Paul Dietz' test suite:
7650 ** The system now obeys the constraint imposed by
7651 UPGRADED-ARRAY-ELEMENT-TYPE that the upgraded array element
7652 types form a lattice under type intersection.
7653 ** FFLOOR, FTRUNCATE, FCEILING and FROUND work with integers.
7654 ** ASSOC now ignores NIL elements in an alist.
7655 ** CEILING now gives the right answer with MOST-NEGATIVE-FIXNUM
7656 and (1+ MOST-POSITIVE-FIXNUM) answers.
7657 ** The addition of a method with invalid qualifiers to a generic
7658 function does not cause an error to be signalled immediately;
7659 a warning is signalled, and the error is generated only on
7660 calling the generic function.
7661 * changed .fasl file version number, in part to add type codes for
7662 new array subtypes UNSIGNED-BYTE 7, 15, 29, and 31 mandated by
7663 obscure ANSI requirements
7665 changes in sbcl-0.8.2 relative to sbcl-0.8.1:
7666 * fixed bug 148: failure to inline-expand a local function left
7667 garbage, confusing the compiler.
7668 * fixed bugs 3cd: structure slot readers perform type check if the
7669 slot can have an invalid value (i.e. it is either not initialized
7670 or can be written with a less specific slot writer).
7671 * bug fix: the compiler now traps array references to elements off
7672 the end of an array; previously, the bounds checking in some
7673 circumstances could go off-by-one.
7674 * improved MACHINE-VERSION, especially on Linux (thanks to Lars
7676 * type declarations for array element types now obey the description
7677 on the CLHS page "Declaration TYPE", as per discussions on
7678 sbcl-help around 2003-05-08. This means that a declaration
7679 (TYPE (ARRAY FOO) BAR) means that, within the scope of the
7680 declaration, all references to BAR will be asserted or assumed
7681 (with THE, so dependent on compiler policy) to involve objects of
7682 type FOO. Note that no such declaration is implied in
7683 (MAKE-ARRAY .. :ELEMENT-TYPE 'FOO).
7684 * declared types of functions from the "Conditions"
7685 chapter. (reported by Paul Dietz)
7686 * bug fix: CERROR accepts a function as its first argument.
7687 * bug fix: NTH an NTHCDR accept a bignum as index
7688 arguments. (reported by Adam Warner)
7689 * optimization: character compare routines now optimize comparing
7690 against a constant character. (reported by Gilbert Baumann)
7691 * bug fix: (SETF AREF) on byte-sized-element arrays with constant index
7692 argument now works properly on the MIPS platform.
7693 * fixed compiler failure on (TYPEP x '(NOT (MEMBER 0d0))).
7694 * repeated evaluation of the same DEFSTRUCT, a slot of which is
7695 declared to have a functional type, does not cause an error
7697 * fixed bug: sometimes MAKE-INSTANCE did not work with classes with
7698 many :DEFAULT-INITARGS. (reported by Istvan Marko)
7699 * fixed bug: if last continuation of a deleted block has a
7700 destination, this destination should be deleted too. (reported by
7702 * fixed a bug in the bootstrap process: the host compiler's values
7703 of ARRAY-DIMENSION-LIMIT and ARRAY-TOTAL-SIZE-LIMIT no longer leak
7704 into the newly-built SBCL. (reported by Eric Marsden on #lisp,
7705 test case from Patrik Nordebo)
7706 * improved the ability of the disassembler on the PPC platform to
7707 provide helpful disassembly notes.
7708 * SB-MOP:CLASS-PROTOTYPE on built-in-classes returns an instance of
7709 the class in more cases than previously.
7710 * bug fix: FILE-POSITION now understands :START and :END for
7711 STRING-INPUT-STREAMs. (thanks to Nikodemus Siivola)
7712 * bug fix: (SIGNED-BYTE 8) streams no longer return (UNSIGNED-BYTE
7713 8) data. (thanks to David Lichteblau)
7714 * bug fix: it is possible to add a method to a generic function
7715 without lambda list.
7716 * bug fix: reader failed to signal END-OF-FILE inside an
7717 object representation. (reported by Nikodemus Siivola)
7718 * fixed some bugs revealed by Paul Dietz' test suite:
7719 ** LAST and [N]BUTLAST should accept a bignum.
7720 ** condition slot accessors are methods.
7721 ** (VECTOR NIL) is a subtype of STRING.
7723 changes in sbcl-0.8.1 relative to sbcl-0.8.0:
7724 * minor incompatible change: some nonsensical specialized lambda
7725 lists (used in DEFMETHOD) which were previously ignored now signal
7727 * minor incompatible change: the system is now aware of the types of
7728 variables in the COMMON-LISP package, and will signal errors for
7729 most violations of these type constraints (where previously they
7730 were silently accepted).
7731 * minor incompatible change: COMPILE-FILE now uses the freedom
7732 afforded (ANSI 3.2.2.3) to use derived function types for
7733 functions defined in the same file. This also permits the system
7734 to warn on static type mismatches and function
7735 redefinition. (Currently it does not work with high DEBUG level.)
7736 * minor incompatible change: VALUES declaration is disabled.
7737 * When issuing notes, the compiler now signals a condition of type
7738 SB-EXT:COMPILER-NOTE, and provides an associated MUFFLE-WARNING
7739 restart for use in user handlers. It is expected that the
7740 COMPILER-NOTE condition will eventually become a condition
7741 supertype to a hierarchy of note types, which will then be
7742 handleable in a similar fashion. However, at the moment, no such
7743 note subtypes yet exist. (SB-INT:SIMPLE-COMPILER-NOTE exists,
7744 but it's an implementation detail, not a classification for the
7746 * Changes in type checking closed the following bugs:
7747 ** type checking of unused values (192b, 194d, 203);
7748 ** template selection based on unsafe type assertions (192c, 236);
7749 ** type checking in branches (194bc).
7750 * A short form of VALUES type specifier has ANSI meaning (it has
7751 increased the number of situations when SBCL cannot perform type
7753 * fixed bug in DEFSTRUCT: once again, naming structure slots with
7754 keywords or constants is permissible.
7755 * STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE now have methods
7756 defined on the relevant FUNDAMENTAL-BINARY-{INPUT,OUTPUT}-STREAM
7757 classes. (thanks to Antonio Martinez)
7758 * improved ANSIness in DESCRIBE: The DESCRIBE function no longer
7759 outputs FRESH-LINE or TERPRI, and no longer converts its stream
7760 argument to a pretty-print stream. Instead, it leaves any such
7761 operations to DESCRIBE-OBJECT methods.
7762 * bug fix: APROPOS now respects the EXTERNAL-ONLY flag. (reported
7764 * bug fix: NIL is now a valid destructuring argument in DEFMACRO
7765 lambda lists. (thanks to David Lichteblau)
7766 * bug fix: Defining a generic function with a :METHOD-CLASS being a
7767 subclass of STANDARD-METHOD no longer causes stack exhaustion.
7768 (thanks to Gerd Moellmann)
7769 * fixed bug 246: increased compilation speed of long
7770 MULTIPLE-VALUE-BIND (and likewise of NTH-VALUE with a constant
7772 * a contributed module implementing COMPILER-LET and MACROEXPAND-ALL
7774 * DEFCONSTANT now throws a condition of type
7775 SB-EXT:DEFCONSTANT-UNEQL if it is being asked to redefine a
7776 constant to a non-EQL value; CONTINUE and ABORT restarts
7777 respectively change and preserve the value.
7778 * fixed bug 63: The code walker, part of the implementation of CLOS,
7779 is now better at handling symbol macros.
7780 * bug fix: There is no longer an internal implementation type named
7781 CL:LENGTH. (reported by Raymond Toy)
7782 * bug fix: In macro-like defining macros/special operators the
7783 implicit block does not enclose the lambda list.
7784 * fixed bugs 10 and 43: Bare VALUES, AND, OR and MEMBER symbols (not
7785 enclosed in parentheses) are not suitable as type specifiers, and
7786 their use properly signals an error now.
7787 * bug fix: An argument count mismatch for a type specifier in code
7788 being compiled no longer causes an unhandled error at compile
7789 time, but signals a compile-time warning.
7790 * fixed simple vector readable printing
7791 * bug fix: DESCRIBE takes more care over whether the class
7792 precedence list slot of a class is bound before accessing it.
7793 (reported by Markus Krummenacker)
7794 * bug fix: FORMATTER can successfully compile pretty-printer format
7795 strings which use variants of the ~* directive inside.
7796 * bug fix: SEARCH now applies its TEST predicate to the elements of
7797 the arguments in the correct order. (thanks to Wolfhard Buss)
7798 * fixed bug 235b: The compiler uses return types of MAPCAR and friends
7799 in type inference. (thanks to Robert E. Brown)
7800 * bug fix: Reading in symbols with an explicit package name of ""
7801 (e.g. '||::FOO) now works correctly. (reported by Henrik Motakef)
7802 * fixed some bugs revealed by Paul Dietz' test suite:
7803 ** NIL is now allowed as a structure slot name.
7804 ** Arbitrary numbers, not just REALs, are allowed in certain
7805 circumstances in LOOP for-as-arithmetic clauses.
7806 ** Multiple class redefinitions before slot access no longer
7807 causes a type error.
7808 ** (SETF FIND-CLASS) now accepts NIL as an argument to remove the
7809 association between the name and a class.
7810 ** Generic functions with non-standard method-combination and over
7811 five methods all of which return constants no longer return NIL
7812 after the first few invocations. (thanks to Gerd Moellmann)
7813 ** CALL-NEXT-METHOD with no arguments now passes the original
7814 values of the arguments, even in the presence of assignment.
7815 ** Functions [N]SUBST*, LAST, NRECONC, [N]SUBLIS may return any
7817 ** DISASSEMBLE works with closures and funcallable instances.
7818 ** ADD-METHOD now returns the generic function, not the new method.
7819 ** FIND-METHOD signals an error if the lengths of the specializers
7820 is incompatible with the generic function, even if the ERRORP
7822 ** TYPE-OF returns recognizeable subtypes of all built-in-types of
7823 which its argument is a member.
7824 ** DEFCLASS only redefines the class named by its class-name
7825 argument if that name is the proper name of the class;
7826 otherwise, it creates a new class.
7827 ** SLOT-UNBOUND now correctly initalizes the CELL-ERROR-NAME slot
7828 of the UNBOUND-SLOT condition to the name of the slot.
7829 ** (SETF (AREF bv 0) ...) did not work for bit vectors.
7830 ** SLOT-UNBOUND and SLOT-MISSING now have their return values
7831 treated by SLOT-BOUNDP, SLOT-VALUE, (SETF SLOT-VALUE) and
7832 SLOT-MAKUNBOUND in the specified fashion.
7834 changes in sbcl-0.8.0 relative to sbcl-0.8alpha.0
7835 * SBCL now builds using CLISP (version of late April 2003 from CVS) as
7836 cross-compilation host. As a consequence, we can now bootstrap our
7837 way up to SBCL starting with a bare gcc toolchain and human-readable
7838 source code (first the source to CLISP, then the source to SBCL).
7839 * A contributed module containing a partial implementation of the
7840 simple-streams interface has been included. (thanks to Rudi
7842 * A contributed module implementing the RFC1321 Message Digest
7843 Algorithm, known as MD5, has been included.
7844 * minor incompatible change: The :NEGATIVE-ZERO-IS-NOT-ZERO feature
7845 no longer has any effect, as the code controlled by this feature
7846 has been deleted. (As far as we know, no-one has ever built using
7847 this feature, and its semantics were confused in any case).
7848 * minor incompatible change: As a consequence of making SLOT-EXISTS-P
7849 work on conditions (as required by the ANSI specification),
7850 SLOT-VALUE, (SETF SLOT-VALUE) and SLOT-BOUNDP likewise have the
7851 expected behaviour on conditions. Users should note, however,
7852 that such behaviour is not required by the ANSI specification,
7853 and so use of this behaviour may render their code unportable.
7854 * fixed some bugs revealed by Paul Dietz' test suite:
7855 ** the GENERIC-FUNCTION type is no longer disjoint from FUNCTION
7857 ** &ENVIRONMENT parameter in macro lambda list is bound first.
7858 ** SXHASH on condition objects no longer returns NIL.
7859 ** :ALLOCATION :CLASS slots are better treated; their values are
7860 updated on class redefinition, and initforms inherited from
7861 superclasses are applied.
7862 ** REMOVE-METHOD returns its generic function argument even when
7863 no method was removed.
7864 ** SHARED-INITIALIZE now initializes the values of the requested
7865 slots, including those with :ALLOCATION :CLASS.
7866 ** ALLOCATE-INSTANCE now works on structure classes defined via
7867 DEFSTRUCT (and not just by those from DEFCLASS :METACLASS
7869 ** SLOT-EXISTS-P now works on conditions, as well as structures
7871 ** MAKE-LOAD-FORM now has the required methods on
7872 STRUCTURE-OBJECT, CONDITION and STANDARD-OBJECT.
7873 ** MAKE-LOAD-FORM-SAVING-SLOTS no longer returns a special
7874 keyword, and now implements the SLOT-NAMES argument.
7875 ** methods with &OPTIONAL arguments no longer allow too many
7876 arguments to be passed in the call without error.
7877 ** DEFGENERIC now checks that the :ARGUMENT-PRECEDENCE-ORDER
7878 option is consistent with the required arguments of the generic
7879 function lambda list.
7880 * bug fix: REQUIRE accepts a string designator. (Thanks to
7882 * bug fix: SB-MOP:DIRECT-SLOT-DEFINITION-CLASS and
7883 SB-MOP:EFFECTIVE-SLOT-DEFINITION-CLASS now have the
7884 specified-by-AMOP lambda list of (CLASS &REST INITARGS).
7885 * bug fix: The compiler now checks for duplicated variables in macro
7887 * bug fix: SETQ on globals returns the correct value.
7888 * fixed bug 47.d: (DEFGENERIC IF (X)) now signals a PROGRAM-ERROR,
7889 not a COMPILER-ERROR (followed by some other strange error on
7890 choosing the CONTINUE restart).
7891 * bug fix: make.sh and friends are now more consistent in the way that
7892 they look for GNU "make".
7894 changes in sbcl-0.8alpha.0 relative to sbcl-0.7.14
7895 * experimental native threads support (on x86 Linux >=2.4 only).
7896 This is not compiled in by default: you need to add :SB-THREAD to
7897 the target features. See the "Beyond ANSI" chapter of the manual
7899 * fix for longstanding nonANSIism: The old distinction between
7900 CL:CLASS objects and SB-PCL:CLASS objects has been eliminated.
7901 The return value from CL:FIND-CLASS is now a CLOS class, and
7902 likewise that of CL:CLASS-OF; CL:BUILT-IN-CLASS,
7903 CL:STRUCTURE-CLASS and CL:STANDARD-CLASS name CLOS classes.
7904 * An interface to the MetaObject Protocol, as described in Kiczales,
7905 des Rivieres and Bobrow's "The Art of the Metaobject Protocol",
7906 MIT Press, 1991, is available from the SB-MOP package.
7907 * incompatible change: the SB-PCL package should now be considered
7908 a private implementation detail, and no longer a semi-private MOP
7910 * minor incompatible change: due to rearrangement for threads, the
7911 control stack and binding stack are now allocated at arbitrary
7912 addresses instead of being hardcoded per-port. Users affected by
7913 this probably have to be doing advanced things with shared
7914 libraries, and will know who they are.
7915 * minor incompatible change: Previously, all --eval forms used were
7916 processed with READ before any of them were processed with EVAL.
7917 Now each --eval form is processed with both READ and EVAL before
7918 the next --eval form is processed. (Thus package operations like
7919 sbcl --eval "(defpackage :foo)" --eval "(print 'foo::bar)" now
7920 work as the user might reasonably expect.)
7921 * minor incompatible change: *STANDARD-INPUT* is now only an
7922 INPUT-STREAM, not a BIDIRECTIONAL-STREAM. (thanks to Antonio
7924 * minor incompatible change: Y-OR-N-P is now character-oriented,
7925 not line oriented. Also, YES-OR-NO-P now works without errors.
7926 (thanks to Antonio Martinez)
7927 * sb-aclrepl module improvements: an integrated inspector, added
7928 repl features, and a bug fix to :trace command.
7929 * Known functions, which cannot be open coded by the backend, are
7930 considered to be able to check types of their arguments. (fixing
7931 a bug report by Nathan J. Froyd)
7932 * fixed a bug in computing method discriminating functions: It is
7933 now possible to define methods specialized on classes which have
7934 forward-referenced superclasses. (thanks to Gerd Moellmann)
7935 * fixed evaluation order in optional entries (reported by Gilbert
7937 * SB-MOP:ENSURE-CLASS-USING-CLASS now takes its arguments in the
7938 specified-by-AMOP order of (CLASS NAME &REST ARGS &KEY).
7939 * SB-MOP:COMPUTE-EFFECTIVE-SLOT-DEFINITION now takes the
7940 required-by-AMOP NAME argument, as well as CLASS and
7941 DIRECT-SLOT-DEFINITIONS. (thanks to Kevin Rosenberg)
7942 * fixed bug 20: DEFMETHOD can define methods using names that are
7943 not the proper names of classes to designate class specializers.
7944 * bug fix: INTERACTIVE-STREAM-P now works on streams associated with
7945 Unix file descriptors, instead of blowing up. (thanks to Antonio
7947 * Garbage collection refactoring: user-visible change is that a
7948 call to the GC function during WITHOUT-GCING will not do garbage
7949 collection until the end of the WITHOUT-GCING. If you were doing
7950 this you were probably losing anyway.
7951 * fixed bug in MEMBER type: (MEMBER 0.0) is not the same as
7952 (SINGLE-FLOAT 0.0 0.0), because of the existence of -0.0 which is
7953 TYPEP the latter but not the former.
7954 * The compiler issues a full WARNING for calls to undefined functions
7955 with names from the CL package.
7956 * MAP-INTO for a vector destination is open coded. (reported by
7957 Brian Downing on c.l.l)
7958 * bug fix: the long form of DEFINE-METHOD-COMBINATION now accepts a
7959 documentation string.
7960 * fixed some bugs revealed by Paul Dietz' test suite:
7961 ** COPY-ALIST now signals an error if its argument is a dotted
7963 ** Condition slots are now accessed more correctly in the presence
7964 of multiple initargs for a given slot.
7965 ** The USE-VALUE, CONTINUE and STORE-VALUE functions now correctly
7966 exclude restarts of the same name associated with a different
7968 ** DEFCLASS of forward-referenced classes with another
7969 forward-referenced class in the superclasses list no longer
7971 ** Condition slots are now initialized once each, not multiple
7972 times. (thanks to Gerd Moellmann)
7973 ** CONVERT-MORE-CALL failed on a lambda list (&KEY). (thanks to
7975 ** &WHOLE and &REST arguments in macro lambda lists are patterns.
7976 ** NSET-EXCLUSIVE-OR does not return extra elements when its
7977 arguments contain duplicated elements.
7978 ** RESTART-CASE understands local macros.
7979 ** RESTART-CASE associates exactly its own restarts with a condition.
7980 ** ENDP in safe mode checks its argument to be of type LIST.
7981 ** COPY-SYMBOL in a threaded build no longer fails when the symbol
7982 in question is unbound.
7983 ** Optimized MAKE-INSTANCE functions no longer cause internal
7984 assertion failures in the presence of duplicate initargs.
7985 ** SLOT-MAKUNBOUND returns the instance acted upon, not NIL.
7986 ** Side-effectful :DEFAULT-INITARGS have their side-effects
7987 propagated even in the ctor optimized implementation of
7989 ** :ALLOW-OTHER-KEYS NIL is now accepted in an initarg list.
7991 changes in sbcl-0.7.14 relative to sbcl-0.7.13:
7992 * a better implementation of SXHASH on (simple) bit vectors,
7993 measured both in execution speed and in distribution of results
7994 over the positive fixnums, has been installed. Likewise, a better
7995 implementation of EQUAL for simple bit vectors is now available.
7996 * fixed CEILING optimization for a divisor of form 2^k.
7997 * fixed bug 240 (emitting extra style warnings "using the lexical
7998 binding of the symbol *XXX*" for &OPTIONAL arguments). (reported
7999 by Antonio Martinez)
8000 * fixed SXHASH, giving different results for NIL depending on type
8001 declarations (SYMBOL or LIST). (thanks to Gerd Moellmann)
8002 * fixed bug in DEFPARAMETER and DEFVAR: they could assign a lexical
8003 variable. (found by Rolf Wester)
8004 * SBCL does not ignore type declarations for special
8005 variables. (reported by rif on c.l.l 2003-03-05)
8006 * some bug fixes in contrib/sb-aclrepl/
8007 * fixed some bugs revealed by Paul Dietz' test suite:
8008 ** a bug in the CONS type specifier, whereby the CAR and CDR
8009 types got intertwined, has been fixed;
8010 ** the type system is now able to reason about the interaction
8011 between INTEGER and RATIO types more completely;
8012 ** APPEND, [N]REVERSE and NRECONC check that those their
8013 arguments, which must be proper lists, are really so;
8014 ** An array specialized to be unable to hold elements has been
8015 implemented, as required -- yes, really -- by ANSI;
8016 ** GETF and GET-PROPERTIES throw a TYPE-ERROR, not a SIMPLE-ERROR,
8017 on malformed property lists;
8019 changes in sbcl-0.7.13 relative to sbcl-0.7.12:
8020 * incompatible packaging change: in line with Unix convention,
8021 SBCL now looks for its core file in /usr/{local/,}lib/sbcl/sbcl.core
8022 if it's not in $SBCL_HOME. It also sets SBCL_HOME to match.
8023 * REQUIRE and PROVIDE are now optionally capable of doing something
8024 useful. See the documentation string for REQUIRE.
8025 * infrastructure for a managed SBCL contrib system: contributed
8026 modules in this release include:
8027 ** the ASDF system definition facility;
8028 ** an interface to the BSD Sockets API;
8029 ** an ACL-like convenience interface to the repl;
8030 (thanks to Kevin Rosenberg)
8031 ** an implementation of ROTATE-BYTE, with efficient implementation
8033 * fixed a bug in LOG, so that LOG of a rational argument near 1 now
8034 gives a closer approximation to the right answer than previously.
8035 (thanks to Raymond Toy)
8036 * fixed bug 157: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and
8037 UPGRADED-COMPLEX-PART-TYPE now take (ignored, in all situations)
8038 optional environment arguments, as required by ANSI.
8039 * fixed bugs in other functions taking environment objects, allowing
8040 calls with an explicit NIL environment argument to be compiled
8042 * fixed bug 228: primary return values from
8043 FUNCTION-LAMBDA-EXPRESSION are either NIL or suitable for input to
8044 COMPILE or FUNCTION.
8045 * fixed a bug in DEFSTRUCT: predicates for :NAMED structures with
8046 :TYPE will no longer signal errors on innocuous objects.
8047 * fixed bug 231b: SETQ is better at respecting type declarations in
8048 the lexical environment.
8049 * fixed a bug in DEFCLASS: classes named by symbols with no or
8050 unprintable packages can now be defined.
8051 * fixed a bug in RESTART-BIND: The :TEST-FUNCTION option had been
8052 carelessly renamed to :TEST-FUN. (thanks to Robert E. Brown)
8053 * fixed compiler failure related to checking types of functions.
8054 (reported by Robert E. Brown)
8055 * the compiler is now much more consistent in its error-checking
8056 treatment of bounding index arguments to sequence functions: in
8057 (SAFETY 3) code, errors will be signalled in almost all cases if
8058 invalid sequence bounding indices are passed to functions defined
8059 by ANSI to operate on sequences.
8060 * fixed a bug in the build procedure: documentation of SBCL-specific
8061 packages is now preserved and available in the final Lisp image.
8062 * lifted FDEFINITION lookup out of loops in the implementation of
8063 many list operations. (thanks to Robert E. Brown)
8064 * fixed a bug in the reader: the #n# reader macro now works for
8065 objects of type STANDARD-OBJECT. (reported by Tony Martinez)
8066 * the compiler is now aware that SYMBOL-FUNCTION returns a FUNCTION
8067 and that READ-DELIMITED-LIST returns a LIST. (thanks to Robert
8068 E. Brown and Tony Martinez respectively)
8069 * PCL is now smarter about SLOT-VALUE, (SETF SLOT-VALUE) and
8070 SLOT-BOUNDP: in particular, it is now able to optimize them much
8071 better, and is now not vulnerable to having packages renamed.
8072 Furthermore, a compliance bug has been fixed: SLOT-MISSING is now
8073 always called when a slot is not present in an instance. (thanks
8075 * fixed a bug related to CONCATENATED-STREAMs: PEEK-CHAR will no
8076 longer signal an error on unreading a character following EOF on
8077 the previous constituent stream. (thanks to Tony Martinez)
8078 * fixed some bugs revealed by Paul Dietz' test suite:
8079 ** ARRAY-IN-BOUNDS-P now allows arbitrary integers as arguments,
8080 not just nonnegative fixnums;
8081 ** the logical bit-array operators such as BIT-AND now accept an
8082 explicit NIL for their "opt-arg" argument (to indicate a
8083 freshly-consed result bit-array);
8084 ** ELT now signals an error on an invalid sequence index in safe
8086 ** the type system is now cleverer about negations of numeric
8087 types, and consequently understands the BIGNUM and RATIO types
8089 ** the type system is now cleverer about the interaction between
8090 INTEGER and RATIO types: while bugs still remain, many more
8091 cases are accurately computed;
8092 ** in TYPECASE, OTHERWISE now only introduces an otherwise-clause
8093 if it is in the last clause;
8094 ** CONSTANTLY now correctly returns a side-effect-free function in
8096 ** DECLARE is no longer treated as a special-operator; in
8097 particular, SPECIAL-OPERATOR-P no longer returns T for DECLARE;
8098 * incremented fasl file version number due to the change in the
8099 DEFSTRUCT-SLOT-DESCRIPTION structure.
8101 changes in sbcl-0.7.12 relative to sbcl-0.7.11:
8102 * minor incompatible change: code processed by the "interpreter" or
8103 EVAL now has a compilation optimization policy of (DEBUG 2)
8104 (changed from (DEBUG 1)) to improve debuggability of interactive
8105 development, and to allow the use of the debug RETURN command in
8107 * an experimental implementation of the RETURN command for the
8108 debugger has been included. (thanks to Frederik Kuivinen)
8109 * fixed bug 62: constraints were not propagated into a loop.
8110 * fixed bug in embedded calls of SORT (reported and investigated by
8112 * fixed some bugs revealed by Paul Dietz' test suite:
8113 ** printing and reading of arrays with some dimensions having
8114 length 0 (thanks to Gerd Moellmann);
8115 ** BOA constructor with &AUX argument without a default value does
8116 not cause a type error;
8117 ** CONSTANTP now returns true for all self-evaluating objects.
8119 changes in sbcl-0.7.11 relative to sbcl-0.7.10:
8120 * fixed bug 127: DEFSTRUCT now does not clobber old structure
8121 accessors that are related by inheritance, as specified in the
8122 :CONC-NAME section of the specification of DEFSTRUCT. (thanks to
8123 Valtteri Vuorikoski)
8124 * The compiler is now able to inline functions that were defined in
8125 a complex lexical environment (e.g. inside a MACROLET).
8126 * fixed bug in DESCRIBE, which now works on rank-0 arrays. (thanks
8128 * Support for the upcoming FreeBSD-5.0 release has been included.
8129 (thanks to Dag-Erling Smorgrav)
8130 * fixed bug 219: DEFINE-COMPILER-MACRO no longer has compile-time
8131 effect when it is not in a toplevel context.
8132 * fixed bug 222: DEFMETHOD and SYMBOL-MACROLET interactions now
8133 stand a better chance of being correct. (thanks to Gerd
8135 * fixed bug in COERCE, which now signals an error on coercing a
8136 rational to a bounded real type which excludes the expected
8138 * The compiler is now able to derive types more accurately from the
8139 COERCE and COMPILE functions.
8140 * fixed bug 223: functional binding is considered to be constant
8141 only for symbols in the CL package.
8142 * fixed bug 231: SETQ did not check the type of a variable being set
8143 (reported by Robert E. Brown)
8144 * A new optimization for MAKE-INSTANCE has been included, fixing
8145 various bugs (including relating to :ALLOCATION :CLASS slots and
8146 :DEFAULT-INITARGS over-eager evalueation). (thanks to Gerd
8148 * fixed some LOOP bugs revealed by Paul Dietz' test suite:
8149 ** As required by ANSI, LOOP now disallows anonymous collection
8150 clauses such as COLLECT I in conjunction with aggregate boolean
8151 clauses such as THEREIS (= I 1);
8152 ** LOOP now signals an error when any variable is reused in the
8153 same loop (including the potentially useful construct analogous
8154 to WITH A = 1 WITH A = (1+ A);
8155 ** IT is only a special loop symbol within the first clause of a
8156 conditional loop clause;
8157 ** LOOP with a typed iteration variable over a hashtable now
8158 signals a type error iff it should.
8159 * fixed some other bugs revealed by Paul Dietz' test suite:
8160 ** FILE-STREAM now names the class previously known as FD-STREAM;
8161 ** in DEFSTRUCT, a bare :CONC-NAME (or a :CONC-NAME with no
8162 argument) no longer signals an error;
8163 ** likewise in DEFSTRUCT, :CONC-NAME NIL now respects the package
8164 of the slot symbol, rather than using the current package
8165 ((:CONC-NAME "") continues to intern the slot's name in the
8167 * incremented fasl file version number, because of the incompatible
8168 change to the DEFSTRUCT-DESCRIPTION structure, and again because
8169 of the new implementation of DEFINE-COMPILER-MACRO.
8171 changes in sbcl-0.7.10 relative to sbcl-0.7.9:
8172 * Support for building SBCL for MIPS platforms running in
8173 little-endian mode has now been checked in, and basic
8174 functionality on said platforms verified.
8175 * minor incompatible change: PCL now records the pathname of a file
8176 in which methods and the like are defined, rather than its
8178 * minor incompatible change: TRUENAME now considers the truename of
8179 a file naming a directory to be the pathname with :DIRECTORY
8180 component indicating that directory.
8181 * minor incompatible change: a NAMED clause in the extended form of
8182 LOOP no longer causes a BLOCK named NIL to surround the LOOP. The
8183 reason for the previous behaviour is unclear.
8184 * more systematization and improvement of CLOS and MOP conformance
8185 in PCL (thanks to Gerd Moellman and Pierre Mai):
8186 ** the standard ANSI CL generic function NO-NEXT-METHOD is now
8188 ** DEFINE-METHOD-COMBINATION no longer signals an error for
8189 primary methods with no specializers;
8190 ** the MOP generic function GENERIC-FUNCTION-DECLARATIONS is now
8192 ** the Readers for Class Metaobjects methods CLASS-DIRECT-SLOTS
8193 and CLASS-DIRECT-DEFAULT-INITARGS have been implemented for
8194 FORWARD-REFERENCED-CLASSes; error reporting on
8195 CLASS-DEFAULT-INITARGS, CLASS-PRECEDENCE-LIST and CLASS-SLOTS
8197 ** SXHASH on CLOS instances now uses a slot internal to the
8198 instance to return different numbers on distinct instances,
8199 while preserving the same return value through invocations of
8201 ** DEFMETHOD signals errors when methods with longer incongruent
8202 lambda lists are added to generic functions;
8203 ** COMPUTE-CLASS-PRECEDENCE-LIST now has a method specialized on
8204 CLASS, as specified in AMOP;
8205 ** COMPUTE-SLOTS :AROUND now assigns locations sequentially based
8206 on the order returned by the primary method for classes of
8207 class STANDARD-CLASS;
8208 ** DEFINE-METHOD-COMBINATION now works with the :ARGUMENTS option.
8209 * fixed some bugs shown by Paul Dietz' test suite:
8210 ** DOLIST puts its body in TAGBODY;
8211 ** SET-EXCLUSIVE-OR sends arguments to :TEST function in the
8213 ** MULTIPLE-VALUE-SETQ evaluates side-effectful places before
8214 value producing form;
8215 ** if more variables are given to PROGV than values, extra
8216 variables are bound and made to have no value;
8217 ** NSUBSTITUTE on list arguments gets the right answer with
8219 ** ELT signals an error of type TYPE-ERROR when the index argument
8220 is not a valid sequence index;
8221 ** LOOP signals (at macroexpansion time) an error of type
8222 PROGRAM-ERROR when duplicate variable names are found;
8223 ** LOOP supports DOWNTO and ABOVE properly; (thanks to Matthew Danish)
8224 ** FUNCALL of special-operators now cause an error of type
8226 ** PSETQ now works as required in the presence of side-effecting
8227 symbol-macro places;
8228 ** NCONC accepts any object as its last argument;
8229 ** :COUNT argument to sequence functions may be BIGNUM; (thanks to
8231 ** loop-for-as-package does not require a package to be explicitely
8233 ** LOOP WITH now treats NIL in the d-var-spec correctly as an
8235 * fixed bug 166: compiler preserves "there is a way to go"
8236 invariant when deleting code.
8237 * fixed bug 172: macro lambda lists with required arguments after
8238 &REST arguments now cause an error to be signalled. (thanks to
8240 * fixed Entomotomy PEEK-CHAR-WRONGLY-ECHOS-TO-ECHO-STREAM
8241 bug. (thanks to Matthew Danish)
8242 * fixed bug 225: STRING-STREAM is now a class. (reported by Gilbert
8244 * fixed bug 136: CALL-NEXT-METHOD no longer gets confused when
8245 arguments are lexically rebound. (thanks to Gerd Moellmann and
8247 * fixed bug 194: error messages are now more informative when there
8248 is no primary method applicable in a call to a generic
8249 function. (thanks to Gerd Moellmann)
8250 * fixed bug in command line argument checking (thanks to Julian
8252 * fixed bug in COUNT-IF, making it handle :FROM-END correctly
8253 (thanks to Matthew Danish)
8254 * incremented fasl file version number, because of the
8255 SXHASH-related changes in the layout of CLOS data structures
8257 changes in sbcl-0.7.9 relative to sbcl-0.7.8:
8258 * minor incompatible change: The runtime (the Unix executable named
8259 "sbcl") is now much pickier about the .core files it will load.
8260 Essentially it now requires .core files to descend from the same
8261 build (not just the same sources or LISP-IMPLEMENTATION-VERSION)
8262 as the runtime does. (The intent is to prevent the crashes which
8263 can occur, and which can even be reported as mysterious failures,
8264 when people patch the sources or change the build parameters
8265 without changing LISP-IMPLEMENTATION-VERSION, then mix and match
8266 sbcl and .core files.)
8267 * fixed bug: VALUES-LIST is no longer optimized away.
8268 * fixed bug 142: The FFI conversion of C string values to Lisp
8269 string values no longer conses excessively. (thanks to Nathan
8270 Froyd porting Raymond Toy's fix to CMU CL)
8271 * began to systematize and improve MOP conformance in PCL (thanks to
8272 Nathan Froyd, Gerd Moellman and Pierre Mai):
8273 ** SLOT-DEFINITION-ALLOCATION now returns :CLASS, not the class
8275 ** GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER is now implemented;
8276 ** FINALIZE-INHERITANCE is now called on class finalization;
8277 ** DOCUMENTATION and (SETF DOCUMENTATION) now have the correct
8278 argument precedence order.
8279 * fixed bug 202: The compiler no longer fails on functions whose
8280 derived types contradict their declared type.
8281 * DEFMACRO is implemented via EVAL-WHEN instead of IR1 translation,
8282 so it can be non-toplevel.
8283 * The fasl file version number has changed (because of the new
8284 implementation of DEFMACRO).
8285 * (mostly) fixed bugs 46b and 46c: sequence functions now check, in
8286 safe code, that any length requirement by their type-specifier
8287 argument is valid. The exceptions to this are described in bug
8289 * fixed bugs 46h and 46i: TWO-WAY- and CONCATENATED-STREAM creation
8290 functions now check the types of their inputs as required by ANSI.
8291 * fixed bug 48c: SYMBOL-MACROLET signals PROGRAM-ERROR when an
8292 introduced symbol is DECLAREd to be SPECIAL.
8293 * fixed reading of (COMPLEX DOUBLE-FLOAT) literals from fasl files
8294 * fixed bug: :COUNT argument to sequence functions may be negative
8295 * fixed bug: body of DO-SYMBOLS may contain declarations
8296 * fixed bug: PUSHNEW now evaluates its arguments from left to right
8297 (reported by Paul F. Dietz, fixed by Gerd Moellman)
8298 * fixed bug: PUSH, PUSHNEW and POP now evaluate a place given by a
8299 symbol macro only once
8300 * fixed printing of call frame when argument list is unavailable
8301 * fixed bug: :ALLOW-OTHER-KEYS is an allowed keyword name
8302 * compiler no longer signals WARNING on unknown keyword
8305 changes in sbcl-0.7.8 relative to sbcl-0.7.7:
8306 * A beta-quality port to the mips architecture running Linux,
8307 based on the old CMUCL backend, has been made. It has been tested
8308 on a big-endian kernel, and works sufficiently well to be able to
8309 rebuild itself; it has not been tested in little-endian mode.
8310 * fixed an inconsistency between gencgc.c and purify.c which made
8311 dumping/loading .core files unreliable
8312 * fixed bug 120a: The compiler now deals correctly with IFs where
8313 the consequent is the same as the alternative, instead of
8314 misderiving the return type. (thanks to Alexey Dejneka)
8315 * fixed bug 113: Logical pathnames are now dumpable (the logical
8316 host is resolved at load-time, throwing an error if it is not
8318 * fixed bug 174: FORMAT's error message is slightly clearer when a
8319 non-printing character is used in a format directive.
8320 * fixed several bugs in compiler checking of type declarations, i.e.
8321 violations of the Python "declarations are assertions" principle
8322 (thanks to Alexey Dejneka)
8323 * fixed several bugs in PCL's error checking (thanks to Gerd
8325 * fixed bug: printing of FILE-ERROR (thanks to Antonio
8327 * fixed bug in compilation of functions as first class values
8328 (thanks to Antonio Martinez-Shotton)
8329 * The compiler's handling TYPE-ERRORs which it can prove will
8330 inevitably happen at runtime has been cleaned up and corrected
8331 in several ways. (thanks to Alexey Dejneka)
8332 * improved argument type checking for various basic arithmetic
8333 operations (MAX, +, LOGXOR, etc.) which have had so much TLC
8334 lavished on them in the past that they can be compiled in many
8335 ways in different special cases
8336 * fixed bug 181: compiler checks validity of user supplied type
8338 * cleaned up code flushing in optimization: Function calls which
8339 should signal errors for safety purposes (e.g. which ANSI says
8340 should signal errors when their arguments are of incorrect type)
8341 are no longer optimized away.
8342 * added new extension: SB-DEBUG:BACKTRACE-AS-LIST
8343 * incremented fasl file version number, because changes in the
8344 implementation of sequence functions like COERCE caused
8345 internal utility functions like COERCE-TO-SIMPLE-VECTOR (used
8346 in old inline expansions) to become undefined. (Actually these
8347 changes were later undone, so we might very well be binary
8348 compatible with 0.7.7 after all, but leaving the version number
8349 incremented seemed like the simplest and most conservative
8352 changes in sbcl-0.7.7 relative to sbcl-0.7.6:
8353 * An alpha-quality port to the parisc architecture running Linux,
8354 based on the old CMUCL backend, has been made. This, even more so
8355 than the other backends, should be considered still a work in
8356 progress; known problems include that the Linux kernel in 64-bit
8357 mode does not propagate the correct sigcontext structure to
8358 userspace, and consequently SBCL on a parisc64 kernel will not
8360 * fixed bug 189: The compiler now respects NOTINLINE declarations for
8361 functions declared in FLET and LABELS. (I.e. "LET conversion" is
8362 suppressed.) Also now that the compiler is looking at declarations
8363 in the environment, it checks optimization declarations as well,
8364 and suppresses inlining when (> DEBUG SPEED).
8365 * More fixes have been made to treatment of floating point exception
8366 treatment and other Unix signals. In particular, floating point
8367 exceptions no longer cause Bus errors on the SPARC/Linux platform.
8368 * The detection and handling of control stack exhaustion (infinite
8369 or very deeply nested recursion) has changed. Stack exhaustion
8370 detection is now done by write-protecting pages at the OS level
8371 and applies at all optimization settings; when found, a
8372 SB-KERNEL:CONTROL-STACK-EXHAUSTED condition (subclass of
8373 STORAGE-CONDITION) is signalled, so stack exhaustion can no longer
8374 be caught using IGNORE-ERRORS.
8375 * Bugs 65, 70, and 109 fixed: The compiler now preserves invariants
8376 correctly when transforming recursive LABELS functions to LETs.
8377 (thanks to Alexey Dejneka)
8378 * Bug 48a./b. fixed: SYMBOL-MACROLET now refuses to bind symbols
8379 that are names of constants or global variables.
8380 * Bug fix: DEFINE-ALIEN-ROUTINE now declaims the correct FTYPE for
8381 alien routines with docstrings.
8382 * Bug 184 fixed: Division of ratios by the integer 0 now signals an
8383 error of type DIVISION-BY-ZERO. (thanks to Wolfhard Buss and
8385 * Bug fix: Errors in PARSE-INTEGER are now of type PARSE-ERROR.
8386 (thanks to Eric Marsden)
8387 * Bug fix: COERCE to (COMPLEX FLOAT) of rationals now returns an
8388 object of type (COMPLEX FLOAT). (thanks to Wolfhard Buss)
8389 * Bug fix: The SPARC backend can now compile functions involving
8390 LOGAND and stack-allocated arguments. (thanks to Raymond Toy)
8391 * Bug fix: We no longer segfault on passing a non-FILE-STREAM stream
8392 to a functions expecting a PATHNAME-DESIGNATOR.
8393 * Bug fix: DEFGENERIC now enforces the ANSI restrictions on its
8394 lambda lists. (thanks to Alexey Dejneka)
8395 * Bug fix: changed encoding of PCL's internal MAKE-INSTANCE
8396 functions so that EXPORTing the name of the class doesn't cause
8397 MAKE-INSTANCE functions from earlier DEFCLASSes to get lost (thanks
8398 to Antonio Martinez for reporting this)
8399 * Bug 192 fixed: The internal primitive DATA-VECTOR-REF can now be
8400 constant-folded without failing an assertion. (thanks to Einar
8401 Floystad Dorum for reporting this)
8402 * Bugs 123 and 165 fixed: array specializations on as-yet-undefined
8403 types are now dealt with more correctly by the compiler.
8404 * Minor incompatible change: COMPILE-FILE-PATHNAME now merges its
8405 OUTPUT-FILE argument with its INPUT-FILE argument, resulting in
8406 behaviour analogous to RENAME-FILE. This puts its behaviour more
8407 in line with ANSI's wording on COMPILE-FILE-PATHNAME. (thanks to
8409 * The fasl file version number has changed again. (because of the
8410 bug fix involving the names of PCL MAKE-INSTANCE functions)
8412 changes in sbcl-0.7.6 relative to sbcl-0.7.5:
8413 * bug fix: Floating point exceptions are treated much more
8414 consistently on the x86/Linux and PPC/Linux platforms.
8415 * Array initialization with :INITIAL-ELEMENT is now much faster for
8416 cases when the compiler cannot open code the array creation, but
8417 does know what the UPGRADED-ARRAY-ELEMENT-TYPE will be. General
8418 array accesses have also seen a speed increase.
8419 * bug fix: LOAD :IF-DOES-NOT-EXIST NIL now works when file type is
8420 specified. (This was at the root of some bad interactions between
8421 SBCL and ILISP: thanks to Gregory Wright for diagnosing this and
8423 * bug fix: Internal error arguments for undefined functions are now
8424 computed correctly on the PPC/Linux platform.
8425 * bug fix: Bad &REST syntax is now checked correctly. (thanks to
8426 Raymond Toy's patch for CMU CL)
8427 * Support for the Solaris 9 operating environment has been included
8428 (thanks to Daniel Merritt)
8429 * A very ugly but hopefully complete draft of the missing FFI chapter
8430 of the manual has been created by reformatting the corresponding
8431 CMU CL manual chapter into (currently very ugly and incoherent)
8432 DocBook and bringing it up to date for SBCL behavior. Thus, the
8433 manual is now essentially complete, at least by my extreme
8434 once-and-only-once standards, whereby it's acceptable to refer to
8435 the doc strings of SB-EXT functions as the primary documentation.
8436 * The fasl file version number has changed again, due to cleanup of
8437 (user-invisible) bitrotted stuff. (E.g. *!INITIAL-FDEFN-OBJECTS*
8438 is no longer a static symbol.)
8440 changes in sbcl-0.7.5 relative to sbcl-0.7.4:
8441 * SBCL now builds with OpenMCL (version 0.12) as the
8442 cross-compilation host; also, more progress has been made toward
8443 bootstrapping under CLISP.
8444 * SBCL now runs on the Tru64 (aka OSF/1) operating system on the
8446 * bug 158 fixed: The compiler can now deal with integer loop
8447 increments different from 1; fixing this turned out also to fix
8449 * bug 169 fixed: no more bogus warnings about using lexical bindings
8450 despite the presence of perfectly good SPECIAL declarations (thanks
8451 to David Lichteblau)
8452 * bug 175 fixed: CHANGE-CLASS is now more ANSI-conforming,
8453 accepting initargs. (thanks to Espen Johnsen and Pierre Mai)
8454 * bug 179 fixed: DIRECTORY can now deal with filenames with pattern
8456 * bug 180 fixed: Method combination specifications no longer ignore
8457 the :MOST-SPECIFIC-LAST option. (thanks to Pierre Mai)
8458 * bug fix: Structure type predicate functions now check their argument
8459 count as they should.
8460 * bug fix: Classes with :METACLASS STRUCTURE-CLASS now print
8461 correctly. (thanks to Pierre Mai)
8462 * minor incompatible change: The --noprogrammer option is deprecated
8463 in favor of the new --disable-debugger option, which is very similar.
8464 (The major difference is that it takes effect at a slightly different
8465 time at startup, causing handling of errors in --sysinit and
8466 --userinit files will be affected differently.) The
8467 SB-EXT:DISABLE-DEBUGGER and SB-EXT:ENABLE-DEBUGGER functions have
8468 been added to allow this functionality to be controlled from ordinary
8469 Lisp code. (ENABLE-DEBUGGER should help people like the Debian
8470 maintainers, who might want to run non-interactive scripts to
8471 build SBCL cores which will later be used interactively.)
8472 * minor incompatible change: The LOAD function no longer, when given
8473 a wild pathname to load, loads all files matching that pathname.
8474 Instead, an error of type FILE-ERROR is signalled.
8476 changes in sbcl-0.7.4 relative to sbcl-0.7.3:
8477 * bug 147 fixed: The compiler preserves its block link/count
8478 invariants more correctly now so that it doesn't crash. (thanks
8480 * Dynamic loading of object files in OpenBSD is now supported. (thanks
8482 * COMPILE now works correctly on macros. (thanks to Matthias Hoelzl)
8483 * GET-MACRO-CHARACTER and SET-MACRO-CHARACTER now represent
8484 no-value-for-this-character as NIL (as specified by ANSI).
8485 * HOST-NAMESTRING on physical pathnames now returns a string that is
8486 valid as a host argument to MERGE-PATHNAMES and to MAKE-PATHNAME.
8487 (thanks to Christophe Rhodes)
8488 * The Alpha port handles icache flushing more correctly. (thanks to
8490 * More progress has been made toward bootstrapping under CLISP. (thanks
8491 to Christophe Rhodes)
8492 * The fasl file format has changed again, because dynamic loading
8493 on OpenBSD (which has non-ELF object files) motivated some cleanups
8494 in the way that foreign symbols are transformed and passed around.
8495 * minor incompatible change: The ASCII RUBOUT character, (CHAR-CODE 127),
8496 is no longer treated as whitespace by the reader, but instead as
8497 an ordinary character. Thus e.g. (READ-FROM-STRING "A
\x7fB") returns
8498 |A
\x7fB|, instead of A as it used to.
8500 changes in sbcl-0.7.3 relative to sbcl-0.7.2:
8501 * ANSI's DEFINE-SYMBOL-MACRO is now supported. (thanks to Nathan
8502 Froyd porting CMU CL code originally by Douglas Thomas Crosher)
8503 * SBCL now runs on the PPC archtiecture under Linux. It actually did
8504 this as of 0.7.1.45, but was left out of the previous news section
8505 (thanks to Dan Barlow)
8506 * SBCL now runs on the Solaris operating system on SPARC architectures
8507 (thanks to Christophe Rhodes's port of the CMUCL runtime)
8508 * cleanups to the runtime on SPARC, both Linux and Solaris, and for
8509 gcc>=3 (thanks to Nathan Froyd and Ingvar Mattsson)
8510 * SPARC backend cleanups, allowing builds of cores optimized for V8
8511 and V9 SPARCS, and also emission of code targeted to a particular
8512 backend chosen at runtime (thanks to Christophe Rhodes and Raymond
8514 * SBCL is closer to bootstrapping under CLISP, thanks to various
8515 fixes by Christophe Rhodes.
8516 * The fasl file format has changed again, to allow the compiler's
8517 INFO database to support symbol macros.
8518 * The user manual (in doc/) is formatted into HTML more nicely.
8519 (thanks to coreythomas)
8520 * The system is smarter about SUBTYPEP relationships, especially
8521 those involving NOT types (including types such as ATOM which are
8522 represented internally using NOT types). Thus SUBTYPEP is less
8523 likely to return (VALUES NIL NIL) in general, and in particular
8524 bugs 58 and (the remaining bits of) bug 50 are fixed. (thanks to
8526 * The fasl file format has changed again, because the internal
8527 representation of types now includes a new slot to support the new
8528 SUBTYPEP-of-NOT-types logic.
8529 * (not a change in the main branch of SBCL, but a related prototype
8530 which can hopefully be merged into the main branch of SBCL in the
8531 future:) Brian Spilsbury has produced a Unicode-enabled variant of
8532 sbcl-0.7.0, available as a patch against sbcl-0.7.0 at
8533 <http://designix.com.au/brian/SBCL/sbcl-0.7.0-unicode.p0.gz>.
8534 * Bug 151 fixed: GET-DISPATCH-MACRO-CHAR now returns NIL for undefined
8535 dispatch macro character combinations. (thanks to Alexey Dejneka)
8536 * Bugfix in PARSE-NAMESTRING: we now correctly parse unix namestrings
8537 that superficially look like logical namestrings correctly.
8538 * USER-HOMEDIR-PATHNAME now returns a (physical) pathname that SBCL
8540 * Bugfix in DEFSTRUCT: BOA constructor lambda lists now accept (name
8541 default supplied-p) for &optional and &key arguments. (thanks to
8544 changes in sbcl-0.7.2 relative to sbcl-0.7.1:
8545 * incompatible change: The compiler is now less aggressive about
8546 tail call optimization, doing it only when (> SPACE DEBUG) or
8547 (> SPEED DEBUG). (This is an incompatible change because there are
8548 programs which relied on the old CMU-CL-style behavior to optimize
8549 away their unbounded recursion which will now die of stack overflow.)
8550 * minor incompatible change: The default BYTES-CONSED-BETWEEN-GCS
8551 for non-GENCGC systems has been increased to 20M (since that
8552 seems much closer to the likely performance optimum for modern
8553 systems than the old 4M value was)
8554 * minor incompatible change: new larger values for *DEBUG-PRINT-LENGTH*
8555 and *DEBUG-PRINT-LEVEL*
8556 * SBCL runs on SPARC systems now. (thanks to Christophe Rhodes' port
8557 of CMU CL's support for SPARC, and various endianness and other
8558 SBCL portability fixes due to Christophe Rhodes and Dan Barlow)
8559 * new syntactic sugar for the Unix command line: --load foo.bar is now
8560 an alternate notation for --eval '(load "foo.bar")'.
8562 ** The system now detects stack overflow and handles it gracefully,
8563 at least for (OR (> SAFETY (MAX SPEED SPACE)) (= SAFETY 3))
8564 optimization settings. (This is a good thing in general, and
8565 its introduction in this version should be particularly timely
8566 for anyone whose code fails because of suppression of tail
8568 ** The system now hunts for the C variable "environ" in a more
8569 devious way, to avoid segfaults when the C library version differs
8570 between compile time and run time. (thanks to Christophe Rhodes)
8571 ** INTEGER-valued CATCH tags now work. (thanks to Alexey Dejneka,
8572 and also to Christophe Rhodes for porting the fix to non-X86 CPUs)
8573 ** The compiler no longer issues bogus style warnings for undefined
8574 classes in the same source file as the DEFCLASSes which defined
8575 them. (thanks to Stig E Sandoe for reporting and Martin Atzmueller
8577 ** fixes in CONDITION class precedence list for undefined function
8578 errors (thanks to Alexei Dejneka)
8579 ** *DEFAULT-PATHNAME-DEFAULTS* is used more consistently and
8580 correctly. (thanks to Dan Barlow)
8581 ** portability fixes aiming at bootstrapping under CLISP (thanks
8582 to Dave McDonald and Christophe Rhodes)
8583 ** FORMAT fixes (thanks to Robert Strandh and Dan Barlow)
8584 ** fixes in type translation and and type inference (thanks to
8586 ** fixes to optimizer internal errors (thanks to Alexei Dejneka)
8587 ** various fixes in the new ports (thanks to Dan Barlow)
8588 * several changes related to debugging:
8589 ** suppression of tail recursion, as noted above
8590 ** stack overflow detection, as noted above
8591 ** The default implementation of TRACE has changed. :ENCAPSULATE T
8592 is now the default. (For some time encapsulation has been more
8593 reliable than the breakpoint-based :ENCAPSULATE NIL
8594 implementation, at least on X86 systems; and I just noticed that
8595 encapsulation also seems closer to the spirit of the ANSI
8598 changes in sbcl-0.7.1 relative to sbcl-0.7.0:
8600 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are set
8601 up properly again. (There was a packaging bug in 0.7.0 which
8602 left their definitions in SB-SYS::LOAD-FOREIGN and
8603 SB-SYS::LOAD-1-FOREIGN. LOAD-FOREIGN and LOAD-1-FOREIGN are
8604 vital for most things which interface to C-level interfaces,
8605 like extensions working with sockets or databases or
8606 Perl-compatible regexes or whatever, and the need to fix
8607 this bug is the main reason that 0.7.1 was released so
8609 ** DEFGENERIC is now choosier about the methods it redefines, so that
8610 reLOADing a previously-LOADed file containing DEFGENERICs does
8611 the right thing now. Thus, the Lispy edit/reLOAD-a-little/test
8612 cycle now works as it should. (thanks to Alexey Dejneka)
8613 ** Bug 106 (types (COMPLEX FOO) where FOO is an obscure type) was
8614 fixed by Christophe Rhodes. (He actually submitted this patch
8615 months ago, and I delayed until after 0.7.0.)
8616 ** Bug 111 (internal compiler confusion about runtime checks on
8617 FUNCTION types) was fixed by Alexey Dejneka.
8618 * Some internal cleanups (getting rid of variables which aren't
8619 needed now that the byte interpreter is gone) caused the fasl
8620 file format number to change again.
8622 changes in sbcl-0.7.0 relative to sbcl-0.6.13:
8623 * major incompatible change: The default fasl file extension, i.e. the
8624 default extension for files produced by COMPILE-FILE, has changed
8625 to ".fasl", for all architectures. (No longer ".x86f" and ".axpf".)
8627 ** There are many changes in the implementation of the compiler.
8628 SBCL is now essentially a compiler-only implementation of ANSI
8629 Common Lisp. EVAL still "interprets" a few special cases, but
8630 almost all the interesting cases are handled by creating
8631 a LAMBDA expression, calling COMPILE on it, then calling
8632 FUNCALL on the result.
8633 ** The EVAL-WHEN code has been rewritten to be ANSI-compliant, and
8634 various related bugs (IR1-1, IR1-2, IR1-3, IR1-3a) have gone away.
8635 Since the code is newer, there might still be some new bugs
8636 (though not as many as before Martin Atzmueller's fixes:-). But
8637 the new code is substantially simpler and clearer, and hopefully
8638 any remaining bugs will be simpler, less fundamental, and more
8639 fixable then the bugs in the old code.
8640 ** The revised compiler is still a little unsteady on its feet.
8642 *** The debugging information it produces (particularly the names
8643 of FUNCTION objects) is sometimes much less useful than what
8644 the old compiler produced.
8645 *** The support for inlining FOO when you (DECLAIM (INLINE FOO))
8646 then do (DEFUN FOO ..) in a non-null lexical environment (e.g.
8647 within a MACROLET) has been temporarily weakened.
8648 ** There are new compiler optimizations for various functions:
8649 *** the sequence functions FIND, POSITION, FIND-IF, POSITION-IF,
8650 FIND-IF-NOT, POSITION-IF-NOT, and FILL
8651 *** the math functions TRUNCATE, FLOOR, and CEILING
8652 *** the function-of-all-trades COERCE
8653 Mostly these should be transparent, but there's one
8654 potentially-annoying problem (bug 117): when the compiler
8655 inline-expands a function and does type analysis on the result,
8656 it can create control paths which have type mismatches, and
8657 when it can't prove that those control paths aren't taken,
8658 it will issue WARNINGs about the type mismatches. This is
8659 a particular problem in practice for the new sequence functions.
8660 It's not clear how this should be fixed, and for now, a
8661 workaround is given in the entry for 117 in the BUGS file.
8662 ** (Because of the interaction between the two previous items --
8663 occasional inlining problems and new inline expansions -- some
8664 of the new sequence function optimizations won't really kick in
8665 completely until debugging information, and then inlining, are
8666 straightened out in some future version.)
8667 * minor incompatible changes:
8668 ** As part of a bug fix by Christophe Rhodes to DIRECTORY behavior,
8669 DIRECTORY no longer implicitly promotes NIL slots of its
8670 pathname argument to :WILD. In particular, when you ask for the
8671 contents of a directory (which you used to be able to do without
8672 explicit wildcards, e.g. (DIRECTORY "/tmp/")) you now need to use
8673 explicit wildcards, e.g. (DIRECTORY "/tmp/*.*").
8674 ** changes in behavior that ANSI explicitly defines to be
8675 implementation dependent:
8676 *** The new compiler-only implementation still conforms with ANSI,
8677 but acts a little different than before. Besides the obvious
8678 changes in performance tradeoffs (that the cost per form passed
8679 to EVAL has gone up, and the cost per form executed by EVAL
8680 has gone down), the behavior of the system changes a little
8681 because there are no longer any interpreted function objects.
8682 COMPILED-FUNCTION-P is now synonymous with FUNCTIONP, and
8683 e.g. doing COMPILE on the output of interactive DEFUN is
8685 *** The value of INTERNAL-TIME-UNITS-PER-SECOND has been increased
8687 *** The default for the USE list in MAKE-PACKAGE and DEFPACKAGE
8688 has changed from (:CL) to NIL.
8689 *** The CHAR-NAME of unprintable ASCII characters which, unlike
8690 e.g. #\Newline and #\Tab, don't have names specified in the
8691 ANSI Common Lisp standard, is now based on their ASCII symbolic
8692 names (#\Nul, #\Soh, #\Stx, etc.) The old CMU-CL-style names
8693 (#\Null, #\^a, #\^b, etc.) are still accepted by NAME-CHAR, but
8694 are no longer used for output.
8695 ** changes in internal implementation constants:
8696 *** The default value of *BYTES-CONSED-BETWEEN-GCS* has doubled, to
8697 4 million. (If your application spends a lot of time GCing and
8698 you have a lot of RAM, you might want to experiment with
8699 increasing it even more.)
8700 ** The SB-C-CALL package has been merged into the SB-ALIEN package.
8701 However, almost all old code should still continue to work without
8702 immediate update, as SB-C-CALL is now a (deprecated) nickname
8704 ** Old operator names in the style DEF-FOO are now deprecated in
8705 favor of new corresponding names DEFINE-FOO, for consistency with
8706 the naming convention used in the ANSI standard (DEFSTRUCT, DEFVAR,
8707 DEFINE-CONDITION, DEFINE-MODIFY-MACRO..). This mostly affects
8708 internal symbols, but a few supported extensions like
8709 SB-ALIEN:DEF-ALIEN-FUNCTION are also affected. (So e.g.
8710 DEF-ALIEN-FUNCTION becomes DEFINE-ALIEN-FUNCTION.)
8711 ** The debugger prompt sequence now goes "5]", "5[2]", "5[3]",
8712 etc. as you get deeper into recursive calls to the debugger
8713 command loop, instead of the old "5]", "5]]", "5]]]"
8714 sequence. (I was motivated to do this when squabbles between
8715 ILISP and SBCL left me very deeply nested in the debugger. In the
8716 short term, this change will probably provoke more ILISP/SBCL
8717 squabbles, but hopefully it will be an improvement in the long run.)
8718 ** SB-ALIEN:DEFINE-ALIEN-FUNCTION (also known by the old deprecated
8719 name DEF-ALIEN-FUNCTION) now does DECLAIM FTYPE for the defined
8720 function, since declaiming return types involving aliens is
8721 (1) annoyingly messy to do by hand and (2) vital to efficient
8722 compilation of code which calls such functions.
8723 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are no
8724 longer reexported by the SB-EXT package. They're solely useful
8725 for alien code, so it seems more logical that you should get
8726 them from the SB-ALIEN package, not in SB-EXT.
8727 ** :SB-CONSTRAIN-FLOAT-TYPE, :SB-PROPAGATE-FLOAT-TYPE, and
8728 :SB-PROPAGATE-FUN-TYPE are no longer considered to be optional
8729 features. Instead, the code that they used to control is always
8730 built into the system.
8731 * many other bug fixes
8732 ** DEFSTRUCT and DEFCLASS have been substantially updated to take
8733 advantage of the new EVAL-WHEN stuff and to clean them up in
8734 general, and they are now more ANSI-compliant in a number of
8735 ways. Martin Atzmueller is responsible for a lot of this.
8736 ** Besides the cleanups discussed above, Martin Atzmueller fixed
8738 *** fixes in READ-SEQUENCE and WRITE-SEQUENCE
8739 *** correct ERROR type for various file operations
8740 *** some fixes for Lisp streams
8741 *** DEFMETHOD syntax checking
8742 *** changing old weird representation of debug information as
8743 strings (which, among their other deficiencies, don't transform
8744 correctly when you rename packages, and don't change their
8745 print representation when you change things like *PACKAGE*
8746 and *PRINT-LENGTH*) to symbols and lists of symbols
8747 He also made several improvements and fixed several bugs in DESCRIBE.
8748 ** Alexey Dejneka fixed many bugs, including classic bugs and bugs he
8750 *** misbehavior of WRITE-STRING/WRITE-LINE
8751 *** LOOP over keys of a hash table, LOOP bugs 49b and 81 and 103,
8752 and several other LOOP problems as well
8753 *** DIRECTORY when similar filenames are present
8754 *** DEFGENERIC with :METHOD options
8755 *** bug 126, in (MAKE-STRING N :INITIAL-ELEMENT #\SPACE))
8756 *** bug in the optimization of ARRAY-ELEMENT-TYPE
8757 *** argument ordering in FIND with :TEST option
8758 *** mishandled package designator argument in APROPOS-LIST
8759 *** various problems in the backquote readmacro
8760 *** a bug in APROPOS
8761 *** probably some others that I'm not describing very well here,
8762 since the CVS log documents them by reference to sbcl-devel
8763 messages, and the SourceForge archives aren't working well.:-(
8764 ** Dan Barlow improved the Alpha port (and is making progress on the
8765 PPC port, for those of you who think different).
8766 ** Besides the DIRECTORY fixes and changes mentioned elsewhere,
8767 Christophe Rhodes cleaned up the system self-test scripts (in tests/*),
8768 contributed the optimization of FIND-IF-NOT and POSITION-IF-NOT, and
8769 continues to work on the SPARC port (for those of you in a position
8770 to look down upon our little PC-compatible boxes from a great height).
8771 ** PPRINT-LOGICAL-BLOCK now copies the *PRINT-LINES* value on entry
8772 and uses that copy, rather than the current dynamic value, when
8773 it's trying to decide whether to truncate output. Thus e.g.
8774 (let ((*print-lines* 50))
8775 (pprint-logical-block (stream nil)
8777 (let ((*print-lines* 8))
8778 (print (aref possiblybigthings i) stream)))))
8779 should now truncate the logical block only at 50 lines, instead of
8780 often truncating it at 8 lines, as it did before.
8781 * The doc/cmucl/ directory, containing old CMU CL documentation
8782 from the time of the fork, is no longer part of the base system.
8783 SourceForge has shut down its anonymous FTP service, and with it
8784 my original plan for distributing the old CMU CL documentation
8785 there. For now, if you need these files you can download an old
8786 SBCL source release and extract them from it.
8787 * The fasl file version number changed again, for dozens of reasons,
8788 some of which are apparent above.
8790 changes in sbcl-0.6.13 relative to sbcl-0.6.12:
8791 * a port to the Compaq/DEC Alpha CPU, thanks to Dan Barlow
8792 * Martin Atzmueller ported Tim Moore's marvellous CMU CL DISASSEMBLE
8793 patch, so that DISASSEMBLE output is much nicer.
8794 * The code in the SB-PROFILE package now seems reasonably stable.
8795 I still haven't decided what the final interface should look like
8796 (I'd like PROFILE to interact cleanly with TRACE, since both
8797 facilities use function encapsulation) but if you have a need
8798 for profiling now, you can probably use it successfully with
8799 the current CMU-CL-style interface.
8800 * Pathnames and *DEFAULT-DIRECTORY-DEFAULTS* are much more
8801 ANSI-compliant, thanks to various fixes and tests from Dan Barlow.
8802 Also, at Dan Barlow's suggestion, TRUENAME on a dangling symbolic
8803 link now returns the dangling link itself, and for similar
8804 reasons, TRUENAME on a cyclic symbolic link returns the cyclic
8805 link itself. (In these cases the old code signalled an error and
8806 looped endlessly, respectively.) Thus, DIRECTORY now works even
8807 in the presence of dangling and cyclic symbolic links.
8808 * Compiler trace output (the :TRACE-FILE option to COMPILE-FILE)
8809 is now a supported extension again, since the consensus on
8810 sbcl-devel was that it can be useful for ordinary development
8811 work, not just for debugging SBCL itself.
8812 * The default for SB-EXT:*DERIVE-FUNCTION-TYPES* has changed to
8813 NIL, i.e. ANSI behavior, i.e. the compiler now recognizes
8814 that currently-defined functions might be redefined later with
8815 different return types.
8816 * Hash tables can be printed readably, as inspired by CMU CL code
8817 of Eric Marsden and SBCL code of Martin Atzmueller.
8818 * better error handling in CLOS method combination, thanks to
8819 Martin Atzmueller porting Pierre Mai's CMU CL patches
8820 * more overflow fixes for >16Mbyte I/O buffers
8821 * A bug in READ has been fixed, so that now a single Ctrl-D
8822 character suffices to cause end-of-file on character streams.
8823 In particular, now you only need one Ctrl-D at the command
8824 line (not two) to exit SBCL.
8825 * fixed bug 26: ARRAY-DISPLACEMENT now returns (VALUES NIL 0) for
8827 * fixed bug 107 (reported as a CMU CL bug by Erik Naggum on
8828 comp.lang.lisp 2001-06-11): (WRITE #*101 :RADIX T :BASE 36) now
8829 does the right thing.
8830 * The implementation of some type tests, especially for CONDITION
8831 types, is now tidier and maybe faster, due to CMU CL code
8832 originally by Douglas Crosher, ported by Martin Atzmueller.
8833 * Some math functions have been fixed, and there are new
8834 optimizers for deriving the types of COERCE and ARRAY-ELEMENT-TYPE,
8835 thanks to Raymond Toy's work on CMU CL, ported by Martin Atzmueller.
8836 * (There are also some new optimizers in contrib/*-extras.lisp. Those
8837 aren't built into sbcl-0.6.13, but are a sneak preview of what's
8838 likely to be built into sbcl-0.7.0.)
8839 * A bug in COPY-READTABLE was fixed. (Joao Cachopo's patch to CMU
8840 CL, ported to SBCL by Martin Atzmueller)
8841 * DESCRIBE now gives more information in some cases. (Pierre Mai's
8842 patch to CMU CL, ported to SBCL by Martin Atzmueller)
8843 * Martin Atzmueller and Bill Newman fixed some bugs in INSPECT.
8844 * There's a new slam.sh hack to shorten the edit/compile/debug
8845 cycle for low-level changes to SBCL itself, and a new
8846 :SB-AFTER-XC-CORE target feature to control the generation of
8847 the after-xc.core file needed by slam.sh.
8848 * minor incompatible change: The ENTRY-POINTS &KEY argument to
8849 COMPILE-FILE is no longer supported, so that now every function
8850 gets an entry point, so that block compilation looks a little
8851 more like the plain vanilla ANSI section 3.2.2.3 scheme.
8852 * minor incompatible change: SB-EXT:GET-BYTES-CONSED now
8853 returns the number of bytes consed since the system started,
8854 rather than the number consed since the first time the function
8855 was called. (The new definition parallels ANSI functions like
8856 CL:GET-INTERNAL-RUN-TIME.)
8857 * minor incompatible change: The old CMU-CL-style DIRECTORY options,
8858 i.e. :ALL, :FOLLOW-LINKS, and :CHECK-FOR-SUBDIRS, are no longer
8859 supported. Now DIRECTORY always does the abstract Common-Lisp-y
8860 thing, i.e. :ALL T :FOLLOW-LINKS T :CHECK-FOR-SUBDIRS T.
8861 * Fasl file version numbers are now independent of the target CPU,
8862 since historically most system changes which required version
8863 number changes have affected all CPUs equally. Similarly,
8864 the byte fasl file version is now equal to the ordinary
8867 changes in sbcl-0.6.12 relative to sbcl-0.6.11:
8868 * incompatible change: The old SB-EXT:OPTIMIZE-INTERFACE declaration
8869 is no longer recognized. I apologize for this, because it was
8870 listed in SB-EXT as a supported extension, but I found that
8871 its existing behavior was poorly specified, as well as incorrectly
8872 specified, and it looked like too much of a mess to straighten it
8873 out. I have enough on my hands trying to get ANSI stuff to work..
8874 * many patches ported from CMU CL by Martin Atzmueller, with
8875 half a dozen bug fixes in pretty-printing and the debugger, and
8876 half a dozen others elsewhere
8877 * fixed bug 13: Floating point infinities are now supported again.
8878 They might still be a little bit flaky, but thanks to bug reports
8879 from Nathan Froyd and CMU CL patches from Raymond Toy they're not
8880 as flaky as they were.
8881 * The --noprogrammer command line option is now supported. (Its
8882 behavior is slightly different in detail from what the old man
8883 page claimed it would do, but it's still appropriate under the
8884 same circumstances that the man page talks about.)
8885 * The :SB-PROPAGATE-FLOAT-TYPE and :SB-PROPAGATE-FUN-TYPE features
8886 are now supported, and enabled by default. Thus, the compiler can
8887 handle many floating point and complex operations much less
8888 inefficiently. (Thus e.g. you can implement a complex FFT
8890 * The compiler now detects type mismatches between DECLAIM FTYPE
8891 and DEFUN better, and implements CHECK-TYPE more correctly, and
8892 SBCL builds under CMU CL again despite its non-ANSI EVAL-WHEN,
8893 thanks to patches from Martin Atzmueller.
8894 * various fixes to make the cross-compiler more portable to
8895 ANSI-conforming-but-different cross-compilation hosts (notably
8896 Lispworks for Windows, following bug reports from Arthur Lemmens)
8897 * A bug in READ-SEQUENCE for CONCATENATED-STREAM, and a gross
8898 ANSI noncompliance in DEFMACRO &KEY argument parsing, have been
8899 fixed thanks to Pierre Mai's CMU CL patches.
8900 * fixes to keep the system from overflowing internal counters when
8901 it tries to use i/o buffers larger than 16M bytes
8902 * fixed bug 45a: Various internal functions required to support
8903 complex special functions have been merged from CMU CL sources.
8904 (When I was first setting up SBCL, I misunderstood a compile-time
8905 conditional #-OLD-SPECFUN, and so accidentally deleted them.)
8906 * improved support for type intersection and union, fixing bug 12
8907 (e.g., now (SUBTYPEP 'KEYWORD 'SYMBOL)=>T,T) and some other
8908 more obscure bugs as well
8909 * some steps toward byte-compiling non-performance-critical
8910 parts of the system, courtesy of patches from Martin Atzmueller
8911 * Christophe Rhodes has made some debian packages of sbcl at
8912 <http://www-jcsu.jesus.cam.ac.uk/ftp/pub/debian/lisp>.
8913 From his sbcl-devel e-mail of 2001-04-08 they're not completely
8914 stable, but are nonetheless usable. When he's ready, I'd be happy
8915 to add them to the SourceForge "File Releases" section. (And if
8916 anyone wants to do RPMs or *BSD packages, they'd be welcome too.)
8917 * new fasl file format version number (because of changes in
8918 internal representation of (OR ..) types to accommodate the new
8919 support for (AND ..) types, among other things)
8921 changes in sbcl-0.6.11 relative to sbcl-0.6.10:
8922 * Martin Atzmueller pointed out that bugs #9 and #25 are gone in
8924 * bug 34 fixed by Martin Atzmueller: dumping/loading instances works
8926 * fixed bug 40: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE,
8927 and UPGRADED-COMPLEX-PART-TYPE now work better with of compound
8928 types built from undefined types, e.g. '(VECTOR SOME-UNDEF-TYPE).
8929 * DESCRIBE now works on structure objects again.
8930 * Most function call argument type mismatches are now handled as
8931 STYLE-WARNINGs instead of full WARNINGs, since the compiler doesn't
8932 know whether the function will be redefined before the call is
8933 executed. (The compiler could flag local calls with full WARNINGs,
8934 as per the ANSI spec "3.2.2.3 Semantic Constraints", but right now
8935 it doesn't keep track of enough information to know whether calls
8936 are local in this sense.)
8937 * Compiler output is now more verbose, with messages truncated
8938 later than before. (There should be some supported way for users
8939 to override the default verbosity, but I haven't decided how to
8940 provide it yet, so this behavior is still controlled by the internal
8941 SB-C::*COMPILER-ERROR-PRINT-FOO* variables in
8942 src/compiler/ir1util.lisp.)
8943 * Fasl file format version numbers have increased again, because
8944 support for the Gray streams extension changes the layout of the
8945 system's STREAM objects.
8946 * The Gray subclassable streams extension now works, thanks to a
8947 patch from Martin Atzmueller.
8948 * The full LOAD-FOREIGN extension (not just the primitive
8949 LOAD-FOREIGN-1) now works, thanks to a patch from Martin Atzmueller.
8950 * The default behavior of RUN-PROGRAM has changed. Now, unlike CMU CL
8951 but like most other programs, it defaults to copying the Unix
8952 environment from the original process instead of starting the
8953 new process in an empty environment.
8954 * Extensions which manipulate the Unix environment now support
8955 an :ENVIRONMENT keyword option which doesn't smash case or
8956 do other bad things. The CMU-CL-style :ENV option is retained
8957 for porting convenience.
8958 * LOAD-FOREIGN (and LOAD-1-FOREIGN) now support logical pathnames,
8959 as per Daniel Barlow's suggestion and Martin Atzmueller's patch
8961 changes in sbcl-0.6.10 relative to sbcl-0.6.9:
8963 * A patch from Martin Atzmueller seems to have solved the SIGINT
8964 problem, and as far as we know, signal-handling now works cleanly.
8965 (If you find any new bugs, please report them!)
8966 * The system no longer defaults Lisp source file names to types
8967 ".l", ".cl", or ".lsp", but only to ".lisp".
8968 * The compiler no longer uses special default file extensions for
8969 byte-compiled code. (The ANSI definition of COMPILE-FILE-PATHNAME
8970 seems to expect a single default extension for all compiled code,
8971 and there's no compelling reason to try to stretch the standard
8972 to allow two different extensions.) Instead, byte-compiled files
8973 default to the same extension as native-compiled files.
8974 * Fasl file format version numbers have increased again, because
8975 a rearrangement of internal implementation packages made some
8976 dumped symbols in old fasl files unreadable in new cores.
8977 * DECLARE/DECLAIM/PROCLAIM logic is more nearly ANSI in general, with
8978 many fewer weird special cases.
8979 * Bug #17 (differing COMPILE-FILE behavior between logical and
8980 physical pathnames) has been fixed, and some related misbehavior too,
8981 thanks to a patch from Martin Atzmueller.
8982 * Bug #30 (reader problems) is gone, thanks to a CMU CL patch
8983 by Tim Moore, ported to SBCL by Martin Atzmueller.
8984 * Martin Atzmueller fixed several filesystem-related problems,
8985 including bug #36, in part by porting CMU CL patches, which were
8986 written in part by Paul Werkowski.
8987 * More compiler warnings in src/runtime/ are gone, thanks to
8988 more patches from Martin Atzmueller.
8989 * Martin Atzmueller pointed out that bug 37 was fixed by his patches
8992 changes in sbcl-0.6.9 relative to sbcl-0.6.8:
8994 * DESCRIBE now works on CONDITION objects.
8995 * The debugger now handles errors which arise when trying to print
8996 *DEBUG-CONDITION*, so that it's less likely to fall into infinite
8998 * The build system now uses an additional file, customize-target-features.lisp,
8999 to allow local modifications to the target *FEATURES* list. (The point of
9000 this is that now I can set up a custom configuration, e.g. with :SB-SHOW
9001 debugging features enabled, without having to worry about propagating it
9002 into everyone's system when I do a "cvs update".) When no
9003 customize-target-features.lisp file exists, the target *FEATURES* list
9004 should be constructed the same way as before.
9005 * fixed bugs in DEFCONSTANT ANSI-compatibility:
9006 ** DEFCONSTANT now tests reassignments using EQL, not EQUAL, in order to
9007 warn about behavior which is undefined under the ANSI spec. Note: This
9008 is specified by ANSI, but it's not very popular with programmers.
9009 If it causes you problems, take a look at the new SB-INT:DEFCONSTANT-EQX
9010 macro in the SBCL sources for an example of a workaround which you
9011 might use to make portable ANSI-standard code which does what you want.
9012 ** DEFCONSTANT's implementation is now based on EVAL-WHEN instead of on
9013 pre-ANSI IR1 translation magic, so it does the ANSI-specified thing
9014 when it's used as a non-toplevel form. (This is required in order
9015 to implement the DEFCONSTANT-EQX macro.)
9016 ** (DEFCONSTANT X 1) (DEFVAR X) (SETF X 2) no longer "works".
9017 ** Unfortunately, non-toplevel DEFCONSTANT forms can still do some
9018 funny things, due to bugs in the implementation of EVAL-WHEN
9019 (bug #IR1-3). This probably won't be fixed until 0.7.x. (Fortunately,
9020 non-toplevel DEFCONSTANTs are uncommon.)
9021 * The core file version number and fasl file version number have been
9022 incremented, because the old noncompliant DEFCONSTANT behavior involved
9023 calling functions which no longer exist, and because I also took the
9024 opportunity to chop an unsupported slot out of the DEBUG-SOURCE structure.
9025 * fixed bug 1 (error handling before read-eval-print loop starts), and
9026 redid debugger restarts and related debugger commands somewhat while
9028 ** The QUIT debugger command is gone, since it did something
9029 rather different than the SB-EXT:QUIT command, and since it never
9030 worked properly outside the main toplevel read/eval/print loop.
9031 Invoking the new TOPLEVEL restart provides the same functionality.
9032 ** The GO debugger command is also gone, since you can just invoke
9033 the CONTINUE restart directly instead.
9034 ** The TOP debugger command is also gone, since it's redundant with the
9035 FRAME 0 command, and since it interfered with abbreviations for the
9037 * The system now recovers better from non-PACKAGE values of the *PACKAGE*
9039 * The system now understands compound CONS types (e.g. (CONS FIXNUM T))
9040 as required by ANSI. (thanks to Douglas Crosher's CMU CL patches, with
9041 some porting work by Martin Atzmueller)
9042 * Martin Atzmueller reviewed the CMU CL mailing lists and came back
9043 with a boatload of patches which he ported to SBCL. Now that those
9045 ** The system tries to make sure that its low-priority messages
9046 are prefixed by semicolons, to help people who like to use
9047 syntax highlighting in their ILISP buffer. (This patch
9048 was originally due to Raymond Toy.)
9049 ** The system now optimizes INTEGER-LENGTH better, thanks to more
9050 patches originally written by Raymond Toy.
9051 ** The compiler understands coercion between single-value and
9052 multiple-VALUES type expressions better, getting rid of some very
9053 weird behavior, thanks to patches originally by Robert MacLachlan
9054 and Douglas Crosher.
9055 ** The system understands ANSI-style non-KEYWORD &KEY arguments in
9056 lambda lists, thanks to a patch originally by Pierre Mai.
9057 ** The system no longer bogusly warns about "abbreviated type
9059 ** The compiler gets less confused by inlining and RETURN-FROM,
9060 thanks to some patches originally by Tim Moore.
9061 ** The system no longer hangs when dumping circular lists to fasl
9062 files, thanks to a patch originally from Douglas Crosher.
9063 * Martin Atzmueller also fixed ROOM, so that it no longer fails with an
9064 undefined function error.
9065 * gave up on fixing bug 3 (forbidden-by-ANSI warning for type mismatch
9066 in structure slot initforms) for now, documented workaround instead:-|
9067 * fixed bug 4 (no WARNING for DECLAIM FTYPE of slot accessor function)
9068 * fixed bug 5: added stubs for various Gray stream functions called
9069 in the not-a-CL:STREAM case, so that even when Gray streams aren't
9070 installed, at least appropriate type errors are generated
9071 * fixed bug 8: better reporting of various PROGRAM-ERRORs
9072 * fixed bug 9: IGNORE and IGNORABLE now work reasonably and more
9073 consistently in DEFMETHOD forms.
9074 * removed bug 21 from BUGS, since Martin Atzmueller points out that
9075 it doesn't seem to affect SBCL after all
9076 * The C runtime system now builds with better optimization and many
9077 fewer warnings, thanks to lots of cleanups by Martin Atzmueller.
9079 changes in sbcl-0.6.8 relative to sbcl-0.6.7:
9081 * The system is now under CVS at SourceForge (instead of the
9082 CVS repository on my home machine).
9083 * The new signal handling code has been tweaked to treat register
9084 contents as (UNSIGNED-BYTE 32), as the old CMU CL code did,
9085 instead of (SIGNED-BYTE 32), as the C header files have it. (Code
9086 downstream, e.g. in debug-int.lisp, has implicit dependencies
9087 on the unsignedness of integer representation of machine words,
9088 and that caused the system to bomb out with infinite regress
9089 when trying to recover from type errors involving signed values,
9090 e.g. (BUTLAST '(1 2 3) -1).)
9091 * (BUTLAST NIL) and (NBUTLAST NIL) now return NIL as they should.
9092 (This was one of the bugs Peter Van Eynde reported back in July.)
9093 * The system now uses code inspired by Colin Walters' O(N)
9094 implementation of MAP (from the cmucl-imp@cons.org mailing
9095 list, 2 September 2000) when it can't use a DEFTRANSFORM to
9096 inline the MAP operation, and there is more than one
9097 sequence argument to the MAP call (so that it can't just
9098 do ETYPECASE once and for all based on the type of the
9099 single sequence argument). (The old non-inline implementation
9100 of the general M-argument sequence-of-length-N case required
9101 O(M*N*N) time when any of the sequence arguments were LISTs.)
9102 * The QUIT :UNIX-CODE keyword argument has been renamed to
9103 QUIT :UNIX-STATUS. (The old name still works, but is deprecated.)
9104 * Raymond Wiker's patches to port RUN-PROGRAM from CMU CL to SBCL
9106 * Raymond Wiker's patches to port dynamic loading from Linux to
9107 FreeBSD have been added.
9108 * The BUGS file is now more nearly up to date, thanks in large part
9109 to Martin Atzmueller's review of it.
9110 * The debugger now flushes standard output streams before it begins
9111 its output ("debugger invoked" and so forth).
9112 * The core version number and fasl file version number have both
9113 been incremented, because of incompatible changes in the layout
9115 * FINISH-OUTPUT is now called more consistently on QUIT. (It
9116 used to not be called for a saved Lisp image.)
9117 * Martin Atzmueller's version of a patch to fix a compiler crash,
9118 as posted on sbcl-devel 13 September 2000, has been installed.
9119 * Instead of installing Martin Atzmueller's patch for the
9120 compiler transform for SUBSEQ, I deleted the compiler transform,
9121 and transforms for some similar consing operations.
9122 * A bug in signal handling which kept TRACE from working on OpenBSD
9124 * added enough DEFTRANSFORMs to allow (SXHASH 'FOO) to be optimized
9125 away by constant folding
9126 * The system now defines its address space constants in one place
9127 (in the Lisp sources), and propagates them automatically elsewhere
9128 (through GENESIS and the sbcl.h file). Therefore, patching the
9129 address map is less unnecessarily tedious and error-prone. The
9130 Lisp names of address space constants have also been systematized.
9131 * CVS tags like dollar-Header-dollar have been removed from
9132 the sources, because they have never saved me trouble and
9133 they've been source of trouble working with patches and other
9134 diff-related operations.
9135 * fixed the PROG1-vs.-PROGN bug in HANDLER-BIND (reported by
9136 ole.rohne@cern.ch on cmucl-help@cons.org 2000-10-25)
9138 changes in sbcl-0.6.7 relative to sbcl-0.6.6:
9140 * The system has been ported to OpenBSD.
9141 * The system now compiles with a simple "sh make.sh" on the systems
9142 that it's supported on. I.e., now you no longer need to tweak
9143 text in the target-features.lisp-expr and symlinks in src/runtime/
9144 by hand, the make.sh takes care of it for you.
9145 * The system is no longer so grossly inefficient when compiling code
9146 involving vectors implemented as general (not simple) vectors (VECTOR T),
9147 so code which dares to use VECTOR-PUSH-EXTEND and FILL-POINTER, or
9148 which dares to use the various sequence functions on non-simple
9149 vectors, takes less of a performance hit.
9150 * There is now a primitive type predicate VECTOR-T-P
9151 to test for the (VECTOR T) type, so that e.g.
9152 (DEFUN FOO (V) (DECLARE (TYPE (VECTOR T) V)) (AREF V 3))
9153 can now be compiled with some semblance of efficiency. (The old code
9154 turned the type declaration into a full call to %TYPEP at runtime!)
9155 * AREF on (VECTOR T) is still not fast, since it's still compiled
9156 as a full call to SB-KERNEL:DATA-VECTOR-REF, but at least the
9157 ETYPECASE used in DATA-VECTOR-REF is now compiled reasonably
9158 efficiently. (The old version made full calls to SUBTYPEP at runtime!)
9159 * (MAKE-ARRAY 12 :FILL-POINTER T) is now executed less inefficiently,
9160 without making full calls to SUBTYPEP at runtime.
9161 (Some analogous efficiency issues for non-simple vectors specialized to
9162 element types other than T, or for non-simple multidimensional arrays,
9163 have not been addressed. They could almost certainly be handled the
9164 same way if anyone is motivated to do so.)
9165 * The changes in array handling break binary compatibility, so
9166 *BACKEND-FASL-FILE-VERSION* has been bumped to 4.
9167 * (TYPEP (MAKE-ARRAY 12 :FILL-POINTER 4) 'VECTOR) now returns (VALUES T)
9168 instead of (VALUES T T).
9169 * By following the instructions that Dan Barlow posted to sbcl-devel
9170 on 2 July 2000, I was able to enable primitive dynamic object
9171 file loading code for Linux. The full-blown CMU CL LOAD-FOREIGN
9172 functionality is not implemented (since it calls ld to resolve
9173 library references automatically, requiring RUN-PROGRAM for its
9174 implementation), but a simpler SB-EXT:LOAD-1-FOREIGN (which doesn't
9175 try to resolve library references) is now supported.
9176 * The system now flushes the standard output streams when it terminates,
9177 unless QUIT is used with the RECKLESSLY-P option set. It also flushes
9178 them at several other probably-convenient times, e.g. in each pass of
9179 the toplevel read-eval-print loop, and after evaluating a form given
9180 as an "--eval" command-line option. (These changes were motivated by a
9181 discussion of stream flushing issues on cmucl-imp in August 2000.)
9182 * The source transform for TYPEP of array types no longer assumes
9183 that an array whose element type is a not-yet-defined type
9184 is implemented as an array of T, but instead punts, so that the
9185 type will be interpreted at runtime.
9186 * There is now some support for cross-compiling in make.sh: each of
9187 the phases of make.sh has its own script. (This should be transparent
9188 to people doing ordinary, non-cross-compile builds.)
9189 * Since my laptop doesn't have hundreds of megabytes of memory like
9190 my desktop machine, I became more motivated to do some items on
9191 my to-do list in order to reduce the size of the system a little:
9192 ** Arrange for various needed-only-at-cold-init things to be
9193 uninterned after cold init. To support this, those things have
9194 been renamed from FOO and *FOO* to !FOO and *!FOO* (i.e., all
9195 symbols with such names are now uninterned after cold init).
9196 ** Bind SB!C::*TOP-LEVEL-LAMBDA-MAX* to a nonzero value when building
9197 fasl files for cold load.
9198 ** Remove the old compiler structure pooling code (which used to
9199 be conditional on the target feature :SB-ALLOC) completely.
9200 ** Redo the representation of some data in cold init to be more compact.
9201 (I also looked into supporting byte compiled code at bootstrap time,
9202 which would probably reduce the size of the system a lot, but that
9203 looked too complicated, so I punted for now.)
9204 * The maximum signal nesting depth in the src/runtime/ support code has
9205 been reduced from 4096 to 256. (I don't know any reason for the very
9206 large old value. If the new smaller value turns out to break something,
9207 I'll probably just bump it back up.)
9208 * PPRINT-LOGICAL-BLOCK is now pickier about the types of its arguments,
9210 * Many, many bugs reported by Peter Van Eynde have been added to
9211 the BUGS list; some have even been fixed.
9212 * While enabling dynamic object file loading, I tried to make the
9213 code easier to understand, renaming various functions and variables
9214 with less ambiguous names, and changing some function calling
9215 conventions to be Lispier (e.g. returning NIL instead of 0 for failure).
9216 * While trying to figure out how to do the OpenBSD port, I tried to
9217 clean up some of the code in src/runtime/. In particular, I dropped
9218 support for non-POSIX signal handling, added various comments,
9219 tweaked the code to reduce the number of compilation warnings, and
9220 renamed some files to increase consistency.
9221 * To support the new automatic configuration functionality in make.sh,
9222 the source file target-features.lisp-expr has been replaced with the
9223 source file base-target-features.lisp-expr and the machine-generated
9224 file local-target-features.lisp-expr.
9225 * fixed a stupid quoting error in make.sh so that using CMU CL
9226 "lisp -batch" as cross-compilation host works again
9228 changes in sbcl-0.6.6 relative to sbcl-0.6.5:
9230 * DESCRIBE no longer tries to call itself recursively to describe
9231 bound/fbound values, so that it no longer fails on symbols which are
9232 bound to themselves (like keywords, T, and NIL).
9233 * DESCRIBE now works on generic functions.
9234 * The printer now prints less-screwed-up representations of closures
9235 (not naively trying to bogusly use the %FUNCTION-NAME accessor on them).
9236 * A private symbol is used instead of the :EMPTY keyword previously
9237 used to mark empty slots in hash tables. Thus
9238 (DEFVAR *HT* (MAKE-HASH-TABLE))
9239 (SETF (GETHASH :EMPTY *HT*) :EMPTY)
9240 (MAPHASH (LAMBDA (K V) (FORMAT T "~&~S ~S~%" K V)))
9241 now does what ANSI says that it should. (You can still get
9242 similar noncompliant behavior if bang on the hash table
9243 implementation with all the symbols you get back from
9244 DO-ALL-SYMBOLS, but at least that's a little harder to do.)
9245 This breaks binary compatibility, since tests for equality to
9246 :EMPTY are wired into things like the macroexpansion of
9247 WITH-HASH-TABLE-ITERATOR in FASL files produced by earlier
9249 * There's now a minimal placeholder implementation for CL:STEP,
9250 as required by ANSI.
9251 * An obscure bug in the interaction of the normal compiler, the byte
9252 compiler, inlining, and structure predicates has been patched
9253 by setting the flags for the DEFTRANSFORM of %INSTANCE-TYPEP as
9254 :WHEN :BOTH (as per Raymond Toy's suggestion on the cmucl-imp@cons.org
9256 * Missing ordinary arguments in a macro call are now detected even
9257 when the macro lambda list contains &KEY or &REST.
9258 * The debugger no longer complains about encountering the top of the
9259 stack when you type "FRAME 0" to explicitly instruct it to go to
9260 the top of the stack. And it now prints the frame you request even
9261 if it's the current frame (instead of saying "You are here.").
9262 * As specified by ANSI, the system now always prints keywords
9263 as #\: followed by SYMBOL-NAME, even when *PACKAGE* is the
9265 * The default initial SIZE of HASH-TABLEs is now smaller.
9266 * Type information from CLOS class dispatch is now propagated
9267 into DEFMETHOD bodies, so that e.g.
9268 (DEFMETHOD FOO ((X SINGLE-FLOAT))
9270 is now basically equivalent to
9271 (DEFMETHOD FOO ((X SINGLE-FLOAT))
9272 (DECLARE (TYPE SINGLE-FLOAT X))
9274 and the compiler can compile (+ X 123.0) as a SINGLE-FLOAT-only
9275 operation, without having to do run-time type dispatch.
9276 * The macroexpansion of DEFMETHOD has been tweaked so that it has
9277 reasonable behavior when arguments are declared IGNORE or IGNORABLE.
9278 * Since I don't seem to be making big file reorganizations very often
9279 any more (and since my archive of sbcl-x.y.zv.tar.bz2 snapshots
9280 is overflowing my ability to conveniently back them up), I've finally
9281 checked the system into CVS. (The CVS repository is on my home system,
9282 not at SourceForge -- putting it on SourceForge might come later.)
9283 * SB-EXT:*GC-NOTIFY-STREAM* has been added, to control where the
9284 high-level GC-NOTIFY-FOO functions send their output. (There's
9285 still very little control of where low-level verbose GC functions
9286 send their output.) The SB-EXT:*GC-VERBOSE* variable now controls
9287 less than it used to -- the GC-NOTIFY-FOO functions are now under
9288 the control of *GC-NOTIFY-STREAM*, not *GC-VERBOSE*.
9289 * The system now stores the version string (LISP-IMPLEMENTATION-VERSION)
9290 in only one place in the source code, and propagates it automatically
9291 everywhere that it's needed. Thus e.g. when I bump the version from
9292 0.6.6 to 0.6.7, I'll only need to modify the sources in one place.
9293 * The C source files now include boilerplate legalese and documentation
9294 at the head of each file (just as the Lisp source files already did).
9295 * At Dan Barlow's suggestion, the hyperlink from the SBCL website
9296 to his page will be replaced with a link to his new CLiki service.
9298 changes in sbcl-0.6.5 relative to sbcl-0.6.4:
9300 * Raymond Wiker's patches to port the system to FreeBSD have been merged.
9301 * The build process now looks for GNU make under the default name "gmake",
9302 instead of "make" as it used to. If GNU make is not available as "gmake"
9303 on your system, you can change this default behavior by setting the
9304 GNUMAKE environment variable.
9305 * Replace #+SB-DOC with #!+SB-DOC in seq.lisp so that the system
9306 can build without error under CMU CL.
9308 changes in sbcl-0.6.4 relative to sbcl-0.6.3:
9310 * There is now a partial SBCL user manual (with some new text and some
9311 text cribbed from the CMU CL manual).
9312 * The beginnings of a profiler have been added (starting with the
9313 CMU CL profiler and simplifying and cleaning up). Eventually the
9314 main interface should be through the TRACE macro, but for now,
9315 it's still accessed through vaguely CMU-CL-style functions and macros
9316 exported from the package SB-PROFILE.
9317 * Some problems left over from porting CMU CL to the new
9318 cross-compilation bootstrap process have been cleaned up:
9319 ** DISASSEMBLE now works. (There was a problem in using DEFMACRO
9320 instead of SB!XC:DEFMACRO, compounded by an oversight on my
9321 part when getting rid of the compiler *BACKEND* stuff.)
9322 ** The value of *NULL-TYPE* was screwed up, because it was
9323 being initialized before the type system knew the final
9324 definition of the 'NULL type. This screwed up several key
9325 optimizations in the compiler, causing inefficiency in all sorts
9326 of places. (I found it because I wanted to understand why
9327 GET-INTERNAL-RUN-TIME was consing.)
9328 * fixed a bug in DEFGENERIC which was causing it to overwrite preexisting
9329 PROCLAIM FTYPE information. Unfortunately this broke binary
9330 compatibility again, since now the forms output by DEFGENERIC
9331 to refer to functions which didn't exist in 0.6.3.
9332 * added declarations so that SB-PCL::USE-CACHING-DFUN-P
9333 can use the new (as of 0.6.3) transform for SOME into MAP into
9335 * changed (MOD 1000000) type declarations for Linux timeval.tv_usec slot
9336 values to (INTEGER 0 1000000), so that the time code will no longer
9337 occasionally get blown up by Linux returning 1000000 microseconds
9338 * PRINT-UNREADABLE-OBJECT has been tweaked to make the spacing of
9339 its output conform to the ANSI spec. (Alas, this makes its output
9340 uglier in the :TYPE T :IDENTITY NIL case, but them's the breaks.)
9341 * A full call to MAP NIL with a single sequence argument no longer conses.
9342 * fixes to problems pointed out by Martin Atzmueller:
9343 * The manual page no longer talks about multiprocessing as though
9344 it were currently supported.
9345 * The ILISP support patches have been removed from the distribution,
9346 because as of version 5.10.1, ILISP now supports SBCL without us
9347 having to maintain patches.
9348 * added a modified version of Raymond Toy's recent CMU CL patch for
9349 EQUALP comparison of HASH-TABLE
9351 changes in sbcl-0.6.3 relative to sbcl-0.6.2:
9353 * The system still can't cross-compile itself with
9354 *TYPE-SYSTEM-INITIALIZED* (and all the consistency checks that
9355 entails), but at least it can compile more of itself that way
9356 than it used to be able to, and various buglets which were uncovered
9357 by trying to cross-compile itself that way have now been fixed.
9358 * This release breaks binary compatibility again. This time
9359 at least I've incremented the FASL file format version to 2, so that the
9360 problem can be detected reliably instead of just causing weird errors.
9361 * various new style warnings:
9362 ** using DEFUN, DEFMETHOD, or DEFGENERIC to overwrite an old definition
9363 ** using the deprecated EVAL/LOAD/COMPILE situation names in EVAL-WHEN
9364 ** using the lexical binding of a variable named in the *FOO* style
9365 * DESCRIBE has been substantially rewritten. It now calls DESCRIBE-OBJECT
9366 as specified by ANSI.
9367 * *RANDOM-STATE* is no longer automatically initialized from
9368 (GET-UNIVERSAL-TIME), but instead from a constant seed. Thus, the
9369 default behavior of the system is to repeat its behavior every time
9370 it's run. If you'd like to change this behavior, you can always
9371 explicitly set the seed from (GET-UNIVERSAL-TIME); whereas under the
9372 old convention there was no comparably easy way to get the system to
9373 repeat its behavior every time it was run.
9374 * Support for the pre-CLTL2 interpretation of FUNCTION declarations as
9375 FTYPE declarations has been removed, in favor of their ANSI
9376 interpretation as TYPE FUNCTION declarations. (See p. 228 of CLTL2.)
9377 * The quantifiers SOME, EVERY, NOTANY, and NOTEVERY no longer cons when
9378 the types of their sequence arguments can be determined at compile time.
9379 This is done through a new open code expansion for MAP which eliminates
9380 consing for (MAP NIL ..), and reduces consing otherwise, when sequence
9381 argument types can be determined at compile time.
9382 * The optimizer now transforms COERCE into an identity operation when it
9383 can prove that the coerced object is already of the correct type. (This
9384 can be a win for machine generated code, including the output of other
9385 optimization transforms, such as the MAP transform above.)
9386 * Credit information has been moved from source file headers into CREDITS.
9387 * Source file headers have been made more standard.
9388 * The CASE macro now compiles without complaining even when it has
9391 changes in sbcl-0.6.2 relative to sbcl-0.6.1:
9393 * (Note that the way that the PCL macroexpansions were rewritten
9394 to accommodate the change in DEFGENERIC below breaks binary
9395 compatibility. That is, fasl files compiled under sbcl-0.6.1 may
9396 not run under sbcl-0.6.2. Once we get out of alpha releases,
9397 i.e. hit release 1.0.0, we'll probably try to maintain binary
9398 compatibility between maintenance releases, e.g. between sbcl-1.4.3
9399 and sbcl-1.4.4. Until then, however, it might be fairly common
9400 for maintenance releases to break binary compatibility.)
9401 * A bug in the calculation of WARNINGS-P and FAILURE-P in COMPILE-FILE
9403 * The reporting of unhandled signals has been changed to print some
9404 explanatory text as well as the report form. (Previously only
9405 the report form was printed.)
9406 * The macroexpansion for DEFGENERIC now DECLAIMs the function that
9407 it defines, so that the compiler no longer issues undefined function
9408 warnings for compiled-but-not-yet-loaded generic functions.
9409 * The CLTL-style "LISP" and "USER" nicknames for the "COMMON-LISP"
9410 and "COMMON-LISP-USER" packages have been removed. Now only the "CL"
9411 and "CL-USER" standard nicknames from the "11.1.2 Standardized Packages"
9412 section of the ANSI spec are supported.
9413 * The "" nickname for the "KEYWORD" package has been removed.
9414 The reader still handles symbol tokens which begin with a package marker
9415 as keywords, but it doesn't expose its mechanism for doing so in the
9416 (PACKAGE-NICKNAMES (FIND-PACKAGE "KEYWORD")) list.
9417 * The system now issues STYLE-WARNINGs for contradictory TYPE
9418 proclamations. (Warnings for contradictory FTYPE proclamations would
9419 be nice too, but those can't be done usefully unless the type system
9420 is made smarter about FUNCTION types.)
9421 * The names of source files "*host-*.lisp" and "*target-*.lisp" have been
9422 systematized, so that "*target-*.lisp is supposed to exist only on the
9423 target and imply that there's a related file which exists on the
9424 host, and *host-*.lisp is supposed to exist only on the host and imply
9425 that there's a related file which exists on the target. This involves a
9426 lot of renaming. Hopefully the acute confusion caused by the renaming
9427 will be justified by the reduction in chronic confusion..
9428 ** runtime-type.lisp -> early-target-type.lisp
9429 ** target-type.lisp -> late-target-type.lisp
9430 ** early-host-format.lisp -> early-format.lisp
9431 ** late-host-format.lisp -> late-format.lisp
9432 ** host-error.lisp -> misc-error.lisp
9433 ** early-error.lisp -> early-target-error.lisp
9434 ** late-error.lisp -> late-target-error.lisp
9435 ** host-defboot.lisp -> early-defboot.lisp
9436 ** code/misc.lisp -> code/target-misc.lisp
9437 ** code/host-misc.lisp -> code/misc.lisp
9438 ** code/numbers.lisp -> code/target-numbers.lisp
9439 ** code/early-numbers.lisp -> numbers.lisp
9440 ** early-host-type.lisp -> early-type.lisp
9441 ** late-host-type.lisp -> late-type.lisp
9442 ** host-typep.lisp -> typep.lisp
9443 ** load.lisp -> target-load.lisp
9444 ** host-load.lisp -> load.lisp
9445 ** host-disassem.lisp -> disassem.lisp
9446 ** host-insts.lisp -> insts.lisp
9447 ** byte-comp.lisp -> target-byte-comp.lisp
9448 ** host-byte-comp.lisp -> byte-comp.lisp
9449 ** host-signal.lisp -> signal.lisp
9450 ** host-defstruct.lisp -> defstruct.lisp
9451 ** late-target-type.lisp -> deftypes-for-target.lisp
9452 Furthermore, several other previously target-only files foo.lisp (e.g.
9453 hash-table.lisp and random.lisp) have been split into a target-and-host
9454 foo.lisp file and a target-only target-foo.lisp file, with their key type
9455 definitions in the target-and-host part, so that the cross-compiler will
9456 know more about target types.
9457 * DEFSTRUCT BACKEND, and the BACKEND-valued *BACKEND* variable, have
9458 gone away. In their place are various *BACKEND-FOO* variables
9459 corresponding to the slots of the old structure.
9460 * A bug which caused the SB-COLD bootstrap-time package to be propagated
9461 into the target SBCL has been fixed.
9462 * The chill.lisp system for loading cold code into a running SBCL
9464 * Support for the CMU CL "scavenger hook" extension has been removed.
9465 (It was undocumented and unused in the CMU CL sources that SBCL was
9466 derived from, and stale in sbcl-0.6.1.)
9467 * Various errors in the cross-compiler type system were detected
9468 by running the cross-compiler with *TYPE-SYSTEM-INITIALIZED*
9469 (enabling various consistency checks). Many of them were fixed,
9470 but some hard problems remain, so the compiler is back to
9471 running without *TYPE-SYSTEM-INITIALIZED* for now.
9472 * As part of the cross-compiler type system cleanup, I implemented
9473 DEF!TYPE and got rid of early-ugly-duplicates.lisp.
9474 * I have started adding UNCROSS calls throughout the type system
9475 and the INFO database. (Thus perhaps eventually the blanket UNCROSS
9476 on cross-compiler input files will be able to go away, and various
9478 * CONSTANTP now returns true for quoted forms (as explicitly required
9481 changes in sbcl-0.6.1 relative to sbcl-0.6.0:
9483 * changed build optimization from (SAFETY 1) to (SAFETY 3) as a short-term
9484 fix for various type-unsafety bugs, e.g. failures with (LENGTH 123) and
9485 (MAKE-LIST -1). In the longer term, it ought to become true
9486 that declarations are assertions even at SAFETY 1. For now, it's not
9487 quite true even at SAFETY 3, but it's at least more nearly true..
9488 (Note that this change seems to increases the size of the system by
9489 O(5%) and to decrease the speed of the compiler by 20% or more.)
9490 * changed ALIEN printing to be much more abbreviated, as a short-term fix
9491 for the problem of printing dozens of lines of distracting information
9492 about low-level system machinery as part of the top stack frame
9493 on entry to the debugger when an undefined function was called.
9494 * tweaked the debugger's use of WITH-STANDARD-IO-SYNTAX so that *PACKAGE*
9495 is not reset to COMMON-LISP-USER.
9496 * Compilation of stuff related to dyncount.lisp has been made conditional
9497 on the :SB-DYNCOUNT target feature, so that the ordinary core system is
9498 smaller. The various dyncount-related symbols have been moved into
9499 a new "SB-DYNCOUNT" package.
9500 * tty-inspect.lisp has been renamed to inspect.lisp.
9501 * unix-glibc2.lisp has been renamed to unix.lisp, and the :GLIBC2
9502 feature has gone away. (When we eventually port to other flavors of
9503 libc and/or Unix, we'll try to make the differences between flavors
9504 invisible at the user level.)
9505 * Various other *FEATURES* tags, and/or their associated conditionals,
9506 have been removed if obsolescent, or given better documentation, or
9507 sometimes given more-mnemonic names.
9509 changes in sbcl-0.6.0 relative to sbcl-0.5.0:
9511 * tidied up "make.sh" script
9512 * tidied up system directory structure
9513 * better "clean.sh" behavior
9514 * added doc/FOR-CMUCL-DEVELOPERS
9515 * many many small tweaks to output format, e.g. removing possibly-confusing
9516 trailing #\. character in DESCRIBE-INSTANCE
9517 * (EQUALP #\A 'A) no longer signals an error.
9518 * new hashing code, including EQUALP hashing
9519 * tidied up Lisp initialization and toplevel
9520 * initialization files (e.g. /etc/sbclrc and $HOME/.sbclrc)
9521 * command line argument processing
9522 * added POSIX-GETENV function to deal with Unix-ish environment variables
9523 * more-Unixy handling of *STANDARD-INPUT* and other Lisp streams, e.g.
9524 terminating SBCL on EOF
9525 * non-verbose GC by default
9526 * There is no more "sbcl" shell script; the sbcl file is now the C
9527 runtime executable (just like CMU CL).
9528 * removed some unused fops, e.g. FOP-UNIFORM-VECTOR, FOP-CHARACTER, and
9530 * tweaked debug-info.lisp and debug-int.lisp to make the debugger store
9531 symbol and package information as Lisp native symbol and package objects
9532 instead of strings naming symbols and strings naming packages. This way,
9533 whenever packages are renamed (as in warm init), debug information is
9534 transformed along with everything else.
9535 * tweaked the optimization policy declarations which control the building
9536 of SBCL itself. Now, among other things, the system no longer saves
9537 source location debugging information. (This helps two problems at once
9538 by reducing SBCL size and by keeping SBCL from trying to look for its
9539 sources -- which may not exist -- when reporting errors.)
9540 * added src/cold/chill.lisp, to let SBCL read its own cold sources for
9541 debugging and testing purposes
9542 * cleaned up printing, making the printer call PRINT-OBJECT for
9543 instances, and using PRINT-UNREADABLE-OBJECT for most PRINT-OBJECT
9544 methods, giving nearly-ANSI behavior
9545 * converted almost all special variables to use *FOO* naming convention
9546 * deleted PARSE-TIME functionality, since it can be done portably
9547 * moved some files out of cold init into warm init
9548 * deleted DEFUN UNDEFINED-VALUE, replaced (UNDEFINED-VALUE) forms
9550 * regularized formatting of source files
9551 * added an install.sh script
9552 * fixed ridiculous memory usage of cross-compiler by making
9553 compiler/alloc.lisp not try to do pooling unless it can hook
9554 itself into the GC of the cross-compilation host. Now the system
9555 builds nicely on my old laptop.
9556 * added :SB-ALLOC in target-features.lisp-expr
9557 * deleted mention of :ANSI-DOC from target-features.lisp-expr (since it
9558 was not implemented)
9559 * re-did condition handling and note reporting in the compiler. Notes
9560 are no longer handled by signalling conditions. Style warnings
9561 and warnings are handled more correctly and reported in such a way
9562 that it's easy to find one or the other in your output (so that you
9563 can e.g. figure out which of many problems caused COMPILE-FILE to
9565 * changed the severity of several compiler warnings from full WARNING
9566 to STYLE-WARNING in order to conform with the ANSI spec; also changed
9567 compiler note reporting so that it doesn't use the condition system
9568 at all (and hence affects neither FAILURE-P nor WARNINGS-P in the
9569 COMPILE-FILE command)
9570 * made PROCLAIM and DECLAIM conform to ANSI. PROCLAIM is now an ordinary
9571 function. As a consequence, START-BLOCK and END-BLOCK declarations are
9572 no longer supported, since their implementation was deeply intertwingled
9573 with the magical, non-ANSI treatment that PROCLAIM received in CMU CL.
9574 * removed bogus "support" for compiler macros named (SETF FOO), and
9575 removed the compiler macro for SETF INFO (but only after making a fool
9576 of myself on the cmucl-imp mailing list by posting a bogus patch for
9577 DEFINE-COMPILER-MACRO..)
9578 * Compiled files containing forms which have side effects on the Lisp
9579 reader (such as DEFPACKAGE forms) are now handled more correctly.
9580 (Compiler queuing of top level lambdas has been suppressed by setting
9581 *TOP-LEVEL-LAMBDA-MAX* to 0. )
9582 * deleted various currently-unused source files, e.g. gengc.lisp. They
9583 may be added back at some point e.g. when porting to other architectures,
9584 but until they are it's distracting to distribute them and to try to
9586 * deleted "UNCROSS couldn't recurse through.." style warnings, since
9587 there were so many of them they're just distractions, and UNCROSS is
9588 known to be able to handle the current sources
9589 * moved PROFILE functionality into TRACE, so that it will be clear
9590 how the wrapping and unwrapping of functions when you profile them
9591 interacts with the wrapping and unwrapping of functions when you
9592 trace them. (Actually, the functionality isn't there yet, but at least
9593 the interface specification is there. Hopefully, the functionality will
9594 arrive with some future maintenance release.)
9595 * removed host-oops.lisp
9596 * changed signature of QUIT function to allow UNIX-CODE argument
9597 * fixed READ-SEQUENCE bug
9598 * tweaked verbose GC output so that it looks more like the progress
9599 output that ANSI specifies for functions like LOAD
9600 * set up the system on sourceforge.com, with home pages, mailing lists, etc.
9601 * added <http://sbcl.sourceforge.com> to the banner information printed by