1 ;;;; -*- coding: utf-8; fill-column: 78 -*-
3 changes relative to sbcl-2.4.2:
4 * enhancement: when dumping debug information to fasl files, the system
5 respects the SOURCE_DATE_EPOCH environment variable (if set) as the latest
8 changes in sbcl-2.4.2 relative to sbcl-2.4.1:
9 * bug fix: restore the ability to inherit from both SEQUENCE and
10 SB-MOP:FUNCALLABLE-STANDARD-OBJECT. (lp#2050088, reported by Christophe
12 * bug fix: COERCE will not convert lambda forms to functions if given a type
13 naming a (strict) subclass of FUNCTION.
14 * bug fix: LOG with a double-float and a ratio argument (in either order) do
15 not lose precision through a single-float intermediate argument.
16 * bug fix: LOG to the base 2 of integer powers of 2 are more likely to get
17 the mathematically precise answer.
18 * bug fix: LOG on ratios very near 1 with numerator or denominator being
19 near a power of 2 will use log1p and so will lose less precision.
20 * bug fix: the utf-8 external format with Unix line-endings updates its
21 character size information when taking the fast path for a buffer of ascii
22 characters. (lp#2054169, reported by John Carroll)
23 * bug fix: don't print the contents of a possibly no-longer-valid
24 dynamic-extent cons in PRINT-OBJECT method for THREAD objects.
25 (lp#2026195, reported by Jake Connor)
26 * bug fix: place external entry points for functions consistently before any
27 local functions. (lp#2051169, reported by Fedorov Alexander)
28 * bug fix: remove unactionable optimization notes for backquoted forms and
29 ordinary calls to APPEND at high speed. (lp#2051401, reported by Robert
31 * bug fix: infinite loop in COPY-SEQ on zero-length arrays of element-type
32 NIL. (lp#2051759, reported by Devon Sean McCullough)
33 * bug fix: fix compilation of non-top-level struct constructors.
34 (lp#2052329, reported by Robert Poitras)
35 * bug fixes in SB-SIMD:
36 ** improve bounds checking in SB-SIMD. (lp#2012010, reported by Patrick
38 ** fix SB-SIMD AVX f64.4-reverse (lp#2012986, thanks to Ari Projansky)
39 ** fix SB-SIMD shuffles on AVX and SSE2 (lp#2012990, reported by Ari
41 ** fix lifetimes in sse+xmm0 VOPs (lp#2015329, reported by Ari Projansky)
42 * optimization: a number of internal tables, particularly those related to
43 Unicode support have been converted to use perfect hash mechanisms,
44 improving both speed and space.
45 * optimization: FIND, POSITION, ASSOC and RASSOC with constant sequence
46 arguments containing symbols as keys are compiled to perfect hash lookups.
47 * optimization: the compiler runs a jump-to-jump elimination pass on x86-64.
48 * system integrity: compiling the system itself on x86-64/linux now produces
49 bitwise-identical cross-compiled fasls whether the build host is cmucl,
50 ccl, clisp or sbcl itself.
52 changes in sbcl-2.4.1 relative to sbcl-2.4.0:
53 * enhancement: compact instance headers are partially supported with the
54 mark-region parallel garbage collector.
55 * enhancement: functions with declared return types have their return values
56 type-checked in optimization regimes with high SAFETY and (DEBUG 3).
58 ** disable ASLR on FreeBSD. (lp#2047655, thanks to Konstantin Belousov)
59 ** link to libpthread on FreeBSD. (thanks to Konstantin Belousov)
60 ** restore build on 64-bit riscv. (lp#2034713, lp#2048869, reported by
61 Guillaume LE VAILLANT)
62 ** restore build on 64-bit ppc.
63 ** fix case in referring to a header file. (lp#2047726, thanks to Andrew Kravchuk)
64 ** the fastrem-32 feature (for optimized computations of FLOOR) is now
65 available on all platforms.
66 * bug fix: resweep moved lines after compaction in the mark-region parallel
68 * bug fix: infinite loops in the compiler on some constructs with SATISFIES
69 types. (lp#2047289, lp#2047706, lp#2049631)
70 * optimization: various hash tables implementing part of the system
71 (packages, Unicode data tables) have been converted to use perfect hash
73 * optimization: TYPECASE on structure class hierarchies is implemented using
75 * optimization: eliminate bound checks with relative offsets. (lp#1830314)
76 * optimization: the compiler has more knowledge of how to optimize
78 * optimization: the compiler can elide intermediates for some calls to
79 APPLY, CONCATENATE and MAKE-ARRAY with arguments that are freshly-consed
80 modifications of existing sequences.
81 * optimization: (LOOP FOR X IN (REVERSE LIST) ...) is now faster and conses
83 * optimization: (LOOP ... APPEND ...) is more compact, and does less work if
85 * optimization: type tests of various array types are faster and shorter.
87 changes in sbcl-2.4.0 relative to sbcl-2.3.11:
88 * minor incompatible change: *COMPILE-VERBOSE* and *LOAD-VERBOSE* are bound
89 to NIL when the system is started with the --script command-line argument.
90 (reported by Hraban Luyat, thanks to Nicolas Martyanoff)
91 * minor incompatible change: when looking for its core file, the system
92 checks the validity of whatever is pointed to by /proc/self/exe, and
93 assesses argv[0] if /proc/self/exe is invalid. (thanks to Philipp Marek)
94 * minor incompatible change: the system no longer provides type names on the
95 standard (CL) symbols ARRAY-RANK, ARRAY-TOTAL-SIZE, PATHNAME-HOST,
96 PATHNAME-TYPE, PATHNAME-DIRECTORY, FLOAT-RADIX or FLOAT-DIGITS.
99 ** the mark-region parallel garbage collector can be enabled on arm64.
100 (Thanks to Hayley Patton)
101 ** fix build on modern FreeBSDs. (lp#2046966, thanks to David J. Flander)
102 * bug fix: restore compiler type inference correctness on calls to REDUCE
103 with :INITIAL-VALUE but no :FROM-END. (lp#2044856, reported by Patrick
105 * bug fix: compiler error when declaring SB-EXT:MUFFLE-CONDITIONS on an
106 unknown type. (lp#2045442)
107 * bug fix: the disassembler provided non-pretty output for registers in some
108 cases. (lp#2046004, reported by Fedorov Alexander)
109 * bug fix: the system is slightly less likely to exhaust the stack again
110 when reporting a control stack exhaustion error.
111 * optimization: GC write barriers are eliminated in more cases.
112 * optimization: improved type derivation of iteration variables with mixed
114 * optimization: remove unused initial values from LET bindings, improving
115 register type selection.
116 * optimization: lower EQUALP/EQUAL/EQL to EQL/EQ in FIND/MEMBER based on the
118 * optimization: better type derivation for DPB, LOGIOR.
120 changes in sbcl-2.3.11 relative to sbcl-2.3.10:
121 * minor incompatible change: streams with an external-format specified with
122 :REPLACEMENT will use their replacement data once per stream unit that
123 causes a decoding error (rather than, in some cases, once for a sequence
124 of bytes none of which is a valid character start position for that
126 * minor incompatible change: external-format designators with unsupported or
127 unrecognized options now signal an error when used.
128 * enhancement: During generic function dispatch, for a generic function
129 using standard- or short-method-combination, if there are no applicable
130 primary methods the system will call the generic function
131 SB-PCL:NO-PRIMARY-METHOD, whose default behaviour is to signal an error.
132 Users may define methods on this generic function.
133 * enhancement: external formats for unibyte encodings and utf-8 now support
135 * enhancement: character decoding and encoding errors signalled by stream or
136 octet functions now provide a USE-VALUE restart for handlers to provide
137 replacement input or output.
138 * enhancement: READ-SEQUENCE and WRITE-SEQUENCE support user-defined
139 sequences; the default implementation proceeds element-by-element, reading
140 or writing single bytes or characters to or from the stream as
142 * bug fix: OCTETS-TO-STRING using unibyte external formats with unallocated
143 codepoints (e.g. iso-8859-3) correctly signal or use replacements rather
144 than taking bits from the address of NIL and converting those bits to
146 * bug fix: FILE-STRING-LENGTH now returns NIL if the input datum is not
147 encodable in the stream's external format.
148 * bug fix: table-based multibyte external formats (EUC-JP, Shift-JIS, GBK)
149 now honour a replacement character (in the external format or through
150 restarts) when encoding to octets.
151 * bug fix: converting from octets using the UCS-2, UCS-4 and UTF-32 external
152 formats no longer reads past the end of an octet array with a non-integral
153 number of two- or four-byte units.
154 * bug fix: converting from octets using the UCS-2, UCS-4, UTF-16 or UTF-32
155 external formats now returns a simple string, as required by the type
156 declaration of OCTETS-TO-STRING.
157 * bug fix: providing an invalid external format argument to OPEN or
158 WITH-OPEN-FILE (or the internal MAKE-FD-STREAM) no longer leaks a file
160 * bug fix: SB-ROTATE-BYTE recognizes out-of-relevant-range BYTE
161 specifications for integers before attempting to cons up enormous bignums
162 for masking and shifting. (lp#2042937)
163 * bug fix: fix type derivation on compiling SB-ROTATE-BYTE forms with
164 non-zero POSITION in the byte specifier. (lp#2042775)
165 * bug fix: fix multiple assembler errors when compiling MAKE-ARRAY,
166 MAKE-STRING and similar with a large constant size. (lp#2037347, lp#2038744)
167 * bug fix: fix internal error when compiling (SETF SBIT) with a large
168 constant index. (lp#2037415)
169 * bug fix: fix internal compiler error on invalid lambda list parameters in
171 * bug fix: fix internal compiler error when compiling some
172 infinitely-recursive LABELS forms. (lp#2042704)
173 * bug fix: fix internal compiler error when attempting to inline a jump to a
174 label that has been deleted. (lp#2043262)
175 * bug fix: FILL-POINTER should never be made to go negative. (lp#2042452)
176 * optimization: external formats with :REPLACEMENT no longer bind handlers
177 for coding errors around conversion functions, and so should cons less and
179 * optimization: when the :EXTERNAL-FORMAT argument to STRING-TO-OCTETS or
180 OCTETS-TO-STRING is a compile-time constant, the external format is
181 resolved at load time rather than on each call.
182 * optimization: the compiler is able to constrain the types of inputs to
183 some functions given a derived or asserted type of the function's return
185 * optimization: the compiler performs fewer redundant type checks in ASSOC,
186 GETF and similar functions.
188 changes in sbcl-2.3.10 relative to sbcl-2.3.9:
189 * enhancement: The compiler now allows stack allocating vectors of any size
190 on all safety levels, not just those which it can prove are of sub-page
191 sizes. It can do this because it now inserts code to check for stack
192 overflow explicitly on higher safety levels.
193 * enhancements to the disassembler:
194 ** on arm64, x86-64, DISASSEMBLE annotates references to static symbols.
195 * bug fix: calls to generic functions now detect erroneous keywords (in the
196 sense of CLHS 7.6.5) passed as arguments even when auxiliary methods are
198 * bug fix: the standard method on SB-MOP:COMPUTE-EFFECTIVE-METHOD no longer
199 inserts calls to implementation-defined local macros. (reported by Daniel
201 * bug fix: compiler error from state-machine-like LABELS forms in some
202 circumstances. (lp#2037318)
203 * bug fix: fix compile-time error in constant-folding RATIONAL on literal
204 float infinities. (lp#2037455)
205 * bug fix: failure on x86-64 to assemble code for EQL tests of comparisons
206 with immediates. (lp#2037456)
207 * bug fix: infinite loop in the compiler for simplification of type tests of
208 complicated union types. (lp#2038112, reported by Paul M. Rodriguez)
209 * bug fix: inability to dump a literal displaced array containing copies of
210 its displacement target. (lp#2038233, reported by James Kalenius)
211 * bug fix: compiler error in LOGBITP type derivation. (lp#2038241)
212 * bug fix: compiler error in AREF type derivation. (lp#2038659)
213 * bug fix: compiler internal consistency failure in overflow type checks.
215 * bug fix: work around an infinite loop in type simplification by not
216 providing such types from the compiler. (lp#2038980, reported by Richard
218 * bug fix: spurious run-time argument count errors from generic function
219 calls on arm64. (lp#2039006, reported by fiddlerwoaroof)
220 * bug fix: errors in SCALE-FLOAT on floating-point infinities. (lp#2039613)
221 * bug fix: ROOM is slightly more robust to incompletely-initialized
222 instances at the point of running ROOM. (Reported by Andreas Franke)
223 * bug fix: finalizers saved through SAVE-LISP-AND-DIE and subsequently
224 executed do not trigger memory faults. (Reported by Bohong Huang)
225 * optimization: improvements to type derivation for ISQRT, INTEGER-LENGTH,
226 LOGCOUNT, LOG, DENOMINATOR.
228 changes in sbcl-2.3.9 relative to sbcl-2.3.8:
229 * enhancement: stack allocation via DYNAMIC-EXTENT now applies to all values
230 that a variable can take on (for example via SETQ), not just the initial
231 binding. This permits for example building complex or recursive structures
232 on the stack more easily via iteration. See the updated manual entry for
234 * minor incompatible change: some interfaces in the SB-POSIX contrib module
235 adhere to the spec that a NULL result from the C library is an error if
236 and only if errno was altered by the call. SYSCALL-ERROR will be signaled
238 * enhancement: the SB-POSIX contrib module provides DO-PASSWDS and DO-GROUPS
239 to allow users to iterate over password and group databases safely.
241 ** support for Darwin on x86 and PowerPC has been restored. (lp#2033287,
242 thanks to Kirill A. Korinsky, Sergey Fedorov and barracuda156)
243 * bug fix: miscompilation due to erroneous type derivation in the presence
244 of multiplication of fixnums by ratios. (lp#2033695, reported by Patrick
246 * bug fix: compiler error when compiling signed- and unsigned 64-bit type
247 checks in some cases. (lp#2033997, reported by Eric Smith)
248 * bug fix: compiler error when the :INITIAL-CONTENTS argument to MAKE-ARRAY
249 is a constant non-sequence. (lp#2037328)
250 * bug fix: compiler error when constant-folding sequence functions with
251 :TEST or :KEY functions erroring on the given sequence. (lp#2037341)
252 * bug fix: compiler error when arguments to array or sequence functions
253 imply a very large sequence size. (lp#2037443, lp#2037348)
254 * bug fix: compiler error when the return value of ADJUST-ARRAY is not used.
256 * optimization: function types derived by the compiler can in some cases be
257 propagated backwards through the intermediate representation.
258 * optimization: better type derivations for LDB, LOGBITP, RATIO.
259 * optimization: eliminate bound checks in more cases involving transitive
262 changes in sbcl-2.3.8 relative to sbcl-2.3.7:
263 * enhancement: a mark-region parallel garbage collector is available as a
264 build-time option; it can be enabled by adding
265 `--without-gencgc --with-mark-region-gc`
266 to the build command line. (Thanks to Hayley Patton)
267 * enhancement: Stack allocation via DYNAMIC-EXTENT is now possible for
268 conditionals even when not all branches are stack-allocatable. Previously
269 all branches needed to be stack-allocatable for the otherwise-inaccessible
270 subparts to get stack allocated.
272 ** on Mac OS X Sonoma, loading the memory image no longer fails.
273 (lp#2029430, reported by cladur)
274 ** on Darwin, we no longer reimplement nanosleep().
275 ** on PPC64, undefined function errors now work.
276 ** on ARM64/OpenBSD, enable the GCC TLS feature. (thanks to SĂ©bastien
278 ** when building the system, only display a reasonable amount of timing
279 precision. (thanks to Philipp Marek)
280 * bug fix: handling of inlining functions compiled to return unboxed values
281 no longer crashes the compiler. (lp#2029020, reported by Pascal
283 * bug fix: the source location for code executed within a top-level
284 (EVAL-WHEN (:COMPILE-TOPLEVEL) ...) form is now more useful.
285 * bug fix: address a race between user threads cancelling finalizers and the
286 finalizer thread executing them. (lp#2029306)
287 * bug fix: complex division returns the same value when evaluated inline and
288 out-of-line. (lp#2030097)
289 * bug fix: the pretty-printer no longer deletes syntactically-significant
290 whitespace immediately preceding a newline. (lp#1985814, reported by Mark
292 * optimization: the compiler is more aware of the result type of the
294 * optimization: EQUAL and EQUALP compile to more efficient code when the two
295 arguments are known to be of the same nullable type.
296 * optimization: converting bignums to floats uses no intermediate memory.
298 changes in sbcl-2.3.7 relative to sbcl-2.3.6:
299 * minor incompatible change: MACROLET macro functions are now compiled with
300 (SPEED 1), leading to fewer efficiency notes being emitted when compiled
301 in otherwise high-SPEED environments.
302 * minor incompatible change: when coalescing list data, the file compiler
303 respects substructure equality more accurately, with the side-effect of
304 coalescing along CDR chains as well as CARs. (lp#2025086)
305 * minor incompatible change: FUNCTION type declarations for local variables
306 generate assertions around their use when called.
308 ** on OpenBSD, the regression test suite expectations have been updated.
309 (lp#2026809, thanks to Sebastien Marie)
310 ** on OpenBSD, the data limit is now 1GB. (lp#2027536, thanks to
312 ** on Darwin with the SB-FUTEX feature, do not use unpaired
313 mach_thread_self() syscalls, avoiding resource leaks when creating
315 ** on 64-bit RISCV, add support for some REM-by-multiplication
317 ** on Windows, work around a C compiler bug relating to SYSV_ABI.
318 * bug fix: FILE-POSITION on string output streams no longer crashes or
319 causes arbitrary memory overwrites. (lp#1839040)
320 * bug fix: the compiler no longer constant-folds POSITION to NIL if the
321 START or END arguments are not valid.
322 * optimization: the compiler derives types of &KEY arguments in local calls.
324 * optimization: type tests of values of known union type can be faster if
325 the type being tested for has a non-trivial intersection with the known
327 * optimization: the low-level implementation of NUMBERP, REALP and RATIONALP
328 has been improved on x86-64 and arm64.
329 * optimization: the compiler removes known-NIL arguments from calls to
330 APPEND and NCONC, and empty sequences from calls to CONCATENATE.
331 * optimization: checks for symbols being bindable are now memoized, speeding
332 up compiled uses of PROGV.
333 * optimization: SLOT-VALUE on STRUCTURE-OBJECTs with non-constant slot-name
336 changes in sbcl-2.3.6 relative to sbcl-2.3.5:
338 ** restore building contribs on riscv; (lp#2002930)
339 ** shorter constant-loading sequences on riscv;
340 ** on OpenBSD, map the stack without executable permission (thanks to
342 ** Restore OpenBSD/arm64 for OpenBSD 7.3 (lp#2024003, reported by Robert
344 * bug fix: AREF on multidimensional arrays with the wrong number of indices
345 now signals an error. (lp#2022327, reported by EU)
346 * bug fix: the nature of NIL as both STRING and SEQUENCE is correctly handled
347 in the compiler's handling of string functions. (lp#2023118, reported by
349 * bug fix: the sb-bsd-sockets tests no longer fail on systems configured
350 without IPv6. (reported by Will Senn)
351 * bug fix: the compiler no longer transforms into incompletely-known functions
353 * optimization: better (the word-sized-type (ASH word-sized word-sized))
354 when the result can overflow. For arm64 and x86-64.
355 * optimization: better unoptimized calls to CEILING, FLOOR.
356 * optimization: functions that involve coercing floats now cons less.
357 For arm64 and x86-64.
358 * optimization: array displacement to simple arrays is slightly faster.
359 (reported by Shubhamkar Ayare)
361 changes in sbcl-2.3.5 relative to sbcl-2.3.4:
362 * enhancement: Unicode support has been updated to support version 15.0.0 of
363 the Unicode standard, including addition of characters and their collation
364 keys, and refinements to grapheme-, word- and line-breaking algorithms.
365 * new contrib module: an interface to perf, a performance-analysing tool for
366 Linux. (thanks to Luke Gorrie and Philipp Marek)
368 ** on x86-64, prefer using the LEAVE instruction rather than MOV/POP at
369 function epilogue to restore RSP/RBP.
370 ** support SB-FUTEX on OpenBSD. (thanks to Elijah Stone)
371 ** support SB-FUTEX on Darwin/arm64. (thanks to Elijah Stone)
372 ** fix compilation with clang on Windows. (lp#2018601, thanks to Andrew)
373 * bug fix: inspecting objects with unbound slots produces output that is less
374 confusable with the string "unbound". (thanks to Nicolas Martyanoff)
375 * optimization: make TN-REFs doubly-linked, allowing faster deletion.
376 (lp#2018124, reported by Matt Kaufmann)
377 * optimization: MAPCAN/MAPCON are less accidentally quadratic. (thanks to
379 * optimization: improved arithmetic operations in the form of
380 (the word-sized-type (-+* word-sized word-sized)) when the result can
381 overflow. For arm64 and x86-64.
383 changes in sbcl-2.3.4 relative to sbcl-2.3.3:
384 * enhancement: attempts to call non-callable objects can now provide
385 USE-VALUE restarts on x86-64 and arm64.
386 * bug fix: ioctl() (both in SBCL's internals and through SB-POSIX) was
387 broken on ARM64/Darwin. (reported by fiddlerwoaroof)
389 ** support for cross-compiling the system to Android has been added;
391 ** include likely absolute paths for gmp and mpfr on ARM64/Darwin; (thanks
393 ** include another absolute path for mpfr on Windows; (thanks to Ari
395 ** the PROMISE-COMPILE feature from the SB-CONCURRENCY contrib is now
396 available on all threaded platforms;
397 * optimization: VALUES-LIST performs less redundant work on x86-64 and
400 changes in sbcl-2.3.3 relative to sbcl-2.3.2:
401 * enhancement: LET-bound anonymous closures declared dynamic extent can now
402 be stack allocated, just like closures bound with FLET or
403 LABELS. Otherwise-inaccessible closure subparts of objects declared
404 dynamic extent can now also be stack allocated
405 * optimization: many standard CL functions which take functional arguments
406 will automatically stack allocate any downward funarg closures.
407 * optimization: better arithmetic between signed and unsigned words on arm64.
408 * optimization: reduce consing when doing arithmetic resulting in small (3
409 words or fewer) bignums.
410 * bug fix: miscompilation of some additions of signed and unsigned words on
412 * bug fix: loading the SB-SIMPLE-STREAMS contrib no longer incompatibly
413 overwrites CL:OPEN's function type. (lp#2008811)
414 * bug fix: implement the special-case automatic function definition for
415 PCL's slot accessor functions in the SB-EVAL interpreter. (lp#2008922,
416 reported by Jonathan Braud)
417 * bug fix: allow the build to succeed under SBCLs older than 2.0.0 in the
418 event that the host emits STYLE-WARNINGs while compiling the
419 cross-compiler. (lp#2009493, reported by Kirill)
420 * bug fix: restore compilation on ARM64 with OpenBSD. (lp#2009585, reported
422 * bug fix: compiling a HANDLER-BIND with a function undefined at
423 compile-time produces a compile-time STYLE-WARNING. (lp#2010176)
424 * bug fix: support files bigger than 4GB on ARM64/Linux, *BSD. (lp#2011453,
426 * bug fix: it is now possible to run sb-simd tests on systems without AVX2.
427 (lp#2011923, thanks to Sergio Durigan Junior)
428 * bug fix: miscompilation of some conditional moves. (lp#2012312, reported
430 * bug fix: SB-GMP no longer signals a TYPE-ERROR when raising a ratio base
431 to a negative integer exponent. (lp#2012577, thanks to Ari Projansky)
432 * bug fix: warn the user when they have declared a structure or
433 standard-object slot of :TYPE NIL.
435 changes in sbcl-2.3.2 relative to sbcl-2.3.1:
436 * incompatible change: the :ORDER long-form-option in
437 DEFINE-METHOD-COMBINATION accepts NIL as well as :MOST-SPECIFIC-FIRST and
438 :MOST-SPECIFIC-LAST. A value of NIL implies no particular ordering of the
439 methods, and so disables checks of multiple methods with the same
440 specializers in that group.
441 * bug fix: evaluate the :ORDER long-form-option in DEFINE-METHOD-COMBINATION
442 properly, avoiding an infinite loop in DEFINE-METHOD-COMBINATION if the
443 :ORDER argument leads to a cycle of compile-time constants.
444 * bug fix: better compile time on chains of conditionals which have gaps in
445 integer ranges. (lp#1992349, reported by Mykola Matvyeyev)
446 * bug fix: type derivation of VECTOR-LENGTH leading to wrong type handling
447 for MEMBER types involving vectors. (lp#2004094)
448 * bug fix: equality constraint propagation in the presence of constants
449 could cause code to be not deleted when it should have been. (lp#2006487)
450 * bug fix: better compile time when the compiler needs to perform checks to
451 see if fixnum or word computations result in overflow. (lp#2007741)
452 * bug fix: miscompilation on ARM64. (lp#2007758, reported by Stephen
454 * optimization: on x86-64, use SIMD instructions for UTF-8 buffer decoding;
455 * various type-driven optimizations:
456 ** comparisons of rationals with constant ratios or floats;
457 ** comparisons of unsigned-bytes with fixnums;
458 ** comparisons of fixnums with constant powers of two;
459 ** equality of numbers with integers too large to be exactly represented
461 ** arithmetic operations on a mixture of signed and unsigned word-sized
464 changes in sbcl-2.3.1 relative to sbcl-2.3.0:
465 * sb-graph has been removed. To visualize IR1 in sbcl, it is recommended to
466 use the function IR1-TO-DOT (which only survives the final tree shake if
467 the feature :sb-devel is enabled at build time).
469 ** implement some peephole optimizations on arm64;
470 ** support float traps on arm64;
471 * bug fix: package-manipulation operations within fasls work as expected in
472 the absence of explicit block compilation requests. (lp#2000004, reported
474 * bug fix: incorrect type simplification of certain CONS types.
475 (lp#1999352, reported by Paul Dietz)
476 * bug fix: method combination group selection interprets the symbol * as
477 a wildcard element within proper qualifier-pattern lists. (reported by
478 Maciej Katafiasz and by Daniel KochmaĆski)
479 * bug fix: &WHOLE can be used without error in define-method-combination
480 arguments lambda lists. (reported by Daniel KochmaĆski)
481 * bug fix: bogus debug variables generated for closure variables whose value
482 cell had not yet been allocated could cause segfaults and gc crashes
483 (reported by _death on #sbcl)
484 * bug fix: handling of float NaNs in two-arg numeric comparison functions is
485 more consistent with the required semantics in IEEE 754 when comparing
487 * bug fix: ensure that the hide-packages test passes even when the system
488 retains internal cross-reference metadata. (lp#2002896, reported by 3b)
489 * bug fix: don't trip an internal assertion in weak hash tables with
490 finalizers. (lp#1998064)
491 * optimization: load-time only code is no longer retained at runtime when
492 functions close over top level bindings.
493 * optimization: GO and RETURN-FROM now elide out-of-extent tag checks when
494 the compiler can prove it's safe even on high safety.
495 * optimization: addition of a fixnum to a bignum generates less garbage.
496 * optimization: in many cases, type inference and code generation is
497 improved for and around numerical comparison functions.
499 changes in sbcl-2.3.0 relative to sbcl-2.2.11:
500 * enhancement: support for SLOT-VALUE and friends has been extended to
501 structure and condition instances.
502 * enhancement: the error message for invalid array index conditions is clearer.
503 (lp#1999337, reported by Hadrien Lacour)
504 * minor incompatible change: COMPILED-FUNCTION-P now returns false for
506 * minor incompatible change: the compiler emit STYLE-WARNING conditions for
507 FIND and POSITION where the item sought can never be present in the
509 * optimization: support computing the remainder of a constant division by
511 * optimization: faster out of line float truncation routines.
512 * optimization: faster RATIONAL on 64-bit platforms.
513 * optimization: more compact testing of widetags on x86-64 and arm64.
514 * bug fix: type intersections of RATIONAL ranges with (NOT INTEGER) are
515 computed more consistently. (lp#1998008)
516 * bug fix: fix miscompilation of integer/fixnum comparisons where both
517 arguments are on the stack.
519 changes in sbcl-2.2.11 relative to sbcl-2.2.10:
521 ** arm64: allow the use of CLISP as a build host. (lp#1996942, reported
523 * enhancement: improvements to constraint propagation around comparison
525 * optimization: conditional move VOPs can work on boxed values and
526 produce less consing.
527 * optimization: NUNION and UNION are generally faster.
528 * bug fix: slot-makunbound-using-class can be redefined without redefining
529 the other slot methods. (lp#1956621, reported by MichaĆ Herda)
530 * bug fix: GETHASH on a table created without ":synchronized t" when run
531 concurrently in multiple threads could have returned incorrect results.
532 * bug fix: build of contributed modules assumed that 'cat' was always
533 in /bin/cat on POSIX systems. (lp#1995224, reported by Kasper GaĆkowski)
534 * bug fix: INSPECT on an (ARRAY NIL) no longer hangs. (lp#1995639, reported
536 * bug fix: Fix miscompilation of FILE-STRING-LENGTH when the first argument
537 has a known FILE-STREAM type. (lp#1995881)
539 changes in sbcl-2.2.10 relative to sbcl-2.2.9:
541 ** win32: improved handling of stack overflow exceptions. (lp#1302866)
542 ** Mac OS X: enforce stronger alignment when building the runtime.
543 (lp#1991485, reported by Yan)
544 ** arm64: support for building the system without the sb-unicode feature
545 (i.e. with 8-bit characters) is restored.
546 * bug fix: do not elide the GC store barrier in closures. (lp#1982608,
547 reported by Andrew Berkley)
548 * bug fix: make sb-introspect tests pass when the system is built without
549 support for source locations. (lp#1635349, reported by Tomas Hlavaty)
550 * bug fix: erroneous assumption that the format-control of a simple condition
551 was a string. (lp#1803727)
552 * bug fix: compiler consistency failure in modular arithmetic widening.
554 * bug fix: provide a stub for a helper function (lp#1992316)
556 changes in sbcl-2.2.9 relative to sbcl-2.2.8:
558 ** fix build on Darwin platforms with -fno-common. (lp#1980570, thanks to
560 ** include /usr/local paths when building on FreeBSD. (lp#1981112,
561 reported by William G Lederer)
562 ** several micro-optimizations on x86-64, including: better use of
563 INC/SUB, better SAP+, shorter KEYWORDP, better argument count
565 ** arm64: better KEYWORDP, better argument count verification
566 ** fix build on 32-bit Windows. (lp#1988534, thanks to Alexis Rivera)
567 ** x86-64: WITH-PINNED-OBJECTS can pin constants. (lp#1989037)
568 * bug fix: make sb-simd build in compiler-only SBCL. (thanks to Tonas
570 * bug fix: SB-SPROF:WITH-PROFILING now returns the value of its body (as was
571 advertised in its documentation).
572 * bug fix: catch malformed LET* forms in DEFMETHOD bodies. (lp#1988880,
573 reported by Patrick Poitras)
574 * enhancement: better source form tracking for atoms in LET bindings.
575 * optimization: reader character macro lookup is simpler and faster.
576 * optimization: FILL-POINTER (and its setter) are more compact.
578 changes in sbcl-2.2.8 relative to sbcl-2.2.7:
579 * minor incompatible change: support for 32-bit x86/Darwin has been removed.
580 * bug fix: fix miscompilation related to empty infinite loops preceded by
581 conditional expressions. (lp#1986810, reported by Artyom Bologov)
582 * bug fix: fix gc invariant violations. (lp#1983218, reported by Marius
583 Gerbershagen; lp#1983248, reported by Vasily Postnicov)
584 * bug fix: use CC to compile SBCL as a shared library. (lp#1976148,
585 reported by Pierre Neidhardt)
586 * bug fix: don't crash the system completely if RUN-PROGRAM fails to create
587 a pipe. (lp#1979841, reported by Thor Kristofferson)
588 * bug fix: be more disciplined about use of C system includes. (lp#1981799,
589 reported by Mark Evenson)
590 * bug fix: STRING/= returning wrong results for some cases when :END1/:END2
591 were not compile-time constants. (lp#1983284)
592 * bug fix: compile-time checking of :START and :END keyword arguments to
593 FILL is more complete.
594 * optimization: adjacent type tests on the same value are more compact
596 * optimization: the compiler can inline COPY-STRUCTURE in more cases.
597 * optimization: type checks for non-simple arrays are shorter.
598 * optimization: printing strings (as Lisp data) is faster.
600 changes in sbcl-2.2.7 relative to sbcl-2.2.6:
601 * minor incompatible change: the compiler emits full WARNINGs for undefined
602 references to variables in TYPE and DYNAMIC-EXTENT declarations, and for
603 SETQ of an undefined variable. (This was the historic behaviour for
604 everything except the DYNAMIC-EXTENT case, which used to emit a
605 STYLE-WARNING, but these diagnostics got lost in a refactoring since
607 * minor incompatible change: literal objects (strings, in particular)
608 in compiled code may at the discretion of the runtime be placed in
609 read-only memory. Violations of CLHS 3.7.1 could produce memory faults.
610 If ":PURIFY NIL" is given to SAVE-LISP-AND-DIE then no read-only memory
612 * enhancement: Unicode support has been updated to support version 10.0.0 of
613 the Unicode standard, including addition of characters and refinements to
614 breaking and collation algorithms.
615 * bug fix: AVX is no longer used for loading simd-pack-256 constants.
617 * bug fix: fix building the manual when some contribs are blocked or
618 otherwise disabled. (lp#1979821, thanks to Robert Schiele)
619 * bug fix: fix type derivation of sequence functions with highly-specific
620 declared argument types. (lp#1980292, reported by James Kalenius)
621 * bug fix: internal error when optimizing chains of conditionals in local
622 functions. (lp#1981607, reported by Pasha K)
623 * bug fix: fix comparison of negative floats with bignums.
624 * optimization: faster TRUNCATE with float arguments.
625 * optimization: EQUALP hashing of large floating point values should
626 generate less garbage.
628 changes in sbcl-2.2.6 relative to sbcl-2.2.5:
629 * minor incompatible change: support for 32-bit x86 on macOS has been
631 * new contrib: sb-simd, to provide a convenient interface for SIMD
632 programming on x86-64. (Thanks to Marco Heisig and other sb-simd
634 * enhancement: core compression now uses zstd instead of zlib. (lp#1881089)
635 * enhancement: provide compiler warnings for specialized array type
636 mismatches in CONCATENATE.
637 * enhancement: provide compiler warnings for bad sequence bounding index
638 designator arguments to sequence functions.
639 * enhancement: The sb-mpfr contrib now allows coercion from MPFR-FLOATs
640 to CL:RATIONAL. (Thanks to Robert Smith)
641 * bug fix: fix compilation failure related to declaiming types of constants.
642 (lp#1977726, reported by Pierre Neidhardt)
643 * bug fix: fix race condition in CLOS optimized constructors. (lp#1951341)
644 * bug fix: fix too-eager elision of allocation barriers when initializing
645 closure and structure objects.
646 * optimization: fasl files are now usually smaller (up to 10% on default
647 policy) and may load faster, especially on high debug.
648 * optimization: faster string comparisons on arm64, x86-64.
649 * optimization: faster [n]string-down/upcase on arm64, x86-64.
650 * optimization: faster [n]reverse for 8- and 32-bit element vectors on
652 * optimization: faster type tests for (CONS (EQL symbol)) on x86-64.
654 changes in sbcl-2.2.5 relative to sbcl-2.2.4:
655 * minor incompatible change: SB-EXT:*DERIVE-FUNCTION-TYPES* being NIL now
656 means that function calls will strictly only use type information from
657 proclaimed ftypes. The previous behavior (still the default) of using
658 derived type information from the same file is specified with :SAME-FILE.
660 * minor incompatible change: RENAME-FILE now overwrites the target file on
661 Windows too, making its behaviour consistent with other platforms.
662 * minor incompatible change: inlining of local function is inhibited if
665 ** single-stepping is now supported on 64-bit PowerPC platforms. (thanks
666 to Thomas Fitzsimmons)
667 ** the :SB-LINKABLE-RUNTIME feature is now supported on 32-bit and 64-bit
668 PowerPC platforms. (thanks to Thomas Fitzsimmons)
669 * optimization: improved type derivation of REDUCE with some known reducing
671 * enhancement: debug source locations now work correctly for top level forms
672 with policy DEBUG = 1, as well as for block compiled files.
673 * enhancement: TRACE now supports tracing macro functions, compiler-macro
674 functions, individual methods and local functions. See the user manual for
675 more details. (lp#375314)
676 * bug fix: fix integer comparisons on x86-64 and arm64 (lp#1971088, reported
677 by Guillaume LE VAILLANT)
678 * bug fix: coverage instrumentation behaves correctly with respect to
680 * bug fix: ftype proclamations now take effect immediately during block
682 * bug fix: block compilation of top-level closures now work. (lp#1931730,
683 reported by Sean Maher)
684 * bug fix: streams opened from RUN-PROGRAM but left unclosed because of a
685 non-local exit no longer cause unrelated streams to be closed later.
687 changes in sbcl-2.2.4 relative to sbcl-2.2.3:
688 * enhancement: better constraint propagation in the compiler. Specifically,
689 the compiler can now derive the type of X in control flow join situations
691 (LAMBDA (X) (ECASE (1 ...) (2 ...)) X)
693 (LAMBDA (X) (ETYPECASE (INTEGER ...) (SYMBOL ...)) X)
694 instead of forgetting all information about X after the E(TYPE)CASE.
695 * optimization: inlined functions enclosed in local macro definitions no
696 longer save their entire lexical environment, reducing unnecessary
698 * optimization: faster (< integer fixnum) comparisons (ARM64 and x86-64).
700 ** RUN-PROGRAM is faster on Linux and FreeBSD if close_range(2) is
702 * bug fix: block compilation now interacts more correctly with the creation
704 * bug fix: internal compiler error in array reference
705 optimizer. (lp#1966624)
707 changes in sbcl-2.2.3 relative to sbcl-2.2.2:
708 * minor incompatible change: SB-THREAD:MUTEX-OWNER may return :THREAD-DEAD
709 if the apparent owner either exited nearly instantly after releasing the
710 mutex (and is not now the owner), or died and never released it.
711 * minor incompatible change: building the system with the simple semi-space
712 copying collector is no longer supported.
713 * minor incompatible change: support for PPC/Darwin has been removed.
715 ** fix regressions in threads on RISC-V. (lp#1962598)
716 ** threads are now enabled by default on RISC-V.
717 ** The generational garbage collector is now supported on MIPS.
718 * optimization: fasls containing standard object literals are now smaller
719 and load more efficiently.
720 * optimization: faster arithmetic (*-+) on word-sized integers when the
721 result is not known to fit into a word (ARM64 and x86-64).
722 * bug fix: EQness of constants is now always preserved when block compiling.
724 changes in sbcl-2.2.2 relative to sbcl-2.2.1:
726 ** all architectures now share the coverage mark instrumentation
727 implementation, meaning that performance now equals what had been
728 implemented only on x86 architectures.
729 ** fixed a performance regression on x86-64 from changes in AVX2 register
730 handling. (lp#1960081, reported by Michael Kappert)
731 ** fixed a garbage collection bug on ppc64 manifesting in occasional
732 corruption on threaded programs. (lp#1959338, lp#1952973)
733 ** micro-optimizations in type tests for (SIGNED-BYTE 64).
734 * enhancement: improved handling of source locations for some classes
735 of compile time and runtime errors.
736 * enhancement: better source locations for structure accessors.
737 * bug fix: SB-COVER now always instruments top level forms correctly.
738 * bug fix: muffling conditions now works correctly on higher debug settings.
739 * bug fix: local muffling declarations now scope correctly with respect to
740 undefined variable warnings.
741 * optimization: calls to STRING= can now return NIL more quickly on strings
744 changes in sbcl-2.2.1 relative to sbcl-2.2.0:
745 * incompatible change: DEFINE-ALIEN-CALLBACK, which has never been exported
746 from a public package, has been deleted. It is superseded by
747 SB-ALIEN:DEFINE-ALIEN-CALLABLE.
748 * minor incompatible change: compiler warnings are emitted on more
749 provably-erroneous code involving sequence functions on specialized
752 ** support getting thread IDs on FreeBSD. (thanks to Felix Lange)
753 ** faster function call sequence on arm64.
754 ** the built-in buffer size for file streams is increased to 8KB.
755 * enhancement: provide a restart for method lambda list mismatches that
756 fmakunbounds the generic function.
757 * enhancement: provide a USE-VALUE restart around type errors signalled from
759 * enhancement: when UPDATE-INSTANCE-FOR-DIFFERENT-CLASS (or -REDEFINED-)
760 undergoes a non-local exit, restore the instance to its original state.
761 (thanks to MichaĆ phoe Herda)
762 * enhancement: the :SYNCHRONIZED keyword argument to MAKE-HASH-TABLE is no
764 * bug fix: fix an erroneous compiler tranform for (EXPT SINGLE-FLOAT
765 INTEGER). (lp#1958061, thanks to Vasily Postnicov)
766 * bug fix: disassembly of closures is more likely to show the relevant code
767 if more than one closure closes over the same environment. (lp#1956870,
768 reported by MichaĆ phoe Herda)
769 * bug fix: RUN-PROGRAM with :IF-EXISTS :APPEND no longer signals an error if
770 the output does not exist. (lp#1958569, thanks to Ingo Krabbe)
771 * optimization: reorder basic blocks to have loop code fall through more
772 often. (thanks to Hayley Patton)
773 * optimization: sequences larger than the buffer size are written to streams
774 without going through a buffering stage. (reported by Philipp Marek)
776 changes in sbcl-2.2.0 relative to sbcl-2.1.11:
778 ** support for FreeBSD on 64-bit arm platforms has been added.
779 ** the :SB-LINKABLE-RUNTIME build-time feature is now supported on 32-bit
780 and 64-bit arm platforms, and on the FreeBSD operating system.
781 ** bug fix: correct encoding for vmovsd. (lp#1953483, reported by Marco
783 ** bug fix: support ABIv1 callbacks on big-endian ppc64. (lp#1900343,
784 thanks to Thomas Fitzsimmons)
785 ** bug fix: don't misuse mprotect() in dynamic space on Windows.
786 (lp#1955723, reported by 3b)
787 * enhancement: catch type mismatches for REPLACE, SUBSTITUTE, MAKE-ARRAY
788 with :INITIAL-CONTENTS.
789 * optimization: printing symbols is around 10% faster than previously.
790 * bug fix: don't use the current type of non-returning functions when
791 redefining them in another file. (lp#1953214, reported by Nicolas Hafner)
792 * bug fix: eliminate stack cleanups more conservatively. (lp#1954330,
793 reported by Daniel KochmaĆski)
794 * bug fix: check consistently in tests for the existence of VOPs.
795 (lp#1952896, reported by SĂ©bastien Villemot)
797 changes in sbcl-2.1.11 relative to sbcl-2.1.10:
798 * minor incompatible change: *COMPILE-PRINT* now defaults to NIL. T gives
799 the old behavior of echoing top level forms. Users who want to see a
800 report of the phases of compilation can use *COMPILE-PROGRESS* and the
801 corresponding COMPILE-FILE :PROGRESS argument.
802 * optimization: The compiler assignment-converts functions much more
803 aggressively; local or non-entry block-compiled functions
804 which always return to the same place are automatically converted into the
805 equivalent loop or goto control structures.
806 * enhancement: on x86-64 and ppc64 platforms, the system uses inline
807 instructions rather than page protection to implement a store barrier for
808 the garbage collector.
809 * enhancement: improved reporting of code deletion notes.
811 ** unbound-variable restarts for amd64 are now supported.
812 ** bug fix: single-floats to foreign functions on 32-bit ARMel.
813 (lp#1950080, reported by Sebastien Villemot)
814 ** bug fix: opening files with names containing non-ASCII characters on
815 Windows works better. (reported by Nikolay)
816 ** bug fix: use fp_xsave to access the floating point flags and control
817 word in Haiku signal contexts. (Thanks to Al Hoang)
818 ** bug fix: complex single-float support on riscv64.
819 ** optimization: support for accessing elements of &rest args directly on
821 ** optimization: parse a /proc file rather than executing uname for
822 SOFTWARE-VERSION on Linux
823 * bug fix: fix crash from SB-COVER:RESET-COVERAGE. (lp#1950059, reported by
826 changes in sbcl-2.1.10 relative to sbcl-2.1.9:
827 * incompatible change: simd-pack without a specific element-type is no
828 longer treated as containing integers. A type must be supplied for VOPs to
830 * minor incompatible change: the list form of the FUNCTION type specifier
831 does not allow * as any argument type, but does allow * as a placeholder
832 for wholly unspecified arguments when specifying the value(s) type.
833 * minor incompatible change: the default (Lisp) toplevel option parser
834 throws an error if it encounters an option which was intended to be used
835 and removed by the C runtime. (lp#1945081, reported by Luke Gorrie)
836 * new feature: there is now a defined interface for defining foreign
837 callable functions, which can be used for passing callbacks to foreign
838 functions or for calling Lisp code from the foreign world as a shared
839 library (preliminary support). See the revised manual section "Calling
840 into Lisp From C" for more details.
841 * enhancement: arg-count mismatches in self-calls in defmethod are reported.
842 (lp#1912436, reported by 3b)
843 * enhancement: the SB-CLTL2 contrib now returns type information for
844 generated structure accessors. (lp#1934859, reported by SATO shinichi)
845 * optimization: code generation is improved for modular arithmetic involving
848 ** x86-64 machine code emitter crash when attempting to assemble some
849 vector instructions. (lp#1945975, thanks to Marco Heisig)
850 ** conditional move instructions are now supported on arm64.
851 ** a number of new peephole optimizations have been implemented on arm64.
852 ** arm64 on Darwin now uses gcc-compatible thread-local storage.
853 * bug fix: compiler notes are no longer emitted when compiling FORMATTER
854 forms, including when implicitly triggered on a constant string argument
855 to FORMAT. (lp#1946246, reported by SATO shinichi)
856 * bug fix: a compiler error when attempting to compile a call to AREF with
857 too many dimensions. (lp#1902985)
858 * bug fix: harmonize the behaviour of SLOT-BOUNDP on non-standard-objects
859 between the various ways in which it can be called. (lp#732229, reported
861 * bug fix: FTRUNCATE and similar functions are now more careful about
862 deriving facts about the sign of zero they might return. (lp#1732009,
863 reported by Paul Dietz)
865 changes in sbcl-2.1.9 relative to sbcl-2.1.8:
866 * minor incompatible change: the experimental DEFCAS macro has been removed.
867 * minor incompatible change: finalizing classes with slots with duplicate
868 symbol-names will only emit a warning if either slot name is an exported
871 ** the debugger is better able to display SIMD packs. (thanks to Marco
873 ** fix a bug in zeroing YMM registers. (thanks to Marco Heisig)
874 ** fix instruction definitions for SSE blend and shuffle vector
875 instructions. (thanks to Marco Heisig)
876 ** handle heap corruption exceptions in our exception handler on win64.
877 ** improve WAIT-UNTIL-FD-USABLE on Windows, reducing busy-looping.
878 (thanks to Fabio Almeida)
879 * bug fix: EQUALP hash tables whose keys contain arrays containing floats should
880 behave correctly. (lp#1942424, reported by Nicolas Neuss)
882 changes in sbcl-2.1.8 relative to sbcl-2.1.7:
883 * minor incompatible change: the experimental DEFINE-CAS-EXPANDER macro has
885 * minor incompatible change: the hooks in *INIT-HOOKS* are called before
886 starting the finalizer or other non-user threads. (thanks to Sean Whitton)
888 ** many improvements to code generation on arm64.
889 ** avoid slow forms of the bit test instructions BT, BTS, BTR on x86-64.
890 ** fix a bug in loading large core files on the Apple M1/arm64. (thanks
892 ** fix a bug in loading core loading on the Apple M1/arm64. (reported by
894 * enhancement: the block-compiler is more robust to files with intermingled
895 compile-time and load-time effects. The semantics of the block-compiler
896 remain not-entirely ANSI compatible. (thanks to Sean Maher)
897 * enhancement: (CAS SAP-REF-<x>) and CAS on alien integers is implemented on
898 ppc64 and x86-64, working towards fixing lp#1894057
899 * bug fix: fix OPEN-STREAM-P on streams closed by saving a core.
900 (lp#1938433, reported by Guillaume LE VAILLANT)
901 * bug fix: remove a spurious warning from COERCE. (lp#1920931, reported by
903 * bug fix: remove a warning from inlining SET-EXCLUSIVE-OR. (lp#1936470,
904 reported by Jerome Abela)
906 changes in sbcl-2.1.7 relative to sbcl-2.1.6:
907 * incompatible change: on certain platforms (currently just x86-64),
908 dynamic-extent arrays specialized on character and numeric types and
909 created without either :INITIAL-ELEMENT or :INITIAL-CONTENTS will reflect
910 previous contents of the stack instead of #\null (or 0) in all elements.
911 * minor incompatible change: SB-SPROF:START-PROFILING no longer silently
912 does nothing if the clock is already running. It instead stop and restarts
913 with the newly provided options, and warns.
914 * minor incompatible change: the system attempts to refer to the supplied
915 pathname in compiler diagnostics, if relevant, rather than the truename.
916 * enhancement: new contrib module sb-graph producing graphical
917 visualizations of Intermediate Representations of SBCL compilation data
920 ** improved code generation for unary minus in modular contexts on arm64.
921 ** make the disassembler annotations slightly more robust on arm64.
922 ** release space back to the Operating System on Windows.
923 ** improve the test for whether pages need to be committed on Windows.
924 * optimization: the type of (LOOP ... COLLECT ...), and the type of COLLECT
925 INTO variables, is derived as LIST. (lp#1934577, reported by SATO
928 changes in sbcl-2.1.6 relative to sbcl-2.1.5:
929 * minor incompatible change: COMPILE-FILE does not merge the input file's
930 pathname-directory into the output path if :OUTPUT-FILE was specified
931 and has a directory that is not :UNSPECIFIC.
933 ** improvements to unwind code generation on arm64.
934 ** on x86-64, accept three operands for vshufpd. (reported by Bela
936 ** on x86-64, improvements to use of popcount
937 ** improve exception handling on 64-bit Windows. (thanks to Luis Borges
939 * bug fix: allow use of macros with improper argument list. (lp#1929623,
940 thanks to Sean Maher)
941 * bug fix: COERCE no longer attempts to guess what the user meant if they
942 provide a type specifier of a union of types other than STRING.
944 * bug fix: print a single trailing zero after the decimal point for FORMAT
945 ~E if there are no digits remaining to be printed and the width allows it.
948 changes in sbcl-2.1.5 relative to sbcl-2.1.4:
949 * minor incompatible change: on x86-64, the backend instruction encoders for
950 movzx and for string opcodes have changed their semantics.
952 ** compatibility: support the latest MinGW on x86. (lp#1923325, thanks to
954 ** bug fix: on x86-64, fix instruction encoding for TEST on RIP-relative
955 addresses. (lp#1925808, reported by Shinmera on #sbcl, thanks also to
957 ** bug fix: on x86-64, loading all-1s into an AVX2 register no longer
958 causes an error. (lp#1928516, thanks to Marco Heisig)
959 ** bug fix: on arm64, improve disassembly of ADD with constant 0 as MOV
960 ** enhancement: on arm64, support debugger commands RETURN-FROM-FRAME and
961 RESTART-FRAME more efficiently.
962 ** enhancement: on x86-64, add support for vshuf* AVX2 instructions.
963 (reported by Bela Pecsek)
964 ** optimization: faster function calls on arm64.
965 ** optimization: (SETF SBIT) is faster on x86-64.
966 * bug fix: INTEGER-DECODE-FLOAT was computing the wrong answer for denormal
967 double floats. (lp#1926383, reported by Stavros Macrakis)
968 * bug fix: RANDOM on a floating point argument now does not cons. (reported
970 * bug fix: fix a compiler crash in type derivation of LOGTEST. (lp#1928243)
971 * bug fix: fix a compiler failure when a declared function type contains a
972 literal structure with a valid MAKE-LOAD-FORM method. (lp#1929160, thanks
974 * optimization: FBOUNDP on a constant symbol is now faster.
975 * optimization: file compilation now produces smaller fasls for files which
976 reference package literals.
977 * optimization: derive the type of calls to FLOAT-SIGN.
979 changes in sbcl-2.1.4 relative to sbcl-2.1.3:
981 ** work around address-space randomization causing instability on new
982 versions of MinGW. (lp#1921141)
983 * bug fix: RANDOM on floats returns values strictly less than the float
985 * bug fix: compiler error on x86-64 resulting from attempting to zero a
986 memory location with xor. (reported by Eric Marsden)
987 * optimization: extended loops updating iteration variables with THEN can
988 perform specialized arithmetic for those updates.
989 * optimization: in some cases, the jump table resulting from a compilation
990 of TYPECASE is simpler.
991 * optimization: on x86-64, IF BOUNDP followed by SYMBOL-VALUE can elide some
992 memory loads and tests.
994 changes in sbcl-2.1.3 relative to sbcl-2.1.2:
995 * minor incompatible change: support for the :SB-SAFEPOINT-STRICTLY,
996 :SB-THRUPTION, and :SB-WTIMER build features has been removed
998 ** support for :SB-CORE-COMPRESSION on Darwin/ARM64
999 ** support ARM v8.1 atomic and compare-and-swap instructions
1000 ** x86, x86-64: microoptimizations in multiple type-checking routines
1001 * bug fix: structures and conditions are now TYPEP all classes in the class
1002 precedence list of their class. (reported by Luis Oliveira)
1003 * bug fix: derivation of the result type from subtraction sometimes
1004 erroneously excluded zero. (lp#1916895)
1005 * bug fix: reduce the number of places where the system permissively accepts
1006 the symbol * as a type specifier where it should not be accepted.
1008 * bug fix: the code-walker used by the system's implementation of CLOS can
1009 handle defuns declared inline. (reported by Don Cohen)
1010 * optimization: EQUALP on specialized vectors and arrays is faster.
1011 * optimization: support routines for EQUALP hash tables generate less garbage.
1013 changes in sbcl-2.1.2 relative to sbcl-2.1.1:
1015 ** support for ARM64 macOS;
1016 ** improvement in coverage mark implementation on non-x86oid backends,
1017 approaching the existing x86oid support;
1018 ** more empirically-robust retrieval of the program counter from illegal
1019 instruction traps on SPARC;
1020 ** retain fewer dead objects when saving cores with precise collectors.
1021 * incompatible change: MAP-ALL-SAMPLES and MAP-TRACE-SAMPLES
1022 are no longer present in the SB-SPROF contrib module.
1023 * minor incompatible change: SB-SPROF:WITH-PROFILING defaults to all
1024 threads. SB-SPROF:START-PROFILING no longer accepts a :SAMPLING keyword.
1025 * enhancement: the sb-introspect contrib now supports finding the lambda
1026 lists of method combinations. (thanks to Didier Verna)
1027 * enhancement: short-form DEFSETF now stores a source-location.
1028 * bug fix: canonical unions of CONS types were being incorrectly computed.
1029 (lp#1912863, reported by James Kalenius)
1030 * bug fix: better understanding of array simplicity (or otherwise) in the
1031 type system. (lp#1903241)
1032 * bug fix: unions of rational and integer types now have a single canonical
1033 form, allowing more correct reasoning about them in the type system.
1034 * bug fix: less likely to overclaim certainty about type equality of union
1036 * bug fix: HANDLER-BIND evaluates the forms producing handler functions only
1037 once. (lp#1916302, reported by Christophe Junke)
1038 * optimization: FIND on constant sequences can be compiled into a jump
1039 table, in a similar manner to POSITION
1040 * optimization: the compiler's awareness of numeric contagion rules for
1041 operations on pairs of floating point numbers is improved. (lp#1914094,
1042 thanks to Andrew Berkley)
1044 changes in sbcl-2.1.1 relative to sbcl-2.1.0:
1046 ** restore non-threaded NetBSD builds;
1047 ** adjust how the finalizer thread is started; (lp#1906571, lp#1907872)
1048 ** fix the encoding of PEXTR on x86-64;
1049 * minor incompatible change: emit warnings for list iteration forms when the
1050 object being iterated over is known not to be a list. (lp#1908819,
1051 reported by Michael Fiano)
1052 * bug fix: detect 2 or 1 as an invalid number of arguments passed to
1053 optimized slot reading or writing effective method respectively.
1054 (lp#1909659, reported by Michal Herda)
1055 * bug fix: division by zero errors were in some cases not being signalled.
1056 (lp#1910098, reported by il71)
1057 * bug fix: erroneous coercions in the type system could lose precision.
1059 * bug fix: literal (read-time evaluated) NaNs in source code no longer cause
1060 compiler crashes. (lp#1909881, reported by Michal Herda)
1061 * bug fix: detect more erroneous syntax in method bodies. (lp#1912362,
1062 reported by Paul M. Rodriguez)
1063 * optimization: the compiler's understanding of EXPT is improved, reducing
1064 the introduction of COMPLEX types. (lp#1908830, reported by Michael Fiano)
1065 * optimization: the compiler is better at computing numeric contagion when
1066 (COMPLEX FLOAT) types are involved.
1067 * micro-optimizations:
1068 ** moving from slightly-bigger-than-fixnum ranges is more efficient on x86-64;
1069 ** encode character comparisons with smaller operands on x86-64;
1070 ** truncating (and related operations) on floats can be inlined in more
1071 cases on 64-bit platforms;
1072 ** rounding can use specialized instructions on ARM64 and on x86-64 when
1075 changes in sbcl-2.1.0 relative to sbcl-2.0.11:
1076 * minor incompatible change: the MAKE-EA internal function, used in the
1077 assembler, has been removed (affecting some libraries defining their own
1079 * new feature: SB-EXT:PRIMITIVE-OBJECT-SIZE can be used to interrogate the
1080 low-level size in memory of objects. (lp#1636910, reported by anquegi)
1082 ** pass required -std argument to the compiler on Solaris (lp#1885751,
1083 thanks to Jesse Off)
1084 ** better treatment of non-ASCII program arguments on Windows (lp#1907970,
1085 reported by Timofei Shatrov)
1086 ** implement the improved TYPEP with structure types on all other
1087 supported platforms (32-bit PowerPC, ARM, ARM64, MIPS, SPARC, RISC-V)
1088 * enhancement: stream dispatch (to vanilla ANSI / Gray / Simple variants) has
1089 been rewritten and optimized, fixing a number of bugs including:
1090 ** performance of WRITE-SEQUENCE on composite streams (lp#309136)
1091 ** handling of CLOSE on SYNONYM-STREAM (lp#1904257, reported by Richard M
1093 ** handling of CLOSE on BROADCAST-STREAM with no components (lp#1904722,
1094 reported by Richard M Kreuter)
1095 ** loading SB-SIMPLE-STREAMS breaks functionality of other stream classes
1097 ** some excessive consing in READ-LINE
1098 * enhancements related to RUN-PROGRAM:
1099 ** improved the documentation related to the ARGS argument (lp#806733,
1100 reported by mon_key)
1101 ** added a PRESERVE-FDS argument
1102 * bug fix: ensure that TYPE-OF returns something even on internal instances,
1103 which may become visible in the debugger. (lp#1908261, reported by
1105 * bug fix: iteration variables established by standard forms should always
1106 be considered used by the compiler. (lp#719585, reported by Roman
1108 * bug fix: don't allow compiler transformations to weaken the requirement
1109 against extended (list-form) function names in FUNCALL and related
1110 operators. (lp#310069)
1111 * bug fix: improve automated version number generation in branches.
1112 (lp#897867, thanks to Martin Cracauer)
1113 * bug fix: add possibly-spurious futex wakes when unwinding from a call to
1114 futex-wait, to avoid deadlocks from interrupted waits. (lp#1038034)
1115 * bug fixes in the compiler:
1116 ** error on malformed DESTRUCTURING-BIND (lp#1738638)
1117 ** error on malformed SPECIAL declaration (lp#1740756)
1118 ** error from use of VALUES type in COERCE (lp#1887712)
1119 ** enforcement of FTYPE types involving &OPTIONAL (lp#1903932)
1120 ** checking for proper-list-ness before applying transforms (lp#1905512)
1121 ** compilation of LAMBDA form including a malformed DEFUN (lp#1906056)
1122 ** memory fault from VALUES-related handling in high DEBUG code
1124 ** transforms handle explicit NIL arguments in :END arguments to SEARCH
1126 * bug fix: return COMPILED-FUNCTION for TYPE-OF on compiled functions.
1128 * some bugs were also closed in this release cycle as obsolete, having been
1129 fixed by the passage of time or other change in the environment:
1130 ** floating point error reporting on OS X (lp#309454)
1131 ** load-shared-library not working from non-main threads on OS X (lp#592425)
1132 * optimization: CONSTANTLY on constant arguments returns a more efficient
1133 function. (lp#1852585)
1134 * optimization: perform fewer Lisp/Alien representation conversions in
1136 * optimization: perform fewer redundant widetag tests when doing type tests
1137 of complicated union types.
1138 * optimization: signed-integer division on machine-word sized operands is
1139 now implemented using multiplication, affecting TRUNCATE, FLOOR, CEILING,
1140 MOD and REM. (This optimization was already performed on unsigned-integer
1143 changes in sbcl-2.0.11 relative to sbcl-2.0.10:
1144 * minor incompatible change: (ARRAY NIL (*)) is not a subtype of STRING,
1145 as is consistent with a majority of maintained CL implementations.
1146 * minor incompatible change: ARRAY-RANK-LIMIT is decreased from 65529 to 256
1147 * optimization: TYPEP on structure types is faster and more compact on
1149 * optimization: LOGCOUNT is faster on arm64.
1150 * optimization: SIGNUM can be inlined if its argument type is known.
1152 * bug fix: compiler crash in tail call handling. (lp#1903938)
1153 * bug fix: crash in traceroot. (lp#1903419, reported by Michal Herda)
1154 * bug fix: DESCRIBE called with a string as second argument no longer mutates
1155 that string. (lp#1903901, reported by Michal Herda)
1156 * bug fix: stack clobbering by 256-bit SIMD packs on x86-64. (lp#1901685,
1157 reported by Marco Heisig)
1159 changes in sbcl-2.0.10 relative to sbcl-2.0.9:
1160 * minor incompatible change: the funarg given to SB-SPROF:MAP-TRACES
1161 does not receive a wallclock time with each trace.
1162 * minor incompatible change: INTERNAL-TIME-UNITS-PER-SECOND has been
1163 increased to 10^6 on 64-bit architectures.
1164 * minor incompatible change: SIGPIPE is ignored by default again. (lp#1897624)
1165 * minor incompatible change: the system code compiled under the
1166 :LINKAGE-TABLE feature is now unconditionally compiled in, and the
1167 corresponding entry in *FEATURES* has been removed.
1168 * enhancement: style-warnings are issued for variables which have an
1169 assignment but no "for-value reference" (per CLHS glossary entry)
1170 * bug fix: SB-CLTL2:MACROEXPAND-ALL did not expand MULTIPLE-VALUE-BIND
1171 and MULTIPLE-VALUE-SETQ
1172 * bug fix: CPUID-based feature detection had an index/mask confusion
1174 * bug fix: fix a deadlock on Windows (lp#1896802)
1175 * bug fix: eliminate type errors when wall clocks go back (lp#1028026,
1177 * bug fix: fix EOF handling in read-char-no-hang on concatenenated streams
1178 (lp#690408, reported by Willem Broekema)
1179 * bug fix: fix MAP-INTO on extended sequences (lp#1855375, thanks to James
1181 * bug fix: SB-GMP can now raise -1, 0 and 1 to the power of a bignum.
1182 (thanks to Aaron Chen)
1183 * bug fixes in tests:
1184 ** add a C function declaration (lp#1897627, thanks to Bob Felts)
1185 ** parse vmmap output more liberally (lp#1897722, reported by Bob Felts)
1187 changes in sbcl-2.0.9 relative to sbcl-2.0.8:
1188 * incompatible change: HPPA and DEC Alpha architecture
1189 support has been removed.
1190 * minor incompatible change: the compiler signals a warning at
1191 compile-time when an initform of T, NIL or 0 does not match a
1192 STANDARD-CLASS slot's declared type.
1193 * minor incompatible change: the runtime no longer uses SIGPIPE internally,
1194 so the signal is deliverable to user code as is customary. Ignoring the
1195 signal - in lieu of the OS default of process termination - is obtainable
1196 via (SB-SYS:ENABLE-INTERRUPT SB-UNIX:SIGPIPE :IGNORE).
1198 ** a number of obsolete portability layers (particularly on the Windows
1199 platform) have been removed in favour of direct calling of the native
1201 ** RUN-PROGRAM now accepts a :WINDOW argument to control whether a
1202 subprocess window should be displayed. (Thanks to Luis Borges de
1204 ** the use of futexes implied by :SB-FUTEX is now implemented on FreeBSD.
1205 * bug fix: SB-SPROF can distinguish between SBCL-internal assembly routines.
1206 * bug fix: SB-SPROF has better output in its reports for anonymous
1208 * optimization: CALL-NEXT-METHOD with supplied arguments in required
1209 positions is now faster if the supplied arguments are EQL to the original
1212 changes in sbcl-2.0.8 relative to sbcl-2.0.7:
1214 ** added support for NetBSD/ARM64;
1215 ** threads on Linux now have OS-visible names;
1216 ** removed unnecessary emulation of pthread functions on Windows;
1217 ** work around a sigwait() bug on Mac OS X;
1218 ** allow safepoint build on Mac OS X, though it probably doesn't
1219 work very well (reported by Chris Wagner, lp#1382811)
1220 ** removed stub support for HPUX.
1221 * optimization: SB-THREAD:MAKE-THREAD is faster on most platforms.
1222 * optimization: faster RATIONAL when the result is a RATIO.
1223 * optimization: improved cross-type comparisons (float/ratio/bignum).
1224 * bug fix: EQUALP on pathnames was wrong
1225 * bug fixes: fix compiler issues in:
1226 ** COUNT (lp#1889391)
1227 ** VECTOR-LENGTH (lp#1888919)
1228 ** constant-folding (lp#1888384)
1229 ** FIND and POSITION (lp#1887316)
1231 changes in sbcl-2.0.7 relative to sbcl-2.0.6:
1232 * minor incompatible change: SB-THREAD:THREAD-OS-TID returns NIL for
1233 a thread which has exited.
1234 * minor incompatible change: OPEN no longer calls TRUENAME implicitly
1235 on a string filespec prior to issuing an open() system call.
1236 * minor incompatible change: PATHNAME is no longer a STRUCTURE-OBJECT.
1237 * documentation: HASH-FUNCTION is a function designator. (lp#1888028,
1238 reported by Jacek Zlydach)
1239 * bug fix: eliminated a potential garbage-collector deadlock
1240 when linking with TCMalloc.
1241 * bug fix: foreign threads (those not made by SB-THREAD:MAKE-THREAD)
1242 can not crash with a "GC_PENDING, but why?" error when returning
1243 back from Lisp into the foreign caller.
1244 * bug fix: sb-fasteval crashed trying to install a JIT-compiled
1245 DEFSTRUCT accessor in a locked package.
1246 * bug fix: removed misuse of putwc() which caused stdio streams
1248 * bug fix: the "maximum interrupt nesting depth exceeded" error
1249 generated in the C runtime is significantly less likely to occur.
1250 * bug fix: sb-sprof should no longer segfault from calling pthread_kill()
1251 on a nonexistent thread.
1252 * bug fix: a portability issue arising from various build hosts
1253 (lp#1886255, reported by Pierre Neidhardt)
1254 * bug fix: spurious compiler warnings from REDUCE with :INITIAL-VALUE.
1255 (lp#1885515, reported by Michael South)
1256 * bug fix: an inconsistency between class hierarchies and the type system
1257 under some circumstances involving redefinition. (lp#1886397, reported by
1259 * bug fix: the USE-VALUE restart for OPEN on non-existent files is more
1260 likely to function as expected. (lp#1886587)
1261 * bug fix: various invalid inputs to ROTATE-BYTE no longer cause compiler
1262 errors. (lp#1887164, lp#1888152)
1263 * optimization: PPC64 on linux uses the __thread annotation on C variables
1264 in preference to pthread_setspecific() and pthread_getspecific().
1266 changes in sbcl-2.0.6 relative to sbcl-2.0.5:
1267 * planned incompatible change: the defined symbols in the Metaobject
1268 Protocol, currently accessible from both SB-MOP and SB-PCL packages, will
1269 in a later release be no longer exported from SB-PCL.
1271 ** better support for dynamic-extent on the SPARC architecture.
1272 ** bug fix for loading very large core files.
1273 ** bug fix for logior and logxor on PPC64.
1274 * enhancement: EQUALP on structure instances uses code specialized
1275 to each structure type, inlining comparison of non-pointer slots.
1276 * enhancement: some standard operators, such as WITH-OUTPUT-TO-STRING and
1277 CHANGE-CLASS, have been adapted to use dynamic-extent temporary objects,
1278 and so cons less garbage on the heap.
1279 * enhancement: read tables are more space- and speed efficient
1280 * bug fix: stream conditions with dynamic-extent streams have the stream
1281 replaced by a stub. (reported by Matt Kaufmann)
1282 * bug fix: garbage collections triggered from foreign callbacks crashed.
1283 (lp#1884403, reported by Andrew Kent)
1284 * bug fix: compiler failure in compiling MAKE-LIST. (lp#1881349)
1285 * bug fix: using the debugger from frames with calls to functions with
1286 unsupplied optional arguments is less likely to cause heap corruption.
1289 changes in sbcl-2.0.5 relative to sbcl-2.0.4:
1291 ** experimental support for ARM32 and ARM64 on OpenBSD
1292 ** better musl libc support. (lp#1768368, thanks to Eric Timmons)
1293 ** more correct use of futexes on 64-bit Linux. (lp#1876825, reported by
1295 ** restore building on current Solaris. (lp#1881393, thanks to Shawn
1297 * enhancement: CMUCL-style START-BLOCK and END-BLOCK declarations are now
1298 supported for block compiling forms at a sub-file granularity.
1299 * enhancement: IPv6 support in sb-bsd-sockets is enabled on Windows.
1300 * minor change: *compile-print* now makes it more clear what block
1301 compilation is actually doing. The default output is now slightly more
1302 verbose as a result.
1303 * bug fix: number keys in EQUALP hash tables are correctly hashed.
1304 (lp#1878653, reported by Syll)
1305 * bug fix: EQness is better preserved given partial sharing of list contents
1306 in the file compiler. (lp#1583753, reported by Denis Budyak)
1307 * bug fix: the peephole pass neglected to preserve jump table labels.
1309 * bug fix: fix compiler crash in block compilation merging of toplevel
1310 lambdas. (lp#1865336, reported by il71)
1311 * bug fix: sb-introspect's function-lambda-arglist is better at extracting
1312 default values of nested macro arguments. (lp#1876194)
1313 * bug fix: RESTART-BIND's body is an implicit progn, and so does not accept
1314 declarations. (lp#1876303, reported by Michal Herda)
1315 * optimization: EQUAL hash tables with keys involving structure-objects will
1316 have fewer systematic collisions.
1318 changes in sbcl-2.0.4 relative to sbcl-2.0.3:
1320 ** 32-bit RISC-V is now fully supported. Unlike other ports, its backend
1321 is entirely shared with 64-bit RISC-V.
1322 ** native threads are now supported on RISC-V.
1323 ** fix and add some x86-64 vector instructions. (reported by Shubhamkar
1325 ** improve pointer representation on ppc64 for low-level performance
1327 ** threads are more stable on big-endian ppc64
1328 * enhancement: forward-referenced type tests can now be open-coded by using
1329 block compilation. The result is that mutually referential defstructs are
1330 now efficiently compiled in block compilation mode, superseding a lighter
1331 mechanism that worked in fewer contexts. However, that lighter mechanism
1332 has been removed, so for now, users who want to efficiently compile
1333 mutually referential defstructs must explicitly opt-in using block
1335 * bug fix: defstructs with empty initforms in the sbcl source are now
1336 explicitly intiialized with NIL, as that is undefined behavior under
1337 ANSI. This helps cross compilation hosts which do not implicitly
1338 initialize empty initform slots to NIL. (Thanks to Karsten Poeck)
1339 * bug fix: backtracing through assembly routines now works properly on
1341 * bug fix: ASH no longer gets miscompiled in certain edge cases on RISC-V.
1342 * bug fix: &MORE args have been slightly optimized and are more correct on
1344 * bug fix: unused local functions with &REST/&KEY/&OPTIONAL now also issue a
1346 * bug fix: APPLY on a large list ("large" being in excess of 2k to 16k items
1347 depending on the platform) can no longer crash the gencgc collector.
1348 * bug fix: sb-concurrency FRLOCK algorithm has been corrected. (lp#1087955)
1349 * bug fix: block compilation now respects inlining declarations better (like
1351 * optimization: hashing of structures with raw slots for EQUALP hash tables
1354 changes in sbcl-2.0.3 relative to sbcl-2.0.2:
1355 * incompatible change: the external format now defaults to UTF-8 and is not
1356 affected by LANG. SB-EXT:*DEFAULT-EXTERNAL-FORMAT* is now the only way to
1358 * minor incompatible change: the undocumented :EPHEMERAL argument to
1359 MAKE-THREAD has been removed.
1360 * minor incompatible change: DECLARE type testing of structure types when
1361 the SAFETY optimization quality is less than SPEED (but greater than 0) is
1362 precise, rather than merely testing that an object is a (general)
1365 ** respect sunos platform assembler flag handling
1366 ** riscv architecture can be detected during the build
1367 ** enabled the sb-dynamic-core feature on riscv, sparc, and made it
1368 unconditional everywhere
1369 ** cheneygc is an option for arm and arm64
1370 * enhancement: the installed sbcl executable tree can be renamed or moved
1371 without risk of incorrectly referencing a '.core' file from an obsolete
1373 * optimization: transform (values-list (list one-item)) to (values one-item)
1374 as multiple items were already recognized.
1376 changes in sbcl-2.0.2 relative to sbcl-2.0.1:
1377 * new feature: CMUCL-style block compilation support has been added,
1378 allowing whole program optimization. It has been documented in a new
1379 section of the manual entitled "Advanced Compiler Use and Efficiency
1380 Hints". In particular, users of block compilation will find a large
1381 speedup for numerical code, as functions which call or return floating
1382 point values will keep everything unboxed.
1383 * bug fix: in CHANGE-CLASS, handle non-standard slot-value-using-class for
1384 :INSTANCE and :CLASS slots better. (reported by Shinmera on #sbcl)
1385 * bug fix: REMHASH in an EQUAL or EQUALP hash-table works correctly on a
1386 key for which EQUAL (respectively EQUALP) is reduced to EQ. (lp#1865094)
1387 * bug fix: do not emit a warning for DEFCLASS slots with mismatched :TYPE
1388 and :INITFORM when the class has a non-standard metaclass.
1389 * bug fix: DISASSEMBLE on SPARC is less likely to spuriously annotate code
1390 sequences as error traps.
1392 changes in sbcl-2.0.1 relative to sbcl-2.0.0:
1393 * minor incompatible change: some symbols have been removed from *FEATURES*
1394 based on a determination of which should be impermissible to examine
1395 via #+ and #- reader macros in user-written code.
1396 * optimization: DEFSTRUCT copiers including COPY-STRUCTURE are able to
1397 stack-allocate the result when declared dynamic-extent.
1398 * bug fix: loop analysis code more robust. In particular, loop nesting depth
1399 is computed more accurately, improving the register allocation around
1402 changes in sbcl-2.0.0 relative to sbcl-1.5.9:
1403 * minor incompatible change: heap relocation now works on Windows. Since
1404 this feature now works on all platforms, it is enabled unconditionally and
1405 the :RELOCATABLE-HEAP symbol no longer appears on *FEATURES* in any
1406 builds. (Thanks to LuĂs Borges de Oliveira)
1407 * enhancement: malformed type specifiers and occurrences of deprecated types
1408 in :TYPE initargs of DEFCLASS and DEFINE-CONDITION slot specifications
1409 are detected and result in compile-time errors and warnings respectively.
1410 * enhancement: parallel contrib building, controlled by SBCL_MAKE_JOBS=-jX
1411 the same as for the C runtime.
1412 * bug fix: add a walker template for WITH-SOURCE-FORM.
1413 * bug fix: start the summary of a compilation unit on a fresh line. (Thanks
1415 * bug fix: on Windows, PARSE-NATIVE-NAMESTRING produces an absolute
1416 directory when parsing a bare drive name and :AS-DIRECTORY is specified.
1417 (Thanks to LuĂs Borges de Oliveira)
1418 * bug fix: on RISCV, the runtime is linked with libz if the core compression
1419 feature is requested. (Thanks to Andreas Schwab)
1420 * bug fix: ADJOIN using an EQL test and a KEY function only transforms into
1421 an EQ test if the key function returns values for which EQ and EQL are
1422 guaranteed to be the same.
1424 ** the instruction sequence for multiple-value calls is more
1425 efficient on x86-64.
1426 ** the direction flag is now unused on x86 and x86-64 when handling
1427 an unknown number of return values. (Thanks to Fanael Linithien)
1428 ** the x86-64 backend is better able to use memory operands for arithmetic
1430 ** compilation of TYPECASE to a jump table is enabled when all the types
1431 being tested are frozen.
1432 ** compilation of CASE and ECASE into a jump table has been implemented on
1433 32- and 64-bit powerpc platforms.
1434 ** the implementation of Unicode normalization has been sped up.
1435 ** pretty-printing dispatch on conses is faster, particularly with the
1436 standard pretty-print dispatch table. Deeply-nested forms should also
1437 pretty-print faster.
1439 changes in sbcl-1.5.9 relative to sbcl-1.5.8:
1441 ** a message intended to be more helpful will be displayed for an mmap
1443 ** the soft-float ABI on ARM32 is better supported, in particular in
1444 returning double floats from calls into C.
1446 ** CASE and ECASE with symbols as keys may be optimized into a vector
1447 lookup if all result forms are quoted or self-evaluating objects.
1448 ** CASE and ECASE can be optimized into a jump table on the x86[-64]
1449 backends with arbitrary result forms provided that the clause keys
1450 are either all fixnums, all characters, or all symbols.
1451 ** a number of forms are converted to use CASE in circumstances where that
1452 makes sense, including calls to POSITION, MEMQ and MEMBER, and TYPECASE
1453 where the types are MEMBER/EQL types.
1454 ** POSITION of a variable symbol in a constant sequence of symbols is
1455 converted to CASE and thence to a jump table.
1456 ** TYPECASE of a variable where the clauses are member types is converted
1457 to CASE and thence to a jump table.
1458 ** a number of slow instructions are no longer used on x86 and x86-64
1459 machines. (Thanks to Fanael Linithien)
1460 ** the compiler is better at tracking the implications of branches after
1462 ** parsing &KEY lists is slightly less register-intensive.
1463 ** a pattern-based peephole optimizer pass has been added, running some
1464 simple transformations on the x86-64 backend.
1465 * enhancements: more thorough compile-time type checking of various
1466 initforms (defclass, &key, defstruct).
1467 * bug fix: unions of complicated CONS types are less likely to cause an
1468 infinite loop. (lp#1799719)
1469 * bug fix: DESCRIBE on functions not named by extended function designators
1470 no longer signals a type error. (lp#1850531, reported by Michal Herda)
1472 changes in sbcl-1.5.8 relative to sbcl-1.5.7:
1474 ** support for Mac OS X Catalina
1475 ** improvements in interoperability with C code compiled with memory
1476 sanitization options
1477 ** libsbcl.so links to zlib when sb-core-compression is enabled.
1478 (lp#1845763, thanks to Juan M. Bello-Rivas)
1479 ** workarounds for BSD issues around mmap() and pthread_attr_setstack().
1481 ** support SSE for bzero if available on OpenBSD
1483 ** improved type understanding and translations for division operators
1484 (including TRUNCATE, GCD, LCM).
1485 ** sequential comparisons and branches can elide intermediate comparisons.
1487 ** convert EQUAL and EQUALP to EQL if either of the arguments is a type
1488 for which the structural equality predicate is identical to the simpler
1489 equality check. (lp#1848583)
1490 ** internal operators implementing string comparisons produce
1491 simpler-to-consume values. (lp#1848776)
1492 * bug fix: inspecting adjustable arrays and vectors with fill pointers works
1493 better. (lp#1846191, reported by Yves Pagani)
1495 changes in sbcl-1.5.7 relative to sbcl-1.5.6:
1497 ** many bug fixes to the experimental 64-bit PowerPC/Linux port, to the
1498 extent that the little-endian variant passes all applicable tests in
1499 the regression test suite; the big-endian variant currently has some
1501 ** experimental support for sb-threads on 64-bit PowerPC/Linux
1502 ** support threads on x86-64 Sun OS (lp#1841280)
1503 ** handle PAX restrictions on mprotect() on NetBSD
1504 ** experimental support for HaikuOS
1505 ** the runtime is built as a position-independent executable by default on
1506 x86-64 Linux and x86-64 Darwin
1507 * fixes and enhancements related to Unicode:
1508 ** update of the data files to Unicode 8.0
1509 ** fix a bug in the implementation of the Unicode line breaking algorithm
1510 regarding hebrew letters and hyphens
1511 * enhancement: add a restart to OPEN with :IF-EXISTS :ERROR to allow
1512 re-opening with :APPEND. (lp#806398, reported by Tobias Rittweiler)
1513 * bug fix: compiler optimizations on SEARCH with :FROM-END T didn't account
1514 for the empty sequence. (lp#1844821)
1515 * bug fix: handle SETF of nested empty VALUES correctly. (lp#1806478)
1516 * optimization: FLOOR and CEILING on rationals are simpler, and the
1517 compiler's understanding of them is better.
1519 changes in sbcl-1.5.6 relative to sbcl-1.5.5:
1521 ** experimental support for 64-bit PowerPC running Linux (extending Brian
1522 Bokser's work from 2018), on both the v1 and v2 ABIs
1523 * new feature: SB-EXT:SEARCH-ROOTS discovers paths from live objects to the
1524 roots keeping them alive.
1525 * enhancement: string output streams created with :ELEMENT-TYPE 'BASE-CHAR
1526 use internal buffers of BASE-STRING instead of UCS-4 strings restricted
1527 to the ASCII range, yielding a theoretical 4:1 space reduction.
1528 * optimization: improved make-array type derivation for multi-dimensional
1529 arrays. (lp#1838442)
1530 * bug fix: compliant redefinition of classes whose previous definition
1531 caused argument mismatch errors does not generate errors any more.
1532 (lp#1840595, reported by 3b on #sbcl)
1533 * bug fixes for issues caught by the random tester:
1534 ** never derive the type of TRUNCATE on arbitrary numbers as the empty
1536 ** provide out-of-line definitions for internal machinery related to
1537 FLOAT-SIGN. (lp#1838337)
1538 ** include COMPLEX in the derived type of SIGNUM when appropriate.
1540 ** more correct internal type testing for function types. (lp#1838808,
1541 lp#1838888, lp#1838986)
1542 ** don't assume that all objects of type (NOT SIMPLE-ARRAY) have an array
1543 header. (lp#1838827)
1544 ** recognize that PHASE on non-positive numbers can return 0 as well as PI.
1547 changes in sbcl-1.5.5 relative to sbcl-1.5.4:
1549 ** SunOS: bug reports and patches from Richard Lowe in sb-posix tests
1550 (lp#1837495), sb-concurrency tests (lp#1837817), unencapsulated tracing
1551 (lp#1837307), float registers in interrupt contexts (lp#1837168)
1552 * bug fix: do not generate version.lisp-expr from git describe if the git
1553 repository is not sbcl's own. (lp#1836663, thanks to Richard Lowe)
1554 * bug fix: compiler crash related to VALUES-LIST on a &REST argument in some
1555 contexts. (lp#1836096, reported by Samuel Jimenez)
1556 * bug fix: compiler hang related to constraint propagation. (lp#1835599,
1557 reported by Mark Cox)
1558 * bug fix: the inspector showed the wrong array element type. (lp#1835934,
1559 reported by Richard M Kreuter)
1560 * optimization: numerous improvements to hash table access and rehashing
1561 * optimization: ASSERT compiles into substantially more compact code.
1564 changes in sbcl-1.5.4 relative to sbcl-1.5.3:
1565 * minor incompatible change: hash tables on 64-bit machines consume roughly
1566 20% less memory but can only grow to hold 2^31 entries (theoretically)
1567 due to use of 31-bit indices internally.
1569 ** RISC-V: improve rotate-byte support (thanks to Philipp Matthias
1571 * bug fix: the system reasons more correctly regarding the array rank of
1572 complicated array types. (reported by Bart Botta)
1573 * bug fix: DOUBLE-FLOAT-P never gets weaked to NUMBERP. (reported by Bart
1575 * enhancement: the regression test suite can now benefit from paralellism,
1576 completing much faster when enough compute power is available.
1577 * optimization: readtables with non-base-char dispatch characters are less
1579 * optimization: INTERN performs fewer redundant type checks.
1580 * optimization: tests for PATHNAMEP and STRUCTURE-OBJECT (including in
1581 computing hash functions) are faster.
1583 changes in sbcl-1.5.3 relative to sbcl-1.5.2:
1585 ** RISC-V: numerous bug fixes and improvements
1586 ** all platforms: better run-program performance when used from multiple
1588 * enhancement: (declaim (optimize (debug 2))) ensures compilation of
1589 top-level forms, providing better debugging for simple forms that are
1590 otherwise "byte-code interpreted" when compiled into FASLs.
1591 * bug fix: use of finalizers could in rare circumstances cause a crash in
1592 the garbage collector.
1593 * bug fix: show extended function designators, e.g. (setf foo), in the
1595 * optimization: reduced overhead of calling NTH/NTHCDR.
1596 * optimization: improved FLOAT-SIGN on DOUBLE-FLOATs on 64-bit platforms
1598 changes in sbcl-1.5.2 relative to sbcl-1.5.1:
1599 * enhancement: RISC-V support with the generational garbage collector.
1600 * enhancement: command-line option "--tls-limit" can be used to alter the
1601 maximum number of thread-local symbols from its default of 4096.
1602 * enhancement: better muffling of redefinition and lambda-list warnings
1604 ** OS X: use Grand Central Dispatch semaphores, rather than Mach semaphores
1605 ** Windows: remove non-functional definition of make-listener-thread
1606 * new feature: decimal reader syntax for rationals, using the R exponent
1607 marker and/or *READ-DEFAULT-FLOAT-FORMAT* of RATIONAL.
1608 * optimization: various Unicode tables have been packed more efficiently
1610 changes in sbcl-1.5.1 relative to sbcl-1.5.0:
1611 * enhancement: restarts for missing package errors.
1612 * optimization: FIND-PACKAGE should be faster even when run in the context
1613 of a package with local package-nicknames.
1614 * optimization: fix TRUNCATE deftransform's results to have well-defined
1616 * bug fix: thread-safety problems in RUN-PROGRAM with :PTY.
1617 * bug fix: SLEEP transform could never fire.
1618 * build enhancement: defend against quirky host floating point
1620 * test enhancement: allow more parallelism in running the
1621 regression test suite
1623 changes in sbcl-1.5.0 relative to sbcl-1.4.16:
1624 * enhancement: SB-COVER emulates IN-PACKAGE when recording source maps;
1625 this makes it possible to generate coverage for forms that uses local
1626 package nicknames, or otherwise must be read in the correct package.
1627 * build enhancement: new host quirks mechanism, support for building under
1628 ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)
1629 * optimization: (FIND-SYMBOL x "P") for constant "P" executes faster,
1630 subject to "P" not being a package-local nickname of any
1631 package. Similarly INTERN. (lp#1814924)
1632 * optimization: bounds checks are elided when possible where the same array
1633 is dereferenced multiple times.
1634 * bug fix: initargs are now deduplicated when computing effective slots.
1635 * bug fix: TREE-EQUAL with :TEST 'EQL now correctly computes its answer.
1636 (reported by Bahodir Mansurov)
1637 * bug fix: compiled (COERCE x 'FLOAT) no longer coerces double-floats into
1638 single-floats. (reported by J. Gareth Williams)
1640 changes in sbcl-1.4.16 relative to sbcl-1.4.15:
1641 * minor incompatible change: ENSURE-DIRECTORIES-EXIST no longer establishes
1642 a CONTINUE restart in case of an error.
1643 * minor incompatible change: Defining macros (DEFVAR, etc) which require a
1644 symbol as the name will fail to macroexpand if given a non-symbol.
1645 * enhancement: the unexported restart names SB-{ALIEN,FASL,IMPL,PCL}::RETRY
1646 have been replaced by SB-EXT:RETRY.
1648 changes in sbcl-1.4.15 relative to sbcl-1.4.14:
1649 * enhancement: added AVX2 instructions on x86-64, which can be used with
1651 * enhancement: specializer name parsing is less lenient and signals a
1652 specific condition in case of syntax errors. (lp#1808681)
1653 * enhancement: provide interactive restarts for some file-system errors.
1654 * enhancement: COMPILE no longer acquires the world lock.
1655 (fixes most occurrences of lp#308959)
1656 * bug fix: RUN-PROGRAM is more responsive and less likely to deadlock
1657 (lp#1702178, lp#1808641)
1658 * bug fix: traceroot can search for simple-fun targets (lp#1808659, reported
1660 * compiler bug fixes:
1661 ** related to code generation: lp#1805899, lp#1806982, lp#1807455
1662 ** related to interpreting and constant-folding: lp#1806513
1663 ** related to the type system: lp#1804759, lp#1804796
1664 ** related to eq-testing of structure slots: lp#1809582, lp#1808273
1665 ** related to dynamic-extent: lp#1809565, lp#1809253, lp#1809485,
1667 ** related to GC safety: lp#308949
1669 changes in sbcl-1.4.14 relative to sbcl-1.4.13:
1670 * enhancement: attempting to build on openbsd 6.0 or newer without
1671 the wxallowed mount option now results in a more useful error message.
1672 * enhancement: by popular demand, SB-EXT now exports two functions
1673 HEAP-ALLOCATED-P and STACK-ALLOCATED-P to assist in writing debug
1674 assertions that objects in hash-tables are not stack-allocated, etc.
1675 * bug fix: restored sb-thread support on OpenBSD.
1677 changes in sbcl-1.4.13 relative to sbcl-1.4.12:
1678 * minor incompatible change: PRINT-TYPE and PRINT-TYPE-SPECIFIER are not
1679 exported from SB-EXT. These were never announced, so this change would
1680 only affects users who discovered these undocumented functions.
1681 * enhancement: SB-EXT:SEARCH-ROOTS and SB-EXT:GC-AND-SEARCH-ROOTS
1682 are supported on all backends that use gencgc.
1684 changes in sbcl-1.4.12 relative to sbcl-1.4.11:
1685 * minor incompatible change: a number of platform-specific elements of
1686 *FEATURES* related to whether the system implements particular strategies
1688 * minor incompatible change: some changes to the (internal) implementation
1689 details of the x86 and x86-64 have necessitated changes to some low-level
1691 * enhancement: attempting to transfer control through GO or RETURN-FROM to
1692 frames which no longer exist are now caught and handled by the debugger.
1693 * enhancement: identical code (at the machine instruction level) can now be
1694 shared between functions, if explicitly requested.
1695 * enhancement: SB-EXT:STRING-TO-OCTETS and SB-EXT:OCTETS-TO-STRING are now
1697 * bug fixes: fix a number of bugs revealed by random testing (lp#1793171,
1698 lp#1793150, lp#1791550, lp#1792030, lp#1791059, lp#1790157, lp#1790717,
1701 changes in sbcl-1.4.11 relative to sbcl-1.4.10:
1702 * minor incompatible change: changes to the (internal) assembler on x86
1703 and x86-64 may cause problems to some low-level third-party libraries:
1704 ** new macro EA for defining an effective address, without size
1706 ** an explicit size modifier is now needed for MOVSX and MOVSZ
1708 ** MOVD and MOVQ move a single size of operand by definition.
1709 * enhancement: support the latest MinGW (lp#1786731, reported by il71)
1710 * enhancement: checks for modifications of constants can now be done in
1711 local (FLET/LABELS) functions.
1712 * optimization: improved type checking routines for various compound types.
1713 * optimization: array bound checks are elided on vectors when the index is
1714 known to be less than the length, including LOOP ACROSS.
1715 * optimization: the register allocator's use of temporaries is somewhat
1717 * optimization: checking widetags involves fewer conditional jumps on x86
1719 * bug fix: fix a number of bugs related to constant improper lists as
1720 sequence arguments (lp#1768563, lp#1768568, lp#1768652)
1722 changes in sbcl-1.4.10 relative to sbcl-1.4.9:
1723 * enhancement: added SB-EXT:MAKE-WEAK-VECTOR.
1724 * enhancement: constant-modification detection warnings can be generated
1725 in the presence of conditional constructs.
1726 * optimization: better bounds-checking on x86[-64] and ARM64.
1727 * optimization: adding 1 to or subtracting 1 from a fixnum variable does not
1729 * bug fixes: fix a number of bugs revealed by random testing (lp#1782826,
1730 lp#1779878, lp#1779737)
1732 changes in sbcl-1.4.9 relative to sbcl-1.4.8:
1733 * enhancement: SB-COVER instrumentation for x86[-64] has signficantly less
1734 overhead. The performance penalty for 64-bit code has been measured at
1735 around 30% slower than uninstrumented code as contrasted with slowdowns
1736 in excess of 100% previously.
1737 * enhancement: tracing a generic function with the :METHODS T option
1738 produces output corresponding to each method called under the default
1739 :ENCAPSULATE NIL tracing implementation.
1740 * bug fix: updated TRACE documentation. (lp#574614 was actually already
1741 fixed, but there were other issues.)
1742 * bug fix: fixed x86 GC bug causing heap corruption. (lp#1749369)
1743 * bug fix: improved compatibility with macOS High Sierra and graphical
1746 changes in sbcl-1.4.8 relative to sbcl-1.4.7:
1747 * bug fix: redefinition of method combinations now does the expected thing;
1748 generic functions using that method combination have their effective
1749 methods lazily recomputed according to the new definition of the method
1750 combination. (Reported by Didier Verna at ELS 2018)
1751 * bug fix: :arguments argument to the long form of DEFINE-METHOD-COMBINATION
1752 is now implemented more correctly, supporting suppliedp variables and
1753 &optional defaults. (Reported by Bruno Haible, lp#309084)
1755 changes in sbcl-1.4.7 relative to sbcl-1.4.6:
1756 * enhancement: better handling of unknown keyword arguments (lp#1750466)
1757 * enhancement: namestrings can now be computed for certain pathnames that
1758 previously did not have namestrings because of #\. characters in their
1759 name and/or type components.
1760 * bug fix: compiling a SLEEP call with a float positive infinity argument no
1761 longer causes an internal error (lp#1754081)
1762 * bug fix: keyword arguments provided to a generic function with
1763 EQL-specialized methods are checked more correctly (reported by Syll,
1766 changes in sbcl-1.4.6 relative to sbcl-1.4.5:
1767 * enhancement: DISASSEMBLE on a symbol naming a macro will disassemble
1768 the expander, not the code that traps attempted FUNCALL of the macro.
1769 * enhancement: The sb-sprof contrib now provides an experimental interface
1770 for accessing collected profiler data.
1771 * enhancement: The instruction-level profiling of the sb-prof contrib
1772 annotates the disassembler output more efficiently.
1773 * optimization: improved dynamic-extent handling of nested variables.
1775 changes in sbcl-1.4.5 relative to sbcl-1.4.4:
1776 * minor incompatible change: building with/without the :sb-package-locks
1777 feature is no longer an option. Package locks are always compiled in,
1778 and removing :sb-package-locks from *features* will have no effect.
1779 * enhancement: FIND-PACKAGE does not acquire a mutex
1780 * enhancement: cheneygc can perform heap relocation on startup
1781 * enhancement: in threaded builds, finalizers execute in a system-internal
1782 thread so that a user thread which invokes GC is unblocked from performing
1783 work as soon it returns from GC and invokes any post-GC hooks.
1784 As such, it is more important than before to avoid assumptions about
1785 special variable bindings in finalizers, even in single-threaded code.
1786 * optimization: faster (funcall (or function symbol)) on x86-64.
1788 changes in sbcl-1.4.4 relative to sbcl-1.4.3:
1789 * bug fix: pathname accessors such as PATHNAME-DIRECTORY work on
1791 * bug fix: (pathname-{device,directory,name,type} ... :case :common) works
1792 as expected. In particular MAKE-PATHNAME composed with the accessors
1793 roundtrips properly when both use the same :case. (lp#1739906)
1794 * bug fix: DIRECTORY no longer gets confused when the value of
1795 *DEFAULT-PATHNAME-DEFAULTS* has a name or type component. (lp#1740563)
1796 * bug fix: pattern pieces in pathname components are correctly escaped
1798 * bug fix: DELETE-DIRECTORY no longer signals an error when the directory is
1799 supplied as a pathname with name and/or type components containing escaped
1800 characters. (lp#1740624)
1801 * bug fix: weak hash-tables no longer cause GC time to scale superlinearly
1803 * bug fix: CANCEL-FINALIZATION operates in approximately constant time
1804 per operation (lp#1587983)
1805 * bug fix: big-endian MIPS systems now (mostly) work again (broken since
1807 * bug fix: backtrace from arg-count errors on systems other than x86, x86-64,
1808 ARM, and ARM64 now works again.
1809 * bug fix: backtrace from asynchronous interrupts on non-x86, non-x86-64
1810 systems should now be more reliable.
1811 * enhancement: warnings and errors referring to bindings established by LET,
1812 LET*, FLET and LABELS point to the offending form more accurately.
1813 * enhancement: backtrace for invalid argument count produces the exact
1814 supplied arguments including the extra ones on all platforms (no longer
1815 just x86, x86-64, ARM, and ARM64).
1817 changes in sbcl-1.4.3 relative to sbcl-1.4.2:
1818 * enhancement: SLEEP respects deadlines established by SB-SYS:WITH-DEADLINE.
1819 * bug fix: DECODE-TIMEOUT and operators accepting a timeout no longer signal
1820 an error when called with an argument that is of type (real 0) but not
1821 (unsigned-byte 62) (lp#1727789)
1822 * bug fix: fixed heap exhaustion bug when consing millions of small objects
1823 * bug fix: sb-safepoint builds are now a lot less prone to deadlocks and odd
1824 crashes (lp#1424031, lp#1268710)
1825 * bug fix: argumentless CALL-NEXT-METHOD where specialized-to-T or
1826 unspecialized parameters are mutated now uses the original (non-mutated)
1827 parameter values (lp#1734771)
1828 * bug fix: memory faults from lisp no longer use (thread-and-interrupt
1829 unsafe) global storage for fault addresses (everywhere), and now have
1830 cleaner backtraces (on x86 and x86-64). (lp#309068)
1831 * bug fix: pathnames with a directory component of the form
1832 (:absolute {:up,:wild,:wild-inferiors}) no longer fail to unparse.
1834 * bug fix: more reliable signal handling on macOS.
1836 changes in sbcl-1.4.2 relative to sbcl-1.4.1:
1837 * minor incompatible change: SB-EXT:QUIT is no longer marked as deprecated
1838 and behaves like SB-EXT:EXIT.
1839 * enhancement: ASDF updated to 3.3.1. The ASDF release is dedicated to
1840 the late Elias Pipping who put enormous amounts of work into it despite
1841 his terminal illness. Thank you and rest in peace. (lp#1681201)
1842 * enhancement: alien routines compiled with '-fsanitize=thread' and/or
1843 '-fsanitize=memory' cause fewer false positives in error reporting.
1844 * optimization: fewer instances of consing float constants at runtime.
1845 * bug fix: a number of compiler bugs detected by Paul F. Dietz' randomized
1846 tester. (lp#1731503, lp#1730699, lp#1723993, lp#1730434, lp#1661911,
1847 lp#1729639, lp#1729471, lp#1728692)
1848 * bug fix: better errors from NAMESTRING and friends on pathnames with no
1849 namestrings. (lp#792154)
1850 * bug fix: EQUAL and EQUALP compiler transforms were too confident in
1851 deriving a result. (lp#1732277, lp#1732225)
1852 * bug fix: FILL sometimes returned the underlying data vector rather than
1853 the given array. (lp#1732553)
1854 * bug fix: SEARCH returned the wrong answer in some cases. (lp#1732952)
1855 * bug fix: the type (COMPLEX INTEGER) behaves more as specified by Function
1856 TYPEP, which has stronger constraints than System Class COMPLEX.
1857 (Reported by Eric Marsden, lp#1733400)
1859 changes in sbcl-1.4.1 relative to sbcl-1.4.0:
1860 * optimization: faster foreign callbacks.
1861 * enhancement: complex arrays can be stack allocated.
1862 * enhancement: PROCESS-KILL now exists on win32 and PROCESS-PID actually
1864 * optimization: the register allocation method used by the compiler when
1865 optimizing for speed is now faster for functions with large bodies.
1866 * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION works on big-endian CPUs
1867 (fixes lp#490490 for real rather than by disabling a test)
1868 * bug fix: code objects and bignums of large enough size to be placed
1869 on GC pages without any other object no longer cause accidental copying
1870 during garbage collection. (gencgc only)
1871 * bug fix: sb-fasteval failure with 0-argument lambdas (lp#1722715)
1872 * bug fix: RUN-PROGRAM doesn't leak handles on win32 and PROCESS-CLOSE
1873 doesn't crash. (lp#1724472)
1875 changes in sbcl-1.4.0 relative to sbcl-1.3.21:
1876 * minor incompatible change: DESTRUCTURING-BIND treats non-toplevel () as
1877 nested empty pattern. This seems to be what the standard mandates, so
1878 conforming code should not be affected.
1879 * ehancement: (GC :GEN 7) with gencgc will zero-fill dead pseudo-static
1880 objects so that they do not spuriously cause reachability of objects that
1881 would have been otherwise dead.
1882 * enhancement: PROCESS-STATUS now tracks stopped and continued processes
1883 properly (also fixes lp#1624941, based on patch by Elias Pipping).
1884 * bug fix: INSPECT handles errors signaled while printing slot
1886 * bug fix: DESCRIBE works on classes like it used to.
1887 * bug fix: *LOAD-PATHNAME* and *LOAD-TRUENAME* are bound to pathnames
1888 when processing a sysinit or userinit file
1889 * bug fix: save-lisp-and-die is able to collect more garbage on non-x86oid
1891 * bug fix: fixed out-of-bounds array read in optimized POSITION on bit-vectors
1892 * bug fix: signal emulation respects the 128-byte stack red zone on x86-64
1895 changes in sbcl-1.3.21 relative to sbcl-1.3.20:
1896 * minor incompatible change: the CLOBBER-IT restart for defstruct redefintion
1897 has been removed after a 15 year deprecation cycle. Use the new name,
1898 RECKLESSLY-CONTINUE. Note also that this restart is hidden if deemed unsafe
1899 due to altered placement of untagged slots in the structure.
1900 * enhancement: the assignment of -DSBCL_PREFIX= in src/runtime/GNUmakefile
1901 can be removed as a local patch, which results in an sbcl executable
1902 that finds its core file relative to itself by looking in "../lib/sbcl".
1903 * enhancement: backends using the generational GC are able to relocate
1904 dynamic space anywhere the operating system places it.
1905 This feature can be disabled by removing :relocatable-heap from the
1906 build configuration. Not supported on Windows.
1907 * enhancement: DEFMETHOD no longer signals IMPLICIT-GENERIC-FUNCTION-WARNING.
1908 * enhancement: better type conflict detection for high order functions, e.g.
1909 (find x "123" :test #'=)
1910 * enhancement: the tabular output of ROOM is aligned dynamically, preventing
1911 misaligned tables for larger sizes or counts.
1912 * enhancement: ROOM reports on immobile space if applicable.
1913 * optimization: optimized external-format routines.
1914 * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION returns :IMMOBILE
1915 instead of :FOREIGN for objects in immobile space.
1916 * bug fix: dotted lists in special forms and function call forms signal
1917 an appropriate error
1918 * bug fix: EQUALP hash tables with pathname keys now ignore internal slots.
1919 (lp#1712944, reported by Jason Miller)
1921 changes in sbcl-1.3.20 relative to sbcl-1.3.19:
1922 * minor incompatible change: DEF{GENERIC,METHOD} no longer accept some
1923 illegal lambda lists such as (defgeneric bar (foo &key foo)) or
1924 (defgeneric baz (t)) that were accepted before.
1925 * optimization: a valueless &AUX binding in a BOA constructor does not
1926 force all slots reads in safe code to perform a full type check.
1927 * optimization: ATOMIC-PUSH and ATOMIC-POP generate better code
1928 * bug fix: the low-level debugger would erroneously print - or not print
1929 as the case may be - "(bad-address)" for some objects depending whether
1930 the --dynamic-space-size argument was used at Lisp startup
1931 * bug fix: a DEFCONSTANT with a non non-eql-comparable object as the value
1932 could cause miscompilation if that constant appeared as the default
1933 expression for an &OPTIONAL binding
1934 * bug fix: generic function lambda lists are now checked for repeated
1935 and otherwise illegal entries. (lp#1704114)
1936 * bug fix: setting gencgc_verbose = 1 could cause deadlock in fprintf()
1937 depending on the platform's stdio implementation. The relevant code
1938 has been changed to use snprintf() and write() instead.
1940 changes in sbcl-1.3.19 relative to sbcl-1.3.18:
1941 * enhancement: specialized arrays can be printed readably without using
1943 * enhancement: SB-DEBUG:PRINT-BACKTRACE truncates huge string arguments.
1944 The full string remains available for inspection via (SB-DEBUG:ARG).
1945 * bug fix: backtracing from several threads at once could fail
1946 * bug fix: floating-point infinities could not be used as keys
1947 in EQUALP hash tables. (lp#1696274)
1948 * bug fix: random sb-fasteval failures. (lp#1642708)
1949 * bug fix: align the stack in callback wrappers to defend against C
1950 compiler over-aggressive use of SIMD. (lp#1697528)
1951 * bug fix: don't try to find the class when reporting that a class does
1952 not exist for a primitive type. (lp#1697226)
1954 changes in sbcl-1.3.18 relative to sbcl-1.3.17:
1955 * minor incompatible change: existing values of CFLAGS, ASFLAGS,
1956 CPPFLAGS, and LINKFLAGS will be incorporated into C compiler
1957 invocations when building from source.
1958 * minor incompatible change: the result of WRITE-TO-STRING may be
1959 a BASE-STRING if all characters written are of type BASE-CHAR.
1960 * minor incompatible change: the broadcast stream with no output
1961 streams is a singleton object. That object satisfies OPEN-STREAM-P
1962 regardless of how many times CLOSE is invoked on it.
1963 * enhancement: x86[-64] backends contain an experimental feature
1964 which aids in demonstrating reachability of any object starting
1965 from a tenured object or a thread stack by producing a proof
1966 as a sequence of pointers to follow.
1967 The file "tests/traceroot.test.sh" contains an example usage.
1968 * enhancement: if the alien symbol "gc_coalesce_string_literals" is
1969 set to 1 prior to SAVE-LISP-AND-DIE, then similar string constants
1970 loaded from different fasl files may be collapsed to one object.
1971 If the variable is set to 2, then additionally strings which are
1972 STRING= in code resulting from COMPILE can be coalesced.
1973 For instance, two functions returning the literal string "HI"
1974 might return EQ strings after collapsing, which may be undesired
1975 in a particular use. The flag pertains to gencgc only.
1976 * enhancement: SXHASH values on pathnames are better distributed
1977 * bug fix: MAKE-PATHNAME removes empty strings as components of a
1978 directory, as is permitted: "Whenever a pathname is constructed
1979 the components may be canonicalized if appropriate."
1980 * optimization: various printer and FORMAT performance enhancements.
1981 * bug fix: GET-FOREGROUND no longer fails in case all other interactive
1982 threads exit (lp#1682671, reported by Syll)
1983 * bug fix: RELEASE-FOREGROUND always removes the current thread from the
1984 list of interactive threads. (lp#1682867, reported by Syll)
1986 changes in sbcl-1.3.17 relative to sbcl-1.3.16:
1987 * enhancement: memory overhead from the garbage collector's metadata
1988 is reduced on 64-bit architectures; no change for 32-bit.
1989 * enhancement: further garbage collector speedups affecting
1990 pinned objects on conservative backends, and simple-vectors.
1991 * enhancement: on Linux a custom handler for SIGSEGV can be called
1992 for page faults outside of dynamic space by changing the C symbol
1993 "sbcl_fallback_sigsegv_handler".
1994 * bug fix: sb-cover does not lose source positions for AND/OR/COND.
1995 * bug fix: random disassembler failures. (lp#1527931)
1996 * The bundled sb-md5 contrib has been updated to release 2.0.4
1997 which is licensed under Creative Commons CC0 per author's statement
1998 https://github.com/pmai/md5/commit/fd134e71b71a10ab78905833a7cb9d4d6817c589
1999 (Refer to NEWS and COPYING in the contrib/sb-md5 subdirectory)
2001 changes in sbcl-1.3.16 relative to sbcl-1.3.15:
2002 * optimization: various small tweaks give around 5% faster garbage
2004 * bug fix: better detection of when an impossible code path does
2005 not need a warning. (lp#1668619)
2006 * bug fix: stronger attempts to disable position-independent
2007 executable building. (lp#1668986, patch from Mark Wright)
2008 * bug fix: OPEN :IF-EXISTS NIL signalled a condition on Windows.
2009 (lp#1674437, reported by Jan Idzikowski)
2011 changes in sbcl-1.3.15 relative to sbcl-1.3.14:
2012 * minor incompatible change: the reader will when feasible create
2013 new symbols using a BASE-STRING for the print name. Additionally,
2014 string literals can favor the base-string type if desired, though
2015 the default is to always return UTF-32 strings for compatibility.
2016 A preference for base-string does not disable reading Unicode.
2017 The choice is controlled via (SETF READTABLE-BASE-CHAR-PREFERENCE).
2018 If Unicode was disabled at build time, this setting does nothing.
2019 * enhancement: SBCL generates more debug information by default.
2020 * enhancement: type errors provide context information, such as which
2021 variable is being bound, which slot of which structure is being set.
2022 * enhancement: if #+immobile-symbols is in build-time *FEATURES* (not
2023 enabled by default), then symbols will never be moved in memory
2024 except by SAVE-LISP-AND-DIE. Immobility has helpful implications for
2025 code generation as well as interaction with foreign routines.
2026 This feature can only be enabled if #+immobile-space is enabled.
2027 * enhancement: undefined function errors can be restarted on x86-64, to
2028 either retry calling the function again or call a user supplied function.
2029 * enhancement: sb-ext:restrict-compiler-policy accepts an upper bound in
2030 addition to a lower bound.
2031 * enhancement: #+immobile-code improves the speed of function calling.
2032 Some delay may be noticed when redefining an existing function
2033 from a saved core file however.
2034 * defaults change: sb-ext:*disassemble-annotate* default to NIL, due to its
2036 * new feature: SB-LINKABLE-RUNTIME, allowing linking with extra object
2037 files to help with delivery of executables. (Thanks to François-René
2039 * bug fix: data race in GENTEMP fixed - it can no longer return the
2040 same interned symbol to multiple threads if called concurrently
2041 * bug fix: interrupting LOADing of FASLs does not leave functions without
2042 source locations. (lp#540276)
2043 * bug fix: DYNAMIC-EXTENT-declared results of NOTINLINE local functions were
2044 treated as if they were actually stack allocated (lp#1659964)
2045 * bug fix: correctly handle the case of a non-local exit within a function
2046 terminating the extent of dynamic-extent, dynamic-bound variables in the
2047 presence of multiple-values (lp#1655011)
2048 * bug fix: handling of SB-SYS:WITH-PINNED-OBJECTS in the interpreters (both
2049 sb-eval and sb-fasteval) now actually pins objects on gencgc.
2050 * bug fix: AVX registers are preserved during exceptions on x86-64 macOS.
2051 * bug fix: (directory "SOMETHING/*/**/MORE") is no longer equivalent to
2052 (directory "SOMETHING/**/MORE")
2053 * bug fix: better console IO on Windows (lp#1660906)
2055 changes in sbcl-1.3.14 relative to sbcl-1.3.13:
2056 * minor incompatible change: the SB-PCL walker no longer recognizes
2057 macros expanding into a DECLARE expression. This is not a language change,
2058 since ANSI forbids such usage (X3J13 issue DECLARE-MACROS:FLUSH).
2059 * enhancement: for several macros such as MULTIPLE-VALUE-{BIND,SETQ}, COND,
2060 DO{,*,LIST}, {RESTART,HANDLER}-{BIND,CASE}, *CASE, conditions signaled
2061 during macroexpansion point to the form that caused the problem more
2063 * enhancement: the "--noinform" command-line option inhibits output from
2064 save-lisp-and-die in addition to removing the startup banner.
2065 * bug fix: PROCESS-KILL failed to return errno if the system call failed
2066 * optimization: slightly more comprehensive treatment of the keyword
2067 arguments to MAKE-ARRAY in compiler transformations.
2069 changes in sbcl-1.3.13 relative to sbcl-1.3.12:
2070 * enhancement: SET triggers package locks on undefined variables.
2072 * enhancement: new Windows specific option to run-program, :escape-arguments
2074 * enhancement: recompiling a MAKE-INSTANCE form with an initarg :INITARG
2075 CONSTANT where CONSTANT names a constant variable picks up the new value
2076 of CONSTANT in case it has been redefined. (lp#1644944)
2077 * optimization: faster TYPEP on undefined at compile-time types and upcoming
2078 class definitions. (lp#1082967)
2079 * optimization: memory consumption of each STANDARD-OBJECT instance is
2080 reduced by 2 words if the compact-instance-header feature is enabled.
2081 * optimization: CONDITION instances are quicker to allocate.
2082 * optimization: unoptimized calls to FILL on specialized vectors are now
2083 just as fast as T vectors.
2084 * bug fix: get-timezone returns corret DST on 64-bit Windows. (lp#1641058)
2085 * bug fix: cross reference information in fasls is no longer incompatible
2086 between different cores (lp#1648186)
2088 changes in sbcl-1.3.12 relative to sbcl-1.3.11:
2089 * enhancement: on x86-64, compiled functions loaded from fasl files
2090 can not be moved, but can be freed, by GC. Additionally, COMPILE will
2091 produce immobile code if SB-C::*COMPILE-TO-MEMORY-SPACE* is set to
2092 :IMMOBILE. (Caution: the flag is experimental and subject to change.)
2093 The benefits are better physical separation of code from data,
2094 and potentially easier examination of live images by external tools.
2095 * enhancement: the docstring for SAVE-LISP-AND-DIE has been amended to
2096 say that the :ROOT-STRUCTURES parameter is not meaningless on gencgc,
2097 depending on the platform.
2098 * bug fix: calling a named function (e.g. a DEFUN) concurrently with
2099 redefining that same function could lead to execution of random bytes.
2100 * bug fix: yes-or-no-p accepts formatter functions (lp#1639490)
2101 * bug fix: better handling of exceptions on macOS.
2103 changes in sbcl-1.3.11 relative to sbcl-1.3.10:
2104 * minor incompatible change: SB-EXT:*INTEXP-MAXIMUM-EXPONENT* is removed.
2105 * enhancement: TRACE ... :REPORT {TRACE,NIL} now work as advertised in the
2106 documentation string (based on patch by Patrick Stein)
2107 * enhancement: support unboxed signed-word structure slots on x86, x86-64
2108 and ARM64. (lp#377616)
2109 * optimization: faster logical bit-array operations on multidimensional
2111 * optimization: better GC performance in the presence of many threads.
2112 (patch by Ilya Perminov, lp#1339924)
2113 * optimization: multiple-value-call is optimized with multiple argument
2114 forms, not just one. (lp#753803)
2115 * bug fix: MAKE-ALIEN-STRING returns the number of allocated bytes as a
2116 second value as advertised (reported by Johann 'Myrkraverk' Oskarsson)
2117 * bug fix: when TO-READTABLE is supplied to COPY-READTABLE, it will
2118 contain only the macros in FROM-READTABLE and no others. (lp#1631506)
2119 * enhancement: gencgc has been modified for x86-64 on Linux and macOS
2120 to a support mark-and-sweep as well as the traditional copying strategy.
2121 It is conceivable that some applications might be adversely affected.
2122 Please see ':immobile-space' in 'base-target-features.lisp-expr'
2123 for further details, and possible reasons to disable this feature.
2124 * enhancement: x86-64 supports shrinking the fixed overhead in a structure
2125 from 2 words to 1 word, reducing memory consumption in applications
2126 which create many small structures.
2128 changes in sbcl-1.3.10 relative to sbcl-1.3.9:
2129 * enhancement: more compact low-level error signaling code
2130 * enhancement: more compact encoding of cross-reference information
2131 * optimization: faster out of line fixnum-float comparisons.
2132 * optimization: filling a known simple-vector with a constant value
2133 is about as fast in unoptimized code as in code compiled with (SPEED 3),
2134 and the x86-64 implementation is able to use SSE instructions.
2135 * bug fix: correctly handle the case of a non-local exit within a function
2136 terminating the extent of dynamic-extent functions and variables in the
2137 presence of multiple-values (lp#1563127)
2138 * bug fix: restore builds on the latest OSX with the latest Xcode
2141 changes in sbcl-1.3.9 relative to sbcl-1.3.8:
2142 * minor incompatible change: NAMESTRING prefers to return a BASE-STRING
2143 instead of (ARRAY CHARACTER (*)) when possible.
2144 * enhancement: cached make-instance/allocate-instance constructors can now
2145 get garbage collected.
2146 * optimization: better performance for some unoptimized operations on
2148 * bug fix: using the options :LOCAL-NICKNAMES and :LOCK in the same
2149 DEFPACKAGE form no longer signals a bogus error
2151 changes in sbcl-1.3.8 relative to sbcl-1.3.7:
2152 * minor incompatible change: the system now understands that the CONDITION
2153 type is disjoint with many other system types.
2154 * minor incompatible change: argument types in condition report functions
2155 are now declared (in combination with the above change, this can result in
2156 early detection of erroneous code).
2157 * enhancement: simple arrays of any rank can be stack-allocated
2158 on platforms supporting stack allocation of vectors.
2159 * optimization: improved type derivation for FIND, POSITION, COUNT, SEARCH,
2160 MISMATCH and other array and sequence functions.
2161 * optimization: ALLOCATE-INSTANCE is now as fast as MAKE-INSTANCE.
2162 * optimization: more efficient CHANGE-CLASS.
2163 * bug fix: versions of getresuid() and getresgid() in SB-POSIX no longer
2164 cause memory faults, and should work properly (lp#1603806, reported by
2166 * bug fix: handle ENOENT from getprotobyname() (lp#1596043, reported by
2169 changes in sbcl-1.3.7 relative to sbcl-1.3.6:
2170 * bug fix: preserve the name of the destructive function for the destroyed
2171 constant and important result warnings, even when declared NOTINLINE.
2172 * optimization: faster operations on list-sets.
2173 * optimization: better type derivation of set functions.
2175 * optimization: load-time TLS-INDEX assignment, and other
2176 microoptimizations, on x86.
2180 ** ARRAY-DIMENSIONS;
2181 ** ARRAY-TOTAL-SIZE;
2182 ** REMOVE, REMOVE-DUPLICATES, DELETE and DELETE-DUPLICATES on lists.
2184 changes in sbcl-1.3.6 relative to sbcl-1.3.5:
2185 * bug fix: do not insert conditional newlines in print-unreadable-object
2186 (lp#1398290). This reverses a change made in lp#488979 which reversed
2187 a fix advertised in release 0.8.14 to pass the GCL ANSI Test Suite.
2188 * bug fix: constant negative rotations of 32-bit quantities are compiled
2189 correctly on x86-64 and arm. (lp#1586614, reported by Guillaume Le
2192 changes in sbcl-1.3.5 relative to sbcl-1.3.4:
2193 * enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD
2194 * enhancement: speed up debug info creation for highly nested functions.
2196 * enhancement: the interleaved structure slot optimization from
2197 release 1.2.6 has been ported to all architectures.
2198 * enhancement: support run-program I/O redirection into lisp streams on
2200 * bug fix: better wording in missed optimization note. (lp#1003265)
2201 * bug fix: interpreted (CAS SVREF) was broken
2202 * bug fix: support CLISP as build host for ARM (lp#1568256, thanks to Tomas
2205 changes in sbcl-1.3.4 relative to sbcl-1.3.3:
2206 * enhancement: who-sets and who-references work on DEFGLOBAL. (lp#1552997)
2207 * enhancement: CONSTANTP understands backquote.
2208 e.g. (CONSTANTP '`(0 (,CHAR-CODE-LIMIT))) => T
2209 * optimization: improvements to sequence functions: CONCATENATE, SUBSTITUTE,
2211 * bug fix: SB-EVAL does not signal an error for (THE KEYWORD :FOO)
2212 * bug fix: a DEFTYPE name that is redefined into a DEFSTRUCT name
2213 is less likely to cause confusion in the compiler.
2214 * bug fix: DOCUMENTATION works as intended for classes with non-standard
2216 * bug fix: (TYPEP <extended-sequence> <extended-sequence-class>) no longer
2217 returns NIL in certain situations
2218 * bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE accept class objects as
2220 * bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE expand DEFTYPEs in
2223 changes in sbcl-1.3.3 relative to sbcl-1.3.2:
2224 * enhancement: warn about argument mismatch for functions passed as
2225 arguments to other functions (e.g. REDUCE, MAP) at compile-time.
2226 * optimization: functions accepting other functions (e.g. REDUCE, FIND) can
2227 now be constant-folded if all function arguments are declared as foldable.
2228 * optimization: improved logical operations on integers of unknown type.
2229 * bug fix: exception handling no longer leaks memory on OS X. (lp#326238)
2231 changes in sbcl-1.3.2 relative to sbcl-1.3.1:
2232 * enhancement: {READ,WRITE}-SEQUENCE are much faster for some combinations
2233 of short sequences and stream types
2234 * enhancement: MAKE-LIST's result can be stack-allocated on x86-64
2235 * bug fix: WRITE-SEQUENCE no longer fails to write lists containing integers
2237 * bug fix: LOGTEST (and hence ODDP) no longer conses when given fixnum
2238 arguments and small bit positions. (lp#1277690)
2239 * bug fix: READ-FROM-STRING compiler-macro does not permute its arguments
2240 * bug fix: DEFUN of a function name that collides with a system-generated
2241 structure accessor does not confuse the runtime. (lp#540063)
2242 * bug fix: heap corruption from miscompiled RESTART-BIND. (lp#1530390)
2244 changes in sbcl-1.3.1 relative to sbcl-1.3.0:
2245 * enhancement: SB-THREAD support for ARM64.
2246 * enhancement: compiling an out-of-line DEFSTRUCT constructor call
2247 will warn if a defaulted value is incompatible with its slot type.
2248 * enhancement: a local INLINE declaration on a structure constructor
2249 will work as intended, subject to any other factors that inhibit
2250 inlining, even if the DEFSTRUCT was not itself within a global
2251 INLINE proclamation for the named constructor
2252 * enhancement: SB-EXT:DYNAMIC-SPACE-SIZE is now defined for cheneygc.
2253 * enhancement: x86[-64] platforms support SB-EXT:CAS on structure slots
2255 * enhancement: the interleaved structure slot optimization from
2256 release 1.2.6 has been ported to 32-bit x86, Sparc, PowerPC, ARM64.
2257 * enhancement: SB-THREAD:JOIN-THREAD signals a proper error when an attempt
2258 is made to join the current thread
2259 * bug fix: NTH-VALUE does not cause stack overflow. (lp#1511419)
2260 * bug fix: structure constructor type checking is better. (lp#1508735)
2261 * bug fix: supplied-p variables for unused optional or keyword variables no
2262 longer confuse SB-DI:PARSE-COMPILED-DEBUG-FUN-LAMBDA-LIST (and thus the
2263 backtrace machinery) (lp#1498644)
2264 * bug fix: Backtrace correctly handles undefined-function frames on MIPS.
2265 * bug fix: WITH-FLOAT-TRAPS-MASKED correctly clears accrued traps on MIPS
2266 (fixes issues with floating-point type derivation in the compiler).
2267 * bug fix: FLOAT-NAN-P and FLOAT-TRAPPING-NAN-P now work correctly on MIPS
2269 * bug fix: MIPS context register access now masks to 32 bits (fixing issues
2270 parsing negative-fixnum values for internal-error arguments and escaped
2271 debug variables on 64-bit CPUs).
2272 * bug fix: (SETF SAP-REF-DOUBLE) with constant offset on big-endian MIPS
2273 now works correctly.
2274 * bug fix: Callback parameter (argument) handling on MIPS is now vastly
2276 * bug fix: %DECREMENT-SEMAPHORE adjusts the remaining timeout after a
2279 changes in sbcl-1.3.0 relative to sbcl-1.2.16:
2280 * minor incompatible change: the environment passed to a macro/setf/deftype
2281 expander is not always an object of type SB-KERNEL:LEXENV.
2282 It can be nil, as is permissible by the standard.
2283 * enhancement: ported to ARM64 Linux.
2284 * enhancement: a new interpreter is included which has many benefits
2285 over sb-eval. It is disabled by default. See src/interpreter/README
2286 for instructions to enable it, and further details.
2287 * bug fix: calling COMPILE when SB-EXT:*EVALUATOR-MODE* was :INTERPRET
2288 would fail to perform "normal semantic processing such as macro expansion"
2289 as stipulated by X3J13 issue LOAD-TIME-EVAL.
2290 * bug fix: SB-UNICODE:CONFUSABLE-P no longer treats "<" and the empty
2291 string as confusable. (lp#1504739)
2292 * bug fix: (ASSERT (COMPUTE-IT ...)) would expand incorrectly
2293 if COMPUTE-IT was a local macro that shadowed a global function.
2294 * bug fix: SB-POSIX:CFSETISPEED and SB-POSIX:CFSETOSPEED now work properly
2295 on platforms that use only the minimum specified set of fields in struct
2296 termios (verified on Linux, still known not to work on FreeBSD and NetBSD,
2297 very probably others). (partial fix for lp#1500951)
2299 changes in sbcl-1.2.16 relative to sbcl-1.2.15:
2300 * enhancement: by default, timers with a repeat interval do not "catch up"
2301 by repeatedly calling their function after a clock discontinuity such as a
2302 suspend and resume cycle
2303 * bug fix: correctly restore multiple values on the stack in the presence of
2304 alien calls. (lp#1489590)
2305 * bug fix: MAKE-STRING-OUTPUT-STREAM enforces that :ELEMENT-TYPE
2306 is a subtype of CHARACTER.
2307 * bug fix: an EQL method specializer no longer causes garbage retention
2308 if there are no extant methods using the specializer. (lp#492851)
2310 changes in sbcl-1.2.15 relative to sbcl-1.2.14:
2311 * new feature: DEPRECATION declaration for functions, variables and types
2312 causes {EARLY,LATE,FINAL}-DEPRECATION-WARNING to be signaled when subject
2313 of the declaration is used. Integrated with DESCRIBE, DOCUMENTATION and
2314 SB-CLTL2:{VARIABLE,FUNCTION}-INFORMATION. Documented in the "Deprecation"
2315 section of the manual.
2316 * enhancement: ASDF updated to 3.1.5. (lp#1476867)
2317 * enhancement: definitions within PROGN get proper source locations when
2318 compiled (needs latest Slime to take advantage of this). (lp#1473147)
2319 * enhancement: source locations for DEFCLASS slots now point directly to the
2320 slot definitions, not the whole DEFCLASS form.
2321 * bug fix: better source location in the presence of quoted forms.
2323 * bug fix: better source locations inside backqoute. (lp#1361502)
2324 * bug fix: HANDLER-BIND requires that the handler-function be
2325 a function designator at the time of binding establishment. (lp#1480679)
2326 * bug fix: inlined functions surrounded by nested macrolets are properly
2327 inlined. (lp#309123)
2329 changes in sbcl-1.2.14 relative to sbcl-1.2.13:
2330 * minor incompatible change: The name of a compiled anonymous lambda
2331 as returned by the third value of FUNCTION-LAMBDA-EXPRESSION can have
2332 a lambda-list-like list following the introductory LAMBDA that is not
2333 in general a syntactically valid lambda list. Specifically, it won't
2334 retain default values, supplied-p variables, or &KEY or &AUX bindings.
2335 * enhancement: DESTRUCTURING-BIND has been totally reimplemented from
2336 scratch to address a handful of performance and correctness issues.
2337 Some minor behavioral differences exist regarding order of evaluation
2338 of default forms for unsupplied &OPTIONAL and &KEY arguments
2339 when nested destructuring patterns are involved.
2340 (lp#707556, lp#707573, lp#707578, lp#708051)
2341 * enhancement: DEFCONSTANT and DEFSTRUCT respect package locks. (lp#1186238,
2343 * enhancement: sb-unicode:normalize-string has a new optional argument,
2344 FILTER, a callback which controls which decomposed characters are
2345 collected. Useful for stripping away diacritics more efficiently.
2346 * bug fix: (TYPE-OF ARRAY) for a non-simple array is subject to change
2347 after a call of ADJUST-ARRAY. (lp#1333731)
2348 * bug fix: Dynamic-extent allocation with a loop between allocating a value
2349 and the start of its environment no longer discards the allocated data
2350 when the loop is taken. (lp#1472785)
2351 * bug fix: Variable-reference elimination no longer generates incorrect code
2352 under certain circumstances. (lp#1446891)
2353 * bug fix: variables with EQL types are no longer treated as constants by
2354 VOPs, which caused problems with closures being allocated for such
2355 variables, but they remained unused. (lp#1390149)
2356 * bug fix: Windows installer generates registry key name
2357 correctly. (lp#1476447)
2359 changes in sbcl-1.2.13 relative to sbcl-1.2.12:
2360 * incompatible change: on success, TRY-SEMAPHORE and WAIT-ON-SEMAPHORE
2361 return the new count
2362 * enhancement: WAIT-ON-SEMAPHORE accepts a decrement parameter
2363 * enhancement: JOIN-THREAD allows distinguishing timeout vs. abort in all
2365 * enhancement: On Windows DBG_PRINTEXCEPTION_C is handled and its message is
2366 printed. (lp#1437947)
2367 * bug-fix: TRUENAME works properly on broken symlinks presented as
2368 directories. (lp#1400003)
2369 * bug fix: Inlined DPB and DEPOSIT-FIELD don't interfere with left-to-right
2370 order of argument evaluation. (lp#1458190)
2371 * bug fix: (SETF (LDB (BYTE 1 2 JUNK) X) 0) is rightly rejected.
2372 * bug fix: DEFSETF lambda lists should not permit argument destructuring.
2373 * bug fix: calls to (SETF SLOT-VALUE) on a missing slot would in certain
2374 situations incorrectly return the result of a SLOT-MISSING method
2375 instead of always returning the new value. (lp#1460381)
2376 * bug fix: a DEFMACRO occurring not at toplevel and capturing parts of
2377 its lexical environment (thus being a closure) caused expressions
2378 involving the macro name to cause corruption in the pretty-printer
2379 due to faulty introspection of the lambda list of a closure.
2380 * bug fix: out of line MAP/MAP-INTO check that the results produced by the
2381 function are of the matching sequence type. (lp#1459581)
2382 * bug fix: pretty-printing of '(LET `((,X ,Y)) :B) is handled correctly.
2384 changes in sbcl-1.2.12 relative to sbcl-1.2.11:
2385 * minor incompatible change: the SB-C::*POLICY* variable is no longer
2386 a list. Code which manipulated it as such (including but not limited
2387 to non-bundled releases of ASDF) will need to be revised.
2388 * enhancement: The input stream for COMPILE-FILE implements
2390 * enhancement: EVAL errors that occur by way of LOAD report the starting
2391 line and column number of the erring toplevel form. (lp#565247)
2392 * optimization: better MAP and MAP-INTO on known vector result types.
2393 * bug fix: Read/modify/write macros accessing a place which is a
2394 composition of CAR+CDR operations, such as (SHIFTF (CADR X) (ELT V 0)),
2395 do not access subforms more than once. (lp#1450968)
2396 * bug fix: short form of DEFSETF no longer allows trailing junk.
2397 * bug fix: DEFINE-MODIFY-MACRO respects the provisions of CLHS 5.1.3
2398 regarding argument evaluation order. (lp#1452539)
2399 * bug fix: POP works as specified in CLHS if the setter for its
2400 argument has a side-effect on the existing CAR value. (lp#1454021)
2401 * bug fix: Reading "#()" with a positive numeric argument signals a
2402 reader error. As specified, reading "#1()" has undefined consequences,
2403 so correct portable code should be indifferent to this. (lp#1252100)
2404 * bug fix: Malformed reader conditionals such as "(#-no-such-feature)"
2405 and "(#+sbcl)" no longer parse as NIL. (lp#1454400)
2407 changes in sbcl-1.2.11 relative to sbcl-1.2.10:
2408 * enhancement: SET-PPRINT-DISPATCH will warn when given an expression in
2409 which any part is unrecognizable as a legal type-specifier.
2410 The dispatch table will be altered, but the new entry is disabled.
2411 Subsequent type-defining forms will cause pprint-dispatch tables to
2412 re-examine whether any disabled entries should be enabled. (lp#1429520)
2413 * enhancement: Loading code containing calls to a deprecated function will,
2414 under most circumstances, signal warnings similar to compiling such code.
2415 The usual caveat holds about not detecting calls through a computed name,
2416 as in (funcall (intern "DEPRECATED-FUN" "SB-EXT")).
2417 * enhancement: (SB-EXT:COMPILE-FILE-LINE) is a new macro that expands
2418 to a constant (VALUES integer integer) indicating the source line/column
2419 from which it was read, intended for logging Lisp runtime errors in
2420 a style similar to that afforded by the C preprocessor __LINE__ macro.
2421 Similarly (SB-EXT:COMPILE-FILE-POSITION) returns a position in characters.
2422 * enhancement: improved source locations for VOPs, alien types and
2424 * bug fix: functions in :FINAL deprecation have the correct docstring.
2425 No visible change, as no such functions presently exist. (lp#1439151)
2426 * bug fix: (SETF (FDEFINITION this) (FDEFINITION OTHER)) signals an error
2427 if OTHER names either a macro or special-operator. (lp#1439921)
2429 changes in sbcl-1.2.10 relative to sbcl-1.2.9:
2430 * minor incompatible change: all SOCKINT::WIN32-* functions have been
2431 deprecated with EARLY deprecation state
2432 * minor incompatible change: performing introspection via the system-internal
2433 SB-INT:INFO function could expose that :TYPE :TRANSLATOR is not necessarily
2434 a function, as it always was before. (Affects swank-fancy-inspector)
2435 * enhancement: The value of SXHASH on bit-vectors of length equal to the
2436 word size now depends on the vector's contents instead of being constant;
2437 its value on bit-vectors of length divisible by the word size now depends
2438 also on the contents of the vector's last word.
2439 * bug-fix: sb-bsd-sockets on win32 uses proper C function declarations.
2441 * bug fix: A new dead code elimination phase removes dead code loops
2442 that confuse stack analysis. (lp#1255782, lp#308914)
2443 * bug fix: A toplevel form which was simple enough to bypass the main
2444 compiler in COMPILE-FILE, and which contained an empty SETQ or PROGN
2445 would produce an invalid fasl file. (lp#1427050)
2446 * bug fix: The compiler no longer signals an internal error when
2447 encountering invalid FUNCTION forms like (function 1)
2448 * bug fix: express proper dependencies in the ASDF contrib, to support
2449 systems where make runs in parallel. (lp#1434768; thanks to Nikhil
2452 changes in sbcl-1.2.9 relative to sbcl-1.2.8:
2453 * minor incompatible change and bug fix: unboxed numeric constants
2454 on x86oids are arranged in memory differently, and the disassembler
2455 does not show them separately in DISASSEMBLE, but does
2456 if DISASSEMBLE-CODE-COMPONENT is used. (lp#1421987)
2457 * optimization: The compiler's treatment of type specifiers makes
2458 it slightly faster and more memory-efficient. Portable code
2459 should be indifferent to this change, however, users of
2460 SB-INTROSPECT:FUNCTION-TYPE might notice that (MEMBER T NIL)
2461 and (MEMBER NIL T) are both internally collapsed to the former,
2462 so that the latter can never be obtained as part of an FTYPE.
2463 * optimization: a TYPEP call in which the second argument is not a
2464 QUOTE form but nevertheless recognized as a compile-time constant
2465 might open-code the test. One scenario for this involves backquote,
2466 such as (TYPEP x `(my-type ,some-arg)). Code which relied upon
2467 deferring until runtime should declare (NOTINLINE TYPEP).
2468 [Due to the sematic constraints of DEFTYPE etc in in CLHS 3.2.2.3,
2469 code requiring delayed evaluation could be unportable though.]
2470 * enhancement: unused variables at the top-level are now reported.
2472 * bug fix: DEFCLASS handles cyclic {super,meta}class relations better
2474 * bug fix: compiler no longer signals an error when compiling certain
2475 function calls. (lp#1416704, lp#404441, lp#1417822, lp#1234919)
2476 * bug fix: compiler doesn't stumble on a LOGIOR transform. (lp#1389433)
2477 * bug fix: more robust debugger and backtraces. (lp#1413850, lp#1099500,
2478 lp#1412881, lp#945261, lp#1419205, lp#1409402)
2479 * bug fix: files larger than 4GB can now be compiled.
2480 * bug fix: x86 truncated results from 64-bit foreign functions to 32 bits.
2481 * bug fix: file-position didn't work on large files on win32. (lp#1271545)
2482 * bug fix: callbacks from foreign threads can work without enabling
2484 * bug fix: sb-introspect:function-lambda-list works properly on interpeted
2485 macros. (lp#1387404)
2486 * bug fix: ADJUST-ARRAY properly handles non-adjustable arrays. (lp#886418)
2487 * bug fix: compiler no longer fails to dump a multidimensional array
2488 constant involving a circular reference to itself
2489 * bug fix: conditional and nested DX allocation no longer confuse the
2490 compiler in STACK analysis. (lp#1044465)
2491 * bug fix: sb-rotate-byte constant folding bug fixed. (lp#1423682)
2493 changes in sbcl-1.2.8 relative to sbcl-1.2.7:
2494 * enhancement: better error and warning messages. (lp#1314767, lp#736383)
2495 * enhancement: backtrace for invalid argument count produces the exact
2496 supplied arguments including the extra ones, on x86, x86-64 and ARM.
2497 * enhancement: a STYLE-WARNING is signaled for DEFSTRUCT accessors which
2498 are used before the structure is defined; similarly for the predicate.
2499 * optimization: FORMAT NIL with only ~a and string arguments is transformed
2501 * optimization: POSITION and FIND when inlined into code that is compiled
2502 with qualities of safety < 2 and speed > space will no longer signal
2503 an error on circular lists, but will potentially loop forever if given
2504 no :END constraint. As was always the case, calls that are not inlined
2505 are safe regardless of lexical policy.
2506 * bug fix: CLOS methods compiled with (OPTIMIZE (DEBUG 0))
2507 no longer cause debugger failure when printing a backtrace
2508 * bug fix: more resilience to deleted code. (lp#1308328, lp#1390544)
2509 * bug fix: the CLHS example of MAKE-LOAD-FORM involving TREE-WITH-PARENT
2510 did not work, and now it does.
2512 changes in sbcl-1.2.7 relative to sbcl-1.2.6:
2513 * optimization: returning constant values refers to preboxed constants
2514 more reliably. (lp#1398785)
2515 * enhancement: a STYLE-WARNING is produced if a compiler-macro is defined
2516 for a function after at least one ordinary (not inlined) call to that
2517 function was compiled, indicating a likely compilation order problem.
2518 Likewise a warning ensues if a call is compiled to a function
2519 that is subsequently proclaimed INLINE.
2520 * enhancement: always lose() when something goes wrong while saving a core
2521 (instead of just printing an error on stderr in some situations).
2522 * enhancement: frames in the debugger are now restartable by default.
2523 * bug fix: restore error handling on Windows x86.
2524 * bug fix: MAKE-SEQUENCE detects type errors in its :INITIAL-ELEMENT
2525 at compile-time when possible. (lp#330299)
2526 * bug fix: parsing of malformed type specifiers no longer results
2527 in a memory-fault-error.
2528 * bug fix: LOOP properly destructures nested lists in WITH.
2529 * bug fix: MACROEXPANDing the redefinition of an alien structure type no
2530 longer signals the wrong error.
2531 * bug fix: PROGV doesn't get confused by forced DEBUG 3 (lp#1405456).
2533 changes in sbcl-1.2.6 relative to sbcl-1.2.5:
2534 * enhancement: SERVE-EVENTS uses the poll() system call in lieu of
2535 select() if the OS has the former. Previously poll() was used
2536 only if waiting on exactly one file descriptor.
2537 * enhancement: efficiency of access to untagged structure slots is improved
2538 on x86-64, and the order of slots in memory is exactly as specified by
2539 defstruct, simplifying use of structures as arguments to foreign calls.
2540 * bug fix: SB-DEBUG:ARG now works in all TRACE options which evaluate forms.
2542 * bug fix: GC memory corruption during internal memory handling.
2543 * bug fix: duplicate effective-slot-definition objects as compared
2544 by EQ on name could be present in CLASS-SLOTS of a class whose
2545 metaclass was structure-class or condition-class. (lp#1049423)
2546 * bug fix: HANDLER-BIND with empty bindings works again; regression in
2548 * bug fix: ATOMIC-INCF works on structure slots in interpreted code.
2550 * bug fix: MAKE-ARRAY properly handles character types like (eql #\a) and
2551 (member #\a #\c). (lp#1392068)
2552 * bug fix: READ sometimes accidentally preserved a whitespace character
2553 after a token when it should not have. (lp#327790)
2555 changes in sbcl-1.2.5 relative to sbcl-1.2.4:
2556 * enhancement: sb-bsd-sockets now has basic support for IPv6
2557 * enhancement: An sb-unicode package has been added, containing
2558 many functions related to handling Unicode text
2559 * enhancement: The reader now normalizes symbols to Normalization
2560 Form KC (NFKC). This behavior can be disabled with
2561 SB-EXT:READTABLE-NORMALIZATION
2562 * enhancement: a style-warning is signaled if OPTIMIZE declarations
2563 multiply specify a quality with differing values. (lp#310267)
2564 * bug fix: conservatively pointed to pages wipe out unused dwords so
2565 that they cannot act as false roots in turn.
2566 * bug fix: the walker's handling of lexical variable and symbol-macro
2567 bindings is improved (lp#375326, lp#1368305)
2568 * bug fix: HANDLER-{BIND,CASE} no longer drop into ldb when a clause
2569 contains an undefined condition type; regression in 1.1.19 (lp#1378939)
2570 * bug fix: in interpreted code, inequality predicates did not type-check
2571 arguments that weren't examined, and a 1-argument use of MIN or MAX
2572 accepted a complex number. (lp#1373702)
2573 * bug fix: APROPOS and APROPOS-LIST handle inherited symbols correctly.
2574 (lp#1364413, thanks to Zach Beane)
2576 changes in sbcl-1.2.4 relative to sbcl-1.2.3:
2577 * enhancement: the sequence functions MAP, CONCATENATE and MERGE now call
2578 the new generic functions SEQUENCE:MAP, SEQUENCE:CONCATENATE and
2579 SEQUENCE:MERGE respectively when the specified result type designates an
2581 * bug fix: Wrong binding order of supplied-p parameters in macro lambda
2583 * bug fix: VALIDATE-SUPERCLASS returns T when the superclass is the
2584 universal superclass (lp#1332983)
2585 * bug fix: reading an uninterned symbol whose print name has the
2586 syntax of an integer signals an error. (lp#310062)
2587 * bug fix: the walker is less likely to be confused when walking LET* forms
2588 with special bindings and use of those bindings and others of the same
2590 * bug fix: a rare bug affecting 32-bit platforms resulting in a
2591 fatal condition with the message "Globaldb rehash failure" has been fixed.
2593 changes in sbcl-1.2.3 relative to sbcl-1.2.2:
2594 * enhancement: DOCUMENTATION works on instances of
2595 FUNCALLABLE-STANDARD-CLASS
2596 * enhancement: ASSERT reports arguments of calls to lexical functions in
2597 additional to global functions.
2598 * enhancement: ASDF updated to 3.1.3
2599 * enhancement: UIOP can be loaded without ASDF.
2600 * bug fix: some methods on CHANGE-CLASS did not finalize the new class
2601 before accessing its class-precedence list.
2602 * bug fix: CHANGE-CLASS no longer fails on unbound slots in the source
2604 * bug fix: CHANGE-CLASS signals an appropriate error when the destination
2605 class is a FORWARD-REFERENCED-CLASS.
2606 * bug fix: CHANGE-CLASS no longer signals bogus TYPE-ERRORs for slots for
2607 which initargs have been supplied.
2608 * bug fix: saving cores on ARM was broken since the introduction of GENCGC.
2610 * bug fix: macroexpanding a backquoted expression involving ",."
2611 outside of the compiler failed. (lp#1354623)
2613 changes in sbcl-1.2.2 relative to sbcl-1.2.1:
2614 * incompatible change: the #\` ("backquote") reader macro was reimplemented
2615 to support robust pretty-printing. Reading a form involving #\` produces
2616 an invocation of the QUASIQUOTE ordinary macro which may contain subforms
2617 that are not lists. Code that unportably attempts operations on
2618 un-evaluated forms resulting therefrom, e.g.
2619 (SUBST a b (read-from-string "`(x (,y))"))
2620 might generate incorrect results and/or errors.
2621 * enhancement: support for GNU/kFreeBSD x86.
2622 * enhancement: ATOMIC-INCF and ATOMIC-DECF can operate on (CAR x), (CDR x)
2623 and DEFGLOBAL variables of type fixnum.
2624 * enhancement: arithmetic constant reduction is now performed on defconstant
2625 constants too. (lp#1337069).
2626 * bug fix: certain ftype proclamations containing &optional t &rest t no
2627 longer cause subsequent definitions to signal bogus style-warnings.
2628 * bug fix: #\Bell and #\Bel now read to different characters. (lp#1319452).
2629 * bug fix: CAS SYMBOL-VALUE on locally special variables didn't work.
2632 changes in sbcl-1.2.1 relative to sbcl-1.2.0:
2633 * enhancement: GENCGC is enabled on ARM.
2634 * enhancement: better error reporting for invalid calls to local functions.
2635 * enhancement: support for GNU/kFreeBSD distributions. (lp#1079954, thanks
2637 * enhancement: experimental support for threads on NetBSD/x86-64. (thanks
2638 to Robert Swindells)
2639 * enhancement: support for DragonFly BSD. (lp#1292845, thanks to Vasily
2641 * bug fix: TYPE-OF must not return AND/OR/NOT expressions.
2643 * bug fix: accessing NIL arrays stopped producing errors. (lp#1311421)
2644 * bug fix: DISASSEMBLE no longer prints unwanted stuff. (lp#1251861)
2645 * bug fix: compiling SVREF on unknown types no longer produces scary errors.
2647 * bug fix: assorted LOOP fixes and enhancements. (lp#645534, lp#1322923,
2648 lp#700538, lp#613876, lp#695286, lp#798388)
2649 * bug fix: silence compiler notes from the SEARCH transform. (lp#1071310)
2650 * bug fix: array type intersection handles T and unknown element types
2651 correctly. (lp#1258716)
2652 * bug fix: fix a corner case in array type unparsing that would result in
2653 misleading translations from our internal type representation.
2654 * bug fix: array-rank now sees through union and intersection types.
2656 * bug fix: when DECLARE expressions are in the wrong place, be careful not
2657 to attempt to evaluate the subforms. (lp#573747; thanks to Roman
2659 * bug fix: misplaced and missing declarations in DEFTRANSFORM. (lp#1066451)
2660 * bug fix: FBOUNDP returned NIL for a class of incorrect function names
2661 instead of signaling an error. (lp#1095483)
2662 * bug fix: fix a compile-time AVER in regalloc: lifetime analysis
2663 used to (rarely) introduce duplicate conflict markers in a single
2664 TN/block pair. (lp#1327008)
2666 changes in sbcl-1.2.0 relative to sbcl-1.1.18:
2667 * bug fix: read-time-eval backquote context mixup. (lp#1321047)
2668 * enhancement: when SAVE-LISP-AND-DIE fails due multiple threads, the
2669 report of the signaled conditions lists currently running threads.
2670 * enhancement: ported to ARM linux.
2671 * enhancement: sb-gmp contrib has been updated. (lp#1305266)
2672 * enhancement: new contrib sb-mpfr by Stephan Frank.
2673 * bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE
2674 (lp#1315846, thanks to Mark Cox)
2675 * bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic
2676 function-designator to a function only as needed. (lp#1012335)
2677 * bug fix: remove references to asdf-install from the manual. (lp#1207544,
2678 thanks to Thomas Hlavaty)
2679 * bug fix: handle --without-xxx options to make.sh more carefully.
2680 (lp#1246665, thanks to Richard M Kreuter)
2681 * bug fix: prevent maybe-delete-exit from doing semantically broken things
2682 with local exits. (lp#309099, lp#518099, lp#533930)
2683 * bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required
2684 by AMOP. (lp#861004)
2686 changes in sbcl-1.1.18 relative to sbcl-1.1.17:
2687 * optimization: COERCE is now more effecient for more cases when the type is
2688 known at compile-time.
2690 * bug fix: correctly inherit condition initforms. (lp#1300904)
2691 * bug fix: properly pprint literal functions inside nested lists.
2693 * bug fix: more-correctly handle array-type unity (broken for ages, causing
2694 compilation problems since 1.1.13.x due to smarter TYPEP type propagation,
2695 reported by jasom in #lisp).
2697 changes in sbcl-1.1.17 relative to sbcl-1.1.16:
2698 * enhancement: printing backtraces respects
2699 SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* when printing call arguments
2701 * optimization: defstruct out-of-line accessor are now as fast as inlined.
2703 * bug fix: INVOKE-RESTART-INTERACTIVELY no longer refuses to invoke RESTART
2704 instances with a test-function (reported by Vivitron in #sbcl)
2705 * bug fix: STREAM-ERROR-POSITION-INFO fails in fewer situations (lp#1264902)
2706 * bug fix: Change COND error message (lp#1254511)
2707 * bug fix: LOAD is no longer confused when called on a directory.
2709 * bug fix: MAKE-CONDITION reports names of missing condition classes
2710 properly (lp#1199223)
2711 * bug fix: restore building with clang. (lp#1293643)
2712 * bug fix: restore building on SPARC (broken since 1.1.15).
2713 * bug fix: improved FreeBSD support.
2714 * bug fix: PPC floating point conversion corrupted stack.
2716 changes in sbcl-1.1.16 relative to sbcl-1.1.15:
2717 * minor incompatible change: improve read/print consistency for pathnames on
2718 Win32, by using the circumflex character #\^ as the escape character.
2720 * enhancement: SB-EXT:DEFINE-LOAD-TIME-GLOBAL. (lp#1253688)
2721 * enhancement: Loading fasls with symbols from an undefined package includes
2722 the name of the symbol in the error message.
2723 * bug fix: problems when redefining classes and doing TYPEP on classes
2724 concurrently. (lp#1272742)
2725 * bug fixes to the x86-64 XCHG instruction:
2726 ** it was misencoded when used with RAX, R8-R15 registers. (reported by
2728 ** it was misencoded when used to exchange EAX with itself.
2729 ** the disassembler wrongly printed XCHG RAX, R8 and the corresponding
2730 32- and 16-bit variations as NOP.
2731 * bug fix: the disassembler outputs source annotations in the right place
2732 and no longer randomly drops some of them. (lp#1249205)
2733 * bug fix: fix commutative-arg-swap from introducing undumpable structures
2734 into code, prevent code with errors from being compiled. (lp#1276282)
2735 * bug fix: pathnames with :back in their directory component are succeffully
2737 * bug fix: the deterministic profiler now uses ENCAPSULATE functionality to
2738 wrap functions around. (lp#309086)
2740 changes in sbcl-1.1.15 relative to sbcl-1.1.14:
2741 * new feature: the iterative spilling/coloring register allocator developed
2742 by Alexandra Barchunova during Google Summer of Code 2013 is now merged
2743 in. By default, it only activates for functions that optimize with
2744 (speed 3) and (> speed compilation-speed), but setting
2745 sb-regalloc:*register-allocation-method* to :iterative forces its
2746 execution. The previous behaviour can be obtained by instead setting that
2747 variable to :greedy. Thanks again to Google for their support, and, more
2748 crucially, to Alexandra Barchunova for her hard work.
2749 * optimization: make-array with known element-type and unknown dimensions is
2751 * optimization: make-array with unknown element-type is faster as well.
2753 * enhancement: sb-ext:save-lisp-and-die on Windows now accepts
2754 :application-type argument, which can be :console or :gui. :gui allows
2755 having GUI applications without an automatically appearing console window.
2756 * enhancement: reduced conservativism on GENCGC platforms:
2757 conservative roots must be valid-looking tagged pointers or point
2758 within a code object, not merely point to within the allocated part
2759 of a page, in order to pin a page.
2760 * enhancement: support for "Mac Roman" external format.
2761 * enhancement: encapsulation of named generic functions now happens without
2762 altering the identity of the function bound to the name.
2763 * bug fix: Windows applications without the console window no longer misbehave.
2764 (patch by Wilfredo Velazquez, lp#1256034).
2765 * bug fix: modular arithmetic optimizations do not stumble on dead branches
2766 with bad constants. (reported by Douglas Katzman)
2767 * bug fix: CLISP can be used again as a cross-compilation host.
2768 (Thanks to Vasily Postnicov, lp#1261451)
2769 * bug fix: run-program crashed with :directory nil. (lp#1265077)
2771 changes in sbcl-1.1.14 relative to sbcl-1.1.13:
2772 * optimization: complicated TYPEP tests are less opaque to the type
2773 propagation pass. (lp#1229340)
2774 * optimization: [N]BUTLAST perform a single pass over the list. (lp#1245697)
2775 * optimization: EQUALP on structures with raw slots (double-float/complex)
2776 no longer conses and is faster.
2777 * optimization: RESTART-CASE expands to more compact code.
2778 Thanks to Jan Moringen. (lp#1249055)
2779 * enhancement: Top-level defmethod without defgeneric no longer causes
2780 undefined-function warnings in subsequent forms. (lp#503095)
2781 * enhancement: Better error messages for system errors on Windows.
2782 * enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William
2783 Cushing. (lp#1249183)
2784 * enhancement: new function SB-EXT:ASSERT-VERSION->= accepts a version
2785 specification (multiple integer arguments) and signals a continuable error
2786 if the current SBCL version is lower (older) than the specification.
2788 * enhancement: better ARRAY-RANK result derivation. (lp#1252108)
2789 * bug fix: EQUALP now compares correctly structures with raw slots larger
2791 * bug fix: contribs couldn't be built on Windows with MinGW.
2792 * bug fix: Better pathname handling on Windows. (lp#922117)
2793 * bug fix: OPEN reports a more meaningful error when an existing file is
2794 opened for output with :if-exists :new-version. Thanks to Philip
2795 Munksgaard. (lp#455381)
2796 * bug fix: DEFSTRUCTs with NIL as a slot name no longer cause strange
2797 CLOS-related errors. (lp#633911)
2798 * bug fix: GC deadlocks caused by concurrent consing on Windows.
2800 changes in sbcl-1.1.13 relative to sbcl-1.1.12:
2801 * optimization: better distribution of SXHASH over small conses of related
2803 * other improvements to SXHASH:
2804 ** use the whole of the positive-fixnum range for SXHASH of fixnums
2805 * enhancement: The error message when calling an undefined alien function
2806 includes the name of the function on x86-64.
2807 * enhancement: sb-ext:run-program now supports :environment on Windows.
2808 * enhancement: ASDF is no longer required to load contribs at runtime.
2810 * enhancement: when called with a symbol, FIND-RESTART no longer calls
2811 COMPUTE-RESTARTS, making it faster and cons less (lp#769615)
2812 * enhancement: FIND-RESTART and COMPUTE-RESTARTS handle huge restart
2813 clusters better in some cases
2814 * enhancement: SOME/ANY/other quantification higher-order functions no
2815 longer cons. (lp#1070635)
2816 * bug fix: forward references to classes in fasls can now be loaded.
2818 * bug fix: don't warn on a interpreted->compiled function redefinition
2819 from the same location. (patch by Douglas Katzman, lp#1042405)
2820 * bug fix: Create vectors of proper internal length when reading literal
2821 vectors from FASLs. (Reported by Jan Moringen)
2822 * bug fix: COMPILE can now successfully compile setf functions.
2823 (Reported by Douglas Katzman)
2824 * bug fix: run-program performs more correct escaping of arguments on
2825 Windows. (lp#1239242)
2826 * bug fix: function-lambda-expression on generic functions returns the
2828 * bug fix: (the [type] [constant]) now warns when [constant] matches
2829 [type] except for the number of values. (Reported by Nathan Trapuzzano
2831 * bug fix: signal errors in required cases of slot-definition initialization
2832 protocol. (lp#309072)
2833 * bug fix: run-sbcl.sh works better in the presence of symlinks on OS X.
2834 (thanks to Stelian Ionescu, lp#1242643)
2835 * bug fix: when given a restart object, FIND-RESTART checks whether the
2836 restart is active and, when a condition is supplied, whether the restart
2837 is associated to a different condition (lp#774410)
2839 changes in sbcl-1.1.12 relative to sbcl-1.1.11:
2840 * enhancement: Add sb-bsd-sockets:socket-shutdown, for calling
2841 shutdown(3). (thanks to Jan Moringen, lp#1207483)
2842 * enhancement: document extensible sequences. (thanks to Jan Moringen,
2844 * optimization: EQUAL and EQUALP transforms are smarter.
2845 (thanks to Elias Martenson, lp#1220084)
2846 * optimization: CHAR-EQUAL is faster for constant and base-char arguments.
2847 * bug fix: probe-file now can access symlinks to pipes and sockets in
2848 /proc/pid/fd on Linux. (reported by Eric Schulte)
2849 * bug fix: SBCL can now be built on Solaris x86-64.
2850 * bug fix: Floating point exceptions do not persist on Solaris anymore.
2851 * bug fix: (setf . a) is pprinted correctly (reported by Douglas Katzman).
2852 * bug fix: handle compiler-error in LOAD when it's not run from inside EVAL.
2854 * bug fix: SB-GMP:MPZ-POW no longer segfaults given a non-bignum base.
2855 (thanks to Stephan Frank)
2856 * bug fix: space allocation of result bignums in SB-GMP is more accurate.
2857 (thanks to Stephan Frank, lp#1206191)
2858 * bug fix: sb-safepoint can now reliably handle signal interruptions of
2859 foreign code. (lp#1133018)
2860 * bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback"
2861 constructors no longer fails to merge actual and default initargs
2862 (thanks to Jan Moringen, lp#1179858)
2863 * bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback"
2864 constructors handles non-KEYWORD initialization arguments more correctly.
2865 * bug fix: loading the SB-SIMPLE-STREAMS contributed module no longer
2866 clobbers FILE-NAMESTRING. (thanks to Anton Kovalenko, lp#884603)
2867 * bug fix: class definitions with CPLs inconsistent with their metaclasses
2868 are less likely to destroy the object system's integrity. (lp#309076)
2869 * bug fix: restart clause parsing in RESTART-CASE is more in line with the
2870 standard. (lp#1203585, thanks to Jan Moringen)
2871 * bug fix: silence a note from RESTART-CASE under high-SPEED optimization
2872 settings. (lp#1023721)
2873 * bug fix: getting the order of arguments to
2874 SB-MOP:SET-FUNCALLABLE-INSTANCE-FUNCTION wrong produces a sensible error
2875 rather than a failed AVER. (reported by Paul Nathan)
2876 * bug fix: Parsing of &optional/&key/&rest arguments now never overwrites
2877 arguments during copying on x86 and x86-64; it may still happen on other
2878 platforms when there are more fixed arguments than stack slots.
2879 (reported by Jan Moringen)
2881 changes in sbcl-1.1.11 relative to sbcl-1.1.10:
2882 * enhancement: support building the manual under texinfo version 5.
2884 * enhancement: Windows builds no longer display the "Kitten of Death" message.
2885 A warning is instead appended to the regular banner, and may be muted with
2886 --noinform. (lp#728247)
2887 * enhancement: support building under new linker handling of syscalls under
2888 NetBSD. (thanks to Robert Swindells)
2889 * bug fix: undefined function errors are now properly reported on PPC and MIPS.
2890 (regression since 1.1.9)
2891 * bug fix: (funcall (function X junk)) didn't causes an error when X had a
2892 compiler macro. (thanks to Douglas Katzman).
2893 * bug fix: signal a warning when defining a setf-function when a
2894 setf-expander is already present. (thanks to Douglas Katzman).
2895 * bug fix: improved threading on PPC.
2896 * bug fix: ROOM works again on Windows. (lp#1206456)
2897 * bug fix: Streams were flushed even when there was one byte still left in
2898 the buffer. (lp#910213)
2899 * bug fix: OPEN handles correctly when :if-exists and :if-does-not-exist are
2900 either NIL or :ERROR. (reported by Jan Moringen)
2902 changes in sbcl-1.1.10 relative to sbcl-1.1.9:
2903 * enhancement: ASDF has been updated to 3.0.2.
2904 * optimization: stack frames are packed more efficiently on x86oids, which
2905 ought to reduce the frequency of Methuselahn conservative references (it
2906 certainly helps with gc.impure.lisp / BUG-936304 on x86).
2907 * optimization: on x86 and x86-64, integer negation forms like (- x) are now
2908 recognized in modular arithmetic contexts, and compile to native negate,
2909 rather than going through bignums only to keep the low bits.
2910 * bug fix: Compiling potential modularic arithmetic forms does not cause type
2911 errors when some integer types lack lower or upper bounds. (lp#1199127)
2912 * bug fix: Non-trivial modular arithmetic forms are always cut to the right
2913 bitwidth before being used in a non-modular context. (lp#1199428)
2914 * bug fix: Multiple catch/unwind blocks in a single function are now
2915 allocated in the right stack order on win32. (lp#1072739)
2917 changes in sbcl-1.1.9 relative to sbcl-1.1.8:
2918 * new feature: the contrib SB-GMP links with libgmp at runtime to speed
2919 up arithmetic on bignums and ratios. (contributed by Stephan Frank)
2920 * enhancement: disassemble now annotates some previously missing static
2921 functions, like LENGTH.
2922 * enhancement: clean.sh now also cleans doc/internals.
2923 * enhancement: SB-EXT:PRINT-SYMBOL-WITH-PREFIX can be used within ~// to
2924 print a symbol with a package prefix.
2925 * enhancement: The debugger and backtracing are more robust against buggy
2926 PRINT-OBJECT methods.
2927 * optimization: calls to static functions on x86-64 use less instructions.
2928 * optimization: compute encode-universal-time at compile time when possible.
2929 * optimization: when referencing internal functions as #'x, don't go through
2930 an indirect fdefn structure.
2931 * optimization: SLEEP doesn't cons on non-immediate floats and on ratios.
2932 * optimization: (mod fixnum) type-checks are performed using one unsigned
2933 comparison, instead of two.
2934 * optimization: enable more modular arithmetic transforms in the presence of
2936 * optimization: bitwise OR forms can now trigger modular arithmetic as well,
2937 when the result is known to be negative.
2938 * optimization: recognize more cases of useless LOGAND/LOGIOR with constants.
2939 * optimization: comparisons between rationals and constant floats or between
2940 integers and constant ratios are now converted to rationals/integers at
2942 * optimization: Smaller and faster DOUBLE-FLOAT-LOW-BITS on x86-64.
2943 * bug fix: problems with NCONC type derivation (reported by Jerry James).
2944 * bug fix: EXPT type derivation no longer constructs bogus floating-point
2945 types. (reported by Vsevolod Dyomkin)
2946 * bug fix: sb-bsd-sockets has correct declaration of the canonname field of
2947 addrinfo. (lp#1187041, patch by Jerry James)
2948 * bug fix: uninitialized type-error conditions can now be printed.
2950 * bug fix: tests for sb-bsd-sockets no longer use a predefined port for
2951 listening, allowing several tests to run in parallel.
2952 * bug fix: during disassembly to *COMPILER-TRACE-OUTPUT* instruction
2953 prefixes as used on x86 and x86-64 no longer sometimes print incorrectly.
2955 * bug fix: Specialised SIMD-PACK types can be negated.
2956 * bug fix: Modular arithmetic is more robust. (incidentally fixes another bug
2957 reported by Eric Marsden)
2958 * bug fix: FP return values from foreign calls are always rounded to single
2959 or double float precision on x87.
2960 * bug fix: Known-safe vector access on x86oids should not fail spuriously
2961 when the index is of the form (+ x constant-positive-integer).
2962 * bug fix: Remove GPL-licensed files from source distribution. (lp#1185668)
2963 * bug fix: backtrace printer no longer tries to create very large lists when
2964 the arg-count register is clobberred by other code. (lp#1192929)
2965 * bug fix: x86 should never signal an FP exception while boxing an FP value,
2966 a situation that lands us into ldb.
2968 changes in sbcl-1.1.8 relative to sbcl-1.1.7:
2969 * notice: The implementation of MAP-ALLOCATED-OBJECTS (the heart of
2970 ROOM, plus a few SB-INTROSPECT functions) has been completely
2971 rewritten; it may now exhibit different bugs than before.
2972 * new feature: minimal runtime/compiler intrastructure support for SSE
2973 SIMD values, as SB-EXT:SIMD-PACK. Enabled on x86-64 via the build-time
2974 feature :sb-simd-pack. This should enable intrinsics extensions as
2975 libraries, without patching SBCL itself. Thanks to Alexander Gavrilov
2976 for maintaining a branch for so long.
2977 * enhancement: RUN-PROGRAM supports a :DIRECTORY argument to set
2978 the working directory of the spawned process.
2979 (lp#791800) (patch by Matthias Benkard)
2980 * enhancement: boxed vectors (vectors of T or of FIXNUM) can now be
2981 stack-allocated on PPC.
2982 * enhancement: "fixed objects" can now be stack-allocated on PPC.
2983 * enhancement: WITH-PINNED-OBJECTS no longer conses on PPC/GENCGC.
2984 * enhancement: (sb-introspect:find-definition-sources-by-name x :vop) now
2985 also returns VOPs which do not translate any functions, and finds
2986 defoptimizer types ir2convert and stack-allocate-result.
2987 * enhancement: better type derivation for APPEND, NCONC, LIST.
2989 * enhancement: MAP-ALLOCATED-OBJECTS (the heart of ROOM) now walks the
2990 heap in a manner similar to the GC rather than its previous ad-hoc
2991 scheme, and is therefore no less and possibly more accurate.
2992 * fixes and enhancements related to Unicode:
2993 ** the character database information has been updated to Unicode 6.2;
2994 ** support for canonical and compatibility decomposition of characters has
2995 been added, along with support for primary composition;
2996 ** support for Unicode normalization forms of strings (NFC, NFKC, NFD and
2997 NFKD) has been included;
2998 ** querying the character database for code points not defined by Unicode
2999 gives less wrong answers (lp#1178038, reported by Ken Harris)
3000 * enhancement: print intermediate evaluation results for some ASSERTed
3001 expressions. (lp#789497) (patch by Alexandra Barchunova)
3002 * enhancement: x86-64 disassemblies are annotated with unboxed constant
3003 values when there are references to (RIP-relative) unboxed constants.
3004 * bug fix: type derivation for LOG{AND,IOR,XOR} scales linearly instead
3005 of quadratically with the size of the input in the worst case.
3007 * bug fix: handle errors when initializing *default-pathname-defaults*,
3008 sb-ext:*runtime-pathname*, sb-ext:*posix-argv* on startup, like character
3009 decoding errors, or directories being deleted.
3010 * bug fix: Loading a core with a discontiguous dynamic space now correctly
3011 computes the amount of dynamic space used.
3012 * bug fix: disassembler missing ",8" on SHLD
3013 * bug fix: backtracing through INTERNAL-ERROR signal handlers on systems
3014 that provide an "invalid" stack frame link for the signal handler
3015 itself now use the saved-fp-and-pc mechanism to pick up from the stack
3016 frame in the interrupt (signal) context. This is known to affect
3017 threaded FreeBSD/x86-64.
3018 * bug fix: some LOOP statements couldn't be compiled.
3020 * bug fix: sb-sequence:dosequence works on literal vectors.
3021 * bug fix: errors in generic arithmetic show the assembly routine's
3022 caller on x86 and x86-64. (lp#800343)
3023 * bug fix: Compile-time type errors should never result in COMPILE-FILE
3024 failure. (lp#943953)
3025 * bug fix: Known bad local calls do not cause strange failures when
3026 emitting or dumping code. (lp#504121)
3027 * bug fix: Multiply-inlined structure constructor don't cause IR2-time
3028 codegen errors: type checks are inserted as necessary. (lp#1177703)
3029 * bug fix: Unsigned modular arithmetic is correctly converted into signed
3030 modular arithemtic (mostly to exploit fixnum-width VOPs). (lp#1026634)
3031 * bug fix: a combination of inlined local function with &optional and
3032 recursion no longer causes undescriptive compiler errors. (lp#1180992)
3033 * bug fix: sub-word BOOLEAN alien types now disregard higher order bits
3034 when testing for non-zero-ness.
3035 * bug fix: (CONCATENATE 'null ...) no longer fails for generic sequences.
3037 * bug fix: Type mismatch for the value of conditional expressions are
3038 correctly reported when detected at compile-time, instead of complaining
3039 about a constant NIL (similar for non-EQ-comparable catch tags).
3040 * bug fix: Referring to INLINE global functions as values should not result
3041 in a compilation failure. (lp#1035721)
3042 * optimization: faster ISQRT on fixnums and small bignums
3043 * optimization: faster and smaller INTEGER-LENGTH on fixnums on x86-64.
3044 * optimization: On x86-64, the number of multi-byte NOP instructions used
3045 for code alignment is now always minimal.
3046 * optimization: On 64-bit targets, the compiler generates much faster
3047 code for type checks for types known at compile time that are smaller
3048 than (SIGNED-BYTE 64) or (UNSIGNED-BYTE 64) and larger than FIXNUM, and
3049 their COMPLEX variants.
3050 * optimization: On x86 targets, more uses of ALIEN-FUNCALL during cross
3051 compilation now inline the INVOKE-WITH-SAVED-FP-AND-PC dance.
3052 * optimization: ROOM no longer conses so egregiously on non-x86oid
3054 * optimization: associative bitwise operations reassociate patterns like
3055 (f (f x k1) k2) to expose (f x (f k1 k2)). Same for + and * of
3057 * optimization: quasiquote expressions now perform more constant folding,
3058 instead of consing equal lists at runtime. (lp#1026439)
3059 * optimization: local call analysis of inlined higher-order function
3060 should converge more quickly, resulting in better code for complex
3062 * optimization: On x86-64, medium (word-sized but wider than 32 bits)
3063 integer constants are handled more cleverly, especially when they
3064 can be represented as sign-extended (signed-byte 32). (Based on a
3065 patch by Douglas Katzman)
3066 * optimization: IF/IF conversion should reliably result in sane code
3067 when (some of) the results of the inner IF are always false or
3069 * optimization: On x86oids, variable right shifts of machine words are
3070 compiled into straight SAR/SHR, instead of going through the generic
3073 changes in sbcl-1.1.7 relative to sbcl-1.1.6:
3074 * enhancement: TRACE :PRINT-ALL handles multiple-valued forms.
3076 * bug fix: :allocation slot option works for condition slots
3078 * bug fix: redefining conditions does not lead to multiple evaluations of
3079 hairy slot initfunctions anymore (lp#1164969)
3080 * bug fix: CLASS-DIRECT-DEFAULT-INITARGS now works for condition classes
3082 * bug fix: function constants now work as initforms and default initarg
3083 values of conditions (lp#539517)
3084 * bug fix: svref/(setf svref) on symbol macros don't crash the compiler
3085 anymore. (Minimal test case provided by James M. Lawrence on sbcl-devel)
3086 * bug fix: no more bogus ## references when pretty printing backquoted
3087 forms with non-trivial structure sharing. (lp#1161218)
3088 * bug fix: Don't signal an error on (setf (documentation nil 'function)
3089 "doc"). Signal a style-warning instead when trying to set documentation
3090 of NIL for all other documentation types. (Reported by Zach
3091 Beane; regression since 2e52fa05.)
3092 * bug fix: modular arithmetic involving large constants and conditionals
3093 should no longer result in spurious dead code elimination. (Reported by
3095 * bug fix: our mach exception handler can seemingly called very early in
3096 the program execution process on OS X 10.8.0. Try and handle that case
3097 robustly, without potentially leaking mach ports too much.
3098 * optimization: LOGBITP and LOGTEST optimizations from x86 ported to x86_64.
3100 changes in sbcl-1.1.6 relative to sbcl-1.1.5:
3101 * enhancement: the continuable error when defknown-ing over extant
3102 fndb entries can be ignored by passing :overwrite-fndb-silently t
3103 as a keyword argument to sb-c:defknown (after attributes). Useful
3104 to allow defknown to be re-loaded. Use with :allow-other-keys t
3105 for backward compatibility.
3106 * optimization: compiler is much faster in compiling SVREF and (SETF SVREF)
3108 * bug fix: Prevent a make-array transform from modifying source forms
3109 causing problems for inlined code. Thanks to Bart Botta.
3110 (regression since 1.0.42.11-bis)
3111 * bug fix: clear-output calls the correct gray stream routine,
3112 sb-gray:stream-clear-output. (lp#1153257)
3113 * bug fix: an error is signalled for an invalid format modifier: ~<~@>.
3115 * bug fix: Better error messages for package operations (lp#1154776)
3116 * bug fix: delete-package on a nonexistent package should signal a cerror.
3117 (regression since 1.0.37.44).
3118 * bug fix: accessing &MORE (stack allocated &REST) arguments checks bounds.
3119 (lp#1154946, lp#1072112)
3120 * bug fix: compiling make-array no longer signals an error when the
3121 element-type is an uknown type, a warning is issued instead.
3122 Thanks to James Kalenius (lp#1156095)
3123 * bug fix: SEARCH on generic (non-VECTOR non-LIST) sequence types no longer
3124 produces wrong results for some inputs. (Thanks to Jan Moringen.)
3127 changes in sbcl-1.1.5 relative to sbcl-1.1.4:
3128 * minor incompatible change: SB-SPROF:WITH-PROFILING no longer loops
3130 * new feature: package local nicknames. See manual for details.
3131 * new feature: SB-EXT:MAP-DIRECTORY provides a powerful interface for
3132 directory traversal: it is the backend used by SBCL for CL:DIRECTORY.
3133 * enhancement: easier to use restarts for resolving name-conflicts
3134 resulting from IMPORT, EXPORT, or USE-PACKAGE.
3135 * enhancement: variant DEFPACKAGE forms now signal a full error with
3136 restarts provided for resolving the situation. (lp#891351)
3137 * enhancement: by setting SB-EXT:*ON-PACKAGE-VARIANCE* appropriately variant
3138 DEFPACKAGE forms can now signal a full error with restarts provided for
3139 resolving the situation. See manual for details. (lp#891351)
3140 * enhancement: make-random-state now uses CryptGenRandom as a seed on Windows.
3141 (Thanks to Anton Kovalenko.) (lp#1102748)
3142 * enhancement: backtrace improvements
3143 ** secondary CLOS dispatch functions have better debug names (lp#503081)
3144 ** easier to read method names in backtraces. See
3145 SB-DEBUG:*METHOD-FRAME-STYLE*.
3146 ** SB-DEBUG:PRINT-BACKTRACE and SB-DEBUG:LIST-BACKTRACE are available as
3147 forwards-compatible replacements for SB-DEBUG:BACKTRACE and
3148 SB-DEBUG:BACKTRACE-AS-LIST.
3149 ** SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS** has been deprecated, as the same
3150 information is available in less intrusive form as frame annotations.
3151 * enhancement: SB-POSIX now provides MAP-ANON.
3152 * enhancement: test-suite results are colorized, failures in red, unexpected
3153 success in green. Works on Windows and on terminals with ANSI escape code
3154 support. Can be disabled with --no-color.
3155 * optimization: SB-CONCURRENCY:QUEUE implementation is more efficient.
3156 (thanks to James M. Lawrence)
3157 * bug fix: no more unused variable style warnings from RESTART-CASE
3158 macroexpansion (lp#1113859)
3159 * bug fix: no more unused variable style warnings when loading
3160 sb-bsd-sockets.asd (lp#1114681)
3161 * bug fix: deleting a package removes it from implementation-package
3162 lists of other packages.
3163 * bug fix: SB-SPROF:WITH-PROFILING is now usable in the Slime REPL on Darwin.
3164 This does not fix the occasional "interrupt already pending" issue, though.
3165 * bug fix: (setf (documentation 'x 'function)) and
3166 (setf (documentation #'x t)) set documentation in different places.
3167 (regression since 1.0.43.63)
3168 * bug fix: build on newer glibc. (lp#1095036)
3170 changes in sbcl-1.1.4 relative to sbcl-1.1.3:
3171 * optimization: LOOP expressions using "of-type character" have slightly
3172 more efficient expansions.
3173 * bug fix: very long (or infinite) constant lists in DOLIST do not result
3174 in very long compile times or heap exhaustion anymore. (lp#1095488)
3175 * bug fix: `#3(1) is read as #(1 1 1), not as #(1). (lp#1095918)
3176 * bug fix: adjust-array ignored :initial-element for simple-vectors.
3178 * bug fix: optimizations to MAKE-INSTANCE with literal list initargs no
3179 longer cause infinite loops (on circular data) or violate eqlity
3180 constraints. (lp#1099708)
3181 * bug fix: FIRST was not being open coded. (regression from 1.1.0)
3183 changes in sbcl-1.1.3 relative to sbcl-1.1.2:
3184 * enhancement: warnings about bad locale settings, LANG, LC_CTYPE, etc.
3186 * enhancement: support for C-c to interrupt the foreground thread
3187 on Windows. (Thanks to Anton Kovalenko.)
3188 * enhancement: STDCALL alien callbacks. (Thanks to Anton Kovalenko.)
3189 * enhancement: Safepoint builds on POSIX platforms can now optionally be
3190 built without pseudo-atomic sequences and their run-time overhead.
3191 * enhancement: Threads created outside of Lisp can enter Lisp through
3192 alien callbacks and appear as Lisp threads for the duration of that
3193 function invocation. On safepoint builds only.
3194 * enhancement: Miscellaneous improvements to namestrings and underlying
3195 calls to OS functions for file system access on Windows. (Thanks to
3197 * enhancement: The MSI installer support for Windows now uses Windows
3198 Installer XML at least version 3.5 and includes various usability
3199 improvements. (Thanks to Dmitry Kalyanov and Anton Kovalenko.)
3200 * enhancement: The sb-bsd-sockets contrib now supports non-blocking-mode
3201 on Windows. (Thanks to Anton Kovalenko.)
3202 * enhancement: The Windows backend now supports the x86-64 platform.
3203 (Thanks to Anton Kovalenko.)
3204 * bug fix: fasls are now once again directly executable (on platforms
3205 supporting shebang lines, with a suitably-installed sbcl).
3206 * bug fix: make.sh --help no longer runs clean.sh. (lp#937001)
3207 * bug fix: Fix CAS access to slots of direct instances of structure classes
3208 in the presence of subclasses sharing the same conc-name.
3209 * bug fix: Logical pathname namestrings on Windows have been changed to
3210 be lower-case, to minimize differences between POSIX and Windows.
3212 changes in sbcl-1.1.2 relative to sbcl-1.1.1:
3213 * notice: System requirements for SBCL on Microsoft Windows: Windows NT 5.1
3214 or newer (Windows XP, Server 2003) is required. Support for Windows 2000
3215 (NT 5.0) is no longer being maintained.
3216 * notice: Starting with this version, SBCL on Windows no longer supports
3217 building with disabled thread support.
3218 * enhancement: frlocks have been added to SB-CONCURRENCY contrib module.
3219 * enhancement: New feature sb-dynamic-core allows the runtime to be
3220 rebuilt or relocated without requiring changes to the core file on
3221 all linkage table platforms. Required on Windows. (Thanks to Anton
3223 * enhancement: Console I/O streams use UCS-2. (Thanks to Anton Kovalenko.)
3224 * enhancement: I/O on Windows unnamed pipes is interruptible
3225 asynchronously using interrupt-thread, timers when running on Windows NT
3226 version 6.1 or newer (Windows 7, Server 2008 R2). (Thanks to Anton
3228 * enhancement: Support for the experimental safepoint-based stop-the-world
3229 protocol on the PowerPC platform.
3230 * bug fix: Non-blocking reads from the Windows console were not necessarily
3231 non-blocking. Thanks to Anton Kovalenko. (lp#308923)
3232 * bug fix: stability of threads on Windows has been improved upon through
3233 an updated stop-the-world protocol (thanks to Anton Kovalenko).
3235 changes in sbcl-1.1.1 relative to sbcl-1.1.0:
3236 * enhancement: WITH-COMPILATION-UNIT no longer grabs the world-lock.
3237 (COMPILE and COMPILE-FILE still do.)
3238 * optimization: the SPARC backend now supports the precise generational
3239 (GENCGC) garbage collection. Enabled by default on Solaris/SPARC and
3240 Linux/SPARC. Thanks to Raymond Toy (via CMUCL).
3241 * enhancement: add experimental support for the SB-THREAD feature and the
3242 timer facility on Windows. Thanks to Dmitry Kalyanov and Anton Kovalenko.
3243 Threads are enabled by default, and this version of SBCL is considered
3244 to be the last and final release to officially support building with
3246 * optimization: The compiler no longer rotates loops in some cases where
3247 this transformation actually lead to worse code being generated.
3248 * bug fix: SB-CLTL2:MACROEXPAND-ALL correctly handles shadowing of
3249 symbol-macros by lexical bindings.
3250 * bug fix: stack allocation was prevented by high DEBUG declaration in
3252 * bug fix: SB-EXT:GC-LOGFILE signaled an error when no logfile was set.
3253 (thanks to SANO Masatoshi)
3254 * bug fix: PARSE-NATIVE-NAMESTRING performed non-native parsing when
3255 :JUNK-ALLOWED was true.
3256 * bug fix: type derivation inferred overly conservative types for
3257 unions of array types. (lp#1050768)
3259 changes in sbcl-1.1.0 relative to sbcl-1.0.58:
3260 * enhancement: New variable, sb-ext:*disassemble-annotate* for controlling
3261 source annotation of DISASSEMBLE output. Defaults to T.
3262 * enhancement: TIMEOUT arguments added to WITH-MUTEX and WITH-RECURSIVE-LOCK, and
3263 WAIT-P argument added to WITH-RECURSIVE-LOCK.
3264 * enhancement: SB-EXT:ATOMIC-PUSH and SB-EXT:ATOMIC-POP allow atomic operations
3266 * enhancement: Optional features (not enabled by default) allow the
3267 use of signals for inter-thread synchronization to be reduced on certain
3268 supported platforms (currently Linux, Solaris, and FreeBSD on x86 and
3269 x86-64). Set (and :sb-thread :sb-safepoint :sb-thruption :sb-wtimer)
3270 to test these experimental features. Known remaining bugs include minor
3271 thread safety issues, less timely freeing of memory by GC, and certain
3272 (not yet optimally low) runtime overhead. Thanks to Anton Kovalenko.
3273 * optimization: CL:SORT and CL:STABLE-SORT of lists are faster and use fewer
3274 comparisons, particularly on almost-sorted inputs.
3275 * bug fix: Reading floats with large exponents no longer takes too much time
3276 before reporting that the exponent is too large.
3277 * bug fix: SB-BSD-SOCKETS:SOCKET-RECEIVE with a UDP socket now works
3278 correctly when the received datagram is larger than the provided buffer.
3279 (lp#1023438, thanks to Robert Uhl)
3280 * bug fix: SB-EXT:GET-CAS-EXPANSION returned a bogus read-form when given
3281 a SYMBOL-VALUE form with a constant symbol argument.
3282 * bug fix: SB-EXT:GET-CAS-EXPANSION signaled an error when a macro expanding
3283 into a DEFCAS defined place was used as the place.
3284 * bug fix: FIND and POSITION signaled a type-error when non-bits where looked
3285 for from bit-vectors.
3286 * bug fix: a race condition around thread creation could (in SBCL 1.0.57)
3287 lead to internal errors or crashes (lp#1058799).
3288 * documentation: a section on random number generation has been added to the
3291 changes in sbcl-1.0.58 relative to sbcl-1.0.57:
3292 * enhancement: implicit generic function warnings now specify the package
3293 in which the new generic function is being created.
3294 * enhancement: SB-EXT:ATOMIC-UPDATE makes it easy to perform non-destructive
3295 updates of CAS-able places (similar to Clojure's swap!).
3296 * enhancement: run-program no longer decodes and re-encodes environment when
3297 :environment argument is not provided. (lp#985904)
3298 * enhancement: errors during compiler-macro expansion no longer cause
3299 runtime errors, only a compile-time warning, otherwise behaving as if
3300 the compiler macro had declined to expand.
3301 * optimization: On x86-64, code alignment of block headers is done with
3302 multi-byte NOPs now instead of repetitions of the single-byte NOP.
3303 * optimization: MAP-INTO is substantially faster when the target sequence is
3304 of unknown type; mapping into lists is no longer O(N^2). (lp#1001043,
3305 thanks to James M. Lawrence)
3306 * optimization: the compiler no longer heap-conses to check exits in cases
3307 where the exit function is dynamic extent, or when it can prove the exit
3308 function cannot escape. (lp#1002534)
3309 * optimization: SB-SEQUENCE:DOSEQUENCE is faster on vectors of unknown
3310 element type, and vectors that aren't SIMPLE-ARRAYs.
3311 * optimization: CL:SORT and CL:STABLE-SORT are more efficient in execution
3312 speed (around 1/3 the time in some cases), and a little better in terms of
3313 comparison calls. (Thanks to Takeru Ohta)
3314 * bug fix: On SPARC, a limitation on the number of code constants emittable
3315 by the compiler has been lifted, allowing certain long functions to
3316 compiled and assembled which had previously been unsupported; fixes
3317 cl-bench on this ISA (lp#1008996).
3318 * bug fix: potential for infinite recursion during compilation of CLOS slot
3319 typechecks when dependency graph had loops. (lp#1001799)
3320 * bug fix: error forms reported with some program-errors were not escaped
3322 * bug fix: functions from EVAL are now on more equal footing with functions
3323 from COMPILE. (lp#1000783, lp#851170, lp#922408)
3324 * bug fix: ENSURE-GENERIC-METHOD-COMBINATION accepts method combination
3325 objects as its :METHOD-COMBINATION argument, not just lists designating
3326 method combinations. (lp#936513)
3327 * bug fix: run-program no longer unconditionally uses /tmp/ for temporary
3329 * bug fix: restore build on solaris/sparc. (lp#1008506)
3330 * bug fix: an issue with LDB in the PowerPC backend has been resolved;
3331 this fixes an issue found with cl-postgres (thanks to Tomas Hlavaty).
3332 * bug fix: compiler-macro lambda-lists specifying non-keyword symbols
3333 as keyword arguments no longer accidentally match unevaluated symbols
3335 * bug fix: FORMAT used to loop infinitely in some cases when a COLINC
3336 parameter was zero, now it signals an error. (lp#905817, fixed since
3338 * bug fix: run-program with :pty t no longer makes the pty as the process's
3339 controling terminal.
3340 * bug fix: spawning threads on OS X 10.8 no longer crashes the process
3343 changes in sbcl-1.0.57 relative to sbcl-1.0.56:
3344 * RANDOM enhancements and bug fixes:
3345 ** bug fix: the range and distribution of random integers could be
3346 catastrophically wrong when the compiler derived the type of its
3347 argument as a disjoint set of small integers.
3348 ** bug fix: the distribution of random integers is now completely
3349 uniform even when the specified limit is not a power of two.
3350 (Previously some values could be about 0.1 % more probable than
3351 others in the worst case.) (lp#309467)
3352 ** RANDOM on large integer arguments is generally faster and conses
3353 less than before; this is visible for fixnums above a length of
3354 about 24 bits, but extremely so for bignums: the old implementation
3355 used time and space quadratical in the size of the argument there,
3356 the new one is linear.
3357 * enhancement: redesigned protocol for quitting SBCL. SB-EXT:EXIT is the new
3358 main entry point, SB-EXT:QUIT is deprecated.
3359 * enhancement: additions to the SB-THREAD API: RETURN-FROM-THREAD,
3360 ABORT-THREAD, MAIN-THREAD-P, and MAIN-THREAD.
3361 * enhancement: FASL loading no longer grabs the world-lock.
3362 * enhancement: GENCGC reclaims space more aggressively when objects being
3363 allocated are a large fraction of the total available heap space.
3365 * enhancement: backtraces show the correct number of arguments for frames
3366 called with too many arguments.
3367 * enhancement: support for abort(3), exit(3), and _exit(2) has been added to
3369 * enhancement: ASDF has been updated 2.21.
3370 * optimization: fewer uses of full calls to signed modular functions.
3372 * optimization: typechecking alien values is typically 5 x faster.
3373 * optimization: FDEFINITION, SYMBOL-FUNCTION, MACRO-FUNCTION, and FBOUNDP
3375 * bug fix: file compilation performance issues when dumping subtypes
3376 of CHARACTER (lp#994487)
3377 * bug fix: fixed disassembly of some SSE instructions on x86-64.
3378 * bug fix: SB-SIMPLE-STREAMS signals an error for bogus :CLASS arguments in
3379 OPEN. (lp#969352, thanks to Kambiz Darabi)
3380 * bug fix: CASE normal-clauses do not allow T and OTHERWISE as keys.
3382 * bug fix: (SETF (FIND-CLASS X) NIL) removed proper name of the underlying
3383 classoid even if X was not the proper name of the class. (lp#941102)
3384 * bug fix: declaration leakage between lexical environments due to careless
3385 use of NCONC in MAKE-LEXENV. (lp#924276)
3386 * bug fix: ENSURE-DIRECTORIES-EXIST now works when
3387 *default-pathname-defaults* contains NAME or TYPE components.
3388 * bug fix: PPRINT couldn't print improper lists with CARs being some symbols
3389 from CL package, e.g. (loop . 10).
3390 * bug fix: run-program with existent or non-existent files for :output or
3391 :input when :if-output-exists or :if-input-does-not-exist are NIL properly
3392 returns NIL instead of signalling an obscure error.
3393 * bug fix: fix miscompilation of some logand forms with large constant
3394 arguments. (lp#974406)
3395 * bug fix: account for funcallable-instance objects properly in ROOM.
3396 * bug fix: incorrect octets reported for c-string decoding errors.
3398 * bug fix: miscompilation of LDB on the PowerPC platform. (thanks to Bruce
3400 * bug fix: better input error reporting for COMPILE-FILE. (lp#493380)
3401 * bug fix: default size of non-nursery generations has been shrunk on GENCGC,
3402 allowing faster release of memory back to the OS. (lp#991293)
3403 * bug fix: WITH-DEADLINE (:SECONDS NIL :OVERRIDE T) now drops any
3404 existing deadline for the dynamic scope of its body.
3405 * bug fix: compiler-internal interval arithmetic needed to be more
3406 conservative about open intervals when operated on by monotonic but not
3407 strictly-monotonic functions. (lp#975528)
3408 * bug fix: copy-tree caused stack exhaustion on long linear lists, and now
3409 it's also slightly faster. (lp#998926)
3410 * bug fix: better error messages for malformed declarations.
3412 * bug fix: define-condition didn't return the name of the defined condition.
3414 ** improved docstrings: REPLACE (lp#965592)
3416 changes in sbcl-1.0.56 relative to sbcl-1.0.55:
3417 * bug fix: fix copy-structure. When copying from stack to heap, garbage
3418 could end up in the heap making GC unhappy.
3419 (Thanks to James Knight, lp#911027)
3421 ** SBCL can now be built using Clang.
3422 ** ASDF has been updated 2.20.
3423 * bug fix: compiler errors when weakening hairy integer types. (lp#913232)
3424 * bug fix: don't complain about a too-hairy lexical environment for inlining
3425 when the function has never been requested for inlining. (lp#963530)
3427 changes in sbcl-1.0.55 relative to sbcl-1.0.54:
3428 * enhancements to building SBCL using make.sh:
3429 ** --fancy can be specified to enable all supported feature enhancements.
3430 ** --with-<feature> and --without-<feature> can be used to specify
3431 which features to build with.
3432 ** --arch option can be used to specify the architecture to build for.
3433 (Mainly useful for building 32-bit SBCL's on x86-64 hosts, not
3434 full-blows cross-compilation.)
3435 * enhancement: extended package prefix syntax <pkgname>::<form-in-package>
3436 which allows specifying name of the default interning package for the
3438 * enhancement: when *READ-EVAL* is true, arrays with element type other than
3439 T can be printed readably using #.-based syntax. (Thanks to Robert Brown)
3440 * enhancement: MAKE-ALIEN signals a storage-condition instead of returning a
3441 null alien when malloc() fails. (lp#891268)
3442 * enhancement: SB-EXT:PRINT-UNREADABLY restart for PRINT-NOT-READABLE
3443 conditions can be conveniently accessed through function with the same
3444 name, analogously to CONTINUE.
3445 * enhancement: SB-EXT:*SUPPRESS-PRINT-ERRORS* can be used to suppress errors
3446 from the printer by type, causing an error marker to be printed instead.
3447 (Thanks to Attila Lendvai)
3448 * enhancement: BACKTRACE and DESCRIBE now bind *PRINT-CIRCLE* to T, and
3449 generally behave better when errors occur during printing.
3450 * enhancement: the test runner now takes a --report-skipped-tests argument
3451 to report the individual tests skipped as well as the number of skipped
3453 * enhancement: undefined functions now appear in backtraces as ("undefined
3454 function") instead of ("bogus stack frame") on x86oids.
3455 * enhancement: detected deadlocks no longer cause stderr to be spammed, and
3456 deadlock errors are reported in an easier-to-decipher manner.
3457 * enhancement: DESCRIBE on type designators reports the expansion in more
3459 * enhancement: SBCL now provides either an explicit :BIG-ENDIAN or
3460 :LITTLE-ENDIAN in *FEATURES*, instead of :BIG-ENDIAN being implied by lack
3461 of the :LITTLE-ENDIAN feature. (Thanks to LuĂs Oliveira, lp#901661)
3462 * enhancement: better disassembly of segment-prefixes on x86 and other
3463 instruction prefixes (e.g. LOCK) on x86 and x86-64.
3464 * optimization: FIND and POSITION on bit-vectors are orders of magnitude
3465 faster (assuming KEY and TEST are not used, or are sufficiently trivial.)
3466 * optimization: SUBSEQ on vectors of unknown element type is substantially
3468 * optimization: specialized arrays with non-zero :INITIAL-ELEMENT can
3469 be stack-allocated. (lp#902351)
3470 * optimization: the compiler is smarter about representation selection for
3471 floating point constants used in full calls.
3472 * optimization: the compiler no longer refuses to coerce large fixnums to
3473 single floats inline, except on x86 where this limitation is still
3475 * optimization: truncation operations on integers with constant divisor
3476 arguments 1 and -1 are optimized away.
3477 * bug fix: deadlock detection could report the same deadlock twice, for
3478 two different threads. Now a single deadlock is reported exactly once.
3479 * bug fix: interval-arithmetic division during type derivation did not
3480 account for signed zeros.
3481 * bug fix: compiler error when typechecking a call to a function with
3482 non-constant keyword arguments.
3483 * bug fix: misoptimization of TRUNCATE causing erratic behaviour.
3484 * bug fix: condition slot accessors no longer cause undefined function
3485 style-warnings when used in the :REPORT clause of the DEFINE-CONDITION
3486 form that defines them. (lp#896379)
3487 * bug fix: DEFGENERIC warns about unsupported declarations, as specified
3488 by ANSI. (lp#894202)
3489 * bug fix: SUBTYPEP tests involving forward-referenced classes no longer
3490 bogusly report NIL, T.
3491 * bug fix: bogus style-warnings for DEFMETHOD forms that both declared some
3492 required arguments ignored and performed assignments to others.
3494 * bug fix: *EVALUATOR-MODE* :COMPILE treated (LET () ...) identically
3495 to (LOCALLY ...) leading to internally inconsistent toplevel-formness.
3496 * bug fix: non-toplevel DEFSTRUCT signaled a style warning for unknown type.
3497 * bug fix: redefining a function whose previous definition contained an
3498 unknown type no longer causes a style-warning. (lp#806243)
3499 * bug fix: undefined functions now appear in backtraces as ("undefined
3500 function") instead of ("bogus stack frame") on non-x86oids.
3501 * bug fix: backtraces are no longer cut off at ("undefined function") when
3502 called under certain circumstances (involving a caller-allocated stack
3504 * bug fix: RUN-PROGRAM leaked a file-descriptor per call on non-Windows
3505 systems. (regression since 1.0.53)
3506 * bug fix: GC deadlocks from dladdr() on certain platforms.
3507 * bug fix: broken standard streams no longer automatically cause recursive
3508 errors on debugger entry.
3509 * bug fix: build ignored --dynamic-space-size=<size> argument to make.sh
3510 (regression since 1.0.53)
3511 * bug fix: attempts to stack allocate a required argument to a function with
3512 an external entry point caused compiler-errors.
3513 * bug fix: compiler notes for failed stack allocation for a function argument
3514 no longer claim to be unable to stack allocate the function.
3515 * bug fix: COERCE now signals a type-error on several coercions to
3516 subtypes of CHARACTER that are forbidden according to ANSI. (lp#841312)
3517 * bug fix: missing failure-to-stack-allocate compiler notes for some
3518 forms of MAKE-ARRAY with dynamic-extent. (lp#902351)
3519 * bug fix: some of the compile-time side-effects of DEFCLASS were not caught
3521 * bug fix: Proper handling of --dynamic-space-size option on 32 bit platforms.
3523 changes in sbcl-1.0.54 relative to sbcl-1.0.53:
3524 * minor incompatible changes:
3525 ** RENAME-FILE on a symbolic links used to rename the linked-to file
3526 instead of the link.
3527 ** DELETE-DIRECTORY on symbolic link to a directory used to delete the
3528 directory, but now signal an error instead. Use TRUENAME to resolve the
3529 pathname if you wish to delete the linked directory, and DELETE-FILE if
3530 you wish to delete the
3531 ** The internal SB-THREAD::SPINLOCK API has been deprecated, and using
3532 symbols associated with it will trigger a compile-time warning.
3533 * thread-related enhancements:
3534 (This work has been funded by the SBCL Threading 2011 IndieGoGo campaign.
3535 Many thanks to generous donors!)
3536 ** Threading is now more reliable on non-Linux platforms. We still don't
3537 consider threads on non-Linux platforms good enough to enable them by
3538 default, but they're in a clearly better shape now.
3539 ** Deadlines supported now on all platforms.
3540 ** All blocking functions in the threading API now have a :TIMEOUT
3542 ** Semaphore notification objects have been added to SB-THREAD.
3543 ** SB-CONCURRENCY contrib now includes Allegro-style GATE objects.
3544 ** SB-EXT:COMPARE-AND-SWAP has been extended to support SLOT-VALUE,
3545 STANDARD-INSTANCE-ACCESS, and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
3546 ** Users can now defined new places usable with SB-EXT:COMPARE-AND-SWAP
3547 using an API anologous to defining new SETFable places.
3548 * GC-related enhancements and bug fixes:
3549 ** --dynamic-space-size and --control-stack-size now understand Kb, Mb,
3550 and Gb suffixes. Default is megabytes as before.
3551 ** on GENCGC targets, the default dynamic space size is now 512Mb for
3552 32-bit systems, and 1Gb for 64-bit systems. (OpenBSD/x86-64 is the only
3553 exception, defaulting to mere 444Mb to fit under default ulimits.) The
3554 new defaults are in place to prevent hitting swap on low-end systems.
3555 Use build-time option --dynamic-space-size to build an SBCL with
3556 another default, or the runtime option to adjust the size at startup: a
3557 good size is at most equal to the amount of physical memory the system
3559 ** on GENCGC targets, nursery and generation sizes now default to 5% of
3561 ** on GENCGC targets, SB-KERNEL:MAKE-LISP-OBJ no longer categorically
3562 refuses to create SIMPLE-FUN objects.
3563 ** on 64-bit GENCGC targets, setting the nursery size above 4Gb now works.
3565 ** on CHENEYGC targets, SB-KERNEL:MAKE-LISP-OBJ now does the same
3566 validation of pointer objects as GENCGC does, instead of a
3567 comparatively weak bounds-check against the heap spaces.
3568 * SB-BSD-SOCKETS bug fixes:
3569 ** GET-PROTOCOL-BY-NAME had a significant memory leak.
3570 ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS small amounts of memory on
3571 systems with getaddrinfo().
3572 ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS weren't thread or interrupt
3573 safe outside systems with getaddrinfo().
3574 * enhancement: ASDF has been updated 2.019.
3575 * enhancement: special-case TCO prevention for functions which never return
3576 extended to untrusted types, keeping one more frame's worth of debug
3577 information around in many cases.
3578 * enhancement: debug-names of anonymous and local function are more
3579 descriptive. Affects backtraces and SB-SPROF results. (lp#805100)
3580 * enhancement: on win32, ABS of complex floats guards better against
3581 overflows. (lp#888410)
3582 * enhancement: RUN-PROGRAM now distinguishes exec() failing from child
3583 process exiting with code 1. (lp#676987)
3584 * enhancement: convenience function SET-SBCL-SOURCE-LOCATION for informing
3585 the system where on the filesystem the SBCL sources themselves are
3586 located. (Thanks to Zach Beane)
3587 * enhancement: the compiler is now able to derive tighter bounds for
3588 floating point numbers in some cases. (Thanks to Lutz Euler, lp#894498)
3589 * bug fix: on 64-bit targets, atomic-incf/aref does index computation
3590 correctly, even on wide-fixnum builds. (lp#887220)
3591 * bug fix: (DIRECTORY "foo/*/*.*") did not follow symlinks in foo/ that
3592 resolved to directories.
3593 * bug fix: type mismatch when assigning to lexical variables no longer
3594 result in fasl-dumping internal type objects. (lp#890750)
3595 * bug fix: type mismatch on (SETF AREF) and function return values no
3596 longer result in fasl-dumping internal type objects.
3597 * bug fix: With several combinations of argument types, for example (EXPT
3598 <integer> <(complex double)>), EXPT now uses double-precision throughout
3599 instead of partially calculating only to single-precision. (lp#741564;
3600 thanks to Lutz Euler)
3601 * bug fix: SYMBOL-VALUE-IN-THREAD is no longer able to construct bogus
3602 objects when interrupted by GC on PPC.
3604 changes in sbcl-1.0.53 relative to sbcl-1.0.52:
3605 * enhancement: on 64-bit targets, in src/compiler/generic/early-vm.lisp,
3606 the parameter n-fixnum-tag-bits may now vary from 1 (fixnum =
3607 (signed-byte 63)) to 3 (fixnum = (signed-byte 61)) at build-time.
3608 * enhancement: SB-EXT:WAIT-FOR allows waiting for arbitrary events.
3609 * minor(?) incompatible(?) change: The default fixnum width on 64-bit
3610 targets is now 63 bits (up from 61).
3611 * enhancement: DESCRIBE now reports a lambda-list and source location
3612 for complext setf-expanders.
3613 * bug fix: PUSH, PUSHNEW, POP, REMF, INCF, DECF, DEFINE-MODIFY-MACRO,
3614 GETF, LOGBITP, LDB, and MASK-FIELD now arrange for non-primary values
3615 of multiple-valued places to be set to NIL, instead of signalling an
3616 error (per a careful reading of CLHS 5.1.2.3).
3617 * bug fix: floating-point traps now work on darwin/x86 and /x86-64.
3618 * bug fix: repair crash in x86oid darwin signal handling emulation
3619 when built with certain compilers.
3620 * bug fix: SB-ROTATE-BYTE misrotated to the right when using constant
3621 rotation arguments on x86-64. (lp#882151)
3622 * bug fix: low-level control flow optimisations could result in bogus
3623 code in functions with tail and non-tail calls to local functions on
3624 x86oids. (lp#883500)
3625 * bug fix: on SPARC/:sb-unicode, avoid crashing the assembler by trying
3626 to emit literal characters > (code-char 4095), for comparisons with
3627 constant characters.
3628 * bug fix: ROOM reported only the low 32 bits of dynamic space usage
3629 on 64 bit platforms. (lp#881445)
3630 * bug fix: DELETE-FILE did not MERGE-PATHNAMES, making it possible to
3631 delete the wrong file when using relative pathnames. (lp#882877)
3632 * bug fix: optimized SEARCH of vectors-on-vectors mishandled zero-length
3633 sequences and :KEY NIL.
3635 changes in sbcl-1.0.52 relative to sbcl-1.0.51:
3636 * enhancement: ASDF has been updated to version 2.017.
3637 * enhancement: the --core command line option now accepts binaries with
3639 * enhancement: when built with :sb-core-compression, core files (regular
3640 or executable) can be compressed with zlib. Use the :COMPRESSION
3641 argument to SAVE-LISP-AND-DIE to specify a compression level.
3642 * enhancement: --[no-]merge-core-pages determines whether the runtime
3643 hints the operating system that identical core pages between SBCL
3644 processes should share the same physical memory. Default is to only
3645 enable this for compressed cores.
3646 * optimization: SLEEP no longer conses.
3647 * optimization: *PRINT-PRETTY* no longer slows down printing of strings
3648 or bit-vectors when using the standard pretty-print dispatch table.
3649 * bug fix: non-function FTYPE declarations no longer cause a compiler-error.
3651 * bug fix: compiler-errors causes by MEMBER types in conjunction with with
3652 AREF, CHAR, etc. (lp#826971)
3653 * bug fix: compiler-errors causes by integer arguments with composed of
3654 multiple ranges to ARRAY-IN-BOUNDS-P. (lp#826970)
3655 * bug fix: ,@ and ,. now signal a read-time error for certain non-list
3656 expressions. (lp#770184)
3657 * bug fix: complex single float literals are correctly aligned when used
3658 as arguments of arithmetic operators.
3659 * bug fix: on 32-bit platforms, rounding of double floats larger than a
3660 fixnum is correct. (reported by Peter Keller)
3661 * bug fix: stray FD-HANDLERs are no longer left lying around after unwinds
3662 from RUN-PROGRAM. (lp#840190, reported by Dominic Pearson; fix from Max
3664 * bug fix: redefining classes such that slots with custom allocation are
3665 added or removed works again.
3667 changes in sbcl-1.0.51 relative to sbcl-1.0.50:
3668 * minor incompatible change: SB-BSD-SOCKET socket streams no longer
3669 participate in SERVE-EVENT by default: pass :SERVE-EVENTS T to
3670 MAKE-SOCKET-STREAM if using SERVE-EVENT.
3671 * enhancement: added support for socket keepalive timeout intervals
3672 and probe counts on Linux.
3673 * enhancement: building 32-bit SBCL on Linux/x86-64 now works without a
3674 chroot. (Use "SBCL_ARCH=x86 sh make.sh" to build.)
3675 * enhancement: added new toplevel options --quit and --non-interactive
3677 * enhancement: the Windows port of SBCL now builds and runs on Wine
3678 (thanks to Anton Kovalenko).
3679 * enhancement: more, and more correct, SSE instruction definitions on
3680 x86-64 (thanks to Alexander Gavrilov).
3681 * enhancement: SB-EXT:SPIN-LOOP-HINT assembles to an instruction designed
3682 to help the processor execute spin loops, when applicable. Currently
3683 implemented for x86 and x86-64.
3684 * optimization: unsigned integer divisions by a constant are implemented
3685 using multiplication (affects CEILING, FLOOR, TRUNCATE, MOD, and REM.)
3686 * optimization: improved type-derivation for LOAD-TIME-VALUE.
3687 * bug fix: correct RIP offset calculation in SSE comparison and shuffle
3688 instructions. (lp#814688)
3689 * bug fix: COERCE to unfinalized extended sequence classes now works.
3690 (reported by Jan Moringen; lp#815155)
3691 * bug fix: a compiler error during typecheck generation, reported by Eric
3692 Marsden. (lp#816564)
3693 * bug fix: obsolete instance protocol fires when shared slots are added
3695 * bug fix: fixed-format floating point printing with scaling factors.
3697 * bug fix: using GCC >= 4.6 to build SBCL on x86 no longer breaks
3698 backtraces. (lp#818460)
3699 * bug fix: better backtraces for interrupted syscall frames on x86.
3701 * bug fix: SSE comparison instructions can be disassembled even when one
3702 operand is in memory. (lp#814702)
3703 * bug fix: incomplete writes when not using SERVE-EVENTS. (lp#820599)
3704 * bug fix: MULTIPLE-VALUE-BIND + VALUES -> LET conversion could lose derived
3705 type information associated with the VALUES form.
3706 * bug fix: broken warnings/errors for type-errors involving LOAD-TIME-VALUE
3708 * bug fix: OPEN :IF-EXISTS :APPEND now returns correct FILE-POSITION before
3709 first write (lp#561642).
3710 * bug fix: compiled closures from EVAL could not be DESCRIBEd. (lp#824974)
3711 * bug fix: bound propagation involving conversion of large bignums to
3712 floats no longer signals a SIMPLE-TYPE-ERROR, reported by Lutz Euler.
3714 * bug fix: &REST to &MORE conversion still works in unsafe call to known
3715 functions; reported by Lutz Euler (lp#826459).
3716 * bug fix: bogus deadlocks from interrupts and GCs. (lp#807475, regression
3719 changes in sbcl-1.0.50 relative to sbcl-1.0.49:
3720 * enhancement: errors from FD handlers now provide a restart to remove
3721 the offending handler.
3722 * enhancement: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works on structure
3724 * enhancement: location of user or system initialization file can now easily
3725 be customized for saved cores. See: SB-EXT:*USERINIT-PATHNAME-FUNCTION*
3726 and SB-EXT:*SYSINIT-PATHNAME-FUNCTION*.
3727 * enhancement: SB-EXT:MAKE-THREAD accepts an argument list designator for
3728 the thunk, as a keyword argument, :arguments.
3729 * enhancement: constraint propagation is simplified (and sped up) when
3730 COMPILATION-SPEED > SPEED.
3731 * enhancement: SB-ALIEN exports alien type specifiers SIZE-T and OFF-T.
3732 * enhancement: debugger understands &MORE arguments better.
3733 * optimization: extracting bits of a single-float on x86-64 has been
3734 optimized. (lp#555201)
3735 * optimization: MAP and MAP-INTO are more efficient for non-simple vectors,
3736 when (> SPEED SPACE).
3737 * optimization: local call trampolines (x86 and x86-64) are emitted
3739 * optimization: implicit value cells for dynamic-extent closed-over bindings
3740 on x86 and x86-64 can hold unboxed values as well.
3741 * meta-optimization: improved compilation speed, especially for large
3742 functions. (lp#792363 and lp#394206)
3743 * bug fix: bound derivation for floating point operations is now more
3744 careful about rounding possibly closing open bounds. (lp#793771)
3745 * bug fix: SB-POSIX:SYSCALL-ERROR's argument is now optional. (accidental
3746 backwards incompatible change in 1.0.48.27)
3747 * bug fix: occasional debugger errors in when a type-error occured in a
3748 function with dynamic-extent &rest list.
3749 * bug fix: &optional and &key supplied-p arguments in DEFSTRUCT
3750 boa-construtors can be used to initialized structure slots.
3751 * bug fix: FMAKUNBOUND removes the MACRO-FUNCTION, should one exist.
3752 (lp#795705, regression)
3753 * bug fix: DIRECTORY works better on logical pathnames.
3754 * bug fix: RUN-PROGRAM no longer fails spuriously when argument strings
3755 are of the order of ARRAY-TOTAL-SIZE-LIMIT. (lp#787237)
3756 * bug fix: the compiler no longer constant-folds NaNs in
3757 MAKE-{SINGLE,DOUBLE}-FLOAT. (lp#486812)
3758 * bug fix: FORMAT now handles floating point rounding correct, eg.
3759 (format nil "~,1F" 0.01) => "0.0" instead of "0.01" as previously.
3761 * bug fix: style warning during lambda-list introspection of generic
3762 functions with both optional and key argments.
3763 * bug fix: regalloc doesn't barf on unused TNs due to type-directed constant
3764 folding. (lp#729765)
3765 * bug fix: Fixed an off-by-one in MAP-ALLOCATED-OBJECTS that might have caused
3768 changes in sbcl-1.0.49 relative to sbcl-1.0.48:
3769 * minor incompatible change: WITH-LOCKED-HASH-TABLE no longer disables
3770 interrupts for its body.
3771 * enhancement: source locations are now available for files loaded as
3772 source, compile-time-too evaluation, and initialization files.
3773 * enhancement: WITH-COMPILATION-UNIT :SOURCE-NAMESTRING allows providing
3774 virtual source-file information, eg. overriding input-file of COMPILE-FILE
3775 when a temporary file is used for compilation.
3776 * enhancement: ASDF has been updated to version 2.015.3.
3777 * enhancement: backtraces involving frames from the default evaluator are
3779 * enhancement: RUN-PROGRAM works with user-defined binary input and output
3781 * enhancement: more informative compile-time warnings and runtime errors for
3782 type-errors detected at compile-time.
3783 * enhancement: deadlock detection for mutexes and spinlocks.
3784 * enhancement: dynamic-extent for &rest lists stack allocate only their
3785 spines, not their argumets. While portable code should not rely on this,
3786 particularly in combination with inlining, it should make dynamic-extent
3787 easier to use safely.
3788 * enhancement: SB-POSIX improvements:
3789 ** WNOHANG and WUNTRACED are exported.
3790 ** SYSCALL-ERROR now also provides the name of the failing system call.
3791 * enhancement: --script improvements:
3792 ** errors on standard input, output, and error streams are handled and
3793 cause scripts to exit silently, making them easier to use in shell
3795 ** backtraces from scripts now go to standard error instead of the
3796 terminal even if one is available.
3797 ** --script can be an argument, causing the script to be loaded from
3799 * enhancement: MAKE-ALIEN-STRING provides an easy way to transport lisp
3800 strings to foreign memory.
3801 * enhancement: (SETF GC-LOGFILE) allows logging garbage collections to
3802 a file, making it easier to understand heap dynamics.
3803 * optimization: using a &REST argument only in APPLY or VALUES-LIST calls
3804 allows the compiler to automatically elide rest-list allocation so long as
3805 the call sites are in functions that the compiler knows cannot escape.
3807 * optimization: CALL-NEXT-METHOD using explicit arguments is faster,
3808 especially in safe code when none of the required arguments have changed
3810 * bug fix: blocking reads from FIFOs created by RUN-PROGRAM were
3811 uninterruptible, as well as blocking reads from socket streams created
3812 with for which :SERVE-EVENTS NIL. (regression from 1.0.42.43)
3813 * bug fix: SET-SYNTAX-FROM-CHAR now removes dispatch-macro character syntax
3814 from the to-char if the from-char is not a dispatch-macro character.
3815 * bug fix: references to undefined variables in function calls that are
3816 optimized away now signal a runtime error. (lp#722734)
3817 * bug fix: miscompilation of MULTIPLE-VALUE-CALL when asserting derived
3818 types from a function defined in the same file. (regression from
3820 * bug fix: TRULY-THE forms are now macroexpandable and setf-expandable.
3822 * bug fix: spurious errors during QUIT when standard streams were closed.
3824 changes in sbcl-1.0.48 relative to sbcl-1.0.47:
3825 * incompatible change: SB!KERNEL:INSTANCE-LAMBDA, deprecated for over five
3826 years, is now no longer supported.
3827 * enhancement: read() and write() have been added to SB-POSIX.
3828 * enhancement: types of DEFSTRUCT constructors are proclaimed more
3829 accurately, allowing better typechecking of call-sites.
3830 * enhancement: errors during compile-time-too processing (i.e. EVAL-WHEN)
3831 are no longer caught. (reverted to pre 1.0.34 behaviour)
3832 * optimization: slightly faster ISQRT. (lp#713343)
3833 * bug fix: better support for Solaris /bin/sh in sh-based tests.
3834 * bug fix: TRACE behaves better when attempting to trace undefined
3835 functions. (lp#740717)
3836 * bug fix: missed optimizations for (FUNCALL (LAMBDA ...) ...) in comparison
3837 to (FUNCALL #'(LAMBDA ...) ...).
3838 * bug fix: ((LAMBDA ...) ...) forms with invalid argument counts resulted in
3839 a compile-time error. (lp#720382)
3840 * bug fix: forms such as (FUNCALL (FUNCTION NAME OOPS) ...) were compiled
3842 * bug fix: less verbose source forms for functions from EVAL. (lp#747485)
3843 * bug fix: sense of SLOT-BOUNDP-USING-CLASS was inverted in a MAKE-INSTANCE
3844 optimization. (regression from 1.0.45.18/1.0.46.15)
3845 * bug fix: package locks did not protects against compile-time side-effects
3846 of DEFUN. (lp#675584)
3847 * bug fix: --dynamic-space-size argument is validated more carefully.
3849 * bug fix: memory fault from printing a malformed simple-condition.
3851 * bug fix: redefining classes so that slot-definition classes change now
3852 engages the obsolete instance protocol. (lp#766271)
3853 * bug fix: constant improper lists could break source coverage recording.
3855 * bug fix: compiling calls to eg. MEMBER with massive constant list arguments
3856 could exhaust stack.
3858 changes in sbcl-1.0.47 relative to sbcl-1.0.46:
3859 * bug fix: fix mach port rights leaks in mach exception handling code on
3860 darwin/x86 and /x86-64. (thanks to Willem Oudshoorn for motivation and the
3862 * enhancement: --script muffles style-warnings and compiler notes. (lp#677779)
3863 * enhancement: redefinition warnings for macros from different files. (lp#434657)
3864 * enhancement: better MACHINE-VERSION on Darwin x86 and x86-64. (lp#668332)
3865 * enhancement: (FORMAT "foo" ...) and similar signal a compile-time warning. (lp#327223)
3866 * enhancement: no more "in: LAMBDA NIL" messages from the compiler for forms
3867 processed using EVAL -- now the appropriate toplevel form is reported instead.
3868 * enhancement: more legible style-warnings for inappropriate IGNORE and IGNORABLE
3869 declarations. (lp#726331)
3870 * enhancement: :NOT-NULL option has been added to alien C-STRING type to indicate
3871 that NIL/NULL is excluded from the type.
3872 * enhancement: SB-INTROSPECT:MAP-ROOT allows mapping over pointers contained in
3874 * optimization: SLOT-VALUE &co are faster in the presence of SLOT-VALUE-USING-CLASS
3875 and its compatriots.
3876 * optimization: core startup time is reduced by 30% on x86-64. (lp#557357)
3877 * bug fix: SB-DEBUG:BACKTRACE-AS-LIST guards against potentially leaking
3878 stack-allocated values out of their dynamic-extent. (lp#310175)
3879 * bug fix: attempts to use SB-SPROF for wallclock profiling on threaded
3880 x86-64 builds caused a type-error.
3881 * bug fix: calling COMPILE with something else than a lambda-expression as the
3882 second argument reports a more sensible error. (lp#718905)
3883 * bug fix: invalid combinations of :PREDICATE and :TYPE options in DEFSTRUCT
3884 are detected. (lp#520607)
3885 * bug fix: constant keyword argument checking didn't take :ALLOW-OTHER-KEYS
3887 * bug fix: SLOT-BOUNDP information is correct during MAKE-INSTANCE in the
3888 presence of (SETF SLOT-VALUE-USING-CLASS) and SLOT-BOUNDP-USING-CLASS
3889 methods. (regression from 1.0.45.18)
3890 * bug fix: INITIALIZE-INSTANCE :AROUND methods supplying initargs via
3891 CALL-NEXT-METHOD work correctly. (regression from 1.0.45.19)
3892 * bug fix: several foreign functions accepting string also accepted NIL and
3893 consequently caused a memory fault at 0 now signal a type-error instead.
3895 * bug fix: under rare circumstances, constraint propagation could rewrite a
3896 variable reference to refer to a variable not in scope, causing an error
3897 during physical environment analysis when attempting to close over the
3898 variable. (lp#551227)
3899 * bug fix: SIMPLE-CONDITION :FORMAT-CONTROL defaults to NIL.
3901 changes in sbcl-1.0.46 relative to sbcl-1.0.45:
3902 * enhancement: largefile support on Solaris.
3903 * enhancement: SB-PROFILE:REPORT now supports :LIMIT and :PRINT-NO-CALL-LIST
3904 arguments (lp#710017)
3905 * enhancement: SB-PCL:+SLOT-UNBOUND+ is exported, making it possible to
3906 distinguish unbound instance slots when using STANDARD-INSTANCE-ACCESS
3908 * optimization: ERROR and CERROR are approximately 5 times faster.
3909 * optimization: optimized constructors are used for MAKE-INSTANCE of classes
3910 with applicable non-standard (SETF SLOT-VALUE-USING-CLASS),
3911 SLOT-BOUNDP-USING-CLASS, and INITIALIZE-INSTANCE :AROUND methods, speeding
3912 up instance creation in those cases.
3913 * optimization: arithmetic operations with multiple constant arguments in now
3914 have them reduced at compile-time. (lp#676414)
3915 * optimization: determining current character position on string-streams for
3916 pretty-printing was overly slow.
3917 * bug fix: local tail calls to DYNAMIC-EXTENT functions can no longer cause
3918 lifetime analysis to overwrite closed-over variables (lp#681092).
3919 * bug fix: encoding errors from some multibyte external formats such as EUC-JP
3920 were not handled correctly (lp#713063).
3921 * bug fix: printing waitqueue objects without setting *PRINT-CIRCLE* to T is now
3923 * bug fix: Solaris/x86-64 wasn't getting built with lutex support by
3924 mistake. (lp#667297).
3925 * bug fix: CONSTANTLY generated functions had bogus lambda-lists. (lp#713626)
3926 * bug fix: RUN-PROGRAM :PTY option was racy on OpenBSD. (lp#669485)
3927 * bug fix: UNINTERN takes a symbol, not a symbol designator -- could previously
3928 unintern the wrong symbol with the same name. (lp#693796)
3929 * bug fix: COPY-PPRINT-DISPATCH always has access to a pristine table,
3930 making it possible to restore the initial table if it has been messed up.
3933 changes in sbcl-1.0.45 relative to sbcl-1.0.44:
3934 * enhancement: ~/ and ~user/ are treated specially in pathnames.
3935 Refer to documentation for details.
3936 * enhancement: ASDF has been updated to version 2.010.
3937 * optimization: mutated closed-over variables that are only accessed by
3938 DYNAMIC-EXTENT closures (currently only FLET and LABELS functions
3939 declared to be DYNAMIC-EXTENT) are stored directly in their containing
3940 stack frame, rather than allocating a VALUE-CELL (lp#586103).
3941 * optimization: UNWIND-PROTECT cleanup functions are now declared
3943 * bug fix: backtracing function with &REST arguments now shows the full
3944 argument list. (lp#310173)
3945 * bug fix: return types for functions with complex lambda-lists are now
3946 derived properly (lp#384892)
3947 * bug fix: when SPEED > SPACE compiling CONCATENATE 'STRING with constant
3948 long string arguments slowed the compiler down to a crawl.
3949 * bug fix: closure VALUE-CELLs are no longer stack-allocated (lp#308934).
3950 * bug fix: non-standard MAKE-METHOD-LAMBDA methods could break RETURN-FROM
3951 in the DEFMETHOD body.
3952 * bug fix: #<SB-C::DEFINED-FUN ...> should no longer appear in compiler
3953 messages, being instead replaced with the corresponding function name.
3954 * bug fix: don't derive overly complex unions of numeric types for arithmetic
3955 operators. (lp#309448)
3957 changes in sbcl-1.0.44 relative to sbcl-1.0.43:
3958 * enhancement: RUN-PROGRAM accepts :EXTERNAL-FORMAT argument to select the
3959 external-format for its :INPUT, :OUTPUT, AND :ERROR :STREAMs.
3960 * enhancement: ALLOCATION-INFORMATION also provides the page the object
3962 * enhancement: default dynamic-space size can be configured at build-time
3963 without touching source, using the --dynamic-space-size argument to make.sh.
3964 * enhancement: DESCRIBE recognizes symbols naming optimization policy
3965 qualities, and mentions ALWAYS-BOUND declarations.
3966 * enhancement: ATOMIC-INCF now supports AREF of (SIMPLE-ARRAY SB-EXT:WORD (*))
3968 * enhancement: ASDF has been updated to 2.009.
3969 * enhancement: the system detects known type-erros in calls better,
3970 signalling a full warning about violated proclaimed FTYPEs and violations
3971 of derived FTYPEs within the same file, including self-calls.
3972 * enhancement: new function: SB-EXT:DELETE-DIRECTORY is now provided.
3973 * optimization: constant-folding exploits numeric and character types, in
3974 addition member types.
3975 * optimization: numeric, character and member types that are inhabited by
3976 exactly one value are tested with EQL.
3977 * optimization: more conditional branches are eliminated during IR1.
3978 Branches are simplified before performing if/if-conversion, and simple
3979 equivalent branches (that only read the same constant or variable) are
3981 * improvements to the Windows port:
3982 ** change: canonical unparsing form for pathname namestrings now uses / as
3983 directory separator. NATIVE-NAMESTRING still uses \ as the separator.
3984 ** bug fix: stackoverwriting due to incorrect usage of PeekConsoleInput
3985 on Windows. (thanks to Kalyanov Dmitry)
3986 ** bug fix: build now works on cygwin with GCC 4.x installed. (thanks to
3988 ** bug fix: run-sbcl.sh now works on Cygwin. (thanks to Kalyanov Dmitry)
3989 * bug fix: compiler failed to derive the result-type of MAKE-ARRAY as
3990 (AND VECTOR (NOT SIMPLE-ARRAY)) when appropriate. (lp#309130)
3991 * bug fix: (THE (VALUES ...)) in LOAD-TIME-VALUE caused a compiler-error.
3993 * bug fix: interrupts arriving during CL:OPEN caused an error.
3994 * bug fix: overeager character buffering could cause input to block
3995 spuriously when reading from a pipe (lp#643686)
3996 * bug fix: more efficient timer expiry should avoid starvation on systems
3997 where number of SIGALRMs per second is restricted. (lp#375515)
3998 * bug fix: non-unicode builds no longer fail (broken since 1.0.36.15).
3999 * bug fix: compile-times no longer scale linearly with the size of
4000 quoted lists in source-code. (lp#654289)
4001 * bug fix: better errors for unknown external-formats in OPEN. (lp#561974)
4002 * bug fix: DEBUG>SPEED no longer degrades ALIEN-FUNCALL performance quite
4003 so badly. (lp#654485)
4004 * bug fix: SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME no longer signals
4005 an error for eg. STRUCTURE. (lp#458015)
4006 * bug fix: LOOP WITH NIL = ... signalled an unused variable style-warning.
4007 (lp#613871, thanks to Roman Marynchak)
4008 * bug fix: more reliable &REST list type derivation. (lp#655203)
4009 * bug fix: PPRINT-LOGICAL-BLOCK multiply-evaluated :PER-LINE-PREFIX,
4010 and issued pointles code-deletion notes for it, :PREFIX, and :SUFFIX.
4011 * bug fix: the compiler didn't utilize the proclaimed ftype for functions
4012 also declared NOTINLINE. (lp#655581)
4013 * bug fix: the compiler could attempt to emit constant left shifts of
4014 greater value than n-word-bits. (lp#309063)
4015 * bug fix: (SETF SYMBOL-FUNCTION) and (SETF FDEFINITION) clear derived
4016 type information for the function being set. (lp#659220)
4017 * bug fix: the system used to signal bogus STYLE-WARNINGs when functions
4018 containing self-calls were recompiled with a new signature, and failed
4019 to warn when a self-call using the old signature was left in. (lp#655126)
4020 * bug fix: incorrect FILE-POSITION on streams opened using :EXTERNAL-FORMAT
4021 :DEFAULT when the default external had character size other than 8 bits.
4023 * bug fix: derived types of functions in the same file were implicitly
4024 trusted, leading to potential heap corruption when those function were
4025 defined incompatibly. (lp#657499)
4026 * bug fix: existing ASDF source registries are ignored when building
4027 contribs (lp#659105)
4028 * bug fix: short-form DEFSETF checks that the second argument is a symbol
4029 (lp#655824, thanks to Roman Marynchak)
4030 * bug fix: (SETF MACRO-FUNCTION) clobbered macro-definitions before
4031 package-lock violation was detected. (lp#660752)
4032 * bug fix: the system can store different docstrings for a single function
4033 under different names. (lp#661631, regression from 1.0.29.24)
4034 * bug fix: source-locations of DEFGENERIC forms weren't getting recorded
4035 properly. (lp#384801)
4036 * bug fix: (COERCE X '(SIMPLE-VECTOR 5)) and similar coercions to vectors
4037 of specified length could confuse the type derivation in unsafe code.
4039 * bug fix: SB-POSIX:FORK now signals an error if an attempt to
4040 fork with multiple Lisp threads running is made on every platform,
4041 not just Darwin. (lp#451111)
4042 * bug fix: SB-BSD-SOCKETS and SB-SIMPLE-STREAMS could leave stale finalizers
4043 around when core was saved, which could cause undefined behaviour when the
4045 * bug fix: Allow UNTRACE of functions that are no longer defined
4046 (lp#667657, thanks to Attila Lendvai)
4047 * bug fix: MAKE-ARRAY calls with invalid keyword argument lists now signal a
4048 compile-time warning (lp#664373, thanks to Stas Boukarev)
4050 changes in sbcl-1.0.43 relative to sbcl-1.0.42:
4051 * incompatible change: FD-STREAMS no longer participate in the serve-event
4052 event-loop by default. (lp#316072)
4053 ** In addition to streams created by explicit calls to MAKE-FD-STREAM this
4054 affects streams from CL:OPEN.
4055 ** Streams from SOCKET-MAKE-STREAM still participate in serve-event by
4056 default, but this is liable to change: applications needing serve-event
4057 for socket streams should explicitly request it using :SERVE-EVENTS T
4059 * enhancement: SB-EXT:WORD type is provided for use with SB-EXT:ATOMIC-INCF
4061 * enhancement: CLOS effective method functions and defclass slot typechecking
4062 function now have debug names for use in backtraces and profiles.
4063 * enhancement: ASDF has been updated to version 2.004. (lp#605260, thanks to
4065 * enhancement: symbols are printed using fully qualified names in several
4066 error and warning messages which are often associated with package
4067 conflicts or mixups (lp#622789, thanks to Attila Lendvai)
4068 * bug fix: SB-BSD-SOCKETS:SOCKET-CONNECT was not thread safe. (lp#505497,
4069 thanks to Andrew Golding)
4070 * bug fix: reading /proc files on Linux works. (lp#425199)
4071 * bug fix: DOTIMES accepted literal non-integer reals. (lp#619393, thanks to
4073 * bug fix: WRITE-TO-STRING compiler macro binding special variable names,
4074 breaking code that tried to write the value of a printer control variable.
4075 (lp#581564, thanks to Stas Boukarev)
4076 * bug fix: WRITE compiler macro did not handle output stream designators
4077 correctly. (lp#598374, thanks to Stas Boukarev)
4078 * bug fix: better availability of names of foreign functions in backtraces
4079 on Linux. (lp#626962, thanks to Stas Boukarev)
4080 * bug fix: scripting and build for Solaris and FreeBSD. (lp#615497,
4081 lp#627581, thanks to Josh Elsasser and Jim Wise)
4082 * bug fix: build fixes for OpenBSD -current and 4.8 (lp#615489, lp#615492,
4083 thanks to Josh Elsasser)
4084 * bug fix: using aliases for builtin classes as defmethod specializers
4085 without adding DEFTYPEs for them works. (lp#618387)
4086 * bug fix: timetravel by getrusage() no longer causes type-errors during GC.
4088 * bug fix: legally dynamic-extent lists and vectors used as
4089 initialization arguments to MAKE-ARRAY can be stack allocated. (lp#586105)
4090 * bug fix: inline-expansion creating references to dead lambda-variables
4091 (lp#454681, thanks to Alexey Dejneka)
4092 * bug fix: better error message for bogus numerical arguments to RANDOM.
4093 (lp#598986, thanks to Stas Boukarev)
4094 * bug fix: the compiler occasionally inlined references from incompatible
4095 environments occurs. (lp#308951)
4096 * bug fix: the compiler threw an error when trying to compile a local
4097 function (labels or flet) known to take a specialized complex argument.
4098 (not in launchpad, reported by sykopomp in #lispgames)
4099 * bug fix: package-locks failed to protect against compile-time effects of
4100 DEFUN when the symbol previously had a macro definition. (lp#576637)
4101 * bug fix: spurious ignore warnings even given (DECLARE IGNORE) in methods
4102 when parameter bindings mutated. (reported by Faré Rideau; lp #611361)
4103 * bug fix: workaround for compiler hang in ORDER-UVL-SETS (lp#308914)
4104 * bug fix: evaluation in debugger REPL works using the global context when
4105 in frames that do not have sufficient debug information.
4106 * bug fix: exceeding FD_SETSIZE limit now results in an sensible error
4108 * bug fix: (SETF DOCUMENTATION) of a macro works properly. (lp#643958, thanks
4110 * bug fix: interrupt taking longer than the requested period caused SLEEP
4111 to hang on Darwin. (lp#640516, thanks to Joe Lebroco for the analysis)
4113 changes in sbcl-1.0.42 relative to sbcl-1.0.41
4115 ** Cross-compilation host is now specified to make.sh using
4116 command-line argument --xc-host=<command> instead of a positional
4117 argument. (thanks to Daniel Herring)
4118 ** Install location can be specified to make.sh using command-line
4119 argument --prefix=<path>. (lp#550889s, thanks to Daniel Herring)
4120 * optimization: The default implementation of
4121 COMPUTE-DISCRIMINATING-FUNCTION does much less wasted work.
4122 * enhancement: Explicit memory barrier operations are now available for use
4123 by multithreaded code. See documentation for details.
4124 * enhancement: Experimental support for threading on Linux/PPC.
4125 * bug fix: RENAME-PACKAGE returns the package. (Thanks to Eric Marsden)
4126 * bug fix: EXPT signals an error if first argument is a zero and second
4127 argument is a floating point zero. (lp#571581, thanks to Roman Marynchak)
4128 * bug fix: DEFTYPE signals an error for non-list lambda-lists.
4129 (lp#576594, thanks to Roman Marynchak)
4130 * bug fix: make ASDF-INSTALL compatible with the now-included ASDF2.
4131 (lp#612998, reported by Phil Hargett; patch from Jim Wise)
4133 changes in sbcl-1.0.41 relative to sbcl-1.0.40:
4134 * optimization: validity of observed keyword initargs to MAKE-INSTANCE is
4135 cached, leading to many fewer expensive calls to
4136 COMPUTE-APPLICABLE-METHODS.
4137 * optimization: in the (unoptimized) general method for MAKE-INSTANCE on a
4138 CLASS argument, search for and call an appropriate optimized ctor function
4140 * bug fix: WRITE always returns the correct value.
4142 changes in sbcl-1.0.40 relative to sbcl-1.0.39:
4143 * bug fix: readdir now works on :inode64 darwin builds (lp#592897)
4144 * bug fix: Name conflicts between symbols passed as arguments to a single
4145 call to IMPORT no longer add multiple symbols with the same name to the
4146 package (detectable via DO-SYMBOLS).
4147 * bug fix: support building without the dlshim on darwin x86 and x86-64
4149 * bug fix: TRACE :ENCAPSULATE NIL now works on ppc/linux.
4151 changes in sbcl-1.0.39 relative to sbcl-1.0.38:
4152 * bug fix: Backtrace from undefined function on x86 and x86-64 now show
4154 * bug fix: linkage-table entries on PPC now no longer overflow their
4155 space allocation (potentially causing crashes if they are written out
4157 * bug fix: Scrub control stack after scavenging in gencgc on non-x86oid
4158 platforms, preventing the GC from seeing stale pointers on the control
4159 stack in subsequent GCs (which would, and does, break invariants).
4160 * bug fix: 32-bit unicode external formats now work on big-endian systems.
4161 * bug fix: Literal characters with code points greater than about 32767
4162 now work on PPC UNICODE builds.
4163 * bug fix: Any noise left by SSE operations (sqrt and conversions) in the
4164 high order bits are explicitly cleared out. In some contrived situations,
4165 this could lead to wrong results in mixed real/complex float arithmetic.
4166 * bug fix: Fix function/macro redefinition warnings when building with
4167 clisp. (lp#576787, thanks to Josh Elsasser)
4168 * new platform: experimental support for ppc/openbsd (thanks to Josh
4170 * bug fix: Floating-point traps now work on ppc/linux.
4172 changes in sbcl-1.0.38 relative to sbcl-1.0.37:
4173 * incompatible change: Thread names are now restricted to SIMPLE-STRINGs
4174 like for any other thread-related datastructure, MUTEX, etc. (lp#547095)
4175 * deprecation: the SB-QUEUE contrib was merged into the SB-CONCURRENCY
4176 contrib module. New code should depend on SB-CONCURRENCY, not SB-QUEUE.
4177 * deprecation: SB-THEAD:GET-MUTEX was deprecated in favor of
4178 SB-THREAD:GRAB-MUTEX.
4179 * new contributed module: SB-CONCURRENCY is a new contrib; it's supposed to
4180 contain additional data structures and tools for concurrent programming;
4181 at the moment it contains a lock-free queue, and a lock-free mailbox
4183 * new feature: added SB-THREAD:GRAB-MUTEX; it's like the now deprecated
4184 GET-MUTEX but takes &key rather than &optional parameters. Also added
4185 :TIMEOUT argument to GRAB-MUTEX on non-sb-lutex platforms like Linux and
4187 * new feature: added SB-THREAD:TRY-SEMAPHORE, a non-blocking variant of
4188 SB-THREAD:WAIT-ON-SEMAPHORE.
4189 * new feature: SB-EXT:ATOMIC-DECF has been added as a companion to
4191 * new feature: a CANCEL-DEADLINE is associated with DEADLINE-TIMEOUT
4192 conditions to defer the deadline for forever.
4193 * enhancement: *STANDARD-OUTPUT*, *STANDARD-INPUT*, and *ERROR-OUTPUT* are
4195 * enhancement: errors from NO-APPLICABLE-METHOD and
4196 NO-PRIMARY-METHOD now have a RETRY restart available to retry the
4197 generic function call.
4198 * enhancement: SB-BSD-SOCKET improvements
4199 ** sockets and socket streams now have a more informative printed
4200 representation based on the corresponding SOCKET-NAME and
4202 ** SOCKET-MAKE-STREAM once more supports the :AUTO-CLOSE option.
4204 ** SOCKET-CLOSE now accepts :ABORT argument, which is passed on to
4205 CL:CLOSE when appropriate, and no longer disassociates the stream
4206 from the socket if close failed. (lp#543951)
4207 * improvements to the instrumenting profiler
4208 ** new feature: report per-function GC overhead. (thanks to John Fremlin)
4209 ** optimization: counters no longer use locks for the overflow mode.
4210 ** bug fix: whenever a profiling counter wrapped into overflow mode, it
4211 incurred an off-by-one miscount.
4212 * enhancement: improved MAKE-HASH-TABLE documentation (lp#543473)
4213 * enhancement: improved DEFMETHOD pretty-printing.
4214 * enhancement: perform range reduction when arguments are too large for
4215 x87's transcendentals (instead of returning 0). (lp#327192)
4216 * enhancement: eliminate some spurious TYPE-WARNINGs. Should help with
4217 some of CL-PPCRE's macros. (lp#570079)
4218 * enhancement: our machine code is slightly less hostile to valgrind on
4220 * enhancement: up-to-date versions of NetBSD-current are supported. (Thanks
4221 to Robert Swindells and Aleksej Saushev)
4222 * bug fix: correct restart text for the continuable error in MAKE-PACKAGE.
4223 * bug fix: a rare case of startup-time page table corruption.
4224 * bug fix: a semaphore with multiple waiters and some of them unwinding due
4225 to timeouts could be left in an inconsistent state.
4226 * bug fix: fix typo in "Reporting Bugs" section of the manual (lp#520366)
4227 * bug fix: misoptimization of multiplication by one in
4228 (SB-C::FLOAT-ACCURACY 0) policies.
4229 * bug fix: miscounts in SB-PROFILE.
4230 * bug fix: Fix lost wakeup bug between SB-THREAD:CONDITION-WAIT and
4231 CONDITION-NOTIFY on Linux. See threads "lost wakeup in condition-wait /
4232 condition-notify" (Feb 2010) and "Condition-Wait, Deadline handler, waking
4233 up itself" (March 2010) for further details.
4234 * bug fix: allow forward FIND and POSITION on lists to elide checking :END
4235 against length of the list if the element is found before the specified
4236 END is reached. (thanks to Alec Berryman, lp#554385)
4237 * bug fix: errors signalled during package graph modification no longer
4238 block FIND-SYMBOL and FIND-PACKAGE in other threads. (lp#511072)
4239 * bug fix: SB-POSIX build was broken when SBCL was compiled without the
4240 :SB-DOC feature. (lp#552564)
4241 * bug fix: SB-INTROSPECT build issues on GENGC/PPC. (lp#490490)
4242 * bug fix: more robust runtime executable path detection. (lp#375549)
4243 * bug fix: GCD always returns positive values. (lp#413680)
4244 * bug fix: Converting division to multiplication by reciprocal handles
4246 * bug fix: We were too eager in eliding range reduction tests on x87.
4247 The maximal magnitude is 2^63, not 2^64.
4248 * bug fix: Transforms for TRUNCATE don't die when the result is completely
4250 * bug fix: Maybe restore buildability on Alpha.
4251 * bug fix: READ-BYTE isn't inline anymore, fixing weird streams failures.
4253 * bug fix: RANDOM-STATE can be printed readably again.
4254 * bug fix: Unreadable objects were sometimes printed like #<\nFoo>.
4255 * bug fix: Using EQL with non-constant values of constant type (e.g. EQL
4256 types) could result in type mismatches during compilation.
4258 changes in sbcl-1.0.37 relative to sbcl-1.0.36:
4259 * enhancement: Backtrace from THROW to uncaught tag on x86oids now shows
4260 stack frame thrown from.
4261 * enhancement: WITH-COMPILATION-UNIT :POLICY allows restricting changes to
4262 compiler optimization qualities inside dynamic extent of its body.
4263 * enhancement: LOAD-LOGICAL-PATHNAME-TRANSLATIONS can be used to load
4264 translations from SYS:SITE;<HOST>.TRANSLATIONS.NEWEST (thanks to Michael
4266 * optimization: SLOT-VALUE and (SETF SLOT-VALUE) take advantage of
4267 constraint propgation, allowing better compilation eg. when used to
4268 access structures with WITH-SLOTS. (lp#520366)
4269 * optimization: the compiler is now more aware of the type of the underlying
4270 storage vector for multidimensional simple arrays resulting in better code
4271 for accessing such arrays.
4272 * optimization: passing NIL as the environment argument to TYPEP no longer
4273 inhibits optimizing it. (lp#309788)
4274 * optimization: more efficient register usage when handling single-float
4275 arguments on x86-64. (thanks to Lutz Euler)
4276 * optimization: ADJUST-ARRAY and STABLE-SORT on vectors no longer use
4277 pre-allocated temporary vectors. (lp#496249)
4278 * bug fix: Fix compiler error involving MAKE-ARRAY and IF forms
4279 in :INITIAL-CONTENTS. (lp#523612)
4280 * bug fix: FUNCTION-LAMBDA-EXPRESSION lost declarations from interpreted
4281 functions. (lp#524707)
4282 * bug fix: bogus style warnings from certain (SETF SLOT-VALUE) and
4283 WITH-SLOTS usages during compilation.
4284 * bug fix: SB-C::CLASS-INFO now prints correctly. (lp#514762)
4285 * enhancement: Can now build with ud2 instead of int3 as trap instruction on
4286 all x86oid platforms with :UD2-BREAKPOINTS target feature.
4287 * bug fix: Breakpoints now work when using ud2 instead of int3 as trap
4288 instruction (tested on x86oid linux with ud2-breakpoints).
4289 * bug fix: slam.sh now works on win32.
4290 * bug fix: better differences of numeric types. (lp#309124)
4291 * bug fix: arrays declared intersection and union types can have their
4292 upgraded element type derived. (lp#316078)
4293 * bug fix: SB-SPROF allocation profiling for all threads failed to profile
4294 threads started during profiling. (lp#472499)
4295 * bug fix: SB-INTROSPECT test failure when building without SB-EVAL feature.
4297 * bug fix: SB-CLTL2:DECLARATION-INFORMATION did not take
4298 SB-EXT:RESTRICT-COMPILER-POLICY into account. (lp#313337)
4299 * bug fix: Comma inside a backquoted array or structure resulted in nonsense
4300 values instead of signaling an error. (lp#309093)
4301 * bug fix: Spurious unused variable warning in a DEFSTRUCT edge case.
4303 * bug fix: More consistent warnings and notes for ignored DYNAMIC-EXTENT
4304 declarations (lp#497321)
4305 * bug fix: FIND and POSITION on lists did not check sequence bounds properly
4306 and failed to detect circular lists (lp#452008)
4307 * bug fix: leakage from ~/.asdf-install into the ASDf-INSTALL contrib build
4309 * bug fix: LOOP OF-TYPE VECTOR compile-time error. (lp#540186)
4310 * bug fix: SIGNAL SB-SYS:INTERACTIVE-INTERRUPT before entering the debugger
4311 due to it, so that handlers can run.
4312 * bug fix: reparsing undefined types if they have become defined since
4313 parsing. (lp#309128)
4314 * bug fix: missing &REST type in a proclamation for a function with both
4315 &REST and &KEY in lambda-list caused miscompilation (lp#458354)
4316 * bug fix: WHO-CALLS information for source-transformed and compiler-macro
4317 expanded calls (lp#542174)
4318 * bug fix: more accurate WHO-MACROEXPANDS information; point into rather
4319 than just at toplevel form.
4321 changes in sbcl-1.0.36 relative to sbcl-1.0.35:
4322 * new feature: SB-EXT:TYPEXPAND-1, SB-EXT:TYPEXPAND, and
4323 SB-EXT:TYPEXPAND-ALL behave exactly like their MACROEXPAND counterparts
4324 but work on type specifiers.
4325 * new feature: SB-EXT:DEFINED-TYPE-NAME-P returns whether a symbol is known
4326 to name a type specifier.
4327 * new feature: SB-EXT:VALID-TYPE-SPECIFIER-P returns whether a given type
4328 specifier is valid where "valid" basically means "would be accepted as
4329 second argument of TYPEP".
4330 * new feature: SB-INTROSPECT:FUNCTION-TYPE takes a function-designator and
4331 returns the function's declared, or derived FTYPE.
4332 * new feature: SB-POSIX now supports accessing the d_ino member of
4333 dirent structures. (Thanks to Philipp Marek and Pierre THEIRRY)
4334 * new feature: The function SB-EXT:SEED-RANDOM-STATE has been added to
4335 provide for seeding a RANDOM-STATE object with user-provided data or
4336 from the operating system's PRNG. Also, (MAKE-RANDOM-STATE T) will
4337 attempt to initialize the returned state from the operating system's
4338 PRNG where possible. (Thanks to Fare Rideau; launchpad bug lp#310116)
4339 * bug fix: Fix SB-SIMPLE-STREAMS:READ-VECTOR to correctly set the
4340 FILE-POSITION of the stream being read from. (launchpad bug lp#491087)
4341 * bug fix: Fix grammar and style issues for the docstrings of
4342 printer-related variables and functions. (Thanks to mon_key; launchpad
4344 * bug fix: Fix compilation on chenygc platforms. Thanks to Larry Valkama and
4346 * bug fix: SB-THREAD:CONDITION-WAIT sometimes signaled a deadline twice
4347 in a row even though a handler defered the deadline long into the
4349 * bug fix: A deadline handler was run without interrupts enabled for a
4350 deadline signaled within SB-THREAD:CONDITION-WAIT. That could result
4351 in infinitely spinning, non-killable threads.
4352 * bug fix: Backtrace from internal-errors on x86-64 os x was truncated
4353 before reaching the erring stack frame.
4354 * bug fix: Fix type derivation for EXPT when raising a fixnum to a
4355 real power. (launchpad bug lp#525949)
4356 * bug fix: Fix SB-EXT:GENERATION-* accessors for generations > 0 on
4357 GENCGC platforms. (launchpad bug lp#529014)
4358 * bug fix: More robust checks for invalid DEFMETHOD argument specializers.
4359 (launchpad bug lp#525916)
4360 * bug fix: Fix building on Darwin when sysctl is not in the user's PATH.
4361 (Thanks to Robert Goldman)
4363 changes in sbcl-1.0.35 relative to sbcl-1.0.34:
4364 * optimization: ROUND with a single single-float or double-float argument
4365 is properly inlined when possible.
4366 * optimization: Slightly better code is generated for integer<->float
4367 conversions and for single-float<->double-float conversions on x86-64.
4368 * optimization: SB-ROTATE-BYTE:ROTATE-BYTE now generates more efficient
4369 code for 32-bit and 64-bit rotations on x86-64.
4370 * bug fix: The install script changes the ownership of directories as well
4371 as files for contrib modules using asdf. (thanks to Eugene Ossintsev;
4372 launchpad bug lp#508485)
4373 * bug fix: TRUNCATE with a single single-float or double-float argument is
4374 properly inlined when possible. (launchpad bug lp#489388)
4375 * bug fix: Passing a rotation count of zero to SB-ROTATE-BYTE:ROTATE-BYTE
4376 no longer causes a compiler error on x86 and ppc.
4377 * bug fix: GET-MACRO-CHARACTER bogusly computed its second return value
4378 always relative to *READTABLE* rather than the passed argument.
4380 changes in sbcl-1.0.34 relative to sbcl-1.0.33:
4381 * minor incompatible change: threading support is now enabled by default
4383 * enhancement: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST now also works on most
4385 * enhancement: Errors during compile-time-too processing (i.e. EVAL-WHEN)
4386 are now caught and reported just like errors during macroexpansion.
4387 * enhancement: SB-POSIX now provides access to tcdrain(), tcflow(),
4388 tcflush(), tcgetsid(), and tcsendbreak(). (thanks to Jerry James)
4389 * enhancement: ASDF systems can now depends on SB-QUEUE.
4390 * fixes and improvements related to Unicode and external formats:
4391 ** bug fix: error handling and restart usage in the ucs-2 external format
4393 ** there is now an implementation of the ucs-4 external format.
4394 ** the utf-16 and utf-32 external formats are supported.
4395 * bug fix: SB-POSIX wrapper for putenv no longer tries to put lisp strings
4396 in the environment. setenv() and unsetenv() are also provided. (reported by
4397 Fare Rideau; launchpad bug lp#460455)
4398 * bug fix: LOAD of both .fasl and .FASL type files now forces fasl-style
4399 loading. This ensures sensible errors for .FASL files from other
4400 implementations on case-insensitive filesystems. (reported by Willem
4401 Broekema; launchpad bug lp#489417)
4402 * bug fix: #p"\\\\" can now be read without error on Win32. (reported by
4403 Willem Broekema; launchpad bug lp#489698).
4404 * bug fix: some minor code rearrangements to reenable warning-free building
4405 from CMUCL (reported by xme@gmx.net; launchpad bug lp#491104)
4406 * bug fix: PRINT-OBJECT for clos instances respects the right margin when
4408 * bug fix: FIND-PACKAGE & DEFPACKAGE were not thread safe. (reported by
4411 changes in sbcl-1.0.33 relative to sbcl-1.0.32:
4412 * new port: support added for x86-64 NetBSD. (thanks to Aymeric Vincent)
4413 * improvement: support O_LARGEFILE access to files larger than 2GB on
4414 x86-64/linux. (thanks to Daniel Janus; launchpad bug lp#453080)
4415 * new feature: SB-INTROSPECT:WHO-SPECIALIZES-DIRECTLY to get a list of
4416 definitions for methods specializing on the passed class itself.
4417 * new feature: SB-INTROSPECT:WHO-SPECIALIZES-GENERALLY to get a list of
4418 definitions for methods specializing on the passed class itself, or on
4420 * new build flag: :sb-xref-for-internals; SBCL will collect xref information
4421 about itself during the build (e.g. for M-? in Slime), if this flag is
4422 enabled in customize-target-features.lisp. This will increase the core
4423 size by about 5-6mb, though, so it's mostly interesting to SBCL
4425 * new feature: various GENCGC tuning parameters have been experimentally
4426 documented and exported from SB-EXT. See documentation for details.
4427 * fixes and improvements related to Unicode and external formats:
4428 ** the Unicode character database has been upgraded to the
4429 Unicode 5.2 standard, giving names and properties to a number of new
4430 characters, and providing a few extra characters with case
4432 ** improvement: restarts for providing replacement input/output on coding
4433 errors for fd-stream external formats.
4434 ** improvement: where :<encoding> is a keyword corresponding to an
4435 external format the system supports, it is now possible to specify
4436 (:<encoding> :replacement <character>) as an external format which will
4437 automatically substitute <character> on encoding or decoding errors for
4438 streams and for STRING-TO-OCTETS and its inverse. (launchpad bug
4440 ** improvement: the file streams underlying the standard streams (such as
4441 *STANDARD-INPUT*, *TERMINAL-IO*) are opened with an external format
4442 which uses the replacement mechanism to handle encoding errors,
4443 preventing various infinite error chains and unrecoverable I/O
4445 ** minor incompatible change: the utf-8 external format now correctly
4446 refuses to encode Lisp characters in the surrogate range (char-codes
4447 between #xd800 and #xdfff).
4448 ** fix a typo preventing conversion of strings into octet vectors
4449 in the latin-2 encoding. (reported by Attila Lendvai; launchpad bug
4451 ** fix a bug in the octet multibyte handling of decoding errors and the
4452 USE-VALUE restart. (launchpad bug lp#314939)
4453 ** fix the bug underlying the expected failure in the FORCE-END-OF-FILE
4454 restart on fd-stream decoding errors.
4455 ** fix a bug in the ATTEMPT-RESYNC fd-stream decoding restart when the
4456 error is near the end of file.
4457 ** fix a double-error case in unibyte octet conversions, when the first
4458 use of USE-VALUE is ignored.
4459 ** fix bugs in handling of undefined code points in unibyte encodings.
4460 ** fix LISTEN (and consequent hangs in READ-CHAR-NO-HANG) on bivalent
4461 streams after an UNREAD-CHAR.
4462 * enhancement: SB-INTROSPECT:ALLOCATION-INFORMATION also reports if the
4463 object is allocated in a boxed region of dynamic space.
4464 * enhancement: SB-POSIX:FORK now signals an error if an attempt to
4465 fork with multiple Lisp threads running is made, instead of going
4466 ahead with unpredictable consequences. (reported by Leslie Polzer)
4467 * bug fix: uses of slot accessors on specialized method parameters within
4468 the bodies of SLOT-VALUE-USING-CLASS methods no longer triggers a type
4469 error while finalizing the class. This fix may cause classes with slot
4470 accessors to be finalized later than previously. (reported by Lars Rune
4471 NĂžstdal; launchpad bug lp#473699)
4472 * bug fix: restore buildability on the MIPS platform. (regression from
4473 1.0.30.38, reported by Samium Gromoff)
4474 * bug fix: inspecting closures is less likely to fail with a type error.
4475 * bug fix: no timer starvation when setting the system clock back.
4476 (launchpad bug lp#460283)
4477 * bug fix: WITH-STANDARD-IO-SYNTAX now binds *PRINT-PPRINT-DISPATCH* to the
4478 standard pprint dispatch table as specified by CLHS.
4479 * bug fix: give CLISP a hint about a type declaration to enable it to build
4480 the cross-compiler without warnings. (thanks to Josh Elasser; launchpad
4482 * bug fix: correctly dump literal objects in defaulting forms of arglists.
4483 (reported by Attila Lendvai; launchpad bug lp#310132)
4484 * bug fix: distinguish in type specifiers between arrays that might be
4485 complex and arrays that are definitely complex. (launchpad bug lp#309129)
4486 * bug fix: SUBTYPEP knows that the SYMBOL type is not SUBTYPEP the KEYWORD
4487 type. (reported by Levente MĂ©szĂĄros; launchpad bug lp#485972)
4488 * bug fix: setting the value of a symbol-macro within a method in the
4489 presence of type declarations works properly again. (reported by Iban
4490 Hatchondo; launchpad bug lp#485019)
4492 changes in sbcl-1.0.32 relative to sbcl-1.0.31:
4493 * optimization: faster FIND and POSITION on strings of unknown element type
4494 in high SPEED policies. (thanks to Karol Swietlicki)
4495 * optimization: faster CONCATENATE 'STRING in low SPEED policies (reported
4497 * improvement: better error signalling for bogus parameter specializer names
4498 in DEFMETHOD forms (reported by Pluijzer)
4499 * bug fix: DELETE-FILE once again works on logical pathnames (regression
4501 * bug fix: LOGICAL-PATHNAME signals a TYPE-ERROR if pathspec is specified
4503 * bug fix: redefinition of a class via DEFCLASS without :DEFAULT-INITARGS
4504 removes previous default initargs (reported by Lars Rune NĂžstdal and
4506 * bug fix: correct WHO-CALLS information for inlined lambdas with complex
4507 lambda-lists. (reported by Peter Seibel)
4508 * bug fix: SAVE-LISP-AND-DIE option :SAVE-RUNTIME-OPTIONS did not work
4509 correctly when starting from an executable core without saved runtime
4510 options (reported by Faré Rideau, thanks to Zach Beane)
4511 * bug fix: (SETF SLOT-VALUE) signalled a warning which should have been
4512 an optimization note instead. (reported by Martin Cracauer)
4513 * bug fix: WITH-SLOTS did not work with THE forms. (thanks to David Tolpin)
4514 * bug fix: Have RUN-PROGRAM with :INPUT T only run the subprocess in a
4515 new process group if it doesn't need to share stdin with the sbcl
4516 process. (thanks to Leslie Polzer)
4517 * bug fix: SATISFIES could be misoptimized to refer to a local function.
4518 (reported by Stanislaw Halik)
4520 changes in sbcl-1.0.31 relative to sbcl-1.0.30:
4521 * improvement: stack allocation is should now be possible in all nested
4522 inlining cases: failure to stack allocate when equivalent code is manually
4523 open coded is now considered a bug.
4524 * improvements related to Unicode:
4525 ** the Unicode character database has been upgraded to the
4526 Unicode 5.1 standard, giving names and properties to a number of new
4527 characters, and providing a few extra characters with case
4529 ** the system now recognizes and produces names for Unicode Hangul
4530 syllable characters.
4531 ** the EBCDIC-US external-format is now supported for octet operations
4532 (as well as for stream operations).
4533 * new feature: experimental :EMIT-CFASL parameter to COMPILE-FILE can
4534 be used to output toplevel compile-time effects into a separate .CFASL
4536 * optimization: COERCE to VECTOR, STRING, SIMPLE-STRING and recognizable
4537 one-dimenstional subtypes of ARRAY is upto 70% faster when the coercion is
4539 * optimization: TRUNCATE on known single- and double-floats is upto 25%
4541 * optimization: division of floating point numbers by constants uses
4542 multiplication by reciprocal when an exact reciprocal exists.
4543 * optimization: multiplication of single- and double-floats floats by
4544 constant two has been optimized.
4545 * optimization: ARRAY-IN-BOUNDS-P is resolved at compile-time when
4546 sufficient type information is available. (thanks to Leslie Polzer)
4547 * optimization: SLOT-VALUE and (SETF SLOT-VALUE) with constant slot names on
4548 known structure objects are as efficient as defstruct generated accessors.
4549 * optimization: unused vector creation can now be optimized away.
4550 * improvement: ASDF systems can now depends on SB-INTROSPECT.
4551 * improvement: a STYLE-WARNING is signalled when a generic function
4552 clobbers an earlier FTYPE proclamation.
4553 * improvement: the compiler is able to track the effective type of
4554 generic function across method addition and removal even in the
4555 absence of an explicit DEFGENERIC.
4556 * improvement: DESCRIBE now reports on symbols naming undefined
4557 but assumed or declared function as well.
4558 * improvement: recompilation of systems using SB-GROVEL now works
4559 (thanks to Leslie Polzer)
4560 * improvements to SB-CLTL2 (thanks to Larry D'Anna):
4561 ** functions DECLARATION-INFORMATION, PARSE-MACRO, and ENCLOSE have been
4563 ** AUGMENT-ENVIRONMENT and DEFINE-DECLARATION have been implemented.
4564 ** DECLARATION-INFORMATION now supports declaration name DECLARATION as
4565 well as user defined declaration names.
4566 ** VARIABLE-INFORMATION is now aware of alien variables.
4567 * improvement: improved address space layout on OpenBSD (thanks to Josh
4569 * improvement: pretty-printing of various Lisp forms has been improved
4570 (thanks to Tobias Rittweiler)
4571 * bug fix: calls to DECODE-FLOAT and INTEGER-DECODE-FLOAT whose value was
4572 unused were deleted in safe code. (reported by John Fremlin)
4573 * bug fix: a failing AVER compiling certain MAKE-ARRAY forms. (reported
4575 * bug fix: some out-of-line array predicates were missing (reported by
4577 * bug fix: a failing AVER in CONVERT-MV-CALL has been fixed. (thanks to
4579 * bug fix: a failing AVER in %ALLOCATE-CLOSURES conversion has been fixed
4580 (thanks to Larry D'Anna)
4581 * bug fix: SLEEP supports times over 100 million seconds on long on OpenBSD
4582 as well. (reported by Josh Elsasser)
4583 * bug fix: DELETE-FILE on streams no longer closes the stream with :ABORT T,
4584 leading to possible attempts to delete the same file twice. See docstring
4585 on DELETE-FILE for details. (reported by John Fremlin)
4586 * bug fix: DELETE-FILE once again deletes the file named by the pathname
4587 designator argument, rather than its truename. (reported by Luis
4589 * bug fix: the low-level debugger had 32-bit assumptions and was missing
4590 information about some array types. (thanks to Luis Oliveira)
4591 * bug fix: moderately complex combinations of inline expansions could
4592 be miscompiled if the result was declared to be dynamic extent.
4593 * bug fix: on x86, SAP-REF of sizes greater than 8 bits with offsets of the
4594 form (+ <variable> <integer>) were miscompiled under certain
4596 * bug fix: in some cases no compiler note about failure to stack allocate
4597 was emitted, even if the objects were in fact heap allocated.
4598 * bug fix: minor violation of "otherwise inaccessible" rule for stack
4599 allocation could cause objects users might reasonably expect to
4600 be heap allocated to be stack allocated.
4601 * bug fix: DESCRIBE signalled an error for generic functions under
4602 certain circumstances. (thanks to Leslie Polzer)
4603 * bug fix: Fixed spelling of an error message.
4605 changes in sbcl-1.0.30 relative to sbcl-1.0.29:
4606 * minor incompatible change: SB-THREAD:JOIN-THREAD-ERROR-THREAD and
4607 SB-THREAD:INTERRUPT-THREAD-ERROR-THREAD have been deprecated in favor
4608 of SB-THREAD:THREAD-ERROR-THREAD.
4609 * new contrib module: SB-QUEUE provides thread-safe lockless FIFO queues.
4610 * new feature: docstrings for local and anonymous functions are no longer
4611 discarded. (thanks to Leslie Polzer)
4612 * new feature: SB-THREAD:SYMBOL-VALUE-IN-THREAD provides access to symbol
4613 values in other threads.
4614 * new feature: SB-INTROSPECT:ALLOCATION-INFORMATION provides information
4615 about object allocation.
4616 * optimization: division of a real float by a complex float is implemented
4617 with a specialised code sequence.
4618 * optimization: MAKE-INSTANCE with non-constant class-argument but constant
4619 keywords is an order of magnitude faster.
4620 * optimization: MAKE-INSTANCE with constant keyword arguments is x2-4 faster
4621 in the presence of :AROUND or non-standard primary INITIALIZE-INSTANCE
4622 methods, and similarly for non-standard metaclass classes as long as there
4623 are no methods additional on MAKE-INSTANCE.
4624 * optimization: more efficient type-checks for FIXNUMs when the value
4625 is known to be a signed word on x86 and x86-64.
4626 * optimization: compiler now optimizes (EXPT -1 INTEGER), (EXPT -1.0 INTEGER),
4627 and (EXPT -1.0d0 INTEGER) into an ODDP test. (thanks to Stas Boukarev and
4629 * optimization: compiler is smarter about delegating argument type checks to
4631 * optimization: several character functions are now compiled somewhat more
4632 efficiently. (reported by Lynn Quam)
4633 * optimization: the compiler now derives simple types for LOAD-VALUE-FORMs.
4634 * improvement: less unsafe constant folding in floating point arithmetic,
4635 especially for mixed complex/real -float operations.
4636 * optimization: constant double and single floats are stored in native
4637 unboxed format on x86[-64].
4638 * optimization: smarter code for arithmetic operations with constant floats,
4639 complex floats, or integers on x86[-64].
4640 * optimization: smarter code for conjugate/multiplication of float complexes
4641 and abs/negate of floats on x86-64.
4642 * optimization: more efficient complex float and real float operations on
4644 * improvement: complex float division is slightly more stable.
4645 * improvement: DESCRIBE output has been reworked to be easier to read and
4646 contains more pertinent information.
4647 * improvement: failure to provide requested stack allocation compiler notes
4648 provided in all cases (requested stack allocation not happening without a
4649 note being issued is now considered a bug.)
4650 * bug fix: SB-POSIX exports the documented types and functions
4651 FILE-DESCRIPTOR and FILENAME, and also the corresponding -DESCRIPTOR
4652 types. (reported by "abhi")
4653 * bug fix: on 64 bit platforms FILL worked incorrectly on arrays with
4654 upgraded element type (COMPLEX SINGLE-FLOAT), regression from 1.0.28.55.
4655 (thanks to Paul Khuong)
4656 * bug fix: looping around HANDLER-CASE could silently consume stack space
4657 on each iteration. (reported by "foobar")
4658 * bug fix: better error signalling when calls to functions seeking elements
4659 from lists (eg. ADJOIN) are compiled with both :TEST and :TEST-NOT.
4660 (reported by Tobias Rittweiler)
4661 * bug fix: regressions in DIRECTORY from 1.0.28.61: pattern matching of
4662 directory components now works as it used to. (various prolems reported by
4663 Michael Becker, Gabriel Dos Reis, Cyrus Harmon, and Harald Hanche-Olsen)
4664 * bug fix: :PTY option in RUN-PROGRAM was broken with stream arguments.
4665 (reported by Elliot Slaughter, thanks to Stas Boukarev)
4666 * bug fix: bogus undefined variable warnings from fopcompiled references to
4667 global variables. (thanks to Lars Rune NĂžstdal)
4668 * bug fix: foreign function names should now appear in backtraces on
4669 FC6 as well. (reported by Tomasz Skutnik and Tobias Rautenkranz)
4670 * bug fix: SETF compiler macro documentation strings are not discarded
4672 * bug fix: GENTEMP is now unaffected by pretty printer dispatch table.
4673 (thanks to Alex Plotnick)
4674 * bug fix: SLEEP accepts large integer arguments, truncating them to
4675 SIGNED-WORD on the assumption that sleeping for 68 years is sufficient
4676 for anyone. (reported by Leslie Polzer, thanks to Stas Boukarev)
4677 * bug fix: compiler notes for expensive slot type checks could be emitted
4678 at runtime MAKE-INSTANCE calls. (reported by Samium Gromoff)
4680 changes in sbcl-1.0.29 relative to 1.0.28:
4681 * IMPORTANT: bug database has moved from the BUGS file to Launchpad
4682 https://bugs.launchpad.net/sbcl
4683 Bugs can be reported directly there, or by sending email to
4684 sbcl-bugs@lists.sourceforge.net
4685 (no subscription required.)
4686 * minor incompatible change: under weak type checking policy integer
4687 types are weakened less aggressively.
4688 * minor incompatible change: SAVE-LISP-AND-DIE :TOPLEVEL function is now
4689 allowed to return, which causes SBCL to quit with exit status 0. Previously
4690 if the function returned with a small integer return value, that value
4691 was accidentally reused as the exit status.
4692 * new feature: SB-EXT:DEFINE-HASH-TABLE-TEST allows defining new arguments
4693 to MAKE-HASH-TABLE :TEST, and MAKE-HASH-TABLE has been extended with
4694 :HASH-FUNCTION argument. Refer to user manual for details.
4695 * new feature: SB-EXT:DEFGLOBAL macro allows defining global non-special
4697 * new feature: SB-EXT:GET-TIME-OF-DAY provides access to seconds and
4698 microseconds since the Unix epoch on all platforms.
4699 * new feature: SB-EXT:ALWAYS-BOUND proclamation inhibits MAKUNBOUND, and
4700 allows the compiler to safely elide boundedness checks for special
4702 * new feature: SB-EXT:GLOBAL proclamation inhibits SPECIAL proclamations for
4703 the symbol, prohibits both lexical and dynamic binding. This is mainly an
4704 efficiency measure for threaded platforms, but also valueable in
4706 * new feature: UNC pathnames are now understood by the system on Windows.
4707 * optimization: the compiler uses a specialized version of FILL when the
4708 element type is know in more cases, making eg. (UNSIGNED-BYTE 8) case
4710 * optimization: accesses to potentially non-simple arrays where element type
4711 is known are 50% faster.
4712 * optimization: compiler now generates faster array typechecking code.
4713 * optimization: ARRAY-DIMENSION is now faster for multidimensional and
4715 * optimization: multidimensional array accesses in the absence of type
4716 information regarding array rank are approximately 10% faster due to
4717 open coding of ARRAY-RANK.
4718 * optimization: result of (FILL (MAKE-ARRAY ...) ...) and (REPLACE
4719 (MAKE-ARRAY ...) ...) can be stack allocated if the result of MAKE-ARRAY
4721 * optimization: result of call to VECTOR can now be stack allocated.
4722 * optimization: MAKE-ARRAY with :INITIAL-CONTENTS is now vastly faster
4723 as long as the resulting array is one-dimensional and has a known
4724 element type. In particular, :INITIAL-CONTENTS (LIST ...) where the
4725 length of the list matches the known length of the vector does not
4726 allocate the list as an intermediate step. Ditto for VECTOR and simple
4728 * optimization: MAKE-ARRAY can now stack allocate in the presence of
4729 :INITIAL-CONTENTS and :INITIAL-ELEMENT as long as the result has a
4730 known element type, and is known to be simple and one dimensional.
4731 * improvement: SBCL now emits a compiler note where stack allocation was
4732 requested but could not be provided (not in all cases, unfortunately)
4733 * improvement: better MACHINE-VERSION responses. (thanks to Josh Elsasser)
4734 * improvement: pretty-printing loop has been implemented properly. (thanks
4735 to Tobias Rittweiler)
4736 * documentation: CLOS slot typechecing policy has been documented.
4737 * bug fix: FILE-AUTHOR no longer signals an error on Windows.
4738 * bug fix: SB-SPROF could be foiled by foreign code not have a frame
4739 pointer, leading to memory faults. (thanks to Bart Botta)
4740 * bug fix: better floating point exception handling on x86/OpenBSD.
4741 (thanks to Josh Elsasser)
4742 * bug fix: exit status from QUIT when called under --script was lost
4743 (reported by Hubert Kauker)
4744 * bug fix: MAKE-ARRAY for non-zero :INITIAL-ELEMENT always used the
4745 same implementation of FILL to initialize the array, even if a more
4746 efficient one was available (reported by Stas Boukarev, thanks to
4748 * bug fix: potential miscompilation of array stack allocation on x86 and
4749 x86-64. (reported by Time Tossavainen)
4750 * bug fix: some forms of AND, OR, and COND resulted in expansions that could
4751 result in their subforms being treated as top level forms. (reported by
4753 * bug fix: On x86/x86-64 alien functions declared to return integers shorter
4754 than a machine register could leave garbage in the high bits of the
4755 result register (bug 316325).
4756 * bug fix: disable address space randomization Linux/x86-64 as well,
4757 not just x86-64. (reported by Ken Olum)
4758 * bug fix: Attempting to DEREF an (ALIEN (* T)) would produce a WARNING and
4759 generate incorrect code.
4760 * bug fix: #201; type inference for CONS and ARRAY types could derive
4761 wrong results in the presence of eg. RPLACA or ADJUST-ARRAY.
4762 * bug fix: special variables with a proclaimed specific subtype of FUNCTION
4763 could not be assigned to or bound with PROGV. (reported by Lorenz
4765 * bug fix: the value of CL:- in the inspector was the previous expression
4766 evaluated rather than the expression being evaluated.
4767 * bug fix: constants can no longer be locally declared special.
4768 * bug fix: signals delivered to threads started from foreign land (read:
4769 directly by pthread_create, not by MAKE-THREAD) are redirected to a Lisp
4770 thread by blocking all signals and resignalling.
4771 * bug fix: SHARED-INITIALIZE initialized unbound :ALLOCATION :CLASS slots
4772 from :INITFORM, if any.
4774 changes in sbcl-1.0.28 relative to 1.0.27:
4775 * a number of bugs in cross-compilation have been fixed, with the ultimate
4776 result that building under (at least) clisp should be much more reliable.
4777 * minor incompatible changes: echo-streams now propagate unread-char to the
4778 underlying input stream, and no longer permit unreading more than one
4780 * improvement: on x86/x86-64 Lisp call frames now have the same layout as C
4781 frames, allowing for instance more reliable backtraces.
4782 * improvement: the debugger REPL can now reference lexical variables
4783 by name directly for code compiled with (DEBUG 3).
4784 * improvement: errors from malformed declarations now have better source
4785 paths associated with them. (thanks to Tobias Rittweiler)
4786 * optimization: faster local calls on x86/x86-64
4787 * bug fix: some error messages for out-of-bound array indexes confused the
4788 index and the bound. (thanks to Stas Boukarev)
4789 * bug fix: pretty printing malformed DEFPACKAGE forms (thanks to Sidney
4791 * bug fix: running regressions tests in shells without OSTYPE set now works.
4792 (reported by Harald Hanche-Olsen)
4793 * bug fix: more robust static space exhaustion signalling from
4794 MAKE-STATIC-VECTOR (thanks to Daniel Lowe)
4795 * bug fix: (SETF DOCUMENTATION) for anonymous function now throws the
4796 docstring away instead of storing it under names such as (LAMBDA (X)).
4797 (reported by Leslie Polzer)
4798 * bug fix: timers could go off in the wrong order, be delayed indefinitely
4799 (thanks to Ole Arndt for the patch)
4800 * bug fix: RESTART-FRAME and RETURN-FROM-FRAME stack corruption
4801 * bug fix: the discriminating function for PRINT-OBJECT no longer preserves
4802 potentially-invalid effective methods in its cache.
4803 * bug fix: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works with funcallable
4804 instances as well (thanks to Paul Khuong)
4805 * bug fix: using RUN-PROGRAM does not interfere with SB-POSIX:WAIT,
4806 SB-POSIX:WAITPID and their C equivalents.
4807 * bug fix: RUN-PROGRAM does not crash on Darwin when stressed.
4809 changes in sbcl-1.0.27 relative to 1.0.26:
4810 * new port: support added for x86-64 OpenBSD. (thanks to Josh Elsasser)
4811 * new port: support added for x86-64 Solaris. (thanks to Alex Viskovatoff)
4812 * improvement: the system either recovers from stack exhaustion or dies
4813 properly as opposed to leaving the user uncertain of whether the handler
4814 trampled on some random memory next to the stack or having to rely on
4815 --lose-on-corruption (which is still a good idea to use in production
4816 because stack exhaustion can happen in signal handlers which will likely
4818 * bug fix: fix gc related interrupt handling bug on ppc (regression from
4819 1.0.25.37, reported by Harald Hanche-Olsen)
4820 * bug fix: work around signal delivery bug in darwin (regression from
4821 1.0.25.44, reported by Sidney Markowitz)
4822 * bug fix: fix ERROR leaking memory (reported by David Thompson)
4824 changes in sbcl-1.0.26 relative to 1.0.25:
4825 * incompatible change: an interruption (be it a function passed to
4826 INTERRUPT-THREAD or a timer function) runs in an environment where
4827 interrupts can be enabled. The interruption can use
4828 WITH-INTERRUPTS or WITHOUT-INTERRUPTS as it sees fit. Use
4829 WITHOUT-INTERRUPTS to avoid nesting of interruptions and
4830 potentially running out of stack. Keep in mind that in the absence
4831 of WITHOUT-INTERRUPTS some potentially blocking operation such as
4832 acquiring a lock can enable interrupts.
4833 * incompatible change: GC-OFF and GC-ON are removed, as they were
4834 always unsafe. Use WITHOUT-GCING instead.
4835 * new feature: runtime option --disable-ldb
4836 * new feature: runtime option --lose-on-corruption to die at the
4837 slightest hint of possibly non-recoverable errors: running out of
4838 memory, stack, alien stack, binding stack, encountering a memory
4839 fault, etc. In the absence of --lose-on-corruption a warning is
4841 * enhancement: detect binding stack exhaustion
4842 * enhancement: detect alien stack exhaustion on x86/x86-64
4843 * improvement: generally more stable and reliable interrupt handling
4844 * improvement: there is a per thread interruption queue,
4845 interruptions are executed in order of arrival
4846 * improvement: a repeating timer reschedules itself when the it has
4847 finished, but expiration times are spaced equally. If an
4848 expiration time is in the past it will trigger after a short grace
4849 period that may give a chance to other things to run.
4850 * optimization: slightly faster gc on multithreaded builds
4851 * optimization: faster WITHOUT-GCING
4852 * bug fix: when JOIN-THREAD signals an error, do it when not holding
4853 important locks so that the debugger/handler doesn't produce
4854 recursive errors or deadlock.
4855 * bug fix: real-time signals are not used anymore, so no more
4856 hanging when the system wide real-time signal queue gets full.
4857 * bug fix: INTERRUPT-THREAD on a dying thread could produce memory
4859 * bug fix: finalizers, gc hooks never run in a WITHOUT-INTERRUPTS
4860 * bug fix: fix random memory faults related to interrupts on alpha
4861 * bug fix: fix random memory faults related to interrupts on sparc
4862 * bug fix: fix deadlocks related to starting threads
4863 * bug fix: fix deadlines on locks on futex platforms
4864 * bug fix: restore errno in signal handlers
4865 * bug fix: fix deadlocks related to hash tables
4866 * bug fix: fix deadlocks in pcl
4868 changes in sbcl-1.0.25 relative to 1.0.24:
4869 * incompatible change: SB-INTROSPECT:FUNCTION-ARGLIST is deprecated, to be
4870 removed later. Please use SB-INTROSPECT:FUNCTION-LAMBDA-LIST instead.
4871 * new feature: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST allows retrieval of
4872 DEFTYPE lambda lists. (thanks to Tobias Rittweiler)
4873 * enhancement: MUTEX-VALUE is to be superseded by MUTEX-OWNER that has a
4874 better name and does not return values so stale on multiprocessor systems.
4875 Also, HOLDING-MUTEX-P was added for about the only sane usage of
4877 * improvement: unithread builds keep track of MUTEX-VALUE.
4878 * improvement: reading from a TWO-WAY-STREAM does not touch the output
4879 stream anymore making it thread safe to have a concurrent reader and
4880 a writer, for instance, in a pipe.
4881 * improvement: GET-SETF-EXPANDER avoids adding bindings for constant
4882 arguments, making compiler-macros for SETF-functions able to inspect
4883 their constant arguments.
4884 * improvement: COMPILE-FILE reports times with millisecond accuracy
4885 (thanks to Luis Oliveira)
4886 * optimization: CHAR-CODE type derivation has been improved, making
4887 TYPEP elimination on subtypes of CHARACTER work better. (reported
4888 by Tobias Rittweiler, patch by Paul Khuong)
4889 * bug fix: setting alien structure fields of type struct by value now
4890 computes the right offset for the memory copy.
4891 * bug fix: compilation problem involving inlined calls to aliens with
4892 result type VOID. (reported by Ken Olum)
4893 * bug fix: #235a; sequential inline expasion in different policies no
4894 longer reuses the functional from the previous expansion site.
4895 * bug fix: DEFTYPE no longer breaks on bodies consisting of a single
4896 unquoted symbol. Regression from 1.0.22.8. (reported by Ariel Badichi)
4897 * bug fix: named ENUMs in multiply-referenced alien record types no longer
4898 cause an implied type redefinition. Regression from 1.0.21.29.
4899 * bug fix: sign-extension of small signed return values now works with C
4900 code compiled with gcc 4.3 or newer. (reported by Liam Healy)
4901 * improvements to the Windows port:
4902 ** SB-BSD-SOCKETS now works from saved cores as well. (reported by Stephen
4903 Westfold, thanks to Rudi Schlatte)
4905 changes in sbcl-1.0.24 relative to 1.0.23:
4906 * new feature: ARRAY-STORAGE-VECTOR provides access to the underlying data
4907 vector of a multidimensional SIMPLE-ARRAY.
4908 * new feature: the system now signals a continuable error if standard
4909 readtable modification is attempted. (thanks to Tobias Rittweiler)
4910 * new feature: DIRECTORY has been extended with a non-standard keyword
4911 argument :RESOLVE-SYMLINKS. (thanks to TC-Rucho)
4912 * enhancement: SB-BSD-SOCKETS:MAKE-SOCKET-STREAM keyword argument handling
4913 has been robustified and documented better. (thanks to Robert Goldman)
4914 * optimization: faster generic arithmetic dispatch on x86 and x86-64.
4915 * optimization: FORMAT ~D and ~F are now approximately 5% faster.
4916 * tradeoff: constant FORMAT control strings are now compiled unless
4917 SPACE > SPEED (previously only when SPEED > SPACE.)
4918 * bug fix: Red Hat Enterprise 3 mmap randomization workaround. (thanks
4920 * bug fix: DEFCLASS and ENSURE-CLASS-USING-CLASS are now expected to
4922 * bug fix: lexical type declarations are now correctly reported by
4923 SB-CLTL2. (reported by Larry D'Anna)
4924 * bug fix: STRING-TO-OCTETS did not handle :START properly when
4925 using UTF-8 as external format. (thanks to Luis Oliveira)
4926 * bug fix: errors from invalid fill-pointer values to (SETF FILL-POINTER)
4927 are signalled correctly. (thanks to Stas Boukarev)
4928 * bug fix: SET-MACRO-CHARACTER accepts NIL as the readtable
4929 designator. (thanks to Tobias Rittweiler)
4930 * bug fix: SET-DISPATCH-MACRO-CHARACTER accepts NIL as the readtable
4931 designator, and returns T instead of the function. (thanks to
4933 * bug fix: direct superclasses of STANDARD-CLASS and
4934 FUNCALLABLE-STANDARD-CLASS now default to STANDARD-OBJECT and
4935 FUNCALLABLE-STANDARD-OBJECT as required by AMOP.
4936 * bug fix: compiling a call to SLOT-VALUE with a constant slot-name
4937 when no class with the named slot yet exists no longer causes a
4938 compile-time style-warning.
4939 * bug fix: :ALLOCATION :CLASS slots are type-checked properly
4940 in safe code. (reported by Didier Verna)
4941 * bug fix: #430; nested structure constructors can stack allocate.
4942 * bug fix: on some 64-bit platforms dynamic space size was truncated
4943 to #xffff0000 bytes. (reported by Benjamin Lambert)
4944 * bug fix: setting *READ-SUPPRESS* to T no longer renders the default
4945 REPL unusable. (reported by Daniel Herring)
4946 * bug fix: return values of READ-SEQUENCE did not take :START into
4947 account on file streams, regressions since 1.0.12.22. (reported by
4948 Thomas Russ, patch by Paul Khuong)
4949 * bug fix: using SET or (SETF SYMBOL-VALUE) to change the value of a
4950 method specializer used to confuse permuation vector optimization.
4951 * bug fix: system inserted bogus implicit type declarations for local
4952 special variables in DEFMETHOD bodies.
4953 * bug fix: #354; duplicated frames in backtraces due to
4954 non-tail-call-optimized XEPs to functions with return type NIL
4956 * bug fix: #357; MAKE-INSTANCE/SHARED-INITIALIZE now
4957 initializes structure object slots according to DEFSTRUCT initforms,
4958 and DEFSTRUCT forms :INCLUDEind structure classes defined using
4959 DEFCLASS :METACLASS STRUCTURE-CLASS now inherit their initforms.
4960 (reported by Bruno Haible and Stephen Wilson)
4961 * bug fix: #395; fill-pointer output streams used now support
4962 element-type BASE-CHAR as well.
4963 * bug fix: compiler error when attempting to derive return value of
4964 ARRAY-ELEMENT-TYPE when the array type was a union of intersection
4966 * bug fix: address-spaces overlapped on OpenBSD. (thanks to Josh
4968 * bug fix: Mac OS X binaries should now be portable between Leopard
4971 changes in sbcl-1.0.23 relative to 1.0.22:
4972 * enhancement: when disassembling method functions, disassembly
4973 for the associated fast function is also produced.
4974 * enhancement: system stores DEFTYPE lambda-lists, so DESCRIBE can
4976 * optimization: printing with *PRINT-PRETTY* true is now more
4977 efficient as long as the object being printed doesn't require
4978 special handling by the pretty printer.
4979 * bug fix: slot symbol-macros from WITH-SLOTS inside DEFMETHOD bodies
4980 now interact correctly with type declarations.
4981 * partial bug fix: PCL detects infinite recursion during wrapper
4982 validation. (thanks to Attila Lendvai)
4983 * bug fix: #426; nested function calls are inlined properly.
4984 Previously if FOO was an inline function, in calls of the form
4985 (FOO (FOO ...)) the outer call was not inlined.
4986 * bug fix: long long arguments passed in registers to alien
4987 functions on PowerPC Linux and NetBSD are now handled correctly
4988 when preceded by SYSTEM-AREA-POINTERs. (reported by Josh Elsasser)
4990 changes in sbcl-1.0.22 relative to 1.0.21:
4991 * minor incompatible change: LOAD-SHARED-OBJECT no longer by default looks
4992 for the shared object in the current directory, but passes the native
4993 namestring of the designated pathname to the operation system's shared
4994 object loading function as-it.
4995 * minor incompatible change: --disable-debugger toplevel option now takes
4996 effect before processing of initialization files and --eval or --load
4998 * new feature: new commandline argument: --script, which supports
4999 shebang lines. See documentation for details. (based on work by
5001 * new feature: SAVE-LISP-AND-DIE can save current values of
5002 --dynamic-space-size and --control-stack-size in the executable core,
5003 causing it to skip normal runtime option processing. See documentation
5004 for details. (thanks to Zach Beane)
5005 * enhancement: inoccous calls to EVAL or generic functions dispatching
5006 on subclasses of eg. STREAM no longer cause compiler notes to appear.
5007 * enhancement: the system no longer resignals errors from --load and
5008 --eval toplevel arguments as SIMPLE-ERRORS, which caused restarts
5009 associated with the original error to be lost. (thanks to Ariel
5011 * enhancement: :DONT-SAVE keyword argument has been added to
5012 LOAD-SHARED-OBJECT for controlling interaction with
5013 SAVE-LISP-AND-DIE, and UNLOAD-SHARED-OBJECT can be used to undo
5014 the effects of an earlier LOAD-SHARED-OBJECT call.
5015 * bug fix: ADJUST-ARRAY on multidimensional arrays used bogusly give
5016 them a fill pointer unless :DISPLACED-TO or :INITIAL-CONTENTS were
5017 provided. (reported by Cedric St-Jean)
5018 * bug fix: circularity handling in the reader did not treat raw
5019 structure slots correctly. (reported by Cedric St-Jean)
5020 * bug fix: SERVE-EVENT occasionally signaled an error about bogus
5021 file descriptors when there were none.
5022 * bug fix: DEFINE-COMPILER-MACRO support of destructuring lambda-lists
5023 was broken. (reporteed by Willem Broekema)
5024 * bug fix: SB-EXT:NATIVE-NAMESTRING on Windows did not work on
5025 pathnames without a directory.
5026 * bug fix: COMPILE-FILE did not warn about undefined variable
5027 references at toplevel, and LOAD of the resulting fasl did
5028 not signal an error.
5029 * bug fix: functions with non-required arguments used to end up with
5030 (SB-C::&OPTIONAL-DISPATCH ...) as their name.
5031 * bug fix: redefining a function with non-required arguments didn't
5032 update the system's knowledge about its call signature properly.
5033 * bug fix: fixed #431; incompatible alien record type redefinitions
5034 are detected and handled. (reported by Neil Haven)
5035 * bug fix: using RESTRICT-COMPILER-POLICY with DEBUG 3 could cause
5036 PROGV miscompilation. (reported by Matthias Benkard, patch by Juho
5038 * bug fix: on x86 and x86-64 backtraces were sometimes truncated
5039 after alien stack frames.
5040 * bug fix: strings passed to mk{s,d}temp lacked null termination
5042 changes in sbcl-1.0.21 relative to 1.0.20:
5043 * new feature: the compiler is able to track the effective type of a
5044 generic function across method addition and removal.
5045 * new feature: SB-EXT:ATOMIC-INCF allows atomic incrementation of
5046 appropriately typed structure slots without locking.
5047 * new feature: SB-EXT:CALL-WITH-TIMING provides access to timing
5048 information like those gathered by TIME using a programming-friendly
5050 * new feature: TIME reports time taken even if the form performs a
5051 non-local transfer of control.
5052 * enhancement: reduced conservativism on GENCGC platforms: on
5053 average 45% less pages pinned (measured from SBCL self build).
5054 * bug fix: SB-EXT:COMPARE-AND-SWAP on SYMBOL-VALUE can no longer
5055 mutate constant symbols or violate declaimed type of the symbol.
5056 * bug fix: SB-THREAD:SIGNAL-SEMAPHORE could fail to wakeup threads
5057 sleeping on the semaphore in heavily contested semaphores.
5058 * bug fix: semaphores and condition variables were not interrupt
5060 * bug fix: SB-THREAD:CONDITION-WAIT doesn't allow waits on mutexes
5061 owned by other threads anymore.
5062 * bug fix: FIND on lists called KEY outside the specified
5063 subsequence. (reported by budden)
5064 * bug fix: LOG doesn't use single-float intermediate results when
5065 given mixed integer and double-float arguments, leading to better
5066 precision. (reported by Bob Felts)
5067 * bug fix: LOG with base zero returned values of inconsistent type.
5069 changes in sbcl-1.0.20 relative to 1.0.19:
5070 * minor incompatible change: OPTIMIZE qualities
5071 SB-C::STACK-ALLOCATE-DYNAMIC-EXTENT, SB-C::STACK-ALLOCATE-VECTOR,
5072 and SB-C::STACK-ALLOCATE-VALUE-CELLS no longer exist. See documentation
5073 and SB-EXT:*STACK-ALLOCATE-DYNAMIC-EXTENT* for details.
5074 * documentation: some slot access efficiency guidelines have been
5075 added to the user manual.
5076 * optimization: ASSOC-IF, ASSOC-IF-NOT, MEMBER-IF, MEMBER-IF-NOT,
5077 RASSOC, RASSOC-IF, and RASSOC-IF-NOT are now equally efficient
5078 as ASSOC and MEMEBER.
5079 * optimization: calls to ASSOC, MEMBER, and RASSOC can be transformed
5080 to more efficient EQ-comparison versions more often.
5081 * optimization: enhanced derivation of DOLIST iteration variable type
5083 * optimization: constant folding of simple (LIST ...) forms as DOLIST
5085 * optimization: runtime lookup of function definitions can be
5086 elided in more cases, eg: (let ((x 'foo)) (funcall foo)).
5087 * optimization: compiler is able to derive the return type of
5088 (AREF (THE STRING X) Y) as being CHARACTER.
5089 * optimization: CLRHASH on empty hash-tables no longer does pointless
5090 work. (thanks to Alec Berryman)
5091 * optimization: REPLACE deftransforms don't punt when :START1 or
5093 * bug fix: compiling DESTRUCTURING-BIND on constant list arguments
5094 no longer emits a code deletion note. (reported by Andrew
5096 * bug fix: bogus odd-number-of-keywords STYLE-WARNINGs from calls to
5097 functions with an odd number of &OPTIONAL arguments, a &REST
5098 argument, and one or more &KEY arguments at the call site.
5099 * bug fix: STYLE-WARNINGs for functions with both &OPTIONAL and &KEY
5100 arguments appeared at call sites as well.
5101 * bug fix: fixed #425; CLOSE drops input buffers from streams, so
5102 READ-LINE &co can no longer read from them afterwards. (reported
5104 * bug fix: fixed #427: unused local aliens no longer cause compiler
5105 breakage. (reported by Stelian Ionescu, Andy Hefner and Stanislaw
5107 * bug fix: non-local exit from a WITH-ALIEN form no longer causes
5108 alien-stack leakage. (reported by Andy Hefner)
5109 * bug fix: PROGV signals an error when an attempt to violate declared
5110 type of a variable or bind a constant is made.
5111 * bug fix: SET signals an error when an attempt to violate declared
5112 type of a variable is made.
5113 * bug fix: restart computation during the execution of a restart
5114 test function no longer causes infinite recursion. (reported by
5116 * bug fix: calling SB-COVER:REPORT with a non-directory pathname now
5117 signals an error. (thanks to Pierre Mai)
5118 * bug fix: EXPORT left symbol unexported in conflict situations.
5119 (thanks to Michael Weber)
5120 * bug fix: correctly handle name conflicts involving CL:NIL.
5121 (thanks to Michael Weber)
5122 * bug fix: RESOLVE-CONFLICT restart for name conflicts handles
5123 conflicts arising from USEing package with conflicting symbols
5124 correctly. (thanks to Michael Weber)
5126 changes in sbcl-1.0.19 relative to 1.0.18:
5127 * new feature: user-customizable variable SB-EXT:*MUFFLED-WARNINGS*;
5128 warnings that go otherwise unhandled will be muffled if they are
5129 of the type that's the value of this variable.
5130 * optimization: stack allocation is slightly more efficient on x86
5132 * bug fix: DEFSTRUCT forms with user-specified :CONSTRUCTOR options,
5133 where a raw slot always is initialized using the initform whose
5134 type is not know sufficiently well a compile-time are now compiled
5135 correctly. (reported by John Morrison)
5136 * bug fix: compiler no longer makes erronous assumptions in the
5137 presence of non-foldable SATISFIES types.
5138 * bug fix: stack analysis missed cleanups of dynamic-extent
5139 arguments in non-let-converted calls to local functions.
5140 * improvements to the Windows port:
5141 ** adjusted address spaces for building on both Win32 and
5142 Win64. (thanks for John Connors)
5143 * fixed some bugs revealed by Paul Dietz' test suite:
5144 ** interval arithmetic during type derivation used inexact integer
5145 to single-float coercions.
5146 ** arithmetic operations involving large integers and single
5147 floats give the same results in compiled and interpreted code.
5148 ** deriving the result type of COERCE no longer signals an error
5149 if the derived type of the second argument is a MEMBER type
5150 containing invalid type specifiers.
5151 ** ADJOIN with constant NIL as second argument works correctly.
5152 ** FUNCTION-KEYWORDS was called SB-PCL::FUNCTION-KEYWORD-PARAMETERS.
5154 changes in sbcl-1.0.18 relative to 1.0.17:
5155 * minor incompatible change: SB-SPROF:WITH-PROFILING now by default
5156 profiles only the current thread.
5157 * minor incompatible change: changes to SYMBOL-VALUE of constants
5158 defined with DEFCONSTANT now signal an error.
5159 * enhancement: SB-SPROF now has support for wallclock profiling,
5160 and is also able to profile specific threads. REPORT output
5161 has also additional sorting options.
5162 * enhancement: better pretty-printing of DEFPACKAGE forms. (Thanks
5164 * optimization: structure allocation has been improved
5165 ** constructors created by non-toplevel DEFSTRUCTs are ~40% faster.
5166 ** out of line constructors are ~10% faster.
5167 ** inline constructors are ~15% faster.
5168 ** inline constructors are capable of dynamic extent allocation
5169 (generally on x86 and x86-64, in some cases on other platforms
5171 * optimization: simple uses of HANDLER-CASE and HANDLER-BIND no
5173 * optimization: file compiler is now able to coalesce non-circular
5174 lists, non-base strings, and bit-vectors. Additionally, constants
5175 are never referenced through SYMBOL-VALUE at runtime.
5176 * optimization: code defining methods on PRINT-OBJECT (and other
5177 generic functions in the COMMON-LISP package) now loads faster.
5178 * bug fix: EAI_NODATA is deprecated since RFC 3493. Stop using it
5180 * bug fix: if COMPILE-FILE aborts due to an unwind, the partial
5181 fasl is now deleted. (reported by Attila Lendvai)
5182 * bug fix: READ-LINE always returned NIL for the last line in files.
5183 (reported by Yoshinori Tahara)
5184 * bug fix: more accurate disassembly annotations of foreign function
5185 calls. (thanks to Andy Hefner)
5186 * bug fix: trimming non-simple strings and non-string string
5187 designators when the there is nothing to trim works properly.
5188 (thanks to James Knight)
5189 * new feature: SB-POSIX bindings for mlockall, munlockall, and setsid.
5190 (thanks to Travis Cross)
5191 * fixed some bugs revealed by Paul Dietz' test suite:
5192 ** NIL is a valid function name (regression at 1.0.13.38)
5193 ** FILL on lists was missing its return value (regression at 1.0.12.27)
5194 ** STRING-TRIM, STRING-LEFT-TRIM, and STRING-RIGHT-TRIM did not respect
5195 fill pointers properly (regression at 1.0.12.23)
5196 ** STRING-TRIM, STRING-LEFT-TRIM, and STRING-RIGHT-TRIM did not respect
5197 displacement indices properly (regression at 1.0.12.23)
5199 changes in sbcl-1.0.17 relative to 1.0.16:
5200 * temporary regression: user code can no longer allocate closure
5201 variable storage on stack, due to bug 419 without explicitly
5202 requesting it. Please consult sbcl-devel for advice if you need to
5203 use this feature in the meanwhile.
5204 * new feature: runtime argument --control-stack-size can be used to
5205 adjust thread default control stack size.
5206 * enhancement: improved TIME output
5207 ** all times are reported using the measured accuracy (milliseconds
5208 for real and GC times, microseconds for everything else.)
5209 ** processor cycle counts on x86 and x86-64.
5210 ** interpreted forms are counted for both evaluator modes.
5211 ** number of lambdas converted by the compiler is reported.
5212 ** CPU percentage report (computed from real and total run time.)
5213 ** more comprehensive run time reporting, using a condenced format
5214 ** interperted form, lambda, and page fault counts are omitted
5216 * optimization: ADJOIN and PUSHNEW are upto ~70% faster in normal
5218 * optimization: APPEND is upto ~10% faster in normal SPEED policies.
5219 * optimization: two argument forms of LAST are upto ~10% faster
5220 in normal SPEED policies.
5221 * optimization: NCONC no longer needs to heap cons its &REST list
5222 in normal SPEED policies.
5223 * bug fix: SB-FLUID build feature no longer breaks the build. (thanks
5224 to Sidney Markowitz)
5225 * bug fix: UNION and NUNION work with :TEST-NOT once more,
5226 regression since 1.0.9.1. (thanks to Eric Marsden)
5227 * bug fix: result of MAKE-ARRAY can be stack allocated - regression
5228 since 1.0.15.36. (thanks to Paul Khuong)
5229 * bug fix: LAST when always returned the whole list when given a bignum
5230 as the second argument.
5231 * bug fix: dynamic extent allocation of nested lists and vectors
5232 could leak to otherwise accessible parts.
5233 * bug fix: invalid optimization of heap-allocated alien variable
5235 * bug fix: fasl header checking is less vulnerable to different
5236 platform word lengths.
5237 * bug fix: more correct assembler syntax for GNU binutils
5238 2.18.50.0.4 support. (thanks to Marijn Schouten)
5239 * bug fix: fix ECASE warnings from CMUCL-as-xc-host. (reported by
5241 * bug fix: the fopcompiler can handle LOCALLY forms (with no
5242 declarations) successfully. (reported by Attila Lendvai)
5244 changes in sbcl-1.0.16 relative to 1.0.15:
5245 * minor incompatible change: revert the changes to sb-posix's error
5246 signaling added in 1.0.14.
5247 * minor incompatible change: change PROBE-FILE back to returning
5248 NIL whenever we can't get a truename, as was the case before 1.0.14.
5249 * minor incompatible change: SB-BSD-SOCKETS:NAME-SERVICE-ERROR now
5250 inherits from ERROR instead of just CONDITION.
5251 * new feature: SB-INTROSPECT can provide source locations for instances
5252 as well. (thanks to Tobias Rittweiler)
5253 * optimization: binding special variables now generates smaller code
5254 on threaded platforms.
5255 * optimization: MEMBER and ASSOC are over 50% faster for :TEST #'EQ
5256 and cases where no :TEST is given but the compiler can infer that
5257 the element to search is of type (OR FIXNUM (NOT NUMBER)).
5258 * optimization: better LOGNOT on fixnums.
5259 * optimization: modular arithmetic for a particular requested width
5260 is implemented using a tagged representation unless a better
5261 representation is available.
5262 * fixed bug 423: TRULY-THE and *CHECK-CONSISTENCY* interaction.
5263 * bug fix: SB-BSD-SOCKETS:MAKE-INET-ADDRESS checks the input string
5264 for wellformedness and returns a specialized vector. (reported by
5265 Francois-Rene Rideau)
5266 * bug fix: FIND-CLASS was not thread-safe. (reported by Attila Lendvai)
5267 * bug fix: ~R was broken for vigtillions. (thanks to Luis Oliveira)
5268 * bug fix: attempt to obtain *SCHEDULER-LOCK* recursively when
5269 unscheduling timer at the same time as another timer fires.
5270 * bug fix: don't reschedule timers for dead threads.
5271 * bug fix: periodic polling was broken. (thanks to Espen S Johnsen)
5272 * bug fix: copying output from RUN-PROGRAM to a stream signalled
5273 bogus errors if select() was interrupted.
5274 * enhancement: add support for fcntl's struct flock to SB-POSIX.
5276 changes in sbcl-1.0.15 relative to sbcl-1.0.14:
5277 * enhancement: cleaner backtraces for interactive interrupts, as
5278 well as other cases where the interesting frames used to be
5279 obscured by interrupt handling frames.
5280 * enhancement: untracing a whole package using (UNTRACE "FOO") is
5281 now supported, and tracing a whole package using (TRACE "FOO") now
5282 traces SETF-functions as well.
5283 * enhancement: implement SB-POSIX:MKTEMP and SB-POSIX:MKDTEMP.
5284 * SB-DEBUG:PRINT-FRAME-CALL now prints the entry-point kind even
5285 when SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS* is NIL.
5286 * unreadably printed representation of hash-tables now includes
5288 * bug fix: partially fixed #188: type propagation from assignments
5289 is now more efficient.
5290 * bug fix: fixed #407: (COERCE X 'SINGLE-FLOAT) and (COERCE X
5291 'DOUBLE-FLOAT) are not flushable.
5292 * bug fix: on x86 and x86-64 pointer based EQ-hashing now uses the
5293 full address of the object, and none of the tag bits.
5294 * bug fix: readably printing hash-tables now respects other printer
5295 control variables. (reported by Cedric St-Jean)
5296 * bug fix: compiler gave a bogus STYLE-WARNING for the :SYNCHRONIZED
5297 keyword with MAKE-HASH-TABLE.
5298 * bug fix: export SB-POSIX:MKSTEMP.
5299 * bug fix: SORT was not interrupt safe.
5300 * bug fix: XREF accounts for the last node of each basic-block as
5302 * bug fix: MAKE-INSTANCE optimizations interacted badly with
5303 non-keyword :DEFAULT-INITARGS in the presence of :BEFORE/:AFTER
5304 methods on SHARED-INITIALIZE. (thanks to Matt Marjanovic)
5305 * bug fix: the CTOR optimization for MAKE-INSTANCE should no longer
5306 create obsolete instances in the case of redefinition or
5307 obsoletion of a superclass. (thanks to Andy Hefner)
5308 * bug fix: Support for the Alpha architecture has been revived; it had
5309 suffered somewhat from lack of maintenance since sbcl-1.0.
5310 * improvements to the Windows port:
5311 ** The system detects the codepage to use at startup, instead of
5312 using the value from the saved core. (thanks to Kei Suzuki)
5314 changes in sbcl-1.0.14 relative to sbcl-1.0.13:
5315 * new feature: SB-EXT:*EXIT-HOOKS* are called when the process exits
5316 (see documentation for details.)
5317 * revived support for OpenBSD (contributed by Josh Elsasser)
5318 * partially fixed bug #108: ROOM no longer suffers from occasional
5319 (AVER (SAP= CURRENT END)) failures.
5320 * fixed bug #402: proclaimed non-standard declarations in DEFMETHOD
5321 bodies no longer cause a WARNING to be signalled. (reported by
5323 * bug fix: (TRUNCATE X 0) when X is a bignum now correctly signals
5324 DIVISION-BY-ZERO. Similarly for MOD and REM (which suffered due to
5325 the bug in TRUNCATE.) (reported by Michael Weber)
5326 * bug fix: SB-SPROF:REPORT no longer signals an error if there are
5327 no samples. (reported by Andy Hefner)
5328 * bug fix: functions compiled using (COMPILE NIL '(LAMBDA ...))
5329 no longer appear as (NIL ...) frames in backtraces.
5330 * bug fix: RESOLVE-CONFLICT (and the other name conflict machinery)
5331 is now actually exported from SB-EXT as documented. (reported by
5333 * bug fix: sb-aclrepl now correctly understands how to inspect
5334 single-floats on 64-bit platforms where single-floats are not boxed.
5335 * bug fix: SB-MOP:CLASS-SLOTS now signals an error if the class has not
5336 yet been finalized. (reported by Levente Meszaros)
5337 * bug fix: CLOSE :ABORT T behaves more correctly on Windows.
5338 * DESCRIBE and (DOCUMENTATION ... 'OPTIMIZE) describe meaning of
5339 SBCL-specific optimize qualities.
5341 changes in sbcl-1.0.13 relative to sbcl-1.0.12:
5342 * minor incompatible change: RUN-PROGRAM now uses execvp(3) to find
5343 an executable in the search path, and does so in the child
5344 process's PATH. The function FIND-EXECUTABLE-IN-SEARCH-PATH has
5345 been removed; it can be found in the CVS history, for somebody who
5346 needs that search behavior (see the manual).
5347 * minor incompatible change: compiler policy re. weakening type
5348 checks has changed: now type checks are weakened only if SAFETY < 2
5350 * SB-EXT:NATIVE-NAMESTRING takes a new keyword AS-FILE, forcing
5351 unparsing of directory pathnames as files. Analogously,
5352 SB-EXT:PARSE-NATIVE-NAMESTRING takes an AS-DIRECTORY, forcing a
5353 filename to parse into a directory pathname.
5354 * enhancement: implicit generic function creation now signals a
5355 specific style-warning IMPLICIT-GENERIC-FUNCTION-WARNING, which
5356 users can bind handlers for and muffle around calls to LOAD.
5357 * enhancement: RUN-PROGRAM allows unicode arguments and environments
5358 to be used (using the default stream external format), and allows
5359 non-simple strings to be used. (thanks to Harald Hanche-Olsen)
5360 * optimization: COPY-SEQ, FILL, and SUBSEQ are 30-80% faster for
5361 strings and vectors whose element-type or simplicity is not fully
5362 known at compile-time.
5363 * optimization: STRING-TRIM and related functions no longer allocate
5364 a new string when no trimming needs to be performed. These functions
5365 are also faster than before when the input string has been declared
5367 * optimization: READ-SEQUENCE on simple-strings is up to 80% faster.
5368 * optimization: READ-LINE is significantly faster for files containing
5370 * optimization: non-open coded uses of character comparison operators
5371 (e.g. char=) no longer cons when called with more than one parameter
5372 on platforms supporting dynamic-extent allocation.
5373 * bug fix: READ-SEQUENCE on composite stream wrapping a Gray stream
5374 with STREAM-ELEMENT-TYPE (UNSIGNED-BYTE 8) signalled an error.
5375 * bug fix: COPY-SEQ on lists did not signal a type-error on improper
5377 * bug fix: some sequence functions elided bounds checking when
5379 * bug fix: too liberal weakening of union-type checks when SPEED >
5381 * bug fix: more bogus fixnum declarations in ROOM implementation
5384 changes in sbcl-1.0.12 relative to sbcl-1.0.11:
5385 * new feature: MAKE-HASH-TABLE now experimentally accepts a
5386 :SYNCHRONIZED argument, which makes the hash-table safe for
5387 concurrent accesses (but not iteration.) See also:
5388 SB-EXT:WITH-LOCKED-HASH-TABLE, and
5389 SB-EXT:HASH-TABLE-SYNCHRONIZED-P.
5390 * optimization: CONCATENATE on strings is an order of magnitude faster
5391 in code compiled with (> SPEED SPACE).
5392 * optimization: SUBSEQ is ~50% faster on lists.
5393 * bug fix: bug 417 fixed -- source location reporting is now more robust.
5394 * bug fix: SUBSEQ on a list will now correctly signal an error if if
5395 END is smaller then START.
5396 * bug fix: SB-PROFILE will no longer report extra consing for nested
5397 calls to profiled functions.
5398 * bug fix: ROOM implementation had bogus fixnum declarations which
5399 could cause type-errors when calling ROOM on large images.
5400 * bug fix: if file compilation is aborted, the partial fasl is now
5401 deleted, and COMPILE-FILE returns NIL as the primary value.
5402 * bug fix: number of thread safety issues relating to SBCL's internal
5403 hash-table usage have been fixed.
5404 * bug fix: SB-SYS:WITH-PINNED-OBJECTS could cause garbage values to
5405 be returned from its body when the values were being returned
5406 using unknown-values return convection and the W-P-O was wrapped
5407 inside an UNWIND-PROTECT.
5408 * bug fix: sb-posix should now compile again under Windows, enabling
5409 slime to work again.
5411 changes in sbcl-1.0.11 relative to sbcl-1.0.10:
5412 * incompatible change: hash-table accessor functions are no longer
5413 automatically protected by locks. Concurrent accesses on the same hash-table
5414 from multiple threads can give inconsistent results or even corrupt the
5415 hash-table completely. Multi-threaded applications should do their own
5416 locking at the correct granularity. In the current implementation it is
5417 still safe to have multiple readers access the same table, but it's not
5418 guaranteed that this property will be maintained in future releases.
5419 * minor incompatible change: (SETF MUTEX-VALUE) is not longer supported,
5420 and will signal an error at runtime.
5421 * enhancement: SB-THREAD package now exports a semaphore interface.
5422 * enhancement: CONS can now stack-allocate on x86 and
5423 x86-64. (Earlier LIST and LIST* supported stack-allocation, but
5425 * enhancement: nested lists can now be stack allocated on
5426 platforms providing stack allocation support.
5427 * enhancement: dynamic-extent support has been extended to support
5428 cases where there are multiple possible sources for the stack
5430 * optimization: RELEASE-MUTEX no longer needs to perform a syscall
5431 if the mutex is uncontested on Linux.
5432 * bug fix: symbol-macro expansion now uses the *MACROEXPAND-HOOK*
5433 as specified by the CLHS. (thanks to Tobias Rittweiler)
5434 * bug fix: NaN comparison now works on x86-64.
5435 * bug fix: CLOSE :ABORT T on a stream with pending output now
5437 * bug fix: instances of non-standard metaclasses using standard
5438 instance structure protocol sometimes missed the slot type checks
5440 * bug fix: known functions can be inlined in high-debug code.
5442 changes in sbcl-1.0.10 relative to sbcl-1.0.9:
5443 * minor incompatible change: the MSI installer on Windows no longer
5444 associates .lisp and .fasl files with the installed SBCL.
5445 * minor incompatible change: :UNIX is no longer present in *FEATURES*
5446 on Windows. (thanks to Luis Oliviera)
5447 * new feature: SB-CLTL2 contrib module now implements
5448 FUNCTION-INFORMATION. (thanks to Larry D'Anna)
5449 * optimization: scavenging weak pointers is now more efficient,
5450 requiring O(1) instead of O(N) per weak pointer to identify
5451 scanvenged vs. unscavenged pointers. (thanks to Paul Khuong)
5452 * optimization: typechecking (SETF SLOT-VALUE) is now ~5x faster in
5453 method bodies using constant slot-names when the first argument is
5454 a specializer parameter for the method.
5455 * optimization: SLOT-VALUE &co are now ~50% faster for variable slot
5456 names, when the class of the instance is a direct instance
5457 STANDARD-CLASS or FUNCALLABLE-STANDARD-CLASS (making them only 3x
5458 as slow as the constant slot-name case.)
5459 * optimization: member type construction is now O(N) instead
5461 * optimization: UNION and NUNION are now O(N+M) for large
5462 inputs as long as the :TEST function is one of EQ, EQL, EQUAL, or
5464 * enhancement: DEFINE-MODIFY-MACRO lambda-list information is
5465 now more readable in environments like Slime which display it.
5466 (thanks to Tobias C. Rittweiler)
5467 * bug fix: SB-EXT:COMPARE-AND-SWAP was non-atomic unless the compiler
5468 was able to infer the correct argument type for the object on which
5469 the CAS operation was being performed.
5470 * bug fix: copy propagation interfered with parallel assignment
5471 semantics in local calls. (reported by Paul Khuong)
5472 * bug fix: the signed modular fixnum shift compiled to wrong code on
5473 x86 and x86-64. (spotted by a slight modification to some of
5476 changes in sbcl-1.0.9 relative to sbcl-1.0.8:
5477 * minor incompatible change: SB-SYS:OUTPUT-RAW-BYTES is deprecated.
5478 * enhancement: SB-EXT:FINALIZE accepts a :DONT-SAVE keyword argument,
5479 indicating the finalizer should be cancelled when SAVE-LISP-AND-DIE
5481 * enhancement: default PRINT-OBJECT methods for classes, slot-definitions,
5482 and generic function now print the object identity for anonymous
5483 instances. (thanks to Attila Lendvai)
5484 * enhancement: as an extension to MOP, SBCL now supports SETF of
5485 STANDARD-INSTANCE-ACCESS and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
5486 (thanks to Attila Lendvai)
5487 * enhancement: sb-cover has an alternate annotation mode which puts
5488 the form annotations at the car of the form, instead of annotating
5489 it completely. The benefit of this mode is that it shows better
5490 which forms were instrumented by the compiler.
5491 * bug fix: new compiler transforms for MEMBER and ASSOC were affected
5492 by printer control variables. (reported by Dan Corkill)
5493 * bug fix: system leaked memory when delayed output was performed by
5494 the OS in smaller chunks then expected. (thanks to David Smith)
5495 * bug fix: system leaked memory when file streams were not closed
5497 * bug fix: large objects written to slow streams that were modified
5498 after the write could end up with the modified state written to
5499 the underlying file descriptor.
5500 * bug fix: multiple threads operating in parallel on the same stream
5501 could cause buffer-overflows.
5502 * bug fix: source location information is stored correctly
5503 (broken since 1.0.6). This bug would generally show up as the
5504 Slime debugger highlighting the wrong form when the sldb-show-source
5506 * bug fix: Branch forms are again annotated as branches in the sb-cover
5508 * bug fix: GCD on MOST-NEGATIVE-FIXNUM no longer causes an infinite loop
5509 on x86-64. (reported by Gregory Vanuxem)
5510 * bug fix: EQUALP could return wrong results for structures with raw
5511 slots (slots with a :TYPE of SINGLE-FLOAT, DOUBLE-FLOAT, or a machine
5512 word). (reported by Vjacheslav Fyodorov)
5513 * bug fix: sb-sprof sampling didn't work on non-x86oid platforms. (patch
5516 changes in sbcl-1.0.8 relative to sbcl-1.0.7:
5517 * enhancement: experimental macro SB-EXT:COMPARE-AND-SWAP provides
5518 atomic compare-and-swap operations on threaded platforms.
5519 * enhancement: experimental function SB-EXT:RESTRICT-COMPILER-POLICY
5520 allows assigning a global minimum value to optimization qualities
5521 (overriding proclamations and declarations).
5522 * enhancement: closed over variables can be stack-allocated on x86
5524 * performance bug fix: GETHASH and (SETF GETHASH) are once again
5526 * optimization: slot definition lookup is now O(1). This speeds up
5527 eg. SLOT-VALUE and (SETF SLOT-VALUE) with variable slot names.
5528 * optimization: STRING-TO-OCTETS is now up to 60% faster for UTF-8.
5529 * optimization: ASSOC and MEMBER can now be open-coded for all
5530 combinations of keyword arguments when second argument is constant
5531 and SPEED >= SPACE. In other cases a specialized version is
5533 * bug fix: using obsoleted structure instances with TYPEP and
5534 generic functions now signals a sensible error.
5535 * bug fix: threads waiting on GET-FOREGROUND can be interrupted.
5536 (reported by Kristoffer Kvello)
5537 * bug fix: backtrace construction is now more careful when making
5538 lisp-objects from pointers on the stack, to avoid creating bogus
5539 objects that can be seen by the GC.
5540 * bug fix: defaulting of values in contexts expecting more than 7
5541 variables now works on x86-64. (reported by Christopher Laux)
5542 * bug fix: modifications to packages (INTERN, EXPORT, etc) are now
5544 * bug fix: (SETF SYMBOL-PLIST) no longer allows assigning a non-list
5545 as the property-list of a symbol.
5546 * bug fix: DEFMETHOD forms with CALL-NEXT-METHOD in the method body,
5547 in EVAL-WHEN forms with both :COMPILE-TOPLEVEL and :LOAD-TOPLEVEL
5548 situations requested, are once again file-compileable. (reported
5551 changes in sbcl-1.0.7 relative to sbcl-1.0.6:
5552 * MOP improvement: support for user-defined subclasses of
5553 SB-MOP:SPECIALIZER has been enhanced. The experimental interface
5554 function SB-PCL:MAKE-METHOD-SPECIALIZERS-FORM, called as part of
5555 the expansion of DEFMETHOD, is responsible for generating a form
5556 which creates a list of specializers when evaluated. Additional
5557 functions SB-PCL:[UN]PARSE-SPECIALIZER-USING-CLASS provide
5558 debugging and introspective support.
5559 * minor incompatible change: the (unsupported) spinlock interface
5560 has changed: free spinlock now has the value NIL, and a held spinlock
5561 has the owning thread as its value.
5562 * enhancement: WITHOUT-INTERRUPTS now binds ALLOW-WITH-INTERRUPTS and
5563 WITH-LOCAL-INTERRUPTS as local macros. Refer to documentation string
5565 * enhancement: name of a socket-stream is now "a socket" instead of
5566 "a constant string".
5567 * enhancement: SB-POSIX now supports lockf(). (Thanks to Zach Beane.)
5568 * enhancement: SB-POSIX now supports getcwd(). (Thanks to Tassilo Horn.)
5569 * enhancement: SB-INTROSPECT:FUNCTION-ARGLIST shows nicer argument lists
5570 for generic functions. (Thanks to Tobias C. Rittweiler)
5571 * optimization: bignum printing speed has been improved by 20-40%
5572 (depending on the bignum size.)
5573 * bug fix: WITH-MUTEX and WITH-RECURSIVE-LOCK are now interrupt safe
5575 * bug fix: the cache used by the CLOS to store precomputed effective
5576 methods, slot offsets, and constant return values is now thread and
5578 * bug fix: generic function dispatch function updating is now thread
5579 and interrupt safe (in the sense that the known issues have been
5581 * bug fix: ADD/REMOVE-METHOD is now thread and interrupt safe.
5582 * bug fix: interning EQL-specializers is now thread and interrupt safe.
5583 * bug fix: asdf systems with dependencies to the SB-POSIX or
5584 SB-BSD-SOCKETS contribs can be loaded with :FORCE T.
5585 * bug fix: interrupt safety of applicable method computation has been
5588 changes in sbcl-1.0.6 relative to sbcl-1.0.5:
5589 * new contrib: sb-cover, an experimental code coverage tool, is included
5590 as a contrib module.
5591 * optimization: STRING-TO-OCTETS for unibyte encodings and UTF-8 is
5592 significantly faster.
5593 * optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
5594 produce more efficient code on x86-64 if the compiler can determine
5595 that (+ INDEX <constant>) does not require a bounds check and FOO
5596 has an element type at least 8 bits wide.
5597 * enhancement: a new, experimental synchronous timeout facility is
5598 provided. Refer to SB-SYS:WITH-DEADLINE for details.
5599 * enhancement: when a symbol name conflict error arises, the
5600 conflicting symbols are always printed with a package prefix.
5601 (thanks to Kevin Reid)
5602 * enhancement: stepping is now once again supported on the SPARC and
5603 MIPS platforms. (It is also now more likely to work on CheneyGC
5605 * enhancement: sb-sprof can now also track and report accurate call
5607 * bug fixes: the treatment of non-standard subclasses of
5608 SB-MOP:SPECIALIZER is more correct.
5609 * incompatible change: PURIFY no longer copies the data from the
5610 dynamic space into the static and read-only spaces on platforms
5611 that use the generational garbage collector
5612 * bug fix: GETHASH, (SETF GETHASH), CLRHASH and REMHASH are now
5614 * bug fix: GC race condition occasionally resulting in crashes with
5615 the error message "SIG_STOP_FOR_GC blocked at a bad place" has been
5617 * bug fix: &ENVIRONMENT variables in macro lambda lists can now be
5619 * bug fix: DEFSETF lambda lists without &ENVIRONMENT no longer cause
5620 a STYLE-WARNING to be signalled (regression from 1.0.4.)
5621 * bug fix: an asynchronous interrupt could previously leave the
5622 system running with GC inhibited.
5623 * bug fix: a DECLARE form evaluated at top-level now causes an error
5624 rather than silently (or verbosely) returning NIL.
5625 * bug fix: trying to dissassemble functions compiled at high DEBUG could
5626 result in a error being signalled due to source form lookup errors.
5627 (reported by Peter Graves)
5629 changes in sbcl-1.0.5 relative to sbcl-1.0.4:
5630 * incompatible change: removed writer methods for host-ent-name,
5631 host-ent-addresses -- changing the values did not update the DNS
5633 * minor incompatible change: changed experimental JOIN-THREAD interface
5634 * documentation: the manual now lists reader and writer methods
5635 in class slot documentation sections. (thanks to Richard M Kreuter)
5636 * documentation: unwinding from asyncronous events has been
5637 documented as unsafe.
5638 * documentation: SB-SYS:WITHOUT-GCING has been documented as unsafe
5639 in multithreaded application code.
5640 * optimization: GET-INTERNAL-REAL-TIME has been optimized on POSIX
5641 platforms. (thanks to James Anderson for the optimization hint)
5642 * optimization: REPLACE, SUBSEQ, and COPY-SEQ are now optimized in
5644 * optimization: STRING-{EQUAL,LESSP,GREATER-P} and their NOT-
5645 variants no longer cons.
5646 * optimization: Direct calls to CHAR-{EQUAL,LESSP,GREATERP} and
5647 their NOT- variants no longer cons.
5648 * optimization: EQUAL hash tables no longer use SXHASH for objects
5649 of all data types, but instead use an EQL hash for types for which
5650 EQUAL is the same as EQL.
5651 * optimization: the non-inlined generic versions of AREF and (SETF AREF)
5652 are significantly faster.
5653 * optimization: new STRING-OUTPUT-STREAM implementation is much
5654 faster for large outputs and conses 30% less on average.
5655 * enhancement: XREF information is now collected for references made
5656 to global variables using SYMBOL-VALUE and a constant argument.
5657 * enhancement: SIGINT now causes a specific condition
5658 SB-SYS:INTERACTIVE-INTERRUPT to be signalled.
5659 * bug fix: FILE-POSITION used to signal an error in some cases where
5660 ANSI requires it to return NIL.
5661 * bug fix: ADJUST-ARRAY is now interrupt-safe.
5662 * bug fix: adding and removing fd-handlers is now interrupt-safe.
5663 * bug fix: inlined calls to C now ensure 16byte stack alignment on
5665 * bug fix: bad type declaration in the CLOS implementation has
5666 been fixed. (reported by James Anderson)
5667 * bug fix: incorrect ROOM reporting on x86-64 has been fixed.
5668 (thanks to Lutz Euler)
5669 * bug fix: DEFSETF now allows &ENVIRONMENT and disallows &AUX as
5670 required by the CLHS. (reported by Samium Gromoff)
5671 * bug fix: dead unbound variable references now signal an error.
5672 (reported by Marco Monteiro)
5673 * bug fix: / with an unused value was being deleted in safe code.
5674 (thanks to Marco Monteiro and Kevin Reid)
5675 * bug fix: number of characters that can be written onto a single
5676 line in a file is unlimited.
5677 * bug fix: some GC deadlocks caused by asynchronous interrupts have
5678 been fixed by inhibiting interrupts for when GC is disabled.
5679 * bug fix: some interrupt safety issues with GETHASH, (SETF
5680 GETHASH), CLRHASH and REMHASH have been fixed.
5681 * bug fix: binding *BREAK-ON-SIGNALS* to a value that is not a type
5682 specifier no longer causes infinite recursion.
5683 * bug fix: SB-EXT:MUFFLE-CONDITIONS declarations no longer trigger a
5684 bogus warning in DEFMETHOD bodies. (reported by Kevin Reid)
5685 * bug fix: an &environment argument with the correct variable information
5686 is passed to macros that are expanded during byte compilation.
5687 (reported by Samium Gromoff)
5688 * bug fix: a logic error was causing the hash function for bignums to
5689 have excessive amounts of collisions. (reported by Faré Rideau)
5690 * bug fix: modifying the contents of an array could change the return
5691 value of SXHASH on that array, which is only allowed for strings
5692 and bit vectors. (bug introduced in 0.9.16)
5693 * improvement: the x86-64/darwin port now passes all tests (except
5694 for the debugger tests) but should still be considered
5695 experimental until this is fixed.
5696 * improvement: a style-warning is signaled for CASE (etc) clauses with
5697 duplicate keys. (thanks to Kevin Reid)
5698 * improvement: macos/x86 and macos/x86-64 now use mach exception
5699 handlers for dealing with illegal instructions (for trapping and
5700 error handling) and memory protection violations (for GC).
5702 changes in sbcl-1.0.4 relative to sbcl-1.0.3:
5703 * new platform: experimental support for x86-64/darwin (MacOS).
5704 * incompatible change: the thread-safe (on most platforms) getaddrinfo
5705 and getnameinfo sockets functions are used instead of gethostbyaddr
5706 and gethostbyname, on platforms where the newer functions are available.
5707 As a result, the ALIASES field of HOST-ENT will always be NIL on these
5709 * change: runtimes with embedded cores (i.e. saved with :EXECUTABLE T)
5710 don't print the startup banner, but behave as if --noinform was passed
5711 as a command line argument. (thanks to Kevin Reid)
5712 * new experimental feature: added JOIN-THREAD (by NIIMI Satoshi)
5713 * optimization: code using alien values with undeclared types is much faster.
5714 * optimization: the compiler is now able to open code SEARCH in more cases.
5715 * optimization: more compact typechecks on x86-64 (thanks to Lutz Euler)
5716 * bug fix: using standardized COMMON-LISP special variables as loop
5717 variables no longer signals bogus package lock violations. (reported
5719 * bug fix: declaring local loop variables to be of a range-limited type
5720 such as (SINGLE-FLOAT 1.0 2.0) no longer causes a compile-time error.
5721 (reported by Andras Simon)
5722 * bug fix: >= and <= gave wrong results when used with NaNs. (Some NaN
5723 bugs remain on x86-64.)
5724 * bug fix: the #= and ## reader macros now interact reasonably with
5725 funcallable instances.
5726 * bug fix: type-checks for function arguments were compiled using the
5727 compiler policy settings of the wrong lexical environment (in 1.0.2
5729 * bug fix: SHADOW accepts characters as string designators, as required
5730 by the spec (thanks to Eric Marsden)
5731 * bug fix: fixed GC safety issues when foreign functions are called with
5732 non-base strings as arguments
5733 * bug fix: more consistent error output for fatal-compiler-warnings, like
5735 * bug fix: functions with proper names were showing up as NIL in
5736 backtraces (reported by Edi Weitz, regression in 1.0.2)
5738 changes in sbcl-1.0.3 relative to sbcl-1.0.2:
5739 * new platform: NetBSD/PPC. (thanks to Aymeric Vincent)
5740 * optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
5741 produce more efficient code on the x86 if the compiler can determine
5742 that (+ INDEX <constant>) does not require a bounds check and FOO
5743 has an element type at least 8 bits wide.
5744 * bug fix: references to undefined variables are handled the same way
5745 in toplevel forms as in the normal compiler
5746 * bug fix: the build scripts again work with non-bash /bin/sh (thanks
5748 * bug fix: use "gtar" as the asdf-install *TAR-PROGRAM* on NetBSD
5749 (thanks to Jon Buller)
5750 * improvement: faster compilation times for complex functions
5751 * improvement: added readlink support to SB-POSIX (thanks to Richard
5754 changes in sbcl-1.0.2 relative to sbcl-1.0.1:
5755 * improvement: experimental support for mach exception handling on
5756 x86/macos. requires building with :MACH-EXCEPTION-HANDLER feature
5758 * improvement: support for GBK external format.
5759 (thanks to Chun Tian (binghe))
5760 * improvement: the debugger now displays variables that have been closed
5761 over, in code compiled with (DEBUG 2) or higher
5762 * improvement: support for executable cores on NetBSD (thanks to
5764 * new feature: added a RESTART-FRAME debugger command
5765 * new feature: new generic function SB-GRAY:STREAM-FILE-POSITION can
5766 be used to provide an implementation for FILE-POSITION on Gray streams
5767 (thanks to Eric Marsden)
5768 * new feature: add syslog, openlog and closelog support to SB-POSIX
5769 (thanks to Richard Kreuter)
5770 * optimization: the function call overhead in code compiled with
5771 a high DEBUG optimization setting is significantly
5772 * bug fix: an error is signaled for attempts to use READ-SEQUENCE
5773 for a (SIGNED-BYTE 8) stream and (UNSIGNED-BYTE 8) vector, or vice versa.
5774 (thanks to Tony Martinez)
5775 * bug fix: the initforms for DEFMETHOD &AUX parameters are only
5776 evaluated once (reported by Kevin Reid)
5777 * bug fix: the :SHOW-PROGRESS keyword parameter to SB-SPROF:WITH-PROFILING
5778 works again (thanks to Kilian Sprotte)
5779 * bug fix: an error is signaled for tagbodies with duplicate tags
5780 (thanks to Stephen Wilson)
5781 * bug fix: NIL can be used as a tagbody tag (thanks to Stephen Wilson)
5782 * bug fix: Win32 port can now handle foreign code unwinding Lisp
5783 stack frames from alien callbacks.
5784 * bug fix: ATANH returned incorrect results on win32 (thanks to Pierre Mai)
5785 * bug fix: SBCL works on Linux/ppc systems with a kernel configured to use
5786 65k pages (thanks to David Woodhouse)
5787 * bug fix: fix SB-POSIX dirent and socket on NetBSD (thanks to Richard Kreuter)
5789 changes in sbcl-1.0.1 relative to sbcl-1.0:
5790 * new platform: FreeBSD/x86-64, including support for threading.
5791 * new feature: the compiler stores cross-referencing information
5792 about function calls (who-calls), macroexpansion (who-macroexpands)
5793 and special variables (who-binds, who-sets, who-references) for code
5794 compiled with (< SPACE 3). This information is available through the
5795 sb-introspect contrib.
5796 * new feature: users may subclass SEQUENCE, and have instances of
5797 these classes interoperate with standard Common Lisp functions if
5798 a number of methods are defined. (This feature is experimental
5799 and the interface subject to change based on feedback from SBCL
5800 users and the general community)
5801 * improvement: sb-sprof traces call stacks to an arbitrary depth on
5802 x86/x86-64, rather than the previous fixed depth of 8
5803 * improvement: another pthread back-end of mutex "pthread-futex".
5804 * bug fix: non-ascii command-line arguments are processed correctly
5805 (thanks to Yaroslav Kavenchuk)
5806 * bug fix: non-required arguments were not passed correctly when a method
5807 defined using DEFMETHOD was called from a mop-generated method using
5808 CALL-NEXT-METHOD (reported by Pascal Costanza)
5809 * bug fix: recursion is now permitted in accessors through
5810 SLOT-UNBOUND. (reported by Pascal Costanza)
5811 * bug fix: an error was signaled at startup if the HOME environment
5812 variable was defined, but had an empty value (reported by Peter Van Eynde)
5813 * bug fix: non ordinary lambda-list keyword in ordinary lambda lists
5814 signal a PROGRAM-ERROR, not a BUG.
5815 * bug fix: SB-POSIX:READDIR works when built with large file support.
5816 * bug fix: ENOUGH-NAMESTRING works relative to #p"/" as well. (thanks
5818 * enhancement: DESTRUCTURING-BIND lambda-list uses &BODY instead of &REST
5819 for better automatic indentation support. (thanks to Matt Pillsbury)
5820 * optimization: loading generic functions no longer takes O(n^2) time,
5821 proportional to the amount of methods in the generic function
5822 (reported by Todd Sabin and Jeremy Brown)
5823 * optimization: the FIND and POSITION family of sequence functions
5824 are significantly faster on arrays whose element types have been
5826 * improvements to the Windows port:
5827 ** Intermittent heap corruption problems have been fixed. (thanks
5828 to Alastair Bridgewater)
5829 ** TRACE :ENCAPSULATE NIL (and function end breakpoints)
5831 ** Lisp is able to unwind foreign exception frames from alien
5832 callbacks. (thanks to Alastair Bridgewater)
5834 changes in sbcl-1.0 relative to sbcl-0.9.18:
5835 * improvement: experimental support for threading on FreeBSD/x86.
5836 (thanks to NIIMI Satoshi)
5837 * improvement: runtime option --dynamic-space-size can be used
5838 to set the size of the dynamic space reserved on startup.
5839 * improvement: floating point modes in effect are now saved in
5840 core, and restored on startup.
5841 * improvement: GET-INTERNAL-REAL-TIME now reports the time since
5842 startup, not time since first call to GET-INTERNAL-REAL-TIME.
5843 * improvement: SAVE-LISP-AND-DIE explicitly checks that multiple
5844 threads are not running after *SAVE-HOOKS* have run.
5845 * improvement: writes to CLOS instance slots are type-checked in code
5846 compiled with (SAFETY 3)
5847 * improvement: floating-point exception handling on FreeBSD (thanks to
5849 * improvement: SB-POSIX supports time(2), utime(2) and utimes(2)
5850 (thanks to Zach Beane)
5851 * improvement: support for files larger than 2GB for CL streams and SB-POSIX
5853 * improvement: added support for the Shift-JIS external format.
5854 (contributed by NIIMI Satoshi)
5855 * improvement: callbacks are supported on Linux/PPC. (thanks to
5857 * bug fix: compiler bug triggered by a (non-standard) VALUES
5858 declaration in a LET* was fixed. (reported by Kaersten Poeck)
5859 * bug fix: file compiler no longer confuses validated and already
5860 dumped structurres. (reported by Kaersten Poeck)
5861 * bug fix: ADJUST-ARRAY :FILL-POINTER T on an array without a
5862 fill-pointer signals a type-error as required. (thanks to
5864 * bug fix: disassemly of funcallable instances works.
5865 * bug fix: single stepping on PPC.
5866 * bug fix: fix thread-safety problems in the type system (generally
5867 manifesting as nonsensical errors like "STRING is a bad type specifier
5868 for sequences" or "The value 1 is not of type FIXNUM")
5869 * bug fix: version components are handled correctly in TRANSLATE-PATHNAME
5870 (reported by Josip Gracin)
5871 * bug fix: an error is signaled for attempts to displace arrays with
5872 incompatible element types (thanks to Mario Mommer)
5873 * bug fix: more correct handling of wide characters in debug info
5874 (bug reported by Attila Lendvai and fixed by Juho Snellman)
5875 * optimization: method calls with &OPTIONAL or &KEY arguments are faster
5876 and don't cause extra consing
5877 * optimization: MAP and MAP-INTO are significantly faster on vectors
5878 whose elements types have been declared.
5879 * Improvements to SB-SPROF:
5880 ** Support for allocation profiling
5881 ** Reduced profiling overhead, especially for long profiling runs
5882 * Improvements to the Windows port:
5883 ** floating point exceptions are now reported correctly.
5884 ** stack exhaustion detection works partially.
5885 ** more accurate GET-INTERNAL-REAL-TIME.
5886 ** better RUN-PROGRAM behaviour in case of errors in the child
5888 ** PROBE-FILE now simplifies pathnames correctly.
5889 ** DIRECTORY now works correctly with :WILD-INFERIORS.
5890 ** DECODE-UNIVERSAL-TIME works on times before 00:00:00 January
5891 1st 1970 (although time timezone data will be unreliable).
5892 ** Hyperbolic functions TANH, ASINH, ACOSH, and ATANH work.
5894 changes in sbcl-0.9.18 (1.0.beta?) relative to sbcl-0.9.17:
5895 * enhancement: SB-POSIX now supports cfsetispeed(3), cfsetospeed(3),
5896 cfgetispeed(3), cfgetospeed(3), and related constants. (thanks to
5898 * bug fix: two potential GC deadlocks affecting threaded builds.
5899 * bug fix: (TYPEP #\A '(NOT (MEMBER #\" #\{ #\:))) now correctly
5900 returns T (reported by Anton Kazennikov)
5901 * bug fix: the STORE-VALUE restart of CHECK-TYPE works correctly
5902 with non-variable places
5903 * bug fix: remove a race condition in the setting of
5904 funcallable-instance functions, this should make threaded CLOS
5905 code more stable against memory faults.
5906 * bug fix: corruption of specials when unbinding is interrupted by an
5907 asynchronous unwind (reported by Hannu Koivisto)
5908 * improvement: the debugger will now also display local variables that
5909 are only used once, for code compiled with a DEBUG optimization quality
5912 changes in sbcl-0.9.17 (0.9.99?) relative to sbcl-0.9.16:
5913 * feature: weak hash tables, see MAKE-HASH-TABLE documentation
5914 * incompatible change: External-format support for FFI calls. The
5915 SB-ALIEN:C-STRING no longer implies an ASCII
5916 external-format. Instead the string is subject to external-format
5917 conversion. Additionally return values of type SB-ALIEN:C-STRING
5918 are by default of type (SIMPLE-ARRAY CHARACTER), not
5919 SIMPLE-BASE-STRING. For an alien type that behaves like the old
5920 SB-ALIEN:C-STRING type, use (SB-ALIEN:C-STRING :EXTERNAL-FORMAT
5921 :ASCII :ELEMENT-TYPE BASE-CHAR). (thanks to Yaroslav Kavenchuk)
5922 * incompatible change: SB-EXT package no longer contains the
5923 following unused symbols: *GC-NOTIFY-AFTER*, *GC-NOTIFY-BEFORE*,
5924 *GC-NOTIFY-STREAM*, *ERROR-PRINT-LENGTH*, *ERROR-PRINT-LEVEL*,
5926 * incompatible change: the single-stepper is no longer available
5927 on Alpha, Mips and Sparc platforms.
5928 * minor incompatible change: the direct superclasses of
5929 SB-MOP:FUNCALLABLE-STANDARD-OBJECT are (FUNCTION STANDARD-OBJECT),
5930 not (STANDARD-OBJECT FUNCTION). This makes the
5931 class-precedence-lists of GENERIC-FUNCTION and
5932 STANDARD-GENERIC-FUNCTION comply with the requirement of ANSI
5934 * minor incompatible change: the default stream external format on
5935 non-unicode SBCL is no longer detected from the locale, but is always
5937 * new feature: Add a version of evaluator that uses an interpreter instead
5938 of the compiler. EVAL still uses the compiler by default, to switch it
5939 to use the interpreter, set the value of the variable
5940 SB-EXT:*EVALUATOR-MODE* to :INTERPRET.
5941 * minor incompatible change: the single-stepper REPL has been merged
5942 with the normal debugger (see the "Stepping" heading of the debugger help
5943 for more details). The debugger command STEP will no longer switch
5944 to the single-stepper REPL.
5945 * bug fix: ENOUGH-NAMESTRING on pathnames with no name and a pattern
5946 for a type now works.
5947 * bug fix: loading of default sysinit file works. (thanks to Leonid
5949 * bug fix: better detection of circularities in the file-compiler.
5950 (reported by Marco Monteiro)
5951 * bug fix: the CL pathname functions now work with files that have
5952 non-ASCII characters in their names (thanks to Yaroslav Kavenchuk)
5953 * bug fix: The :PTY argument for RUN-PROGRAM will now work on
5954 systems with Unix98 pty semantics.
5955 * bug fix: ASDF-INSTALL will now work with bsd tar.
5956 * bug fix: ASDF-INSTALL uses GNU tar on Solaris (thanks to Josip
5958 * bug fix: timers expiring in dead threads no longer cause a
5959 type-error (reported by Paul "Nonny Mouse").
5960 * bug fix: thanks to more lightweight single-stepper instrumentation,
5961 code compiled with (DEBUG 3) will compile and execute significantly faster,
5962 and will have more accurate type-inferencing than before
5963 * bug fix: SLOT-VALUE optimizations are no longer done on method parameters
5964 whose bindings are modified
5965 * improvements to the win32 port (thanks to Yaroslav Kavenchuk):
5966 ** bug fix: arguments to RUN-PROGRAM are escaped correctly
5967 ** replace dummy implementations of CL:MACHINE-INSTANCE and
5968 CL:SOFTWARE-VERSION with proper version
5970 changes in sbcl-0.9.16 relative to sbcl-0.9.15:
5971 * feature: implemented the READER-METHOD-CLASS and
5972 WRITER-METHOD-CLASS portion of the Class Initialization Protocol
5973 as specified by AMOP.
5974 * incompatible change: variable SB-EXT:*USE-IMPLEMENTATION-TYPES*
5976 * optimization: faster LOGCOUNT implementation on x86 and x86-64
5977 (thanks to Lutz Euler)
5978 * optimization: hashing of general arrays and vectors has been
5979 improved. (reported by Any Fingerhut)
5980 * enhancement: SB-INTROSPECT is now able to find definitions of
5981 profiled functions. (thanks to Troels Henriksen)
5982 * enhancement: compiler-macro expansion applies now to FUNCALL forms
5983 as well, allowing compiler-macros for SETF-functions to expand.
5984 * enhancement: step-instrumentation no longer wraps known
5985 single-value functions with multiple-value context, allowing
5986 better type inference.
5987 * fixed bug #337: use of MAKE-METHOD in method combination now works
5988 even in the presence of user-defined method classes. (reported by
5989 Bruno Haible and Pascal Costanza)
5990 * fixed bug #339(c): if there are applicable methods not part of any
5991 long-form method-combination group, call INVALID-METHOD-ERROR.
5992 (reported by Bruno Haible)
5993 * fixed bug #361: the :FUNCTION initarg in the protocol for
5994 initialization of methods can now be used to override
5995 internally-produced optimized functions. (reported by Bruno
5997 * bug fix: extensions of MAKE-METHOD-LAMBDA which wrap the
5998 system-provided lambda expression no longer cause warnings about
5999 unbound #:|pv-table| symbols.
6000 * bug fix: improved the handling of type declarations and the
6001 detection of violations for keyword arguments with non-constant
6003 * bug fix: potentially erronous calls to PATHNAME and
6004 MERGE-PATHNAMES were being flushed in some cases.
6005 (reported by Richard Kreuter)
6006 * bug fix: compiled calls to TYPEP were mishandling obsolete
6007 instances. (reported by James Bielman and Attila Lendvai)
6008 * bug fix: format strings with ~> without matching ~< no longer
6009 trigger an AVER, but signal an understandable error instead.
6010 (reported by Antonio Martinez)
6011 * bug fix: specifying an output-file without a pathname-type for
6012 COMPILE-FILE or COMPILE-FILE-PATHNAME resulted in using the type
6013 of input-file instead of "fasl". (reported by Robert Dodier)
6014 * bug fix: compiler-macro lambda-list parsing of FUNCALL forms.
6015 (reported by James Y Knight).
6016 * bug fix: compiler-macros-function did not consider the environment
6017 argument for shadowing by local functions.
6018 * bug fix: compiler-macros expansion was inhibited by local INLINE
6020 * bug fix: inline expansions of known functions were subject to
6021 step-instrumentation in high debug policies, leading to problems
6022 with type-inference.
6023 * bug fix: compiler failed to differentiate between different CONS
6024 types in some cases.
6025 * bug fix: fixed input, output and error redirection in RUN-PROGRAM
6026 for win32. (thanks to Mike Thomas and Yaroslav Kavenchuk)
6027 * bug fix: #368: incorrect use of expressed vs. upgraded array
6029 * bug fix: #306a: more precise unions of array types.
6030 * thread-safety improvements:
6031 ** CONDITION-WAIT could return early on Linux, if the thread was
6032 interrupted and subsequently continued with SIGCONT.
6033 ** STABLE-SORT and ADJUST-ARRAY were not reentrant.
6035 changes in sbcl-0.9.15 relative to sbcl-0.9.14:
6036 * added support for the ucs-2 external format. (contributed by Ivan
6038 * minor incompatible change: pretty printing of objects of type
6039 (cons symbol) is, in the default pprint-dispatch-table, now
6040 sensitive to whether the symbol satisfies FBOUNDP. (thanks to
6042 * minor incompatible change: SB-MOP:FINALIZE-INHERITANCE is now
6043 called later in a class's lifetime, possibly as late as when the
6044 first instance of the class is created. Previously,
6045 SB-MOP:FINALIZE-INHERITANCE was called by the system as soon as a
6046 class became finalizeable.
6047 * fixed bug: FILE-POSITION sometimes returned inconsistent results
6048 for multibyte external-format streams. (thanks to "vbzoli")
6049 * fixed bug: CHANGE-CLASS would fail to preserve the values of slots
6050 with :ALLOCATION :CLASS inherited from superclasses of the
6052 * fixed bug: anonymous classes can now be created using the :NAME
6053 initarg and MAKE-INSTANCE / REINITIALIZE-INSTANCE, as specified by
6054 AMOP. (reported by Leonid Slobodov on comp.lang.lisp)
6055 * fixed bug: core-files saved with :EXECUTABLE T can again be
6056 executed when SBCL_HOME isn't set. (reported by James Knight)
6057 * fixed bug: toplevel LOCALLY forms with declarations could
6058 occasionally get miscompiled. (reported by Yaroslav Kavenchuk)
6059 * fixed bug: printing from several different threads using different
6060 values of *print-case* could cause invalid output, due to
6061 some internal special variables of the printer not being bound
6062 thread-locally (reported by Max Mikhanosha)
6063 * fixed bug: SPECIALIZER metaobjects (including anonymous classes
6064 and EQL-SPECIALIZERs) can be used as specializers to DEFMETHOD.
6065 (reported by Pascal Costanza)
6066 * fixed bug: FINALIZE-INHERITANCE is called from
6067 REINITIALIZE-INSTANCE on classes when the class has previously
6068 been finalized, as required by AMOP.
6069 * minor code generation optimizations:
6070 ** better register allocation in CLOS dispatching functions
6071 ** overflow detection when coercing signed bytes to fixnums on x86-64
6072 ** is now implemented with one IMUL instruction instead of three shifts
6073 ** more efficient bit-vector access on x86 and x86-64
6074 ** more efficient access to raw structure slots on x86 and x86-64
6075 * fixed some bugs revealed by Paul Dietz' test suite:
6076 ** ENSURE-DIRECTORIES-EXIST.8: ENSURE-DIRECTORIES-EXIST must
6077 return its argument.
6079 changes in sbcl-0.9.14 relative to sbcl-0.9.13:
6080 * feature: thread support on Solaris/x86, and experimental thread support
6082 * feature: SBCL now tries to signal a STORAGE-CONDITION when running out
6084 * feature: SBCL now provides USE-VALUE and STORE-VALUE restarts in the
6085 default method for SLOT-UNBOUND.
6086 * minor incompatible change: prevent the user from specializing the
6087 new-value argument to SB-MOP:SLOT-VALUE-USING-CLASS. It's
6088 somewhat counter to the intent of the protocol, I (CSR) think, and
6089 additionally it just doesn't work in SBCL as currently
6090 implemented, thanks to optimizations (that are always valid for
6091 the other three SLOT-VALUEish functions, but not for the setter).
6092 * minor incompatible change: the :SB-LDB feature is now enabled by
6093 default, and DISABLE-DEBUGGER and ENABLE-DEBUGGER also affect
6094 the low-level debugger.
6095 * enchancement: RUN-PROGRAM is now able to extract the file-descriptor
6096 from SYNONYM-STREAM and TWO-WAY-STREAM provided they can be decomposed
6097 down to an SB-SYS:FD-STREAM, allowing direct communication in
6098 more cases. Temporary files and pipes are still used as a fallback
6100 * thread-safety: DECODE-UNIVERSAL-TIME & GET-DECODED-TIME depended
6101 on the non-reentrant C functions localtime(3) and gmtime(3).
6102 * bug fix: global optimization policy was not visible in LOCALLY and
6104 * bug fix: class objects can be used as specializers in methods.
6105 (reported by Pascal Costanza)
6106 * bug fix: native unparsing of pathnames with :DIRECTORY NIL failed
6107 with a type error. (reported by blitz_ on #lisp)
6108 * bug fix: unparsing logical pathnames with :NAME :WILD :TYPE NIL
6109 failed with a type error. (reported by Pascal Bourguignon)
6110 * bug fix: merging pathnames against defaults with :DIRECTORY
6111 starting with '(:RELATIVE :BACK) should preserve the :BACK.
6112 (reported by James Y Knight)
6113 * bug fix: saving large (>2GB) cores on x86-64 now works
6114 * bug fix: a x86-64 backend bug when compiling (setf aref) with a
6115 constant index and a (simple-array (signed-byte 32)) array
6116 * bug fix: NAME-CHAR on an invalid symbol no longer signals an
6117 error (patch by Robert J. Macomber)
6118 * feature: TIME now displays the amount of run-time spent in GC
6119 * bug fix: The debugger now does a better job of respecting
6120 (PUSH '(*PRINT-CIRCLE* . T) SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*)
6121 when printing SB-DEBUG:*DEBUG-CONDITION*. (This is a debugger-only
6122 workaround for bug 403.)
6123 * bug fix: floating point exception handling now works on FreeBSD
6124 (thanks to NIIMI Satoshi)
6125 * fixed some bugs revealed by Paul Dietz' test suite:
6126 ** MISC.641: LET-conversion were not supposed to work in late
6128 * improvements to the Win32/x86 port:
6129 ** GET-INTERNAL-RUN-TIME implemented, thanks to Frank Buss.
6130 ** improved SB-BSD-SOCKETS support, thanks to Timothy Ritchey.
6132 changes in sbcl-0.9.13 relative to sbcl-0.9.12:
6133 * new feature: source path information is generated for macro-expansion
6134 errors for use in IDE's like Slime (thanks to Helmut Eller)
6135 * bug fix: calls to the compiler no longer modify *RANDOM-STATE*
6136 * bug fix: compiler does not loop forever on an invalid type in
6138 * improvement: compilation of most CLOS applications is significantly
6140 * optimization: added a limited bytecode compiler for simple toplevel
6141 forms, speeding up compilation and FASL loading
6142 * bug fix: the statistical profiler now properly distinguishes anonymous
6145 changes in sbcl-0.9.12 relative to sbcl-0.9.11:
6146 * minor incompatible change: in sbcl-0.9.11 (but not earlier
6147 versions) SB-MOP:FINALIZE-INHERITANCE would recursively descend
6148 into subclasses of the finalized class. Now user calls to
6149 FINALIZE-INHERITANCE finalize just the one class, and calls by the
6150 system return before any subclasses are finalized.
6151 * minor incompatible change: The reader no longer ignores errors
6152 regarding non-existent packages in #+ and #- feature tests.
6153 * new feature: command line options --no-sysinit, --no-userinit to
6154 inhibit loading the corresponding init files
6155 * new feature: add a generic function SOCKET-SEND to SB-BSD-SOCKETS,
6156 for sending data through UDP sockets (thanks to François-René Rideau)
6157 * minor incompatible change: SIGPIPE is ignored and "Broken pipe"
6158 error is signalled instead (thanks to François-René Rideau)
6159 * minor incompatible change: Error signalling behaviour of lexical
6160 operations violating package locks has changed slightly. Refer to
6161 documentation on package locks for details.
6162 * enhancement: EVAL can process IF-expressions without resorting to the
6164 * bug fix: Some operations involving SIN, COS, or TAN weren't being
6165 constant-folded properly due to missing out-of-line functions.
6166 (reported by Mika PihlajamÀki)
6167 * bug fix: LISTEN sometimes returned T even in cases where no data was
6168 immediately available from the stream
6169 * fixed bug: types of the last two arguments to SET-SYNTAX-FROM-CHAR
6170 were reversed. (reported by Levente MĂ©szĂĄros)
6171 * fixed bug: Tests for the (VECTOR T) type gave the wrong answer
6172 when given a vector displaced to an adjustable array. (reported
6174 * bug fix: derivation of float boundaries from numbers outside the
6175 appropriate float range (reported by John Wiseman)
6176 * bug fix: MAKE-LOAD-FORM-SAVING-SLOTS accepts en empty slot name
6178 * bug fix: precomputing cache entries for generic functions with
6179 some subclasses of specializers as yet invalid does not attempt to
6180 fill a cache line with a negative offset. (reported by Levente
6182 * improvements to DOCUMENTATION for TYPE and STRUCTURE doc-types:
6183 allow condition class objects as arguments to DOCUMENTATION and
6184 (SETF DOCUMENTATION); only find and set documentation for
6185 structure names for the STRUCTURE doc-type. (suggested by Gary
6187 * improvements to the Win32/x86 port:
6188 ** (user-homedir-pathname) and default initialization file
6189 locations now know about the user's "Documents and Settings"
6190 directory (thanks to Yaroslav Kavenchuk)
6191 ** run-program is implemented (thanks to Mike Thomas)
6192 ** sockets support (thanks to Timothy Ritchey)
6193 ** better backtrace support (thanks to Alastair Bridgewater)
6194 ** sb-grovel supported
6195 ** asdf-install and sb-posix work somewhat
6196 ** capable of running Slime using SWANK:*COMMUNICATION-STYLE* NIL
6197 * improvements to the Solaris/x86 port:
6198 ** works on Solaris 11/Solaris Express
6199 ** floating-point exception handling support
6200 ** support for the breakpoint-based TRACE :ENCAPSULATE NIL facility
6201 * fixed some bugs revealed by Paul Dietz' test suite:
6202 ** REMOVE-METHOD returns its generic function argument even when
6203 the method is not one of the generic functions' methods.
6204 ** objects declared as MEMBER types can be admissible arguments to
6205 structure accessors.
6206 ** printing characters should simply be printed by the FORMAT ~:C
6208 ** compiler failure when compiling functions with hairy constant
6209 defaults for optional parameters.
6210 ** compiler produces wrong code when MAYBE-INLINE-expanding a
6211 function, which is already optimized.
6213 changes in sbcl-0.9.11 relative to sbcl-0.9.10:
6214 * new platform: experimental support for SBCL x86/Darwin, including
6215 MacOS X 10.4.5 on Intel.
6216 * new feature: Unicode character names are now known to the system
6217 (through CHAR-NAME and NAME-CHAR).
6218 * new feature: the filesystem location of SBCL's core file is
6219 exposed to lisp through the variable SB-EXT:*CORE-PATHNAME*.
6220 * minor incompatible change: the contrib modules SB-POSIX and
6221 SB-BSD-SOCKETS no longer depend on stub C libraries; the intent of
6222 this change is to make it easier to distribute
6223 location-independent binaries.
6224 * bug fix: as implied by AMOP, standardized classes no longer have
6225 slots named by external symbols of public packages. (reported by
6227 * optimization: calling functions via constant symbols -- as in
6228 (FUNCALL 'FOO) -- is now roughly as efficient as calling them
6229 via the function object as in (FUNCALL #'FOO).
6230 * optimization: on x86 and x86-64, the calling convention for the
6231 case of dealing with an unknown number of values has been altered
6232 to be friendlier to the prediction heuristics implemented,
6233 particularly with reference to CALL and RET pairing. (thanks to
6234 Alastair Bridgewater)
6235 * optimization: on x86, the code for access to thread-local symbol
6236 values and binding/unbinding of thread-local symbols is smaller.
6237 (thanks to Alastair Bridgewater)
6238 * enhancement: CONSTANTP is now able to determine constantness of
6239 more complex forms, including calls to constant-foldable standardized
6240 functions and some special forms beyond QUOTE.
6241 * fixed bug: occasional GC crashes on Solaris/x86
6242 * optimization: x86-64 supports stack allocation of results of simple
6243 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT
6244 * enchancement: the PROCESS-INPUT and -OUTPUT streams created by
6245 SB-EXT:RUN-PROGRAM can be used for both character and byte IO
6246 (thanks to James Knight)
6247 * fixed bug: CL:LISTEN always returns NIL at end of file, as required
6248 by the standard (thanks to Stephen Compall)
6250 changes in sbcl-0.9.10 relative to sbcl-0.9.9:
6251 * new feature: new SAVE-LISP-AND-DIE keyword argument :EXECUTABLE can
6252 be used for bundling the runtime and the core file into one
6253 executable binary. This feature is not currently supported on all SBCL
6254 platforms. (thanks to James Bielman and NIIMI Satoshi)
6255 * new feature: a generational or ephemeral garbage collector is now
6256 the default on the PowerPC platform (both Linux and Darwin). The
6257 old Cheney (stop and copy) collector is a build-time option.
6258 (thanks to Cyrus Harmon, after Raymond Toy)
6259 * minor incompatible change: the method by which SBCL finds its
6260 contributed modules has changed; it no longer relies on symbolic
6261 links from an $SBCL_HOME/systems directory, but searches directly
6262 in the subdirectories of $SBCL_HOME.
6263 * enhancement: the dynamic heap size on the Linux/PPC platform is
6264 markedly larger, even using the older Cheney garbage collector.
6265 * fixed bug #399: full call to DATA-VECTOR-REF in accesses to
6266 certain complicated string types. (reported by Gary King)
6267 * fixed bug: STRING-TO-OCTETS and OCTETS-TO-STRING did not convert
6268 character codes. (thanks to Yaroslav Kavenchuk and Ivan Boldyrev)
6269 * fixed bug: DOCUMENTATION on structures no longer signals an
6270 error if no structure type of the right name exists. (reported by
6272 * fixed bug: compiled calls to MAKE-INSTANCE where there is an
6273 applicable non-standard primary or :AROUND method on
6274 INITIALIZE-INSTANCE or SHARED-INITIALIZE and a non-keyword initarg
6275 no longer cause unbound variable errors. (reported by Kevin Reid)
6276 * fixed bug: metacircle resolution in cases where methods have slots
6277 added before the slots from STANDARD-METHOD. (reported by Jean
6279 * fixed bug: the Power PC assembly code for calling into lisp
6280 sometimes computed its return address wrongly (depending on the
6281 15th bit of the address, fixed at link time). This used to
6282 manifest itself in a segmentation violation while building PCL.
6283 (reported by Kevin Rosenberg, Eric Marsden, Lars Brinkhoff and
6284 many others over the years)
6285 * fixed bug: ROOM no longer reports silly numbers for stack usage if
6286 the stack pointer (treated as a signed integer) is negative.
6287 (thanks to Peter van Eynde)
6289 changes in sbcl-0.9.9 relative to sbcl-0.9.8:
6290 * new platform: experimental support for the Windows operating
6291 system has been added. (thanks to Alastair Bridgewater)
6292 * fixed several bugs in and robustified the PPC FFI (including
6293 callbacks). (thanks to Cyrus Harmon and Heiner Schwarte)
6294 * bug fix: allow non-simple string symbol names (reported by Paul
6296 * bug fix: interrupt handling on NetBSD (thanks to Richard M
6298 * bug fix: saving a core corrupted callbacks on x86/x86-64
6299 * bug fix: closed a loophole in metacircularity detection and
6300 grounding in the PCL implementation of CLOS.
6301 * bug fix: TRUENAME on "/" no longer returns a relative pathname.
6302 (reported by tomppa on #lisp)
6303 * bug fix: clear the direction flag on Lisp -> C transitions, as
6304 required by the x86-64 ABI. Fixes mysterious GC crashes on SuSE.
6305 (reported by Andrej Grozin and Hendrik Maryns)
6306 * optimization: major improvements to GC efficiency on GENCGC platforms
6307 * optimization: faster implementation of EQUAL
6308 * optimization: emit more efficient opcodes for some common
6309 immediate->register MOV instructions on x86-64. (thanks to Lutz Euler)
6310 * optimization: several other minor code-generation improvements on x86-64
6311 * fixed segfaults on x86 FreeBSD 7-current. (thanks to NIIMI Satoshi)
6313 changes in sbcl-0.9.8 relative to sbcl-0.9.7:
6314 * minor incompatible change: (SETF CLASS-NAME) and (SETF
6315 GENERIC-FUNCTION-NAME) are generic functions once more (reverting
6316 the change in the 0.9.7 release). (SETF CLASS-NAME) is specified
6317 by ANSI as a generic function, and for consistency (SETF
6318 GENERIC-FUNCTION-NAME) is treated likewise.
6319 * fixed bug #233.b: make constraint propagation notice when a variable
6320 value is changed after it is referenced but before it is used
6321 * fixed bug #296: no more arbitrary behaviour from filenames with
6322 odd characters as --load arguments. (reported by Adam Warner)
6323 * fixed bug #390: :CHARACTER-SET pathname components now work as
6324 expected. (reported by Tim Daly Jr)
6325 * fixed bug #391: complicated :TYPE intersections in slot
6326 definitions no longer cause an error in PCL internals.
6327 * fixed bug #392: plugged a hole in the obsolete-instance protocol.
6328 * bug fix: FILE-STRING-LENGTH is now external-format sensitive,
6329 returning the number of octets which would be written to the
6330 file-stream. (thanks to Robert J. Macomber)
6331 * bug fix: the SB-SIMPLE-STREAMS contrib passes external-format
6332 arguments to the internal stream functions. (thanks to David
6334 * bug fix: stack exhaustion is now handled on the x86/SunOS
6335 platform. (thanks to Daisuke Homma)
6336 * bug fix: more accurate ROOM results on GENCGC platforms
6337 * optimization: improved type inference for arithmetic-for
6338 index variables in LOOP
6339 * optimization: faster floating-point SQRT on x86-64
6340 * fixed some bugs revealed by Paul Dietz' test suite:
6341 ** DOCUMENTATION returns NIL instead of "" for method combinations
6342 that don't have a docstring
6344 changes in sbcl-0.9.7 relative to sbcl-0.9.6:
6345 * minor incompatible change: (SETF CLASS-NAME) and (SETF
6346 GENERIC-FUNCTION-NAME) are no longer generic functions, and
6347 therefore are not customizeable by user code (as seems to be at
6348 least permitted and maybe required by AMOP). As a consolation,
6349 however, the SBCL implementation of these functions now calls
6350 REINITIALIZE-INSTANCE as specified by AMOP.
6351 * bug fix: slot-definition documentation is propagated as per ANSI
6352 7.6.2 to EFFECTIVE-SLOT-DEFINITIONS.
6353 COMPUTE-EFFECTIVE-SLOT-DEFINITION now receives a :DOCUMENTATION
6354 argument, as do eslotd initialization methods. (from Pascal
6355 Costanza's "Closer" project)
6356 * bug fix: REINITIALIZE-INSTANCE on generic functions calls
6357 COMPUTE-DISCRIMINATING-FUNCTION (almost) unconditionally, as
6359 * bug fix: it is now possible to have more than one subclass of
6360 STANDARD-GENERIC-FUNCTION without causing stack overflow.
6361 (reported by Bruno Haible, Pascal Costanza and others)
6362 * bug fix: the dependent update protocol now works for generic
6363 functions. (thanks to Gerd Moellmann; reported by Bruno Haible
6364 and Pascal Costanza)
6365 * bug fix: condition-class instances corresponding to
6366 DEFINE-CONDITION forms are now created eagerly. (reported by
6367 Kalle Olavi Niemitalo on comp.lang.lisp)
6368 * bug fix: floating point printing is more accurate in some
6369 circumstances. (thanks to Simon Alexander)
6370 * bug fix: *COMPILE-FILE-PATHNAME* now contains the user's pathname
6371 merged with *DEFAULT-PATHNAME-DEFAULTS*.
6372 * bug fix: callbacks on OS X now preserve stack-alignment.
6373 (thanks to Cyrus Harmon)
6374 * enhancement: the x86-64 disassembler is much better at
6375 disassembling SSE instructions. (thanks to Lutz Euler)
6376 * enhancement: CHECK-TYPE on a variable now allows type-inference
6377 (thanks to Vincent Arkesteijn)
6378 * optimization: improved performance of EUC-JP external format.
6379 (thanks to NIIMI Satoshi)
6380 * optimization: performance improvements to IO on file streams of
6381 :ELEMENT-TYPE CHARACTER
6382 * optimization: much faster memory allocation on x86-64
6383 * optimization: faster garbage collections (latency and throughput)
6385 * optimization: faster bignum subtraction and division on x86 and x86-64
6386 (thanks to Lutz Euler)
6387 * optimization: more accurate type-inference for loops that use a
6388 floating point index variable or a negative step.
6390 changes in sbcl-0.9.6 relative to sbcl-0.9.5:
6391 * bug fix: add a workaround to SBCL looping infinitely at startup on
6392 Linux kernels with apparently buggy implementations of personality().
6393 (thanks to Svein Ove Aas)
6394 * bug fix: Unicode symbols are correctly printed in LDB backtraces
6395 (thanks to David Lichteblau)
6396 * bug fix: local bindings shadow global symbol macros for
6397 macroexpansion. (reported by Matthew D Swank on comp.lang.lisp)
6398 * optimization: non-open coded uses of numeric comparison operators
6399 (e.g. >) no longer cons when called with more than one parameter
6400 on platforms supporting dynamic-extent allocation.
6401 * enhancement: saving cores with foreign code loaded is now supported
6402 on MIPS/Linux in addition to the previously supported platforms.
6403 * bug fix: FIND-RESTART now tests for activity, not applicability when given
6404 a restart object as identifier. (reported by Helmut Eller for CMUCL)
6405 * bug fix: division by zero in sb-sprof when no samples were collected
6406 * bug fix: a race when a slow to arrive sigprof signal killed sbcl
6407 * bug fix: asdf-install uses CRLF as required by the HTTP spec.
6408 (thanks to Alexander Kjeldaas)
6409 * new feature: ignoring the return values of destructive functions
6410 like NREVERSE signals a compile-time style-warning.
6411 (thanks to Kevin Reid)
6412 * new feature: the alignment of alien structure fields can be
6413 explicitly specified. (thanks to Cyrus Harmon)
6414 * bug fix: run cleanup forms (in all threads) when receiving a SIGTERM
6415 and dump core on SIGQUIT
6417 ** incompatible change: threads do not inherit values of specials
6418 from their parents (see manual)
6419 ** bug fix: threads stacks belonging to dead threads are freed by the
6420 next exiting thread, no need to gc to collect thread stacks anymore
6421 ** minor incompatible change: INTERRUPT-THREAD-ERROR-ERRNO removed
6422 ** WITH-RECURSIVE-LOCK can be nested in a WITH-MUTEX for the same lock
6423 ** bug fix: dynamic variable and thread start related gc lossage
6424 ** bug fix: job control (SIGSTOP/SIGCONT) no longer confuses threads
6426 * fixed some bugs revealed by Paul Dietz' test suite:
6427 ** SUBTYPEP is slightly more accurate on heinously complicated
6428 CONS types where some of the members have uncertain (in the
6429 NIL, NIL sense) type relationships to each other.
6431 ** Cores produced by SAVE-LISP-AND-DIE on GENCGC platforms are
6432 no longer purified unless :PURIFY T is explicitly specified.
6433 ** Non-purified cores are significantly smaller than before
6435 changes in sbcl-0.9.5 relative to sbcl-0.9.4:
6436 * new feature: timers based on Zach Beane's excellent timer package
6437 * added support for the following external formats: koi8-u,
6438 x-mac-cyrillic, cp437, cp850, cp852, cp855, cp857, cp860, cp861,
6439 cp862, cp863, cp864, cp865, cp866, cp869, cp874, iso-8859-2,
6440 iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7,
6441 iso-8859-8, iso-8859-9, iso-8859-10, iso-8859-11, iso-8859-13,
6442 iso-8859-14, cp1250, cp1251, cp1252, cp1253, cp1254,
6443 cp1255,cp1256, cp1257, cp1258 (contributed by Ivan Boldyrev)
6444 * incompatible change: a threaded SBCL will no longer revert to
6445 non-threaded mode on non-NPTL systems, but refuse to start entirely.
6446 * bug fix: interrupts are disabled until startup is complete; no
6447 more sigsegvs when receiving a signal to soon
6448 * optimization: faster 32-bit SB-ROTATE-BYTE:ROTATE-BYTE on non-x86/ppc
6450 * bug fix: add a workaround for the memory randomization features in
6451 Linux kernels >= 2.6.12 that interfere with SBCL's memory maps. This
6452 workaround will only be in effect on systems with the proc filesystem
6454 * bug fix: printing objects of type HASH-TABLE signals a
6455 PRINT-NOT-READABLE error when *READ-EVAL* is NIL. (reported by
6457 * bug fix: GET-INTERNAL-REAL-TIME now works even for processes that
6458 have been running for over 50 days. (reported by Gilbert Baumann)
6459 * bug fix: the logic for getting names of functions gets less
6460 confused when confronded with alternate-metaclass
6461 funcallable-instances. (reported by Cyrus Harmon)
6462 * bug fix: FUNCTIONP and (LAMBDA (X) (TYPEP X 'FUNCTION)) are now
6463 consistent, even on internal alternate-metaclass objects.
6464 * bug fix: flush closure information collected by physical
6465 environment analysis prepass before the main pass. (bug reported
6467 * bug fix: compiler pack phase does not modify a hashtable, which is
6468 iterated. (reported by Bryan O'Connor, fixed by Rob MacLachlan)
6469 * bug fix: backquote does not optimize (LIST* x y) to CONS when x
6470 may be expanded. (reported by Alexander <malishev> on c.l.l)
6471 * bug fix: no more style-warnings when compiling code using LAST
6472 under high-SPEED low-SPACE settings. (reported by David Wallin
6474 * fixed some incompatibilities between SBCL's MOP and the MOP
6476 ** the METAOBJECT class is now implemented;
6477 ** FUNCALLABLE-STANDARD-OBJECT is now a subclass of
6478 STANDARD-OBJECT, as required;
6479 ** the classes STANDARD-CLASS and FUNCALLABLE-STANDARD-CLASS are
6480 now compatible (as required by VALIDATE-SUPERCLASS); there
6481 remains a consistency requirement over the presence or absence
6482 of the FUNCTION class in the superclass list of finalized
6483 classes; see the manual for more details;
6484 ** the :AROUND method for COMPUTE-SLOTS on
6485 FUNCALLABLE-STANDARD-CLASS now honours the primary method's
6486 requested slot ordering.
6488 ** bug fix: parent thread now can be gc'ed even with a live
6490 ** bug fix: binding a special with PROGV to no value is not
6491 the same as that symbol not having been bound (thanks to
6493 ** bug fix: binding specials is thread safe (thanks to
6495 ** bug fix: interrupt handlers are now per-process, RUN-PROGRAM
6496 and SB-SPROF do not die with 'no handler for signal XX in
6497 interrupt_handle_now(..)' anymore
6498 ** bug fix: WITH-TIMEOUT works with multiple running threads
6499 * fixed some bugs revealed by Paul Dietz' test suite:
6500 ** ENSURE-GENERIC-FUNCTION should take a method class object for
6501 the :method-class keyword argument.
6503 changes in sbcl-0.9.4 relative to sbcl-0.9.3:
6504 * new port: the Solaris operating system on x86 processors is now
6505 mostly supported, though some rough edges in the environment
6506 remain. (thanks to Daisuke Homma)
6507 * enhancement: SBCL on MIPS platforms now has a much larger dynamic
6508 space for its heap. (thanks to Thiemo Seufer)
6509 * optimization: SBCL on MIPS platforms now supports dynamic-extent
6510 closures. (thanks to Thiemo Seufer)
6511 * minor incompatible change: eof selects abort in the debugger.
6512 * minor incompatible change: *INVOKE-DEBUGGER-HOOK* is run before
6513 *DEBUGGER-HOOK* => *DEBUGGER-HOOK* is not run when the debugger
6515 * minor incompatible change: SB-KERNEL:INSTANCE-LAMBDA is
6516 deprecated, and will go away in a future revision of SBCL.
6517 * minor incompatible change: GC-ON and GC-OFF are no longer
6518 implemented with a counter, it does not matter how many times gc
6519 is switched on or off
6520 * bug fix: discriminating functions for generic function classes
6521 with non-standard methods for COMPUTE-APPLICABLE-METHODS no longer
6522 make invalid assumptions about method precedence order. (reported
6524 * bug fix: TRUNCATE now correctly signals division by zero on MIPS
6525 platforms. (thanks to Thiemo Seufer)
6526 * bug fix: degree sign (<U00B0>) could not be encoded in KOI8-R.
6527 * bug fix: correct pathname printing with printer escaping is on.
6528 (thanks to Kevin Reid)
6529 * bug fix: complex VOP definitions in "user-space" no longer trigger
6530 package locks. (reported by Zach Beane)
6531 * fixed bug 343: SB-KERNEL:INSTANCE-LAMBDA is no longer necessary
6532 for funcallable-instance functions, and is no different from
6534 * bug fix: PARSE-INTEGER no longer depends on the whitespaceness of
6535 characters in the current readtable. (reported by Nicholas Neuss)
6536 * bug fix: SUBTYPEP on various CONS types returns more a more
6537 accurate acknowledgment of its certainty.
6538 * optimizations: REMOVE-DUPLICATES now runs in linear time on
6539 lists in some cases. This partially fixes bug 384.
6540 * flush all standard streams before prompting in the REPL and the
6542 * bug fix: signal handling and triggering gc do not conflict
6543 directly anymore, in particular a high frequency sb-sprof does
6544 not prevent gc from running
6545 * bug fix: DECODE-UNIVERSAL-TIME now uses a more reasonable
6546 approximation for timezone and DST information between the
6547 universal time epoch and the smallest negative 32-bit time_t.
6548 * bug fix: ENCODE-UNIVERSAL-TIME no longer errors when passed the
6549 year 1899 so long as the encoded time is non-negative.
6550 * bug fix: on the x86 platform, SB-ROTATE-BYTE:ROTATE-BYTE returns
6551 the correct answer for non-constant rotate amounts when performing
6552 an inline 32-bit rotation.
6554 ** bug fix: RELEASE-FOREGROUND doesn't choke on session lock if
6555 there is only one thread in the session
6556 ** bug fix: memory leak for streams created in one thread and
6557 written to in another
6558 ** bug fix: lockup when compiled with gcc4
6559 ** bug fix: race that allows the gc to be triggered when gc is
6561 ** bug fix: one less memory fault in INTERRUPT-THREAD, again
6562 ** bug fix: gc and INTERRUPT-THREAD don't hang when the RT signal
6564 ** bug fix: finished threads are gc'ed properly
6565 * fixed some bugs revealed by Paul Dietz' test suite:
6566 ** CALL-NEXT-METHOD signals an error (in safe code) when the call
6567 has arguments with a different set of applicable methods from
6568 the orignal arguments.
6569 ** The type error thrown by MAP now has a correct expected-type
6571 ** DISASSEMBLE now throws a TYPE-ERROR when its argument does not
6572 name a compiled function.
6573 ** Three MISC tests where a large bignum was improperly coerced to
6574 a float that couldn't represent that bignum during type
6575 derivation were fixed.
6576 ** SUBTYPEP can now handle types involving the negation of a
6577 list-form FUNCTION type.
6578 ** SUBTYPEP also now handles certain COMPLEX type specifiers such
6579 as (COMPLEX (AND RATIO (NOT FIXNUM))).
6580 ** READ-BYTE and WRITE-BYTE no longer take stream designators.
6582 changes in sbcl-0.9.3 relative to sbcl-0.9.2:
6583 * New feature: Experimental support for bivalent streams: streams
6584 opened with :element-type :default now allow character and binary
6585 (unsigned-byte 8) I/O
6586 * Support for the koi8-r external format. (thanks to Ivan Boldyrev)
6587 * Bug fix: OPEN no longer fails when *PRINT-READABLY* is T. (thanks
6589 * bug fix: no more highly sporadic "couldn't check whether ~S is
6590 readable" when reading a stream and an interrupt hits in the middle
6591 of a select system call
6592 * compiler better recognizes complex arrays (reported by Eduardo
6594 * bug fix: out-of-line SB-SYS:FOREIGN-SYMBOL-ADDRESS did not work
6595 for variables on SBCL built with linkage-tables. (reported by Luis
6597 * various error reporting improvements.
6598 * optimizations: LOGNOR on fixnums is improved in the MIPS backend.
6599 (Thanks to Thiemo Seufer)
6600 * bug fix: nested reader invokations work correctly
6601 * bug fix: it is possible to have simultaneous references to foreign
6602 code and foreign data with the same name.
6604 ** added x86-64 support
6605 ** incompatible change: the threading api now works with thread
6606 objects instead of thread ids
6607 ** bug fix: threads are protected from signals and interruption when
6608 starting up or going down
6609 ** bug fix: a race where an exiting thread could lose its stack to gc
6610 ** bug fix: don't halt on infinite error in threads if possible
6611 ** fixed numerous gc deadlocks introduced in the pthread merge
6612 ** bug fix: fixed thread safety issues in read and print
6613 ** bug fix: debugger doesn't hang on session lock if interrupted at
6614 an inappropriate moment
6615 ** bug fix: run-program is now thread safe(r)
6616 ** bug fix: inner with-recursive-lock no longer releases the mutex
6617 * fixed a bug in (DECODE-UNIVERSAL-TIME 0) (reported by Paul Dietz)
6618 * fixed some bugs revealed by Paul Dietz' test suite:
6619 ** TYPE-ERRORs from signalled by COERCE now have DATUM and
6620 EXPECTED-TYPE slots filled.
6621 ** MULTIPLE-VALUE-SETQ always returns the primary value of the
6623 ** MAKE-CONDITION accepts classes as type-designators.
6624 ** COMPILE may never return NIL.
6625 ** ENCODE-UNIVERSAL-TIME now guards against times out of Unix's
6626 range before calling Unix time functions
6628 changes in sbcl-0.9.2 relative to sbcl-0.9.1:
6629 * numerous signal handling fixes to increase stability
6630 * Support for EUC-JP external format. (thanks to NIIMI Satoshi)
6631 * minor incompatible change: we now correctly canonize default
6632 initargs, making them be a list of (INITARG INITFORM INITFUNCTION)
6633 as per the MOP, rather than the historical (INITARG INITFUNCTION
6634 INITFORM). (reported by Bruno Haible)
6635 * new feature: WITH-COMPILATION-UNIT now accepts a non-standard
6636 :SOURCE-PLIST option. See (DOCUMENTATION #'WITH-COMPILATION-UNIT T)
6637 for more information.
6638 * TRUENAME and PROBE-FILE now correctly resolve symlinks even if the
6639 pathname is a directory pathname.
6640 * SB-SPROF now works (more) reliably on non-GENCGC platforms.
6641 * dynamic space size on PPC has been increased to 768Mb. (thanks to
6643 * SB-MOP:ENSURE-CLASS-USING-CLASS now accepts a class as the
6644 :METACLASS argument in addition to a class name. (reported by
6645 Bruno Haible for CMUCL, patch for CMUCL by Gerd Moellmann)
6646 * RESTART-CASE can now be wrapped around CALL-METHOD forms.
6647 (reported by Bruno Haible; patch from Gerd Moellmann)
6648 * bug fix: sbcl runtime can now be compiled with gcc4 (thanks to
6650 * bug fix: more cleanups to the floating point exception handling on
6651 x86-64 (thanks to James Knight)
6652 * bug fix: the compiler does not try to constant fold calls of
6653 COERCE and BIT-* functions when they return freshly constructed
6654 objects. (reported by Nikodemus Siivola and Paul Dietz)
6655 * optimization: improved the MIPS versions of generic (in the
6656 generic sense) arithmetic routines. (thanks to Thiemo Seufer)
6657 * optimization: direct conversion of (unsigned-byte 32) to floats on
6658 the PowerPC platform.
6659 * optimization: structure instances with raw slots now use less
6660 memory, and probably show better memory locality. (thanks to
6662 * optimization: DYNAMIC-EXTENT declarations for lists and closures
6663 are treated as requests for stack allocation on the x86-64,
6664 Alpha-32, PPC and SPARC platforms.
6665 * contrib improvement: it's harder to cause SOCKET-CLOSE to close()
6666 the wrong file descriptor; implementation of SOCKET-OPEN-P.
6667 (thanks to Tony Martinez)
6669 ** gcing a dead thread can no longer lead to lockups
6670 ** threads block signals until they are set up properly
6671 ** errno is no longer shared by threads
6672 ** interrupt-thread restores the eflags register on x86
6673 ** fixed some lockups due to gc/thread interaction
6674 * fixed some bugs revealed by Paul Dietz' test suite:
6675 ** invalid dotted lists no longer raise a read error when
6676 *READ-SUPPRESS* is T
6677 ** signal an error if a symbol that names a declaration is used
6678 as the name of a type, or vice versa
6679 ** allow using the (declare (typespec var*)) abbreviation for
6680 (declare (type typespec var*)) with all type specifiers
6681 ** circularity detection works properly with PPRINT-LOGICAL-BLOCK
6682 ** always return NIL from PPRINT-POP when OBJECT is NIL
6683 ** don't signal errors when pretty-printing malformed LABELS,
6684 FLET or MACROLET forms
6685 ** declarations in a DOLIST body are also in scope for the
6687 ** COMPILE-FILE accepts all pathname designators as INPUT-FILE
6689 ** the ELEMENT-TYPE keyword argument to WITH-OUTPUT-STREAM is
6692 changes in sbcl-0.9.1 relative to sbcl-0.9.0:
6693 * fixed cross-compiler leakages that prevented building a 32-bit
6694 target with a 64-bit host compiler.
6695 * fixed a bug in CLOSE :ABORT T: no longer attempts to remove files
6696 opened with :IF-EXISTS :OVERWRITE.
6697 * fixed bug 281: error for an invalid qualifier in a short-form method
6698 combination method is not signalled until the faulty method is called.
6699 * bug fix: iteration variable type inferrer failed to deal with open
6700 intervals. (reported by Alan Shields)
6701 * bug fix: dynamically loading (via LOAD-SHARED-OBJECT or similar)
6702 "frameworks" on Mac OS X no longer causes an EXC_BAD_ACCESS if two
6703 or more runtime options were provided to the sbcl binary.
6704 * compiled code is not steppable if COMPILATION-SPEED >= DEBUG.
6705 * contrib improvement: implement SB-POSIX:MKSTEMP (Yannick Gingras)
6706 * optimization: there's now a fast-path for fixnum arguments in the
6707 generic subtraction routines on x86/x86-64. (Thanks to Lutz Euler)
6708 * optimization: the code generated on x86-64 is more compact thanks
6709 to not outputting unnecessary prefix bytes. (Thanks to Lutz Euler)
6710 * bug fix: floating-point exception handling now partly works on
6711 x86-64. (Thanks to James Knight)
6712 * improvement to the MIPS backend from Thiemo Seufer: C-style
6713 64-bit long long arguments and return values to alien functions
6715 * fixed some bugs revealed by Paul Dietz' test suite:
6716 ** the type-error signalled from WARN has a filled-in DATUM slot.
6717 ** the type-error required when a stream is not associated with
6718 a file has the stream as its datum.
6719 ** type-errors on single-floats on x86-64 no longer have
6720 :INVALID-OBJECT as the datum
6721 ** the type-errors signalled for invalid function names now have
6722 a correct expected type
6723 ** (SETF (DOCUMENTATION ... 'STRUCTURE)) no longer signals an error
6724 for structures defined with a :TYPE. Documentation strings for
6725 typed structures are no longer immediately discarded
6726 ** FILE-STRING-LENGTH and STREAM-EXTERNAL-FORMAT now work on
6727 broadcast streams and synonym streams. FILE-LENGTH now also works
6728 on broadcast streams.
6730 changes in sbcl-0.9.0 relative to sbcl-0.8.21:
6731 * incompatible change: the --noprogrammer option, deprecated since
6732 version 0.7.5, has been removed. Please use the equivalent
6733 --disable-debugger option instead.
6734 * incompatible change: finalizers and *AFTER-GC-HOOKS* are now run with
6736 * incompatible change: support for *BEFORE-GC-HOOKS* (that have been
6737 inoperational for a while now) has been completely removed.
6738 * null lexical environments are now printed as #<NULL-LEXENV>,
6739 significantly reducing the amount of clutter in typical backtraces.
6740 * documentation on weak pointers, finalization, and after GC hooks
6741 has been added to the manual.
6742 * optimization: REPLACE on declared (UNSIGNED-BYTE 8) vectors, as well
6743 as other specialized array types, is much faster. SUBSEQ and
6744 COPY-SEQ on such arrays have also been sped up.
6745 * optimization: EQL is now more efficient when at least other argument
6746 is known to be of type (OR FIXNUM (NOT NUMBER)).
6747 * fixed bug: the runtime is now less vulnerable to changes in the
6748 size of the SBCL object on OS X, and virtual memory is reserved for
6749 all spaces that need to be at a fixed address.
6750 * fixed bug: finalizers are now thread-safe. (thanks to Gabor Mellis)
6751 * fixed bug: finalizers and after GC hooks that cause consing are now
6753 * fixed bug: compiler error messages and summaries are now printed to
6754 *ERROR-OUTPUT*, not *STANDARD-OUTPUT*.
6755 * fixed inference of the upper bound of an iteration variable.
6756 (reported by Rajat Datta).
6757 * fixed bug 211e: calling local functions with duplicated constant
6758 keyword argument no longer causes a bogus style warning about an
6760 * fixed bug 305: INLINE/NOTINLINE declaration no longer causes local
6761 ftype declaration to be disregarded. (reported by Dave Roberts)
6762 * fixed bug 373: caused by erronous compilation of references to alien
6763 variables in the runtime on ppc/darwin.
6764 * fixed bug 376: CONJUGATE type deriver.
6765 * fixed infinite looping of ALIEN-FUNCALL, compiled with high DEBUG.
6766 (reported by Baughn on #lisp)
6767 * a cross-compiler bug on non-x86 platforms has been identified and
6768 fixed. (thanks to Bruno Haible)
6769 * improvements to the MIPS runtime code for increased stability.
6770 (thanks to Thiemo Seufer)
6771 * increased the maximimum compact environment size to allow
6772 purify on images with large amounts of functions. (thanks to Cyrus Harmon)
6773 * partial workaround for bug 135: don't name the function we're
6774 calling for hairy cases of EVAL, so as not to accumulate one environment
6775 entry per call to EVAL. (reported by Kevin Reid)
6776 * improvements to the x86-64 disassembler. (thanks to Lutz Euler)
6777 * optimization: type testing for non-vector arrays should be faster.
6778 * fixed TRACE :ENCAPSULATE NIL, added support for :ENCAPSULATE NIL
6780 * bug fix: setting 31st element of a bit vector to zero did not work
6782 * bug fix: redefining a class definition which failed due to a
6783 previous accessor / function clash now works (but see BUGS entry
6784 #380 for more problems in this area). (thanks to Zach Beane)
6785 * the long form of DEFINE-METHOD-COMBINATION disables method group
6786 checking when given a single method group with pattern *. (thanks
6788 * on x86 compiler supports stack allocation of results of simple
6789 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT.
6790 * support for building and running on Mac OS X 10.4 "Tiger" has been added
6791 ** Binaries built on Tiger will not run on 10.2 "Jaguar" currently
6792 * fixed some bugs related to Unicode integration:
6793 ** the restarts for recovering from input and output encoding
6794 errors only appear when there is in fact such an error to
6796 * fixed some bugs revealed by Paul Dietz' test suite:
6797 ** MISC.549 and similar: late transformation of unsafe type
6798 assertions into derived types caused unexpected code
6800 ** SCALE-FLOAT type deriver is less wrong.
6801 ** type derivers for EXP, LOG and similar functions compute result
6802 types for complex arguments better.
6803 ** (MISC.563) CONJUGATE type deriver works for very restricted
6805 ** out-of-line type testers for character strings are available.
6806 ** EQUAL compiler transform understands specialness of objects
6808 ** accessing double-floats stored on the stack now works on x86-64.
6809 ** debugger internals could sometimes create invalid lispobjs,
6810 resulting in GC crashes.
6811 ** MISC.548: type check weakening can convert required type into
6813 ** initialization forms for bindings are not in scope of free special
6816 changes in sbcl-0.8.21 (0.9alpha.1?) relative to sbcl-0.8.20:
6817 * incompatible change: thread support for non-NPTL systems has
6818 been removed - locking is buggy and unreliable. A threaded
6819 SBCL build will now warn at startup and refuse to create
6820 new threads, unless futex support is detected in the kernel
6821 * incompatible change: the top level REPL now has only an ABORT
6822 restart associated with it, not TOPLEVEL and ABORT as it used to.
6823 TOP and TOPLEVEL are now available as debugger commands for
6824 returning to the top level.
6825 * incompatible change: forms evaluated in the REPL now use the
6826 global optimization policy.
6827 * incompatible change: user- and system-initialization files are
6828 no longer processed with LOAD, but by READ and EVAL; hence the
6829 global optimization policy, startup package, readtable, etc,
6831 * The .fasl file format number has been incremented because of
6832 various incompatible changes.
6833 * internal entry point details and argument counts no longer appear
6834 in backtraces unless explicitly requested by setting
6835 SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS*.
6836 * built-in and standard functions no longer have names like "top
6837 level local call to FOO".
6838 * fixed bug 32: functions defined in non-null lexical environments
6839 now have more legible printed representation
6840 * fixed bug 33: functions defined in non-null lexical environemnts
6841 are now more amenable to inspection by INSPECT.
6842 * workaround for bug 354: XEPs no longer appear in backtraces unless
6843 explicitly requested.
6844 * fixed bug: receiving the signal which results from attempting to
6845 write to mprotect()ed memory (SIGSEGV on Linux and some *BSDs,
6846 SIGBUS on other *BSDs) on architectures where the C stack is also
6847 the Lisp stack (x86 and x86-64) from foreign code no longer leads
6848 to debugger confusion or wild instability. (reported by Cheuksan
6850 * fixed bug: COUNT and EQUAL no longer issue compiler efficiency
6851 notes when operating on objects known to be SIMPLE-BIT-VECTORs.
6852 (reported by Lutz Euler)
6853 * fixed bug: (TYPEP X '(MEMBER ...)) no longer returns a list in
6854 compiled code. (reported by Paul Dietz)
6855 * fixed bug 276b: mutating with MULTIPLE-VALUE-SETQ a binding of a
6856 specialized parameter to a method to something that is not TYPEP
6857 the specializer is now possible.
6858 * fixed bug: the MAKE-INSTANCE optimization is now correct in the
6859 face of package deletion.
6860 * fixed bug: LOAD should bind *LOAD-PATHNAME* to the merged
6861 pathname. (reported by David Tolpin on c.l.l)
6862 * contrib improvement: the SB-SIMPLE-STREAMS contrib now defines
6863 STRING-SIMPLE-STREAM and FILE-SIMPLE-STREAM as subclasses of
6864 STRING-STREAM and FILE-STREAM, respectively.
6865 * contrib improvement: SB-INTROSPECT handles more of SLIME's needs
6866 than previously; in addition, its test suite is now run on build.
6867 (thanks to Luke Gorrie)
6868 * a more robust x86-64 disassembler. (thanks to Lutz Euler)
6869 * optimization: added a immediate representation for single-floats
6871 * fixed some bugs revealed by Paul Dietz' test suite:
6872 ** MISC.564: defined out-of-line version of %ATAN2 on x86.
6873 ** attempting to create a package with a colliding nickname causes
6874 correctable errors to be signalled.
6875 ** MISC.572-574: :START1 and :START2 broken for simple-base-strings.
6876 ** several x86-64 backend bugs related to sign-extension of immediate
6879 changes in sbcl-0.8.20 (0.9alpha.0?) relative to sbcl-0.8.19:
6880 * fixed inspection of specialized arrays. (thanks to Simon Alexander)
6881 * fixed disassembly of SHLD and SHRD on x86. (thanks to David
6883 * fixed loading of multiply forward-referenced layouts.
6884 (thanks to Cheuksan Wang)
6885 * fixed bug 7: less verbose COMPILE-FILE output. Additionally, the
6886 output is now directed to *STANDARD-OUTPUT* as specified by ANSI.
6887 (see COMPILE-FILE documentation for details of :PRINT option)
6888 * fixed bugs 19 and 317: fixed-format floating point printing is
6889 more accurate. This also fixes a bug reported by Adam Warner
6890 related to the ~@F format directive.
6891 * fixed bug 371: bignum print/read inconsistency. (thanks to Harald
6893 * fixed bug: SET-SYNTAX-FROM-CHAR correctly shallow-copies a
6894 dispatch table if the from-char is a dispatch macro character.
6895 * fixed bug: COUNT and EQUAL on bit vectors with lengths divisible
6896 by the wordsize no longer ignore the last word. (reported by Lutz
6898 * fixed bug in type checking of dynamic-extent variables. (reported
6900 * optimization: sequence traversal functions use their freedom to
6901 coerce function designators to functions.
6902 * optimization: code with many calls to CLOS methods specialized on
6903 CLOS classes has had redundant type checks removed.
6904 * optimization: added declarations to speed up operations that access
6905 the internal character database (for example STRING-UPCASE)
6906 * optimization: comparison operations between floats and sufficiently small
6907 fixnums no longer create extra rationals
6908 * fixed some bugs related to Unicode integration:
6909 ** portions of multibyte characters at the end of buffers for
6910 character-based file input are correctly transferred to the
6911 start of the buffer at the next read.
6912 ** COMPILE-FILE now respects any EXTERNAL-FORMAT argument given,
6913 passing it through to OPEN.
6914 ** LOAD on source files likewise passes any EXTERNAL-FORMAT
6915 argument given to internal calls to OPEN.
6916 ** the built-in comment readers (introduced by character sequences
6917 ";" and "#|") are more forgiving to encoding errors; they will
6918 STYLE-WARN and then attempt to resync the stream at a character
6919 boundary. (thanks to Teemu Kalvas)
6920 * fixed some bugs in the x86-64 port:
6921 ** Negative short int return values from c-calls are sign-extended
6923 ** The stack is aligned to 16-bytes for c-calls, as required by
6924 the ABI. (thanks to Cheuksan Wang)
6925 ** The disassembler understands more x86-64. (thanks to Cheuksan Wang)
6926 ** The regression tests use SB-ALIEN:INT instead of SB-ALIEN:INTEGER
6927 for enums. (thanks to Vincent Arkesteijn)
6928 ** Multiple small optimizations and bugfixes for floating point
6930 * fixed some bugs revealed by Paul Dietz' test suite:
6931 ** Space, Tab, Linefeed, Return and Page have the invalid
6932 secondary constituent character trait.
6933 ** SET-SYNTAX-FROM-CHAR correctly copies multiple-escape character
6935 ** WITH-INPUT-FROM-STRING should only update the index place on
6937 ** Pretty-printing backquoted forms when *PRINT-CIRCLE* is true
6938 works more reliably.
6939 ** Bit-array operations (BIT-AND and similar) worked incorrectly
6940 with one-dimensional arrays with fill pointers.
6941 ** TYPE-OF failed on a complex with an integer realpart and a
6943 ** compiler failure during type inference for the code of form
6944 (IF (EQL X (THE ...)) ...) (MISC.535).
6946 changes in sbcl-0.8.19 relative to sbcl-0.8.18:
6947 * new port: SBCL now works in native 64-bit mode on x86-64/Linux
6948 platform. The port supports 61-bit fixnums, large memory spaces
6949 and reloading shared object files.
6950 * enhancement: saving cores with foreign code loaded is now
6951 supported on ppc/Darwin in addition to the previously supported
6953 * enhancement: the statistical profiler now walks deeper into the
6954 call stack for more meaningful call-graphs and accrued time
6955 reports (x86/x86-64 only). It also now reports time spent in
6957 * enhancement: it is now possible to trace most individual methods
6958 of a generic function in addition to tracing the generic function
6960 * bug fix: invalid :DEFAULT-INITARGS are detected in compiled calls
6962 * bug fix: defaulted initargs are passed to INITIALIZE-INSTANCE and
6963 SHARED-INITIALIZE methods from compiled calls to MAKE-INSTANCE.
6964 * bug fix: COERCE to (COMPLEX FLOAT) of a complex number no longer
6965 produces an error. (thanks to Vincent Arkesteijn)
6966 * bug fix: NAMESTRING on pathnames with :WILD components in their
6967 directories works correctly. (thanks to Artem V. Andreev)
6968 * fixed bug 125: compiler preserves identity of closures. (reported
6970 * bug fixed: functions with &REST arguments sometimes failed with
6971 "Undefined function" when compiled with (DEBUG 3). (reported by
6973 * bug fix: overflow during compiling of setting element of a bit
6974 vector with constant index and value. (reported by Timmy Douglas)
6975 * build fix: fixed the dependence on *LOAD-PATHNAME* and
6976 *COMPILE-FILE-PATHNAME* being absolute pathnames.
6977 * on x86 compiler partially supports stack allocation of dynamic-extent
6979 * GO and RETURN-FROM do not check the extent of their exit points
6980 when compiled with SAFETY 0.
6981 * fixed some bugs related to Unicode integration:
6982 ** encoding and decoding errors are now much more robustly
6983 handled; it should now be possible to recover even from invalid
6984 input or output to the terminal. (thanks to Teemu Kalvas)
6985 ** provided a first cut at implementing STRING-TO-OCTETS and
6986 OCTETS-TO-STRING. (thanks to Robert J. Macomber)
6987 ** altered the SB-MD5 contributed module slightly, changing the
6988 interface just enough for it to be supportable for builds where
6989 lisp characters are not eight bits.
6990 * fixed some bugs revealed by Paul Dietz' test suite:
6991 ** the FORMATTER-generated functions for ~V[ conditionals require
6992 the correct number of arguments.
6993 ** READ-FROM-STRING returns the mandated second value when applied
6994 to displaced strings.
6995 ** the #\Rubout and #\Backspace characters are treated as invalid
6996 constituent characters by the tokenizer.
6998 changes in sbcl-0.8.18 relative to sbcl-0.8.17:
6999 * new feature: reloading changed shared object files with
7000 LOAD-SHARED-OBJECT now causes the new definitions to take effect.
7001 * new feature: references to foreign variables and functions
7002 can now be compiled and loaded before the corresponding shared
7003 object file is loaded, as long as the foreign definitions are
7004 available at runtime.
7005 * Solaris 10 (aka SunOS 5.10) on the SPARC platform is now
7006 supported. (thanks to Dan Debertin)
7007 * SB-ALIEN enums can now be represented in Lisp by any symbols, not
7008 just keywords. (thanks to Vincent Arkesteijn)
7009 * fixed bug #331: structure-class instances corresponding to
7010 DEFSTRUCT forms are now created eagerly.
7011 * fixed bug #345: backtraces from calls to undefined functions work
7012 on x86 as well. Related bug #61 is now also partially fixed on x86
7013 (backtraces from throws to unknown catch tags.)
7014 * bug fix: lambda-list parsing is now stricter vrt. order and number
7015 of lambda-list keywords.
7016 * bug fix: as specified by AMOP, an error is signalled if a
7017 class-option appears multiple times in a DEFCLASS form. (reported
7019 * bug fix: RANDOM can be compiled when the compiler derives the type
7020 of its numeric argument as a disjoint set of small integers.
7021 (reported by Paul Dietz)
7022 * bug fix: starting a core saved with shared objects loaded when
7023 those objects are not available no longer causes threaded SBCL to
7024 hang. (reported by Sean Ross)
7025 * bug fix: evaluated FUNCTION no longer bypasses encapsulation (eg.
7027 * bug fix: (SETF MACRO-FUNCTION) now accepts an optional environment
7028 argument, which must always be NIL. (reported by Kalle Niemitalo)
7029 * bug fix: printing 1.0d+23 no longer results in an error.
7030 (reported by Rolf Wester for CMUCL; bug fix from Raymond Toy)
7031 * bug fix: structure slot setters preserve evaluation order. (thanks
7033 * fixed some bugs related to Unicode integration:
7034 ** RUN-PROGRAM can allow its child to take input from a Lisp
7035 stream. (reported by Stefan Scholl)
7036 ** ASDF-INSTALL successfully downloads .tar.gz files in all
7037 locales. (reported by Ken Causey)
7038 * fixed some bugs revealed by Paul Dietz' test suite:
7039 ** INCF, DECF and REMF evaluate their place form as specified in
7041 ** FORMATTER expands ~{ ~} iteration directives with V or #
7042 parameters correctly.
7043 ** FORMATTER deals with the ~@[ ~] conditional directive where the
7044 consequent uses no arguments correctly.
7045 ** the system has a partial understanding of the (COMPLEX RATIO)
7047 ** UPGRADED-COMPLEX-PART-TYPE obeys the lattice upgrading rules
7050 changes in sbcl-0.8.17 relative to sbcl-0.8.16:
7051 * new feature: a build-time option (controlled by the :SB-UNICODE
7052 keyword feature, enabled by default) for building the system with
7053 support for the entire 21-bit character space defined by the
7055 * new feature: the system now has rudimentary external-format
7056 support; the primary user-visible change at this time is that
7057 characters with the high bit set (such as lower-case-e-acute) will
7058 print correctly to a terminal in a UTF-8 environment.
7059 * minor incompatible change: BASE-CHAR no longer names a class;
7060 however, CHARACTER continues to do so, as required by ANSI.
7061 * minor incompatible change: SB-DEBUG:*DEBUG-PRINT-FOO* variables
7062 are no longer supported, and SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*
7063 has been moved to the SB-EXT package (temporarily re-exported from
7065 * minor incompatible change: SB-C::*COMPILER-ERROR-PRINT-FOO* variables
7066 are no longer supported: use SB-EXT:*COMPILER-PRINT-VARIABLE-ALIST*
7068 * fixed bug #351: better error-handlind and reporting for malformed
7070 * fixed bug #350: bignum-printing is now more memory-efficient,
7071 allowing printing of very large bignums, eg. (expt 2 10000000).
7072 (reported by Bruno Haible)
7073 * fixed bug #302: better primitive-type selection for intersection
7075 * fixed bug #308: non-graphic characters now all have names, as
7076 required. (reported by Bruno Haible)
7077 * bug fix: redefining a class with different superclasses now correctly
7078 removes it from the direct-subclasses of its previous superclasses.
7079 (reported by David Morse)
7080 * bug fix: (SETF FIND-CLASS) using a FORWARD-REFERENCED-CLASS as the
7081 new value now works. (reported by Bruno Haible)
7082 * bug fix: correct canonicalization of multiple non-standard slot
7083 options in DEFCLASS as per AMOP 5.4.2. (reported by Bruno Haible)
7084 * bug fix: SB-MOP:CLASS-PROTOTYPE now signals an error if the class
7085 is not yet finalized, as required by AMOP. (reported by Bruno Haible)
7086 * bug fix: SB-MOP:ALLOCATE-INSTANCE method for instances of BUILT-IN-CLASS
7087 now exists, an signals an error.
7088 * bug fix: duplicate LOOP variable bindings now signal PROGRAM-ERROR
7089 during macroexpansion for non-iteration variables as well. (reported
7090 by Bruno Haible for CMUCL)
7091 * bug fix: Cyclic structures and unprintable objects in compiler
7092 messages no longer cause errors. (reported by Bruno Haible)
7093 * bug fix: READ, READ-PRESERVING-WHITESPACE, READ-DELIMITED-LIST,
7094 and READ-FROM-STRING all now return a primary value of NIL if
7095 *READ-SUPPRESS* is true. (reported by Bruno Haible for CMUCL)
7096 * bug fix: Default value of EOF-ERROR-P in READ-FROM-STRING is true.
7097 (reported by Bruno Haible for CMUCL)
7098 * bug fix: ERROR now signals a TYPE-ERROR if the arguments to ERROR
7099 do not designate a condition. (reported by Bruno Haible for
7101 * bug fix: UNINTERN, USE-PACKAGE, IMPORT and EXPORT all signal an
7102 SB-EXT:NAME-CONFLICT condition (subtype of PACKAGE-ERROR) in the
7103 name conflict situations in CLHS 11.1.1.2.5, and provide a restart
7104 permitting resolution in favour of any of the conflicting symbols.
7105 (reported by Bruno Haible for CMUCL)
7106 * bug fix: EQUAL compiler optimizations is less aggressive on
7107 strings which can potentially compare true despite having distinct
7108 specialized array element types.
7109 * bug fix: unit enumerations can be defined without dividing by
7110 zero. (thanks to Vincent Arkesteijn)
7111 * FORMAT compile-time argument count checking has been enhanced.
7112 (report from Bruno Haible for CMUCL)
7113 * a partial workaround for the bug 262: the compiler does not try to
7114 inline-expand a local function doing RETURN-FROM from a deleted
7115 BLOCK. (thanks to Peter Denno for the bug report and to David
7116 Wragg for the simple test case)
7117 * fixed some bugs revealed by Paul Dietz' test suite:
7118 ** RENAME-PACKAGE allows all package designators as new package
7120 ** constraint propagation and lambda variable substitution are
7121 more cautious in dealing with partially deleted code.
7122 ** compiler sometimes lost reoptimization passes.
7123 ** CERROR, given a condition as condition designator, passes its
7124 remaining arguments to the continue format control without
7126 ** Case-altering FORMAT directives work correctly on non-ASCII
7128 ** The REAL type specifier handles bounds outside the floating
7129 point ranges without signalling FLOATING-POINT-OVERFLOW.
7130 ** Functions with IR1-transformations can create intercomponent
7131 references to global functions.
7132 ** NIL parameter to the FORMAT directive ~^ means `unsupplied
7134 ** FORMAT ~R treats a nil value for its first parameter correctly.
7136 changes in sbcl-0.8.16 relative to sbcl-0.8.15:
7137 * enhancement: saving cores with foreign code loaded is now
7138 supported on x86/NetBSD and sparc/Linux in addition to the previously
7139 supported platforms.
7140 * bug fix: on some platforms repeated installations caused multiple
7141 copies of HTML documentation to be installed -- should not happen
7142 any more. (reported by Stefan Scholl)
7143 * bug fix: parsing self-recursive alien record types multiple times
7144 no longer causes infinite recursion. (reported by Thomas F. Burdick,
7145 original patch by Helmut Eller for CMUCL)
7146 * bug fix: stack-exhaustion detection works now on NetBSD as well.
7147 (thanks to Richard Kreuter)
7148 * bug fix: defining classes whose accessors are methods on existing
7149 generic functions in other (locked) packages no longer signals
7150 bogus package lock violations. (reported by François-René Rideau)
7151 * bug fix: special variables as DEFMETHOD parameters no longer have
7152 associated bogus type declarations. (reported by David Wragg and
7154 * bug fix: read-write consistency on streams of element-type
7155 (SIGNED-BYTE N) for N > 32. (reported by Bruno Haible for CMUCL)
7156 * bug fix: redefiniton of the only method of a generic function with
7157 no DEFGENERIC no longer emits a full WARNING. In addition,
7158 redefinition of generic functions with no DEFGENERIC to an
7159 incompatible lambda list now signals an error. (thanks to Zach
7161 * bug fix: DEFGENERIC now works even when there's a function of the
7162 same name in an enclosing lexical environment. (thanks to Zach
7164 * fixed compiler failure, caused by instrumenting code during
7165 IR1-optimization. (Debian bug report #273606 by Gabor Melis)
7166 * optimization: added loop analysis and improved register allocation
7167 * fixed some bugs revealed by Paul Dietz' test suite:
7168 ** POSITION on displaced vectors with non-zero displacement
7169 returns the right answer.
7170 ** (SIMPLE-STRING) is a valid type specifier for sequence
7172 ** *PRINT-LEVEL* handling for slotless structures is pedantically
7174 ** PPRINT-INDENT accepts a request for an indentation of any REAL.
7175 ** PPRINT-TAB (and the FORMAT ~T directive) now indent by the
7177 ** The justification version of the FORMAT ~< directive treats
7178 non-zero minpad parameter correctly.
7180 changes in sbcl-0.8.15 relative to sbcl-0.8.14:
7181 * incompatible change: SB-INT:*BEFORE-SAVE-INITIALIZATIONS* and
7182 SB-INT:*AFTER-SAVE-INITIALIZATIONS* have been renamed
7183 SB-EXT:*SAVE-HOOKS* and SB-EXT:*INIT-HOOKS*, and are now part of
7184 the supported interface.
7185 * new feature: Single-stepping of code compiled with DEBUG 2 or
7186 higher and (> DEBUG (MAX SPACE SPEED)) is now possible.
7187 * new feature: saving cores with foreign code loaded is now
7188 supported on x86/FreeBSD, x86/Linux, and sparc/SunOS. (based on
7189 Timothy Moore's work for CMUCL)
7190 * bug fix: DEFTYPE lambda-list parsing now binds unsupplied keyword
7191 parameters to * instead of NIL if no initform is supplied.
7192 (reported by Johan Bockgaard)
7193 * bug fix: DEFINE-COMPILER-MACRO lambda-list parsing now binds
7194 correctly when FUNCALL appears as the car of the form. Note:
7195 despite this FUNCALL forms are not currently subject to
7196 compiler-macro expansion. (port of Raymond Toy's fix for the
7197 same from CMUCL, reported by Johan Bockgaard)
7198 * bug fix: FOR ... ON ... -clauses in LOOP now work on dotted lists
7199 (thanks for Teemu Kalvas)
7200 * bug fix: in FORMAT ~^ inside ~:{ now correctly steps to the next
7201 case instead of terminating the iteration (thanks for Julian
7202 Squires, Sean Champ and Raymond Toy)
7203 * bug fix: incorrect expansion of defgeneric that caused a style
7204 warning. (thanks for Zach Beane)
7205 * bug fix: slot accessor effective method computation works properly
7206 for classes with multiple non-standard applicable methods on
7207 SB-MOP:SLOT-VALUE-USING-CLASS. (reported by Ralf Mattes)
7208 * on x86 compiler supports stack allocation of results of LIST and
7209 LIST*, bound to variables, declared DYNAMIC-EXTENT. (based on
7210 CMUCL implementation by Gerd Moellmann)
7211 * fixed some bugs revealed by Paul Dietz' test suite:
7212 ** FORMAT strings with both the ~<~:;~> form of the justification
7213 directive and pretty-printing directives cause an error.
7215 changes in sbcl-0.8.14 relative to sbcl-0.8.13:
7216 * incompatible change: the internal functions
7217 SB-KERNEL:32BIT-LOGICAL-FOO, intended for providing efficient
7218 logical operations on (UNSIGNED-BYTE 32) values, have been renamed
7219 to SB-KERNEL:WORD-LOGICAL-FOO. Modular arithmetic should be used
7220 instead of the old functions.
7221 * new feature: on platforms where "dladdr" is available foreign
7222 function names now appear in backtraces. (based on Helmut Eller's
7224 * documentation: documentation for SB-BSD-SOCKETS, SB-GRAY,
7225 SB-SIMPLE-STREAMS, and SB-PROFILE have been integrated into the user
7227 * documentation: ASDF manual is now distributed with SBCL.
7228 * bug fix: SBCL can now load its contributed modules with REQUIRE
7229 even if the system-provided entries have been removed from
7230 ASDF:*CENTRAL-REGISTRY*. Infinite recursion in REQUIRE is also
7232 * bug fix: backtraces involving undefined functions or assembly
7233 routines are more informative. (thanks to Brian Downing)
7234 * bug fix: mutually referent alien structures now work correctly.
7235 (reported by Rick Taube)
7236 * bug fix: structures defined by WITH-ALIEN can be referred to
7237 within other definitions in the same WITH-ALIEN.
7238 * bug fix: division operators (MOD, TRUNCATE and the like) with
7239 constant zero divisors and integer dividends no longer generate
7241 * bug fix: provide default methods for INPUT-STREAM-P and
7242 OUTPUT-STREAM-P specialized on SB-GRAY:FUNDAMENTAL-STREAM.
7243 * bug fix: improve the detection and resolution of MOP metacycles
7244 (where effective method computation depends on the generic function
7245 having its effective method computed). (reported by Bruno Haible)
7246 * bug fix: pass the right initargs to :BEFORE or :AFTER methods on
7247 SHARED-INITIALIZE or INITIALIZE-INSTANCE in optimized
7248 MAKE-INSTANCE constructors. (reported by Axel Schairer for cmucl)
7249 * bug fix: pathnames with relative directory components can be
7250 represented relative to default pathnames.
7251 * optimization: in taking the GCD of bignums, reduce the two bignums
7252 to approximately the same size (using Euclid's algorithm) before
7253 applying the more sophisticated binary GCD. (thanks to Juho
7255 * optimization: COUNT on bitvectors now operates word-at-a-time.
7256 * optimization: ASH with a positive, but not necessarily constant,
7257 (leftwards) shift, when in a modular context, is compiled to a
7259 * fixed some bugs revealed by Paul Dietz' test suite:
7260 ** FORMAT variable parameters ("~V<char>") are defaulted properly
7261 if the corresponding argument is NIL.
7262 ** FORMAT directives accepting a minpad parameter treat negative
7264 ** literal commas as character parameters to FORMAT directives are
7266 ** literal spaces directly after ~<Newline> directives within a
7267 format-logical-block (~:< ~@:>) do not induce :FILL-style
7268 conditional newlines.
7269 ** PRINT-UNREADABLE-OBJECT inserts spaces as specified (and only
7270 as specified: it no longer includes conditional newlines).
7271 ** PRINC-TO-STRING binds *PRINT-READABLY* to NIL (as well as
7273 ** PPRINT-LOGICAL-BLOCK signals a TYPE-ERROR if its :PREFIX or
7274 :PER-LINE-PREFIX argument does not evaluate to a string.
7276 changes in sbcl-0.8.13 relative to sbcl-0.8.12:
7277 * new feature: SB-PACKAGE-LOCKS. See the "Package Locks" section of
7278 the manual for details; for now, package locks can be disabled by
7279 removing :SB-PACKAGE-LOCKS in customize-target-features.lisp, but
7280 if no major problems are found then it is likely that they will be
7281 compiled in unconditionally.
7282 * major incompatible change: LOAD-FOREIGN and LOAD-1-FOREIGN are now
7283 unsupported operators on all platforms. To load a shared library
7284 into SBCL, use SB-ALIEN:LOAD-SHARED-OBJECT. To load a non-shared
7285 object file, link it into a shared library outside of SBCL and
7286 load it using SB-ALIEN:LOAD-SHARED-OBJECT. (incidentally fixes
7288 * bug workaround: ROOM T and the GC were not working together
7289 reliably, because invariants expected by the SB!VM:INSTANCE-USAGE
7290 reporting facility aren't preserved. That reporting has been
7291 disabled, so now until and unless someone figures out how to make it
7292 work reliably with the current GC, (ROOM T) is equivalent to (ROOM).
7293 * minor incompatible change: as threatened around sbcl-0.8.0, the
7294 home package of MOP-related symbols is now SB-MOP, not SB-PCL.
7295 The symbols are also exported from SB-PCL for backwards
7296 compatibility, but more so than before SB-PCL should be treated as
7297 an implementation-internal package.
7298 * fasl format changed: SBCL 0.8.13 fasls are incompatible with those
7300 * the SB-SPROF contrib now works on (most) non-x86 architectures.
7301 It is known as of this release not to work on the Alpha, however.
7302 * fixed bug #167: errors signalled due to illegal syntax in method
7303 bodies are now more legible.
7304 * fixed bug #338: instances of EQL-SPECIFIER are now valid type
7305 designators and can hence be used with TYPEP.
7306 * fixed bug #333: CHECK-TYPE now ensures that the type error
7307 signalled, if any, has the right object to be accessed by
7308 TYPE-ERROR-DATUM. (reported by Tony Martinez)
7309 * fixed bug #340: SETF of VALUES obeys the specification in ANSI
7310 5.1.2.3 for multiple-value place subforms. (reported by Kalle
7312 * fixed bug #334: programmatic addition of slots using specialized
7313 methods on SB-MOP:COMPUTE-SLOTS works for :ALLOCATION :INSTANCE
7314 and :ALLOCATION :CLASS slots.
7315 * fixed bug #269: SCALE-FLOAT scales floats by any integer, not just
7316 float exponents. (rereported by Peter Seibel)
7317 * fixed a bug: #\Space (and other whitespace characters) are no
7318 longer considered to be macro characters in standard syntax by
7319 GET-MACRO-CHARACTER.
7320 * fixed bug: initialization of condition class metaobjects no longer
7321 causes an instance of the condition to be created. (reported by
7323 * fixed bug: it is now possible to have slots such that
7324 SB-MOP:SLOT-DEFINITION-ALLOCATION of the effective slot
7325 description is neither :INSTANCE nor :CLASS.
7326 * fixed bug: the ctor optimization of MAKE-INSTANCE now respects
7327 user-defined methods on SLOT-BOUNDP-USING-CLASS and (SETF
7328 SLOT-VALUE-USING-CLASS), and no longer causes errors with
7329 non-standard SLOT-DEFINITION-ALLOCATION values.
7330 * fixed bugs: various race conditions handling exiting threads.
7331 CL-PPCRE's thread torture test now passes.
7332 * fixed arguably-a-bug: GC time proportional to number of threads in
7333 system even when most of them are idle
7334 * optimization: improved performance of BIT and SBIT on bit-vectors.
7335 * .fasl file incompatibility: The fasl file version number has
7336 been incremented because of changes associated with package locks.
7338 changes in sbcl-0.8.12 relative to sbcl-0.8.11:
7339 * minor incompatible change: the system no longer provides
7340 optimization hints (conditions which are TYPEP
7341 SB-EXT:COMPILER-NOTE) for conforming code in default compilation
7342 mode; these hints are still emitted when higher SPEED optimization
7344 * new contrib module: a sampling profiler (profiling by statistical
7345 sampling, rather than by instrumenting functions) is available as
7346 the SB-SPROF contrib. (thanks to Gerd Moellmann and Juho Snellman)
7347 * the behaviour of the standard function ED is now customizeable by
7348 third parties through a hook variable: see ED's documentation
7349 string for information on the protocol.
7350 * the compiler no longer emits efficiency notes for (FUNCALL X)
7351 when the type of X is uncertain under default optimization
7353 * fixed bug 276: mutating a binding of a specialized parameter to a
7354 method to something that is not TYPEP the specializer is now
7356 * fixed bugs 45d and 118: DOUBLE-FLOAT[-NEGATIVE]-EPSILON now
7357 exhibit the required behaviour on the x86 platform. (thanks to
7358 Peter van Eynde, Eric Marsden and Bruno Haible)
7359 * fixed bug 335: ATANH now computes the inverse hyperbolic tangent
7360 even for difficult arguments. (reported by Peter Graves)
7361 * fixed bug 141a: the backquote printer now descends quoted
7363 * fixed another bug in backquote printing: no more destructive
7364 modification of the form's list structure. (reported by Brian
7366 * fixed bug in INTERRUPT-THREAD: pin the function, so that it cannot
7367 move between its address being taken and the call to
7368 interrupt_thread, fixing a crashing race condition.
7369 * the SB-POSIX contrib implementation has been adjusted so that it
7370 no longer exhibits ridiculously poor performance when constructing
7371 instances corresponding to C structs.
7373 changes in sbcl-0.8.11 relative to sbcl-0.8.10:
7374 * minor incompatible change: the sb-grovel contrib now treats C
7375 structures as alien (in the sense of SB-ALIEN) objects rather than
7376 as undistinguished (simple-array (unsigned-byte 8) (*))s. This
7377 has implications for memory management of client code
7378 (sb-grovel-returned objects must now be manually managed) and for
7379 type safety (alien objects now have full types).
7380 * new feature: the SB-EXT:MUFFLE-CONDITIONS declaration should be
7381 used to control emission of compiler diagnostics, rather than the
7382 SB-EXT:INHIBIT-WARNINGS OPTIMIZE quality. See the manual for
7383 documentation on this feature. The SB-EXT:INHIBIT-WARNINGS
7384 quality should be considered deprecated.
7385 * install.sh now installs the user manual as well
7386 * (not quite a new documentable feature, but worth considering in
7387 the light of the new SB-EXT:MUFFLE-CONDITIONS declaration): the
7388 beginnings of a semantically meaningful condition hierarchy is
7389 under development, for use in SB-EXT:MUFFLE-CONDITIONS and by
7391 * fixed bug: PARSE-NAMESTRING now accepts any valid pathaname
7392 designator as the defaults argument.
7393 * fixed bug: Displaced arrays whose displaced-to array has become
7394 too small now cause ARRAY-DIMENSION to signal an error, providing
7395 for safer bounds-checking. (reported by Bruno Haible)
7396 * fixed bug: DEFCLASS slot definitions with identical :READER and
7397 :WRITER names now signal a reasonable error. (reported by Thomas
7399 * fixed bug: CLOSE :ABORT T on appending stream no longer causes
7401 * fixed bug: Invalid slot specification errors now print correctly.
7402 (thanks to Zach Beane)
7403 * fixed bug 320: Shared to local slot value transfers in class
7404 redefinitions now happen corrently from superclasses as
7405 well. (reported by Bruno Haible)
7406 * fixed bug 316: SHIFTF now accepts VALUES forms. (reported by Bruno
7408 * fixed bug 322: DEFSTRUCT :TYPE LIST type predicates now handle
7409 improper lists correctly. (reported by Bruno Haible)
7410 * fixed bug 313: source-transform for <fun-name> was erroneously
7411 applied to a call of a value of a variable with name <fun-name>.
7412 (reported by Antonio Menezes Leitao)
7413 * fixed bug 307: The obsolete instance protocol ensures that
7414 subclasses are properly obsoleted. (thanks to Nikodemus Siivola)
7415 * fixed bug 298, revealed by Paul F. Dietz' test suite: SBCL can
7416 remove dead unknown-values globs from the middle of the stack.
7417 * added a new restart to *BREAK-ON-SIGNALS* handling to make it
7418 easier to resume long computations after using *BREAK-ON-SIGNALS*
7419 to diagnose and fix failures. (thanks to Nikodemus Siivola)
7420 * fixed bug reported by PFD in lisppaste #747 (and Bruno Haible from
7421 CLISP test suite): WRITE-TO-STRING is not constant-foldable.
7422 * fixed bugs in COMPLEX type specifier: UPGRADED-COMPLEX-PART-TYPE
7423 is now consistent with (COMPLEX <x>); bugs in treatment of COMPLEX
7424 MEMBER and UNION types have likewise been fixed. (thanks to Bruno
7426 * fixed a (fairly theoretical) bug in string printing: if
7427 *PRINT-READABLY* is true, signal PRINT-NOT-READABLE if the string
7428 does not have array-element-type equal to the most general string
7430 * fixed bug: SET-PPRINT-DISPATCH does not immediately resolve
7431 function name. (thanks to Nikodemus Siivola)
7432 * fixed bug: compile-time format string checker failed on
7433 non-closed ~{. (reported by Thomas F Burdick)
7434 * fixed bug: as reported by Kalle Olavi Niemitalo on #lisp IRC,
7435 don't warn on legal loop code involving more than one aggregate
7436 boolean. (thanks to Nikodemus Siivola)
7437 * fixed bug: as reported by Peter Graves on #lisp IRC, passing a NIL
7438 in keyword position to MAKE-PACKAGE was not being reported as
7440 * fixed bug: as reported by Juan Ripoll on cmucl-imp,
7441 MULTIPLE-VALUE-BIND should be able to lexically bind lambda list
7443 * fixed bugs 280 and 312: the checking for multiple definitions in a
7444 file is less likely to become confused by uses of inline
7446 * fixed bug: the #S reader macro performs the keyword coercion
7447 specified for slot names. (reported by Kalle Niemitalo)
7448 * fixed bug: lambda lists may contain symbols whose names start with
7449 & but are not lambda-list-keywords; their occurrence triggers a
7451 * fixed bug 321: define-method-combination argument lambda lists do
7452 not cause invalid code to be generated when &optional or &aux
7453 variables have default values. (reported by Bruno Haible)
7454 * fixed bug 327: system subclasses of STRUCTURE-OBJECT or CONDITION
7455 have CLOS classes; this appears also to have fixed reported
7456 instability in stack exhaustion detection.
7457 * fixed bug: the CONTROL-ERROR from ABORT, CONTINUE and
7458 MUFFLE-WARNING when no associated restart is present is now
7460 * optimization: rearranged the expansion of various defining macros
7461 so that each expands into only one top-level form in a
7462 :LOAD-TOPLEVEL context; this appears to decrease fasl sizes by
7464 * optimization: used a previously little-used slot in symbols to
7465 cache SXHASH values, yielding a 5-10% compiler speedup. (thanks
7467 * fixed some bugs revealed by Paul Dietz' test suite:
7468 ** MAKE-INSTANCES-OBSOLETE returns the class name when called with
7470 ** Fixed an optimization bug related to inheritance of initforms
7471 from local to shared slots.
7472 ** FILE-POSITION works as specified on BROADCAST-STREAMs.
7473 ** CAST optimizer forgot to flush argument derived type.
7474 ** print/read consistency on floats is now orders of magnitude
7475 more likely. (thanks also to Bruno Haible for a similar report
7477 ** removed stack cleaning in the cleanup part of UNWIND-PROTECT.
7478 ** IMAGPART is specified (infelicitously) to return (* 0 <thing>)
7479 for objects of type REAL. Make it so.
7480 ** SXHASH is specified (infelicitously) to respect similarity,
7481 which means that (SXHASH 0.0) must equal (SXHASH -0.0). Make
7482 it so. (thanks to Markus Ziegler)
7483 ** on the Alpha, the compiler succeeds in compiling functions
7484 returning a known number of arguments greater than 63.
7485 ** fixed handling of invalid NIL arguments in keyword position
7487 ** fixed non-pretty printing of arrays with *PRINT-RADIX* being
7489 ** provided a readably-printable representation for RANDOM-STATE
7491 ** ensured that pathnames, where they have a namestring, always
7492 print using #P"..." syntax.
7494 changes in sbcl-0.8.10 relative to sbcl-0.8.9:
7495 * Support for the forthcoming 2.0 version of the NetBSD kernel
7496 running on x86 hardware has been added. (thanks to Perry
7497 E. Metzger most immediately, and others for their past work)
7498 * SBCL now runs on OpenBSD 3.4. (Thanks to Scott Parish; 3.4 is the
7499 current release version; SBCL's OpenBSD support had been broken
7500 since about the time of OpenBSD's switch to ELF binary format.)
7501 * [placeholder for DX summary]
7502 ** user code with &REST lists declared dynamic-extent, under high
7503 speed or space and low safety and debug optimization policy.
7504 * The manual has been converted to Texinfo format and the debugger
7505 chapter from the cmucl manual has been added.
7506 * A facility has been added to extract documentation strings from
7507 sbcl and store them as Texinfo-formatted snippets for inclusion in
7508 the manual (via Texinfo's @include directive)
7509 * bug fix: compiler emitted division in optimized DEREF. (thanks for
7510 the test case to Dave Roberts)
7511 * bug fix: multidimensional simple arrays loaded from FASLs had fill
7512 pointers. (reported by Sean Ross)
7513 * bug fix: PROFILE output is printed nicely even for large numerical
7514 values. (thanks to Zach Beane)
7515 * bug fix: streams with element-type (SIGNED-BYTE <N>) for <N>
7516 greater than 32 handle EOF correctly.
7517 * bug fix: on X86 an immediate argument of the IMUL instruction is
7518 correctly printed in disassembly. (thanks to Lutz Euler)
7519 * bug fix: class slots in redefined classes preserve their old
7520 values. (thanks to Bruno Haible and Nikodemus Siivola)
7521 * bug fix: compilation of funcalls of CXX+R (e.g. CDDR) now
7522 succeeds. (reported by Marco Baringer)
7523 * fixed some bugs revealed by Paul Dietz' test suite:
7524 ** READ-SEQUENCE now works on ECHO-STREAMs.
7525 ** RATIONALIZE works more according to its specification. (thanks
7528 changes in sbcl-0.8.9 relative to sbcl-0.8.8:
7529 * deprecation of old extension: *DEBUG-PRINT-LEVEL* and
7530 *DEBUG-PRINT-LENGTH* are now deprecated in favor of the new, more
7531 general SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* mechanism. (This
7532 should matter to you only if you rebind the printer control
7533 variables and then find you want different bindings in the
7534 debugger than in the ordinary execution of your program.)
7535 * The runtime build system has been tweaked to support building
7536 (on SPARC/SunOS) using a C compiler which invokes Sun's own
7537 assembler and linker. (thanks to Nikodemus Siivola)
7538 * Unbound, undefined, undeclared variables now trigger full
7539 WARNINGs, not just STYLE-WARNINGs, on the assumption that this is
7540 more often programmer error than deliberate exploitation of undefined
7542 * optimization: the hash algorithm for strings has changed to one
7543 that is less vulnerable to spurious collisions. (thanks to Juho
7545 * optimization: VECTOR-POP, VECTOR-PUSH-EXTEND and REPLACE do less
7546 needless bounds checking. (thanks to Juho Snellman)
7547 * optimization: implemented multiplication as a modular
7548 (UNSIGNED-BYTE 32) operation on the PPC backend.
7549 * fixed some bugs revealed by Paul Dietz' test suite:
7550 ** ADJUST-ARRAY now copies the datum in a zero rank array if
7552 ** ADJUST-ARRAY no longer adjusts non-adjustable arrays.
7553 ** MAKE-STRING-INPUT-STREAM accepts NIL as a value for :END.
7554 ** MAKE-STRING-INPUT-STREAM functions correctly for strings with
7556 ** CLEAR-INPUT accepts NIL and T for its (optional) stream
7558 ** Ratios can now be printed correctly with *PRINT-BASE* bound to
7560 ** ECHO-STREAMs no longer attempt to echo the end of file value to
7561 their output stream on EOF from read.
7562 ** CONCATENATED-STREAM-STREAMS discards constituent streams which
7563 have been read to end-of-file.
7564 ** CLOSE works as expected on the null CONCATENATED-STREAM, and on
7566 ** Printing symbols with *PRINT-CASE* :CAPITALIZE respects the
7567 description of determination of which consecutive characters
7569 ** Printing the "Space" character with escaping on now yields "#\\ ",
7570 rather than "#\\Space", as mandated by ANSI 22.1.3.2.
7571 ** Reading floating-point numbers with *READ-BASE* set to a number
7572 less than 10 works correctly.
7573 ** Reading floating-point numbers with *READ-BASE* set to a number
7574 more than 10 works correctly.
7575 ** Printing with *PRINT-READABLY* targets the standard readtable, not
7576 the readtable currently in effect.
7578 changes in sbcl-0.8.8 relative to sbcl-0.8.7:
7579 * minor incompatible change: parsing of namestrings on a physical
7580 (Unix) host has changed; numbers after the final #\. in a
7581 namestring are no longer interpreted as a version field. This is
7582 intented to be largely invisible to the user, except that the
7583 meaning of the namestring "*.*.*" has changed: it now refers to a
7584 pathname with :TYPE :WILD :NAME #<pattern "*.*">. This namestring
7585 should usually be replaced by
7586 (make-pathname :name :wild :type :wild :version :wild)
7587 with the added benefit that this is more likely to be portable.
7588 As a consequence of this change, the :IF-EXISTS :NEW-VERSION
7589 option to OPEN now signals an error if the file being opened
7590 exists; this may have an impact on existing code.
7591 * fixed bug 190: RUN-PROGRAM should now work properly, respecting
7592 signals received, on the PowerPC platforms (both Linux and
7593 Darwin). (thanks to Pierre Mai for pointing out the location of
7595 * several fixes on OS X: The system now builds and runs cleanly on
7596 Panther (10.3), and works around sigreturn bug (no more SIGFPEs).
7597 (thanks to Brian Mastenbrook)
7598 * bug fix: DECODE-UNIVERSAL-TIME now accepts timezone arguments with
7599 second-resolution: integer multiples of 1/3600 between -24 and 24.
7600 (thanks to Vincent Arkesteijn)
7601 * bug fix: functions =, /=, <, <=, >, >= did not check the argument
7602 type when called with 1 argument; PEEK-CHAR checked type of
7603 PEEK-TYPE only after having read first character from a
7604 stream. (reported by Peter Graves)
7605 * bug fix: the garbage collector now has much better locality
7606 behaviour, and in particular no longer treats all memory as being
7607 exhausted when many small objects point to each other in a deeply
7609 * bug fix: arrays specialized on (UNSIGNED-BYTE 15) are now
7610 recognized as being TYPEP their class.
7611 * bug fix: the PUSHNEW documentation string has been corrected.
7612 (thanks to Vincent Arkesteijn)
7613 * bug fix: defaulting of the value for the last of an atypically
7614 large number of multiple values being bound was not being
7615 performed correctly on the Alpha or PPC platforms
7616 * optimization: implemented multiplication as a modular
7617 (UNSIGNED-BYTE 32) operation on the x86 backend.
7618 * optimization: SEARCH on simple-base-strings can now be open-coded.
7619 (see also contrib/compiler-extras.lisp for inspiration for
7620 teaching the compiler about the Boyer-Moore algorithm).
7621 * value, returned by MAX (and MIN) called with several EQUALP, but
7622 not EQL, arguments now does not depend on compiler settings.
7623 * fixed some bugs revealed by Paul Dietz' test suite:
7624 ** in stack analysis liveness information is propagated from
7625 non-local entry points.
7626 ** pathwise CAST removing failed when the CAST node did not start
7628 ** INPUT-STREAM-P, OUTPUT-STREAM-P, STREAM-ELEMENT-TYPE and
7629 OPEN-STREAM-P signal a TYPE-ERROR if their argument is not a
7631 ** LOAD-LOGICAL-PATHNAME-TRANSLATIONS returns NIL if the logical
7632 host is already defined.
7633 ** RENAME-FILE works on streams instead of signalling an internal
7635 ** PEEK-CHAR uses the current readtable when determining whether
7636 or not a character is whitespace.
7637 ** MERGE-PATHNAMES handles the case when the pathname does not
7638 specify a name while the default-pathname specifies a version.
7639 ** Pathnames now stand a better chance of respecting print/read
7641 ** Attempting to use standardized file system operators with a
7642 pathname with invalid :DIRECTORY components signals a
7644 ** OPEN :DIRECTION :IO no longer fails to work on non-existent
7646 ** DIRECTORY on logical pathnames is more correct.
7647 ** CLEAR-INPUT, CLEAR-OUTPUT, FINISH-OUTPUT and FORCE-OUTPUT
7648 signal a TYPE-ERROR if their argument is not a stream.
7649 ** READ-BYTE and WRITE-BYTE signal a TYPE-ERROR if their stream
7650 designator argument does not designate a stream.
7651 ** OPEN-STREAM-P and INPUT-STREAM-P on synonym streams work by
7652 examining the synonym.
7653 ** STREAM-ELEMENT-TYPE and FRESH-LINE on broadcast-streams now
7655 ** OPEN and WITH-OPEN-STREAM allow opening streams with
7656 element-type larger than ([UN]SIGNED-BYTE 32).
7658 changes in sbcl-0.8.7 relative to sbcl-0.8.6:
7659 * When built with the :SB-FUTEX feature, threaded builds now take
7660 advantage of the "fast userspace mutex" facility in Linux kernel 2.6
7661 for faster/more reliable mutex and condition variable support.
7662 * Incompatible change (but one you probably shouldn't have been using
7663 anyway): the interface and code for arbitrating between multiple
7664 threads in the same user session has been redesigned.
7665 * bug fix: GET-SETF-EXPANSION no longer throws an internal type
7666 error when called without an explicit environment argument.
7667 (thanks to Nikodemus Siivola)
7668 * bug fix: buffered :DIRECTION :IO streams are less likely to become
7669 confused about their position. (thanks to Adam Warner and Gerd
7671 * bug fix: Pretty printing backquoted forms with unquotations in the
7672 argument list position of various code constructs such as LAMBDA
7673 now works correctly. (reported by Paul Dietz)
7674 * bug fix: Pretty printing unquotations no longer loses all
7675 stream position information.
7676 * optimization: performance of string output streams is now less
7677 poor for multiple small sequence writes.
7678 * optimization: performance of CSUBTYPEP in the presence of complex
7679 expressions involving CONS and NOT many times has been improved.
7680 (reported by Paul Dietz)
7681 * ASDF-INSTALL bug fix: now parses *PROXY* properly. (thanks to
7683 * SB-SIMPLE-STREAMS enhancement: simple-streams can now be used as
7684 streams for the REPL, for the debugger, and so on. (thanks to
7686 * DEFINE-CODITION is more efficient. (thanks to Brian Mastenbrook)
7687 * fixed some bugs revealed by Paul Dietz' test suite:
7688 ** the value of the :REHASH-THRESHOLD argument to MAKE-HASH-TABLE
7689 is ignored if it is too small, rather than propagating through
7690 to cause DIVIDE-BY-ZERO or FLOATING-POINT-OVERFLOW errors.
7691 ** extremely complex negations of CONS types were not being
7692 sufficiently canonicalized, leading to inconsistencies in
7694 ** VALUES tranformer lost derived type.
7696 changes in sbcl-0.8.6 relative to sbcl-0.8.5:
7697 * fixed a bootstrapping bug: the build process no longer assumes
7698 that the various BOOLE-related constants have the same value in
7699 host and target lisps. (noted by Paul Dietz' test suite on an
7700 SBCL binary built from CLISP)
7701 * The system can now be dynamically linked on the MIPS platform,
7702 which enables dynamic loading of foreign code from Lisp. (thanks
7703 to Ralf Baechle for discussions on the MIPS ABI)
7704 * The system now records debugging information for its own source
7705 files in a filesystem-position-independent manner, relative to
7706 the "SYS" logical host.
7707 * fixed a compiler bug: MV-LET convertion did not check references
7708 to the "max args" entry point. (reported by Brian Downing)
7709 * tweaked disassembly notes to be less confident about proclaiming
7710 some instruction as an LRA. (thanks to Brian Downing)
7711 * contrib update: SB-ACLREPL is now threadsafe; multiple listeners
7712 now each have their own history, command character, and other
7713 characteristics. (thanks to David Lichteblau)
7714 * fixed some bugs revealed by Paul Dietz' test suite:
7715 ** compiler failure in compiling LOGAND expressions including a
7717 ** Implementation of ASH-MOD32 on X86 and PPC did not work for the
7718 shift greater than 32.
7719 ** FLUSH-DEST did not mark blocks for type check regeneration.
7720 ** HANDLER-CASE failed to accept declarations in handler clauses
7721 in some circumstances.
7723 changes in sbcl-0.8.5 relative to sbcl-0.8.4:
7724 * New code in contrib/sb-introspect (still probably not entirely
7725 stable yet) provides some support for smart Lisp development
7726 environments like SLIME.
7727 * The conditions signalled for errors occurring when loading .fasl
7728 files have been systematized (inheriting from SB-EXT:INVALID-FASL)
7729 in a way which should help ASDF recover gracefully.
7730 * The REQUIRE/PROVIDE behavior of *MODULE-PROVIDER-FUNCTIONS*
7731 stuff has been cleaned up. If you code contrib/ stuff, this might
7732 affect you, and you can look at contrib/README, contrib/STANDARDS,
7733 and/or the 0.8.4.27 diff to check.
7734 * In full calls the compiler now does not generate checks for declared
7735 argument types for all arguments.
7736 * various threading fixes
7737 ** and some experimental patches which didn't make it into
7738 the main tree for this release, but which are shipped in
7739 contrib/experimental-thread.patch as a possible fix for some
7740 failures (deadlock, spinning...) in GC-intensive multithreaded
7742 * fixed PPC build problem (source code incompatibility of different
7743 library versions): added offsetof() hackery which attempts to divine
7744 where glibc maintainers put uc_mcontext today
7745 * fixed bug 282: compiler does not trust type assertions while passing
7746 arguments to a full call.
7747 * fixed bug 261: compiler allows NIL or "no value" to be accepted for
7748 &OPTIONAL VALUES type parameter.
7749 * fix bug 214: algorithm for noting rejected templates is now more
7750 similar to that of template seletion. (also reported by rydis on
7752 * fixed bug 141b: printing backquoted information readably and prettily
7753 inserts a space where necessary.
7754 * bug fix: obviously wrong type specifiers such as (FIXNUM 1) or
7755 (CHARACTER 10) are now reported as errors, rather than propagated
7756 as unknown types. (reported by piso on #lisp)
7757 * bug fix: the :IF-EXISTS argument to OPEN now behaves correctly
7758 with values NIL and :ERROR. (thanks to Milan Zamazal)
7759 * fixed bug 191c: CLOS now does proper keyword argument checking as
7760 described in CLHS 7.6.5 and 7.6.5.1.
7761 * bug fix: LOOP forms using NIL as a for-as-arithmetic counter no
7762 longer raise an error; further, using a list as a for-as-arithmetic
7763 counter now raises a meaningful error.
7764 * fixed bug 213a: even fairly unreasonable CONS type specifiers are
7765 now understood by sequence creation functions such as MAKE-SEQUENCE
7767 * fixed bug 46k: READ-BYTE now signals an error when asked to read from
7768 a STRING-INPUT-STREAM.
7769 * compiler enhancement: SIGNUM is now better able to derive the type
7771 * type declarations inside WITH-SLOTS are checked. (reported by
7773 * fixed some bugs revealed by Paul Dietz' test suite:
7774 ** incorrect optimization of TRUNCATE for a positive first
7775 argument and negative second.
7776 ** compiler failure in let-convertion during flushing dead code.
7777 ** compiler failure while deriving type of TRUNCATE on an
7778 interval, containing 0.
7779 ** ASH of a negative bignum by a negative bignum count now returns
7781 ** intersection of CONS types now canonicalizes properly, fixing
7782 inconsistencies in SUBTYPEP.
7784 changes in sbcl-0.8.4 relative to sbcl-0.8.3:
7785 * incompatible change: The --disable-debugger command line
7786 option now clobbers the debugger at a more fundamental
7787 level, by redefining #'INVOKE-DEBUGGER instead of by
7788 rebinding *DEBUGGER-HOOK*. The main difference is that BREAK
7789 is specified by ANSI to ignore *DEBUGGER-HOOK* and
7790 INVOKE-DEBUGGER regardless. Under the old system, BREAK would
7791 enter the debugger REPL and then suffer recursive errors
7792 because *DEBUG-IO* is also messed up in --disable-debugger mode;
7793 while under the new system, BREAK in --disable-debugger mode
7794 terminates the system just as an unhandled error would.
7795 * fixed compiler performance when processing loops with a step >1;
7796 * bug fix: DOCUMENTATION now retrieves generic function
7797 documentation. Also, DOCUMENTATION and (SETF DOCUMENTATION)
7798 support has been systematized, and now supports the methods
7799 specified by ANSI, along with a default method and a method for
7800 slot documentation. (reported by Nathan Froyd)
7801 * bug fix: effective methods associated with a generic function are
7802 no longer cached over a change of that generic function's method
7803 combination. (reported by Andreas Fuchs)
7804 * bug fix: RUN-PROGRAM now does not fail if some element in $PATH
7805 names a non-existent directory. (thanks to Andreas Fuchs)
7806 * bug fix: ROUND and TRUNCATE could, under certain circumstances on
7807 the PPC platform, lead to stack corruption; this has been fixed.
7808 (reported by Rainer Joswig)
7809 * bug fix: ASH on an (UNSIGNED-BYTE 32) with a shift of -32 or lower
7810 no longer ever returns 1 instead of 0. (thanks to Lars Brinkhoff)
7811 * fixed bug 285: TRUNCATE on bignum arguments, and indeed bignum
7812 arithmetic in general, is now much more reliable on the PPC
7814 * bug fix: LOGCOUNT on (UNSIGNED-BYTE 64) objects on the Alpha
7815 platform now returns the right answer.
7816 * optimization: restored some effective method precomputation in
7817 CLOS (turned off by an ANSI fix in sbcl-0.8.3); the amount of
7818 precomputation is now tunable.
7819 * optimization: compiler-internal data structure use has been
7820 reviewed, and changes have been made that should improve the
7821 performance of the compiler by about 20%.
7822 * optimization: performance of FILL (and :INITIAL-ELEMENT) on
7823 simple-base-strings and simple-bit-vectors is improved.
7824 * optimization: the optimization of 32-bit logical and arithmetic
7825 functions introduced in version 0.8.3 on the x86 has been
7826 implemented on the mips, ppc and sparc platforms; an
7827 implementation of the same facility, but for 64-bit arithmetic,
7828 has been added for the alpha.
7829 * microoptimization: the compiler is better able to make use of the
7830 x86 LEA instruction for multiplication by constants.
7831 * bug fix: in some situations compiler did not report usage of
7832 generic arithmetic in (SPEED 3) policy.
7833 * bug 145b fix: compiler used wrong type specifier while converting
7834 MEMBER-types to numeric.
7835 * bug fix: COMPILE-FILE must bind *READTABLE*. (reported by Doug
7837 * bug fix: (SETF AREF) on byte-sized-element arrays with constant
7838 index argument now works properly on the Alpha platform.
7839 * bug fix: floating point exception treatment on the Alpha platform
7841 * bug fix: FILE-POSITION works much better on string input and
7842 output streams. (thanks to Nikodemus Siivola)
7843 * bug fix: many threading/garbage collection symptoms sorted.
7844 SB-THREAD:INTERRUPT-THREAD now safe to call on a thread that
7845 might be pseudo-atomic.
7846 * internal change: Stopping for GC is now done with signals not
7847 ptrace. GC is now done in whichever thread wanted it, instead of
7849 * bug fix: GC hooks (missing since 0.8) reinstated, so finalizers
7851 * bug fix: result form in DO is not contained in the implicit
7853 * incompatible change: ICR structure is changed; the value part of
7854 CONTINUATION is now called LVAR; corresponding functions are
7855 renamed (e.g. SB-C::CONTINUATION-TYPE has become SB-C::LVAR-TYPE).
7856 * added type deriver for ISQRT (thanks to Robert E. Brown).
7857 * bug fix: better support for loading from the command line when an
7858 initialization file sets (READTABLE-CASE *READTABLE*). (thanks
7860 * fixed some bugs revealed by Paul Dietz' test suite:
7861 ** the RETURN clause in LOOP is now equivalent to DO (RETURN ...).
7862 ** ROUND and FROUND now give the right answer when given very
7863 small float arguments.
7864 ** (FLOAT X) for X of type DOUBLE-FLOAT now returns X in all
7866 ** optimizer for (EXPT X 0) did not work for X not of type FLOAT.
7867 ** (GCD 0 <negative-integer>) returned <negative-integer>.
7868 ** LCM should return a non-negative integer.
7869 ** PARSE-INTEGER returned the index of a terminator instead of the
7870 upper bounding index of a substring in case :JUNK-ALLOWED NIL.
7871 ** PARSE-INTEGER returned an incorrect index being applied to a
7873 ** LCM with two arguments of 0 returns 0 rather than signalling
7875 ** unsigned addition of a 32-bit constant with the high bit set no
7876 longer causes an internal compiler error on the x86.
7877 ** LOGBITP accepts a non-negative bignum as its INDEX argument.
7878 ** compiler incorrectly derived types of DPB and DEPOSIT-FIELD
7879 with negative last argument.
7880 ** byte specifiers with zero size and position no longer cause
7881 an error during type derivation.
7882 ** bignum multiplication on the Alpha platform now returns the
7884 * porting: The system now builds on SuSE AMD64, although it still
7885 generates a 32-bit binary.
7886 * .fasl file incompatibility: The fasl file version number has
7887 been incremented (because of the changes to internal compiler
7888 data structures referred to above).
7890 changes in sbcl-0.8.3 relative to sbcl-0.8.2:
7891 * SBCL now builds and runs on MacOS X (version 10.2), or perhaps
7892 more accurately, on the Darwin kernel running on PowerPC hardware.
7893 (thanks to Brian Mastenbrook, Pierre Mai and Patrik Nordebo)
7894 * Compiler code deletion notes now signal a condition of type
7895 SB-EXT:CODE-DELETION-NOTE (a subtype of SB-EXT:COMPILER-NOTE) with
7896 an associated MUFFLE-WARNING restart.
7897 * The compiler now performs limited argument count validation of
7898 constant format strings in FORMAT, and where appropriate in ERROR,
7899 CERROR and WARN. (thanks to Gerd Moellmann)
7900 * New ASDF-INSTALL contrib can be used for automatic download and
7901 installation of third-party Lisp code from CCLAN or other sites
7903 * Threaded builds (:SB-THREAD) now support SB-THREAD:INTERRUPT-THREAD,
7904 which forces another thread to execute a function supplied by the
7906 * bug 75 fix: WITH-OUTPUT-TO-STRING (and MAKE-STRING-OUTPUT-STREAM)
7907 now accept and act upon their :ELEMENT-TYPE keyword argument.
7908 (reported by Martin Atzmueller, Edi Weitz)
7909 * bug fix: FILE-POSITION now accepts position designators up to
7910 ARRAY-DIMENSION-LIMIT or the extreme of the off_t range, whichever
7911 is the greater. (thanks to Patrik Nordebo)
7912 * bug fix: MAKE-ARRAY ignored :INITIAL-CONTENTS NIL. (reported by
7913 Kalle Olavi Niemitalo)
7914 * bug fix: the CLASS-PROTOTYPE of the GENERIC-FUNCTION class is now
7915 printable. (reported by Eric Marsden)
7916 * bug fix in sb-posix: mmap() now works on systems with a 64-bit
7917 off_t, including Darwin and FreeBSD. (thanks to Andreas Fuchs)
7918 * x86 bug fix in control stack exhaustion checking: now shows backtrace
7919 * bug fix in WITH-TIMEOUT: now the body can have more than one form.
7920 (thanks to Stig Sandoe)
7921 * bug fix in READ-SEQUENCE: READ-SEQUENCE following PEEK-CHAR or
7922 UNREAD-CHAR now correctly includes the unread character in the
7923 target sequence. (thanks to Gerd Moellmann)
7924 * bug fix in threaded builds: the system can now be suspended and
7925 resumed by shell job control with minimal disruption.
7926 * bug fixes in times and timezones >2038AD
7927 * better handling of "where is GNU make?" problem in build scripts
7928 (thanks to Nikodemus Siivola)
7929 * new optimization: inside a named function any reference to a
7930 function with the same name is considered to be a self-reference;
7931 this behaviour is controlled with SB-C::RECOGNIZE-SELF-CALLS
7932 optimization quality.
7933 * new optimization on x86: logical functions and + now have
7934 optimized (UNSIGNED-BYTE 32) versions, which are automatically
7935 used when the result is truncated to 32 bits.
7936 * VALUES declaration is partially enabled.
7937 * fixes in SB-GROVEL (thanks to Andreas Fuchs)
7938 * fixed some bugs revealed by Paul Dietz' test suite:
7939 ** The system now obeys the constraint imposed by
7940 UPGRADED-ARRAY-ELEMENT-TYPE that the upgraded array element
7941 types form a lattice under type intersection.
7942 ** FFLOOR, FTRUNCATE, FCEILING and FROUND work with integers.
7943 ** ASSOC now ignores NIL elements in an alist.
7944 ** CEILING now gives the right answer with MOST-NEGATIVE-FIXNUM
7945 and (1+ MOST-POSITIVE-FIXNUM) answers.
7946 ** The addition of a method with invalid qualifiers to a generic
7947 function does not cause an error to be signalled immediately;
7948 a warning is signalled, and the error is generated only on
7949 calling the generic function.
7950 * changed .fasl file version number, in part to add type codes for
7951 new array subtypes UNSIGNED-BYTE 7, 15, 29, and 31 mandated by
7952 obscure ANSI requirements
7954 changes in sbcl-0.8.2 relative to sbcl-0.8.1:
7955 * fixed bug 148: failure to inline-expand a local function left
7956 garbage, confusing the compiler.
7957 * fixed bugs 3cd: structure slot readers perform type check if the
7958 slot can have an invalid value (i.e. it is either not initialized
7959 or can be written with a less specific slot writer).
7960 * bug fix: the compiler now traps array references to elements off
7961 the end of an array; previously, the bounds checking in some
7962 circumstances could go off-by-one.
7963 * improved MACHINE-VERSION, especially on Linux (thanks to Lars
7965 * type declarations for array element types now obey the description
7966 on the CLHS page "Declaration TYPE", as per discussions on
7967 sbcl-help around 2003-05-08. This means that a declaration
7968 (TYPE (ARRAY FOO) BAR) means that, within the scope of the
7969 declaration, all references to BAR will be asserted or assumed
7970 (with THE, so dependent on compiler policy) to involve objects of
7971 type FOO. Note that no such declaration is implied in
7972 (MAKE-ARRAY .. :ELEMENT-TYPE 'FOO).
7973 * declared types of functions from the "Conditions"
7974 chapter. (reported by Paul Dietz)
7975 * bug fix: CERROR accepts a function as its first argument.
7976 * bug fix: NTH an NTHCDR accept a bignum as index
7977 arguments. (reported by Adam Warner)
7978 * optimization: character compare routines now optimize comparing
7979 against a constant character. (reported by Gilbert Baumann)
7980 * bug fix: (SETF AREF) on byte-sized-element arrays with constant index
7981 argument now works properly on the MIPS platform.
7982 * fixed compiler failure on (TYPEP x '(NOT (MEMBER 0d0))).
7983 * repeated evaluation of the same DEFSTRUCT, a slot of which is
7984 declared to have a functional type, does not cause an error
7986 * fixed bug: sometimes MAKE-INSTANCE did not work with classes with
7987 many :DEFAULT-INITARGS. (reported by Istvan Marko)
7988 * fixed bug: if last continuation of a deleted block has a
7989 destination, this destination should be deleted too. (reported by
7991 * fixed a bug in the bootstrap process: the host compiler's values
7992 of ARRAY-DIMENSION-LIMIT and ARRAY-TOTAL-SIZE-LIMIT no longer leak
7993 into the newly-built SBCL. (reported by Eric Marsden on #lisp,
7994 test case from Patrik Nordebo)
7995 * improved the ability of the disassembler on the PPC platform to
7996 provide helpful disassembly notes.
7997 * SB-MOP:CLASS-PROTOTYPE on built-in-classes returns an instance of
7998 the class in more cases than previously.
7999 * bug fix: FILE-POSITION now understands :START and :END for
8000 STRING-INPUT-STREAMs. (thanks to Nikodemus Siivola)
8001 * bug fix: (SIGNED-BYTE 8) streams no longer return (UNSIGNED-BYTE
8002 8) data. (thanks to David Lichteblau)
8003 * bug fix: it is possible to add a method to a generic function
8004 without lambda list.
8005 * bug fix: reader failed to signal END-OF-FILE inside an
8006 object representation. (reported by Nikodemus Siivola)
8007 * fixed some bugs revealed by Paul Dietz' test suite:
8008 ** LAST and [N]BUTLAST should accept a bignum.
8009 ** condition slot accessors are methods.
8010 ** (VECTOR NIL) is a subtype of STRING.
8012 changes in sbcl-0.8.1 relative to sbcl-0.8.0:
8013 * minor incompatible change: some nonsensical specialized lambda
8014 lists (used in DEFMETHOD) which were previously ignored now signal
8016 * minor incompatible change: the system is now aware of the types of
8017 variables in the COMMON-LISP package, and will signal errors for
8018 most violations of these type constraints (where previously they
8019 were silently accepted).
8020 * minor incompatible change: COMPILE-FILE now uses the freedom
8021 afforded (ANSI 3.2.2.3) to use derived function types for
8022 functions defined in the same file. This also permits the system
8023 to warn on static type mismatches and function
8024 redefinition. (Currently it does not work with high DEBUG level.)
8025 * minor incompatible change: VALUES declaration is disabled.
8026 * When issuing notes, the compiler now signals a condition of type
8027 SB-EXT:COMPILER-NOTE, and provides an associated MUFFLE-WARNING
8028 restart for use in user handlers. It is expected that the
8029 COMPILER-NOTE condition will eventually become a condition
8030 supertype to a hierarchy of note types, which will then be
8031 handleable in a similar fashion. However, at the moment, no such
8032 note subtypes yet exist. (SB-INT:SIMPLE-COMPILER-NOTE exists,
8033 but it's an implementation detail, not a classification for the
8035 * Changes in type checking closed the following bugs:
8036 ** type checking of unused values (192b, 194d, 203);
8037 ** template selection based on unsafe type assertions (192c, 236);
8038 ** type checking in branches (194bc).
8039 * A short form of VALUES type specifier has ANSI meaning (it has
8040 increased the number of situations when SBCL cannot perform type
8042 * fixed bug in DEFSTRUCT: once again, naming structure slots with
8043 keywords or constants is permissible.
8044 * STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE now have methods
8045 defined on the relevant FUNDAMENTAL-BINARY-{INPUT,OUTPUT}-STREAM
8046 classes. (thanks to Antonio Martinez)
8047 * improved ANSIness in DESCRIBE: The DESCRIBE function no longer
8048 outputs FRESH-LINE or TERPRI, and no longer converts its stream
8049 argument to a pretty-print stream. Instead, it leaves any such
8050 operations to DESCRIBE-OBJECT methods.
8051 * bug fix: APROPOS now respects the EXTERNAL-ONLY flag. (reported
8053 * bug fix: NIL is now a valid destructuring argument in DEFMACRO
8054 lambda lists. (thanks to David Lichteblau)
8055 * bug fix: Defining a generic function with a :METHOD-CLASS being a
8056 subclass of STANDARD-METHOD no longer causes stack exhaustion.
8057 (thanks to Gerd Moellmann)
8058 * fixed bug 246: increased compilation speed of long
8059 MULTIPLE-VALUE-BIND (and likewise of NTH-VALUE with a constant
8061 * a contributed module implementing COMPILER-LET and MACROEXPAND-ALL
8063 * DEFCONSTANT now throws a condition of type
8064 SB-EXT:DEFCONSTANT-UNEQL if it is being asked to redefine a
8065 constant to a non-EQL value; CONTINUE and ABORT restarts
8066 respectively change and preserve the value.
8067 * fixed bug 63: The code walker, part of the implementation of CLOS,
8068 is now better at handling symbol macros.
8069 * bug fix: There is no longer an internal implementation type named
8070 CL:LENGTH. (reported by Raymond Toy)
8071 * bug fix: In macro-like defining macros/special operators the
8072 implicit block does not enclose the lambda list.
8073 * fixed bugs 10 and 43: Bare VALUES, AND, OR and MEMBER symbols (not
8074 enclosed in parentheses) are not suitable as type specifiers, and
8075 their use properly signals an error now.
8076 * bug fix: An argument count mismatch for a type specifier in code
8077 being compiled no longer causes an unhandled error at compile
8078 time, but signals a compile-time warning.
8079 * fixed simple vector readable printing
8080 * bug fix: DESCRIBE takes more care over whether the class
8081 precedence list slot of a class is bound before accessing it.
8082 (reported by Markus Krummenacker)
8083 * bug fix: FORMATTER can successfully compile pretty-printer format
8084 strings which use variants of the ~* directive inside.
8085 * bug fix: SEARCH now applies its TEST predicate to the elements of
8086 the arguments in the correct order. (thanks to Wolfhard Buss)
8087 * fixed bug 235b: The compiler uses return types of MAPCAR and friends
8088 in type inference. (thanks to Robert E. Brown)
8089 * bug fix: Reading in symbols with an explicit package name of ""
8090 (e.g. '||::FOO) now works correctly. (reported by Henrik Motakef)
8091 * fixed some bugs revealed by Paul Dietz' test suite:
8092 ** NIL is now allowed as a structure slot name.
8093 ** Arbitrary numbers, not just REALs, are allowed in certain
8094 circumstances in LOOP for-as-arithmetic clauses.
8095 ** Multiple class redefinitions before slot access no longer
8096 causes a type error.
8097 ** (SETF FIND-CLASS) now accepts NIL as an argument to remove the
8098 association between the name and a class.
8099 ** Generic functions with non-standard method-combination and over
8100 five methods all of which return constants no longer return NIL
8101 after the first few invocations. (thanks to Gerd Moellmann)
8102 ** CALL-NEXT-METHOD with no arguments now passes the original
8103 values of the arguments, even in the presence of assignment.
8104 ** Functions [N]SUBST*, LAST, NRECONC, [N]SUBLIS may return any
8106 ** DISASSEMBLE works with closures and funcallable instances.
8107 ** ADD-METHOD now returns the generic function, not the new method.
8108 ** FIND-METHOD signals an error if the lengths of the specializers
8109 is incompatible with the generic function, even if the ERRORP
8111 ** TYPE-OF returns recognizeable subtypes of all built-in-types of
8112 which its argument is a member.
8113 ** DEFCLASS only redefines the class named by its class-name
8114 argument if that name is the proper name of the class;
8115 otherwise, it creates a new class.
8116 ** SLOT-UNBOUND now correctly initalizes the CELL-ERROR-NAME slot
8117 of the UNBOUND-SLOT condition to the name of the slot.
8118 ** (SETF (AREF bv 0) ...) did not work for bit vectors.
8119 ** SLOT-UNBOUND and SLOT-MISSING now have their return values
8120 treated by SLOT-BOUNDP, SLOT-VALUE, (SETF SLOT-VALUE) and
8121 SLOT-MAKUNBOUND in the specified fashion.
8123 changes in sbcl-0.8.0 relative to sbcl-0.8alpha.0
8124 * SBCL now builds using CLISP (version of late April 2003 from CVS) as
8125 cross-compilation host. As a consequence, we can now bootstrap our
8126 way up to SBCL starting with a bare gcc toolchain and human-readable
8127 source code (first the source to CLISP, then the source to SBCL).
8128 * A contributed module containing a partial implementation of the
8129 simple-streams interface has been included. (thanks to Rudi
8131 * A contributed module implementing the RFC1321 Message Digest
8132 Algorithm, known as MD5, has been included.
8133 * minor incompatible change: The :NEGATIVE-ZERO-IS-NOT-ZERO feature
8134 no longer has any effect, as the code controlled by this feature
8135 has been deleted. (As far as we know, no-one has ever built using
8136 this feature, and its semantics were confused in any case).
8137 * minor incompatible change: As a consequence of making SLOT-EXISTS-P
8138 work on conditions (as required by the ANSI specification),
8139 SLOT-VALUE, (SETF SLOT-VALUE) and SLOT-BOUNDP likewise have the
8140 expected behaviour on conditions. Users should note, however,
8141 that such behaviour is not required by the ANSI specification,
8142 and so use of this behaviour may render their code unportable.
8143 * fixed some bugs revealed by Paul Dietz' test suite:
8144 ** the GENERIC-FUNCTION type is no longer disjoint from FUNCTION
8146 ** &ENVIRONMENT parameter in macro lambda list is bound first.
8147 ** SXHASH on condition objects no longer returns NIL.
8148 ** :ALLOCATION :CLASS slots are better treated; their values are
8149 updated on class redefinition, and initforms inherited from
8150 superclasses are applied.
8151 ** REMOVE-METHOD returns its generic function argument even when
8152 no method was removed.
8153 ** SHARED-INITIALIZE now initializes the values of the requested
8154 slots, including those with :ALLOCATION :CLASS.
8155 ** ALLOCATE-INSTANCE now works on structure classes defined via
8156 DEFSTRUCT (and not just by those from DEFCLASS :METACLASS
8158 ** SLOT-EXISTS-P now works on conditions, as well as structures
8160 ** MAKE-LOAD-FORM now has the required methods on
8161 STRUCTURE-OBJECT, CONDITION and STANDARD-OBJECT.
8162 ** MAKE-LOAD-FORM-SAVING-SLOTS no longer returns a special
8163 keyword, and now implements the SLOT-NAMES argument.
8164 ** methods with &OPTIONAL arguments no longer allow too many
8165 arguments to be passed in the call without error.
8166 ** DEFGENERIC now checks that the :ARGUMENT-PRECEDENCE-ORDER
8167 option is consistent with the required arguments of the generic
8168 function lambda list.
8169 * bug fix: REQUIRE accepts a string designator. (Thanks to
8171 * bug fix: SB-MOP:DIRECT-SLOT-DEFINITION-CLASS and
8172 SB-MOP:EFFECTIVE-SLOT-DEFINITION-CLASS now have the
8173 specified-by-AMOP lambda list of (CLASS &REST INITARGS).
8174 * bug fix: The compiler now checks for duplicated variables in macro
8176 * bug fix: SETQ on globals returns the correct value.
8177 * fixed bug 47.d: (DEFGENERIC IF (X)) now signals a PROGRAM-ERROR,
8178 not a COMPILER-ERROR (followed by some other strange error on
8179 choosing the CONTINUE restart).
8180 * bug fix: make.sh and friends are now more consistent in the way that
8181 they look for GNU "make".
8183 changes in sbcl-0.8alpha.0 relative to sbcl-0.7.14
8184 * experimental native threads support (on x86 Linux >=2.4 only).
8185 This is not compiled in by default: you need to add :SB-THREAD to
8186 the target features. See the "Beyond ANSI" chapter of the manual
8188 * fix for longstanding nonANSIism: The old distinction between
8189 CL:CLASS objects and SB-PCL:CLASS objects has been eliminated.
8190 The return value from CL:FIND-CLASS is now a CLOS class, and
8191 likewise that of CL:CLASS-OF; CL:BUILT-IN-CLASS,
8192 CL:STRUCTURE-CLASS and CL:STANDARD-CLASS name CLOS classes.
8193 * An interface to the MetaObject Protocol, as described in Kiczales,
8194 des Rivieres and Bobrow's "The Art of the Metaobject Protocol",
8195 MIT Press, 1991, is available from the SB-MOP package.
8196 * incompatible change: the SB-PCL package should now be considered
8197 a private implementation detail, and no longer a semi-private MOP
8199 * minor incompatible change: due to rearrangement for threads, the
8200 control stack and binding stack are now allocated at arbitrary
8201 addresses instead of being hardcoded per-port. Users affected by
8202 this probably have to be doing advanced things with shared
8203 libraries, and will know who they are.
8204 * minor incompatible change: Previously, all --eval forms used were
8205 processed with READ before any of them were processed with EVAL.
8206 Now each --eval form is processed with both READ and EVAL before
8207 the next --eval form is processed. (Thus package operations like
8208 sbcl --eval "(defpackage :foo)" --eval "(print 'foo::bar)" now
8209 work as the user might reasonably expect.)
8210 * minor incompatible change: *STANDARD-INPUT* is now only an
8211 INPUT-STREAM, not a BIDIRECTIONAL-STREAM. (thanks to Antonio
8213 * minor incompatible change: Y-OR-N-P is now character-oriented,
8214 not line oriented. Also, YES-OR-NO-P now works without errors.
8215 (thanks to Antonio Martinez)
8216 * sb-aclrepl module improvements: an integrated inspector, added
8217 repl features, and a bug fix to :trace command.
8218 * Known functions, which cannot be open coded by the backend, are
8219 considered to be able to check types of their arguments. (fixing
8220 a bug report by Nathan J. Froyd)
8221 * fixed a bug in computing method discriminating functions: It is
8222 now possible to define methods specialized on classes which have
8223 forward-referenced superclasses. (thanks to Gerd Moellmann)
8224 * fixed evaluation order in optional entries (reported by Gilbert
8226 * SB-MOP:ENSURE-CLASS-USING-CLASS now takes its arguments in the
8227 specified-by-AMOP order of (CLASS NAME &REST ARGS &KEY).
8228 * SB-MOP:COMPUTE-EFFECTIVE-SLOT-DEFINITION now takes the
8229 required-by-AMOP NAME argument, as well as CLASS and
8230 DIRECT-SLOT-DEFINITIONS. (thanks to Kevin Rosenberg)
8231 * fixed bug 20: DEFMETHOD can define methods using names that are
8232 not the proper names of classes to designate class specializers.
8233 * bug fix: INTERACTIVE-STREAM-P now works on streams associated with
8234 Unix file descriptors, instead of blowing up. (thanks to Antonio
8236 * Garbage collection refactoring: user-visible change is that a
8237 call to the GC function during WITHOUT-GCING will not do garbage
8238 collection until the end of the WITHOUT-GCING. If you were doing
8239 this you were probably losing anyway.
8240 * fixed bug in MEMBER type: (MEMBER 0.0) is not the same as
8241 (SINGLE-FLOAT 0.0 0.0), because of the existence of -0.0 which is
8242 TYPEP the latter but not the former.
8243 * The compiler issues a full WARNING for calls to undefined functions
8244 with names from the CL package.
8245 * MAP-INTO for a vector destination is open coded. (reported by
8246 Brian Downing on c.l.l)
8247 * bug fix: the long form of DEFINE-METHOD-COMBINATION now accepts a
8248 documentation string.
8249 * fixed some bugs revealed by Paul Dietz' test suite:
8250 ** COPY-ALIST now signals an error if its argument is a dotted
8252 ** Condition slots are now accessed more correctly in the presence
8253 of multiple initargs for a given slot.
8254 ** The USE-VALUE, CONTINUE and STORE-VALUE functions now correctly
8255 exclude restarts of the same name associated with a different
8257 ** DEFCLASS of forward-referenced classes with another
8258 forward-referenced class in the superclasses list no longer
8260 ** Condition slots are now initialized once each, not multiple
8261 times. (thanks to Gerd Moellmann)
8262 ** CONVERT-MORE-CALL failed on a lambda list (&KEY). (thanks to
8264 ** &WHOLE and &REST arguments in macro lambda lists are patterns.
8265 ** NSET-EXCLUSIVE-OR does not return extra elements when its
8266 arguments contain duplicated elements.
8267 ** RESTART-CASE understands local macros.
8268 ** RESTART-CASE associates exactly its own restarts with a condition.
8269 ** ENDP in safe mode checks its argument to be of type LIST.
8270 ** COPY-SYMBOL in a threaded build no longer fails when the symbol
8271 in question is unbound.
8272 ** Optimized MAKE-INSTANCE functions no longer cause internal
8273 assertion failures in the presence of duplicate initargs.
8274 ** SLOT-MAKUNBOUND returns the instance acted upon, not NIL.
8275 ** Side-effectful :DEFAULT-INITARGS have their side-effects
8276 propagated even in the ctor optimized implementation of
8278 ** :ALLOW-OTHER-KEYS NIL is now accepted in an initarg list.
8280 changes in sbcl-0.7.14 relative to sbcl-0.7.13:
8281 * a better implementation of SXHASH on (simple) bit vectors,
8282 measured both in execution speed and in distribution of results
8283 over the positive fixnums, has been installed. Likewise, a better
8284 implementation of EQUAL for simple bit vectors is now available.
8285 * fixed CEILING optimization for a divisor of form 2^k.
8286 * fixed bug 240 (emitting extra style warnings "using the lexical
8287 binding of the symbol *XXX*" for &OPTIONAL arguments). (reported
8288 by Antonio Martinez)
8289 * fixed SXHASH, giving different results for NIL depending on type
8290 declarations (SYMBOL or LIST). (thanks to Gerd Moellmann)
8291 * fixed bug in DEFPARAMETER and DEFVAR: they could assign a lexical
8292 variable. (found by Rolf Wester)
8293 * SBCL does not ignore type declarations for special
8294 variables. (reported by rif on c.l.l 2003-03-05)
8295 * some bug fixes in contrib/sb-aclrepl/
8296 * fixed some bugs revealed by Paul Dietz' test suite:
8297 ** a bug in the CONS type specifier, whereby the CAR and CDR
8298 types got intertwined, has been fixed;
8299 ** the type system is now able to reason about the interaction
8300 between INTEGER and RATIO types more completely;
8301 ** APPEND, [N]REVERSE and NRECONC check that those their
8302 arguments, which must be proper lists, are really so;
8303 ** An array specialized to be unable to hold elements has been
8304 implemented, as required -- yes, really -- by ANSI;
8305 ** GETF and GET-PROPERTIES throw a TYPE-ERROR, not a SIMPLE-ERROR,
8306 on malformed property lists;
8308 changes in sbcl-0.7.13 relative to sbcl-0.7.12:
8309 * incompatible packaging change: in line with Unix convention,
8310 SBCL now looks for its core file in /usr/{local/,}lib/sbcl/sbcl.core
8311 if it's not in $SBCL_HOME. It also sets SBCL_HOME to match.
8312 * REQUIRE and PROVIDE are now optionally capable of doing something
8313 useful. See the documentation string for REQUIRE.
8314 * infrastructure for a managed SBCL contrib system: contributed
8315 modules in this release include:
8316 ** the ASDF system definition facility;
8317 ** an interface to the BSD Sockets API;
8318 ** an ACL-like convenience interface to the repl;
8319 (thanks to Kevin Rosenberg)
8320 ** an implementation of ROTATE-BYTE, with efficient implementation
8322 * fixed a bug in LOG, so that LOG of a rational argument near 1 now
8323 gives a closer approximation to the right answer than previously.
8324 (thanks to Raymond Toy)
8325 * fixed bug 157: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and
8326 UPGRADED-COMPLEX-PART-TYPE now take (ignored, in all situations)
8327 optional environment arguments, as required by ANSI.
8328 * fixed bugs in other functions taking environment objects, allowing
8329 calls with an explicit NIL environment argument to be compiled
8331 * fixed bug 228: primary return values from
8332 FUNCTION-LAMBDA-EXPRESSION are either NIL or suitable for input to
8333 COMPILE or FUNCTION.
8334 * fixed a bug in DEFSTRUCT: predicates for :NAMED structures with
8335 :TYPE will no longer signal errors on innocuous objects.
8336 * fixed bug 231b: SETQ is better at respecting type declarations in
8337 the lexical environment.
8338 * fixed a bug in DEFCLASS: classes named by symbols with no or
8339 unprintable packages can now be defined.
8340 * fixed a bug in RESTART-BIND: The :TEST-FUNCTION option had been
8341 carelessly renamed to :TEST-FUN. (thanks to Robert E. Brown)
8342 * fixed compiler failure related to checking types of functions.
8343 (reported by Robert E. Brown)
8344 * the compiler is now much more consistent in its error-checking
8345 treatment of bounding index arguments to sequence functions: in
8346 (SAFETY 3) code, errors will be signalled in almost all cases if
8347 invalid sequence bounding indices are passed to functions defined
8348 by ANSI to operate on sequences.
8349 * fixed a bug in the build procedure: documentation of SBCL-specific
8350 packages is now preserved and available in the final Lisp image.
8351 * lifted FDEFINITION lookup out of loops in the implementation of
8352 many list operations. (thanks to Robert E. Brown)
8353 * fixed a bug in the reader: the #n# reader macro now works for
8354 objects of type STANDARD-OBJECT. (reported by Tony Martinez)
8355 * the compiler is now aware that SYMBOL-FUNCTION returns a FUNCTION
8356 and that READ-DELIMITED-LIST returns a LIST. (thanks to Robert
8357 E. Brown and Tony Martinez respectively)
8358 * PCL is now smarter about SLOT-VALUE, (SETF SLOT-VALUE) and
8359 SLOT-BOUNDP: in particular, it is now able to optimize them much
8360 better, and is now not vulnerable to having packages renamed.
8361 Furthermore, a compliance bug has been fixed: SLOT-MISSING is now
8362 always called when a slot is not present in an instance. (thanks
8364 * fixed a bug related to CONCATENATED-STREAMs: PEEK-CHAR will no
8365 longer signal an error on unreading a character following EOF on
8366 the previous constituent stream. (thanks to Tony Martinez)
8367 * fixed some bugs revealed by Paul Dietz' test suite:
8368 ** ARRAY-IN-BOUNDS-P now allows arbitrary integers as arguments,
8369 not just nonnegative fixnums;
8370 ** the logical bit-array operators such as BIT-AND now accept an
8371 explicit NIL for their "opt-arg" argument (to indicate a
8372 freshly-consed result bit-array);
8373 ** ELT now signals an error on an invalid sequence index in safe
8375 ** the type system is now cleverer about negations of numeric
8376 types, and consequently understands the BIGNUM and RATIO types
8378 ** the type system is now cleverer about the interaction between
8379 INTEGER and RATIO types: while bugs still remain, many more
8380 cases are accurately computed;
8381 ** in TYPECASE, OTHERWISE now only introduces an otherwise-clause
8382 if it is in the last clause;
8383 ** CONSTANTLY now correctly returns a side-effect-free function in
8385 ** DECLARE is no longer treated as a special-operator; in
8386 particular, SPECIAL-OPERATOR-P no longer returns T for DECLARE;
8387 * incremented fasl file version number due to the change in the
8388 DEFSTRUCT-SLOT-DESCRIPTION structure.
8390 changes in sbcl-0.7.12 relative to sbcl-0.7.11:
8391 * minor incompatible change: code processed by the "interpreter" or
8392 EVAL now has a compilation optimization policy of (DEBUG 2)
8393 (changed from (DEBUG 1)) to improve debuggability of interactive
8394 development, and to allow the use of the debug RETURN command in
8396 * an experimental implementation of the RETURN command for the
8397 debugger has been included. (thanks to Frederik Kuivinen)
8398 * fixed bug 62: constraints were not propagated into a loop.
8399 * fixed bug in embedded calls of SORT (reported and investigated by
8401 * fixed some bugs revealed by Paul Dietz' test suite:
8402 ** printing and reading of arrays with some dimensions having
8403 length 0 (thanks to Gerd Moellmann);
8404 ** BOA constructor with &AUX argument without a default value does
8405 not cause a type error;
8406 ** CONSTANTP now returns true for all self-evaluating objects.
8408 changes in sbcl-0.7.11 relative to sbcl-0.7.10:
8409 * fixed bug 127: DEFSTRUCT now does not clobber old structure
8410 accessors that are related by inheritance, as specified in the
8411 :CONC-NAME section of the specification of DEFSTRUCT. (thanks to
8412 Valtteri Vuorikoski)
8413 * The compiler is now able to inline functions that were defined in
8414 a complex lexical environment (e.g. inside a MACROLET).
8415 * fixed bug in DESCRIBE, which now works on rank-0 arrays. (thanks
8417 * Support for the upcoming FreeBSD-5.0 release has been included.
8418 (thanks to Dag-Erling Smorgrav)
8419 * fixed bug 219: DEFINE-COMPILER-MACRO no longer has compile-time
8420 effect when it is not in a toplevel context.
8421 * fixed bug 222: DEFMETHOD and SYMBOL-MACROLET interactions now
8422 stand a better chance of being correct. (thanks to Gerd
8424 * fixed bug in COERCE, which now signals an error on coercing a
8425 rational to a bounded real type which excludes the expected
8427 * The compiler is now able to derive types more accurately from the
8428 COERCE and COMPILE functions.
8429 * fixed bug 223: functional binding is considered to be constant
8430 only for symbols in the CL package.
8431 * fixed bug 231: SETQ did not check the type of a variable being set
8432 (reported by Robert E. Brown)
8433 * A new optimization for MAKE-INSTANCE has been included, fixing
8434 various bugs (including relating to :ALLOCATION :CLASS slots and
8435 :DEFAULT-INITARGS over-eager evalueation). (thanks to Gerd
8437 * fixed some LOOP bugs revealed by Paul Dietz' test suite:
8438 ** As required by ANSI, LOOP now disallows anonymous collection
8439 clauses such as COLLECT I in conjunction with aggregate boolean
8440 clauses such as THEREIS (= I 1);
8441 ** LOOP now signals an error when any variable is reused in the
8442 same loop (including the potentially useful construct analogous
8443 to WITH A = 1 WITH A = (1+ A);
8444 ** IT is only a special loop symbol within the first clause of a
8445 conditional loop clause;
8446 ** LOOP with a typed iteration variable over a hashtable now
8447 signals a type error iff it should.
8448 * fixed some other bugs revealed by Paul Dietz' test suite:
8449 ** FILE-STREAM now names the class previously known as FD-STREAM;
8450 ** in DEFSTRUCT, a bare :CONC-NAME (or a :CONC-NAME with no
8451 argument) no longer signals an error;
8452 ** likewise in DEFSTRUCT, :CONC-NAME NIL now respects the package
8453 of the slot symbol, rather than using the current package
8454 ((:CONC-NAME "") continues to intern the slot's name in the
8456 * incremented fasl file version number, because of the incompatible
8457 change to the DEFSTRUCT-DESCRIPTION structure, and again because
8458 of the new implementation of DEFINE-COMPILER-MACRO.
8460 changes in sbcl-0.7.10 relative to sbcl-0.7.9:
8461 * Support for building SBCL for MIPS platforms running in
8462 little-endian mode has now been checked in, and basic
8463 functionality on said platforms verified.
8464 * minor incompatible change: PCL now records the pathname of a file
8465 in which methods and the like are defined, rather than its
8467 * minor incompatible change: TRUENAME now considers the truename of
8468 a file naming a directory to be the pathname with :DIRECTORY
8469 component indicating that directory.
8470 * minor incompatible change: a NAMED clause in the extended form of
8471 LOOP no longer causes a BLOCK named NIL to surround the LOOP. The
8472 reason for the previous behaviour is unclear.
8473 * more systematization and improvement of CLOS and MOP conformance
8474 in PCL (thanks to Gerd Moellman and Pierre Mai):
8475 ** the standard ANSI CL generic function NO-NEXT-METHOD is now
8477 ** DEFINE-METHOD-COMBINATION no longer signals an error for
8478 primary methods with no specializers;
8479 ** the MOP generic function GENERIC-FUNCTION-DECLARATIONS is now
8481 ** the Readers for Class Metaobjects methods CLASS-DIRECT-SLOTS
8482 and CLASS-DIRECT-DEFAULT-INITARGS have been implemented for
8483 FORWARD-REFERENCED-CLASSes; error reporting on
8484 CLASS-DEFAULT-INITARGS, CLASS-PRECEDENCE-LIST and CLASS-SLOTS
8486 ** SXHASH on CLOS instances now uses a slot internal to the
8487 instance to return different numbers on distinct instances,
8488 while preserving the same return value through invocations of
8490 ** DEFMETHOD signals errors when methods with longer incongruent
8491 lambda lists are added to generic functions;
8492 ** COMPUTE-CLASS-PRECEDENCE-LIST now has a method specialized on
8493 CLASS, as specified in AMOP;
8494 ** COMPUTE-SLOTS :AROUND now assigns locations sequentially based
8495 on the order returned by the primary method for classes of
8496 class STANDARD-CLASS;
8497 ** DEFINE-METHOD-COMBINATION now works with the :ARGUMENTS option.
8498 * fixed some bugs shown by Paul Dietz' test suite:
8499 ** DOLIST puts its body in TAGBODY;
8500 ** SET-EXCLUSIVE-OR sends arguments to :TEST function in the
8502 ** MULTIPLE-VALUE-SETQ evaluates side-effectful places before
8503 value producing form;
8504 ** if more variables are given to PROGV than values, extra
8505 variables are bound and made to have no value;
8506 ** NSUBSTITUTE on list arguments gets the right answer with
8508 ** ELT signals an error of type TYPE-ERROR when the index argument
8509 is not a valid sequence index;
8510 ** LOOP signals (at macroexpansion time) an error of type
8511 PROGRAM-ERROR when duplicate variable names are found;
8512 ** LOOP supports DOWNTO and ABOVE properly; (thanks to Matthew Danish)
8513 ** FUNCALL of special-operators now cause an error of type
8515 ** PSETQ now works as required in the presence of side-effecting
8516 symbol-macro places;
8517 ** NCONC accepts any object as its last argument;
8518 ** :COUNT argument to sequence functions may be BIGNUM; (thanks to
8520 ** loop-for-as-package does not require a package to be explicitely
8522 ** LOOP WITH now treats NIL in the d-var-spec correctly as an
8524 * fixed bug 166: compiler preserves "there is a way to go"
8525 invariant when deleting code.
8526 * fixed bug 172: macro lambda lists with required arguments after
8527 &REST arguments now cause an error to be signalled. (thanks to
8529 * fixed Entomotomy PEEK-CHAR-WRONGLY-ECHOS-TO-ECHO-STREAM
8530 bug. (thanks to Matthew Danish)
8531 * fixed bug 225: STRING-STREAM is now a class. (reported by Gilbert
8533 * fixed bug 136: CALL-NEXT-METHOD no longer gets confused when
8534 arguments are lexically rebound. (thanks to Gerd Moellmann and
8536 * fixed bug 194: error messages are now more informative when there
8537 is no primary method applicable in a call to a generic
8538 function. (thanks to Gerd Moellmann)
8539 * fixed bug in command line argument checking (thanks to Julian
8541 * fixed bug in COUNT-IF, making it handle :FROM-END correctly
8542 (thanks to Matthew Danish)
8543 * incremented fasl file version number, because of the
8544 SXHASH-related changes in the layout of CLOS data structures
8546 changes in sbcl-0.7.9 relative to sbcl-0.7.8:
8547 * minor incompatible change: The runtime (the Unix executable named
8548 "sbcl") is now much pickier about the .core files it will load.
8549 Essentially it now requires .core files to descend from the same
8550 build (not just the same sources or LISP-IMPLEMENTATION-VERSION)
8551 as the runtime does. (The intent is to prevent the crashes which
8552 can occur, and which can even be reported as mysterious failures,
8553 when people patch the sources or change the build parameters
8554 without changing LISP-IMPLEMENTATION-VERSION, then mix and match
8555 sbcl and .core files.)
8556 * fixed bug: VALUES-LIST is no longer optimized away.
8557 * fixed bug 142: The FFI conversion of C string values to Lisp
8558 string values no longer conses excessively. (thanks to Nathan
8559 Froyd porting Raymond Toy's fix to CMU CL)
8560 * began to systematize and improve MOP conformance in PCL (thanks to
8561 Nathan Froyd, Gerd Moellman and Pierre Mai):
8562 ** SLOT-DEFINITION-ALLOCATION now returns :CLASS, not the class
8564 ** GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER is now implemented;
8565 ** FINALIZE-INHERITANCE is now called on class finalization;
8566 ** DOCUMENTATION and (SETF DOCUMENTATION) now have the correct
8567 argument precedence order.
8568 * fixed bug 202: The compiler no longer fails on functions whose
8569 derived types contradict their declared type.
8570 * DEFMACRO is implemented via EVAL-WHEN instead of IR1 translation,
8571 so it can be non-toplevel.
8572 * The fasl file version number has changed (because of the new
8573 implementation of DEFMACRO).
8574 * (mostly) fixed bugs 46b and 46c: sequence functions now check, in
8575 safe code, that any length requirement by their type-specifier
8576 argument is valid. The exceptions to this are described in bug
8578 * fixed bugs 46h and 46i: TWO-WAY- and CONCATENATED-STREAM creation
8579 functions now check the types of their inputs as required by ANSI.
8580 * fixed bug 48c: SYMBOL-MACROLET signals PROGRAM-ERROR when an
8581 introduced symbol is DECLAREd to be SPECIAL.
8582 * fixed reading of (COMPLEX DOUBLE-FLOAT) literals from fasl files
8583 * fixed bug: :COUNT argument to sequence functions may be negative
8584 * fixed bug: body of DO-SYMBOLS may contain declarations
8585 * fixed bug: PUSHNEW now evaluates its arguments from left to right
8586 (reported by Paul F. Dietz, fixed by Gerd Moellman)
8587 * fixed bug: PUSH, PUSHNEW and POP now evaluate a place given by a
8588 symbol macro only once
8589 * fixed printing of call frame when argument list is unavailable
8590 * fixed bug: :ALLOW-OTHER-KEYS is an allowed keyword name
8591 * compiler no longer signals WARNING on unknown keyword
8594 changes in sbcl-0.7.8 relative to sbcl-0.7.7:
8595 * A beta-quality port to the mips architecture running Linux,
8596 based on the old CMUCL backend, has been made. It has been tested
8597 on a big-endian kernel, and works sufficiently well to be able to
8598 rebuild itself; it has not been tested in little-endian mode.
8599 * fixed an inconsistency between gencgc.c and purify.c which made
8600 dumping/loading .core files unreliable
8601 * fixed bug 120a: The compiler now deals correctly with IFs where
8602 the consequent is the same as the alternative, instead of
8603 misderiving the return type. (thanks to Alexey Dejneka)
8604 * fixed bug 113: Logical pathnames are now dumpable (the logical
8605 host is resolved at load-time, throwing an error if it is not
8607 * fixed bug 174: FORMAT's error message is slightly clearer when a
8608 non-printing character is used in a format directive.
8609 * fixed several bugs in compiler checking of type declarations, i.e.
8610 violations of the Python "declarations are assertions" principle
8611 (thanks to Alexey Dejneka)
8612 * fixed several bugs in PCL's error checking (thanks to Gerd
8614 * fixed bug: printing of FILE-ERROR (thanks to Antonio
8616 * fixed bug in compilation of functions as first class values
8617 (thanks to Antonio Martinez-Shotton)
8618 * The compiler's handling TYPE-ERRORs which it can prove will
8619 inevitably happen at runtime has been cleaned up and corrected
8620 in several ways. (thanks to Alexey Dejneka)
8621 * improved argument type checking for various basic arithmetic
8622 operations (MAX, +, LOGXOR, etc.) which have had so much TLC
8623 lavished on them in the past that they can be compiled in many
8624 ways in different special cases
8625 * fixed bug 181: compiler checks validity of user supplied type
8627 * cleaned up code flushing in optimization: Function calls which
8628 should signal errors for safety purposes (e.g. which ANSI says
8629 should signal errors when their arguments are of incorrect type)
8630 are no longer optimized away.
8631 * added new extension: SB-DEBUG:BACKTRACE-AS-LIST
8632 * incremented fasl file version number, because changes in the
8633 implementation of sequence functions like COERCE caused
8634 internal utility functions like COERCE-TO-SIMPLE-VECTOR (used
8635 in old inline expansions) to become undefined. (Actually these
8636 changes were later undone, so we might very well be binary
8637 compatible with 0.7.7 after all, but leaving the version number
8638 incremented seemed like the simplest and most conservative
8641 changes in sbcl-0.7.7 relative to sbcl-0.7.6:
8642 * An alpha-quality port to the parisc architecture running Linux,
8643 based on the old CMUCL backend, has been made. This, even more so
8644 than the other backends, should be considered still a work in
8645 progress; known problems include that the Linux kernel in 64-bit
8646 mode does not propagate the correct sigcontext structure to
8647 userspace, and consequently SBCL on a parisc64 kernel will not
8649 * fixed bug 189: The compiler now respects NOTINLINE declarations for
8650 functions declared in FLET and LABELS. (I.e. "LET conversion" is
8651 suppressed.) Also now that the compiler is looking at declarations
8652 in the environment, it checks optimization declarations as well,
8653 and suppresses inlining when (> DEBUG SPEED).
8654 * More fixes have been made to treatment of floating point exception
8655 treatment and other Unix signals. In particular, floating point
8656 exceptions no longer cause Bus errors on the SPARC/Linux platform.
8657 * The detection and handling of control stack exhaustion (infinite
8658 or very deeply nested recursion) has changed. Stack exhaustion
8659 detection is now done by write-protecting pages at the OS level
8660 and applies at all optimization settings; when found, a
8661 SB-KERNEL:CONTROL-STACK-EXHAUSTED condition (subclass of
8662 STORAGE-CONDITION) is signalled, so stack exhaustion can no longer
8663 be caught using IGNORE-ERRORS.
8664 * Bugs 65, 70, and 109 fixed: The compiler now preserves invariants
8665 correctly when transforming recursive LABELS functions to LETs.
8666 (thanks to Alexey Dejneka)
8667 * Bug 48a./b. fixed: SYMBOL-MACROLET now refuses to bind symbols
8668 that are names of constants or global variables.
8669 * Bug fix: DEFINE-ALIEN-ROUTINE now declaims the correct FTYPE for
8670 alien routines with docstrings.
8671 * Bug 184 fixed: Division of ratios by the integer 0 now signals an
8672 error of type DIVISION-BY-ZERO. (thanks to Wolfhard Buss and
8674 * Bug fix: Errors in PARSE-INTEGER are now of type PARSE-ERROR.
8675 (thanks to Eric Marsden)
8676 * Bug fix: COERCE to (COMPLEX FLOAT) of rationals now returns an
8677 object of type (COMPLEX FLOAT). (thanks to Wolfhard Buss)
8678 * Bug fix: The SPARC backend can now compile functions involving
8679 LOGAND and stack-allocated arguments. (thanks to Raymond Toy)
8680 * Bug fix: We no longer segfault on passing a non-FILE-STREAM stream
8681 to a functions expecting a PATHNAME-DESIGNATOR.
8682 * Bug fix: DEFGENERIC now enforces the ANSI restrictions on its
8683 lambda lists. (thanks to Alexey Dejneka)
8684 * Bug fix: changed encoding of PCL's internal MAKE-INSTANCE
8685 functions so that EXPORTing the name of the class doesn't cause
8686 MAKE-INSTANCE functions from earlier DEFCLASSes to get lost (thanks
8687 to Antonio Martinez for reporting this)
8688 * Bug 192 fixed: The internal primitive DATA-VECTOR-REF can now be
8689 constant-folded without failing an assertion. (thanks to Einar
8690 Floystad Dorum for reporting this)
8691 * Bugs 123 and 165 fixed: array specializations on as-yet-undefined
8692 types are now dealt with more correctly by the compiler.
8693 * Minor incompatible change: COMPILE-FILE-PATHNAME now merges its
8694 OUTPUT-FILE argument with its INPUT-FILE argument, resulting in
8695 behaviour analogous to RENAME-FILE. This puts its behaviour more
8696 in line with ANSI's wording on COMPILE-FILE-PATHNAME. (thanks to
8698 * The fasl file version number has changed again. (because of the
8699 bug fix involving the names of PCL MAKE-INSTANCE functions)
8701 changes in sbcl-0.7.6 relative to sbcl-0.7.5:
8702 * bug fix: Floating point exceptions are treated much more
8703 consistently on the x86/Linux and PPC/Linux platforms.
8704 * Array initialization with :INITIAL-ELEMENT is now much faster for
8705 cases when the compiler cannot open code the array creation, but
8706 does know what the UPGRADED-ARRAY-ELEMENT-TYPE will be. General
8707 array accesses have also seen a speed increase.
8708 * bug fix: LOAD :IF-DOES-NOT-EXIST NIL now works when file type is
8709 specified. (This was at the root of some bad interactions between
8710 SBCL and ILISP: thanks to Gregory Wright for diagnosing this and
8712 * bug fix: Internal error arguments for undefined functions are now
8713 computed correctly on the PPC/Linux platform.
8714 * bug fix: Bad &REST syntax is now checked correctly. (thanks to
8715 Raymond Toy's patch for CMU CL)
8716 * Support for the Solaris 9 operating environment has been included
8717 (thanks to Daniel Merritt)
8718 * A very ugly but hopefully complete draft of the missing FFI chapter
8719 of the manual has been created by reformatting the corresponding
8720 CMU CL manual chapter into (currently very ugly and incoherent)
8721 DocBook and bringing it up to date for SBCL behavior. Thus, the
8722 manual is now essentially complete, at least by my extreme
8723 once-and-only-once standards, whereby it's acceptable to refer to
8724 the doc strings of SB-EXT functions as the primary documentation.
8725 * The fasl file version number has changed again, due to cleanup of
8726 (user-invisible) bitrotted stuff. (E.g. *!INITIAL-FDEFN-OBJECTS*
8727 is no longer a static symbol.)
8729 changes in sbcl-0.7.5 relative to sbcl-0.7.4:
8730 * SBCL now builds with OpenMCL (version 0.12) as the
8731 cross-compilation host; also, more progress has been made toward
8732 bootstrapping under CLISP.
8733 * SBCL now runs on the Tru64 (aka OSF/1) operating system on the
8735 * bug 158 fixed: The compiler can now deal with integer loop
8736 increments different from 1; fixing this turned out also to fix
8738 * bug 169 fixed: no more bogus warnings about using lexical bindings
8739 despite the presence of perfectly good SPECIAL declarations (thanks
8740 to David Lichteblau)
8741 * bug 175 fixed: CHANGE-CLASS is now more ANSI-conforming,
8742 accepting initargs. (thanks to Espen Johnsen and Pierre Mai)
8743 * bug 179 fixed: DIRECTORY can now deal with filenames with pattern
8745 * bug 180 fixed: Method combination specifications no longer ignore
8746 the :MOST-SPECIFIC-LAST option. (thanks to Pierre Mai)
8747 * bug fix: Structure type predicate functions now check their argument
8748 count as they should.
8749 * bug fix: Classes with :METACLASS STRUCTURE-CLASS now print
8750 correctly. (thanks to Pierre Mai)
8751 * minor incompatible change: The --noprogrammer option is deprecated
8752 in favor of the new --disable-debugger option, which is very similar.
8753 (The major difference is that it takes effect at a slightly different
8754 time at startup, causing handling of errors in --sysinit and
8755 --userinit files will be affected differently.) The
8756 SB-EXT:DISABLE-DEBUGGER and SB-EXT:ENABLE-DEBUGGER functions have
8757 been added to allow this functionality to be controlled from ordinary
8758 Lisp code. (ENABLE-DEBUGGER should help people like the Debian
8759 maintainers, who might want to run non-interactive scripts to
8760 build SBCL cores which will later be used interactively.)
8761 * minor incompatible change: The LOAD function no longer, when given
8762 a wild pathname to load, loads all files matching that pathname.
8763 Instead, an error of type FILE-ERROR is signalled.
8765 changes in sbcl-0.7.4 relative to sbcl-0.7.3:
8766 * bug 147 fixed: The compiler preserves its block link/count
8767 invariants more correctly now so that it doesn't crash. (thanks
8769 * Dynamic loading of object files in OpenBSD is now supported. (thanks
8771 * COMPILE now works correctly on macros. (thanks to Matthias Hoelzl)
8772 * GET-MACRO-CHARACTER and SET-MACRO-CHARACTER now represent
8773 no-value-for-this-character as NIL (as specified by ANSI).
8774 * HOST-NAMESTRING on physical pathnames now returns a string that is
8775 valid as a host argument to MERGE-PATHNAMES and to MAKE-PATHNAME.
8776 (thanks to Christophe Rhodes)
8777 * The Alpha port handles icache flushing more correctly. (thanks to
8779 * More progress has been made toward bootstrapping under CLISP. (thanks
8780 to Christophe Rhodes)
8781 * The fasl file format has changed again, because dynamic loading
8782 on OpenBSD (which has non-ELF object files) motivated some cleanups
8783 in the way that foreign symbols are transformed and passed around.
8784 * minor incompatible change: The ASCII RUBOUT character, (CHAR-CODE 127),
8785 is no longer treated as whitespace by the reader, but instead as
8786 an ordinary character. Thus e.g. (READ-FROM-STRING "A
\x7fB") returns
8787 |A
\x7fB|, instead of A as it used to.
8789 changes in sbcl-0.7.3 relative to sbcl-0.7.2:
8790 * ANSI's DEFINE-SYMBOL-MACRO is now supported. (thanks to Nathan
8791 Froyd porting CMU CL code originally by Douglas Thomas Crosher)
8792 * SBCL now runs on the PPC archtiecture under Linux. It actually did
8793 this as of 0.7.1.45, but was left out of the previous news section
8794 (thanks to Dan Barlow)
8795 * SBCL now runs on the Solaris operating system on SPARC architectures
8796 (thanks to Christophe Rhodes's port of the CMUCL runtime)
8797 * cleanups to the runtime on SPARC, both Linux and Solaris, and for
8798 gcc>=3 (thanks to Nathan Froyd and Ingvar Mattsson)
8799 * SPARC backend cleanups, allowing builds of cores optimized for V8
8800 and V9 SPARCS, and also emission of code targeted to a particular
8801 backend chosen at runtime (thanks to Christophe Rhodes and Raymond
8803 * SBCL is closer to bootstrapping under CLISP, thanks to various
8804 fixes by Christophe Rhodes.
8805 * The fasl file format has changed again, to allow the compiler's
8806 INFO database to support symbol macros.
8807 * The user manual (in doc/) is formatted into HTML more nicely.
8808 (thanks to coreythomas)
8809 * The system is smarter about SUBTYPEP relationships, especially
8810 those involving NOT types (including types such as ATOM which are
8811 represented internally using NOT types). Thus SUBTYPEP is less
8812 likely to return (VALUES NIL NIL) in general, and in particular
8813 bugs 58 and (the remaining bits of) bug 50 are fixed. (thanks to
8815 * The fasl file format has changed again, because the internal
8816 representation of types now includes a new slot to support the new
8817 SUBTYPEP-of-NOT-types logic.
8818 * (not a change in the main branch of SBCL, but a related prototype
8819 which can hopefully be merged into the main branch of SBCL in the
8820 future:) Brian Spilsbury has produced a Unicode-enabled variant of
8821 sbcl-0.7.0, available as a patch against sbcl-0.7.0 at
8822 <http://designix.com.au/brian/SBCL/sbcl-0.7.0-unicode.p0.gz>.
8823 * Bug 151 fixed: GET-DISPATCH-MACRO-CHAR now returns NIL for undefined
8824 dispatch macro character combinations. (thanks to Alexey Dejneka)
8825 * Bugfix in PARSE-NAMESTRING: we now correctly parse unix namestrings
8826 that superficially look like logical namestrings correctly.
8827 * USER-HOMEDIR-PATHNAME now returns a (physical) pathname that SBCL
8829 * Bugfix in DEFSTRUCT: BOA constructor lambda lists now accept (name
8830 default supplied-p) for &optional and &key arguments. (thanks to
8833 changes in sbcl-0.7.2 relative to sbcl-0.7.1:
8834 * incompatible change: The compiler is now less aggressive about
8835 tail call optimization, doing it only when (> SPACE DEBUG) or
8836 (> SPEED DEBUG). (This is an incompatible change because there are
8837 programs which relied on the old CMU-CL-style behavior to optimize
8838 away their unbounded recursion which will now die of stack overflow.)
8839 * minor incompatible change: The default BYTES-CONSED-BETWEEN-GCS
8840 for non-GENCGC systems has been increased to 20M (since that
8841 seems much closer to the likely performance optimum for modern
8842 systems than the old 4M value was)
8843 * minor incompatible change: new larger values for *DEBUG-PRINT-LENGTH*
8844 and *DEBUG-PRINT-LEVEL*
8845 * SBCL runs on SPARC systems now. (thanks to Christophe Rhodes' port
8846 of CMU CL's support for SPARC, and various endianness and other
8847 SBCL portability fixes due to Christophe Rhodes and Dan Barlow)
8848 * new syntactic sugar for the Unix command line: --load foo.bar is now
8849 an alternate notation for --eval '(load "foo.bar")'.
8851 ** The system now detects stack overflow and handles it gracefully,
8852 at least for (OR (> SAFETY (MAX SPEED SPACE)) (= SAFETY 3))
8853 optimization settings. (This is a good thing in general, and
8854 its introduction in this version should be particularly timely
8855 for anyone whose code fails because of suppression of tail
8857 ** The system now hunts for the C variable "environ" in a more
8858 devious way, to avoid segfaults when the C library version differs
8859 between compile time and run time. (thanks to Christophe Rhodes)
8860 ** INTEGER-valued CATCH tags now work. (thanks to Alexey Dejneka,
8861 and also to Christophe Rhodes for porting the fix to non-X86 CPUs)
8862 ** The compiler no longer issues bogus style warnings for undefined
8863 classes in the same source file as the DEFCLASSes which defined
8864 them. (thanks to Stig E Sandoe for reporting and Martin Atzmueller
8866 ** fixes in CONDITION class precedence list for undefined function
8867 errors (thanks to Alexei Dejneka)
8868 ** *DEFAULT-PATHNAME-DEFAULTS* is used more consistently and
8869 correctly. (thanks to Dan Barlow)
8870 ** portability fixes aiming at bootstrapping under CLISP (thanks
8871 to Dave McDonald and Christophe Rhodes)
8872 ** FORMAT fixes (thanks to Robert Strandh and Dan Barlow)
8873 ** fixes in type translation and and type inference (thanks to
8875 ** fixes to optimizer internal errors (thanks to Alexei Dejneka)
8876 ** various fixes in the new ports (thanks to Dan Barlow)
8877 * several changes related to debugging:
8878 ** suppression of tail recursion, as noted above
8879 ** stack overflow detection, as noted above
8880 ** The default implementation of TRACE has changed. :ENCAPSULATE T
8881 is now the default. (For some time encapsulation has been more
8882 reliable than the breakpoint-based :ENCAPSULATE NIL
8883 implementation, at least on X86 systems; and I just noticed that
8884 encapsulation also seems closer to the spirit of the ANSI
8887 changes in sbcl-0.7.1 relative to sbcl-0.7.0:
8889 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are set
8890 up properly again. (There was a packaging bug in 0.7.0 which
8891 left their definitions in SB-SYS::LOAD-FOREIGN and
8892 SB-SYS::LOAD-1-FOREIGN. LOAD-FOREIGN and LOAD-1-FOREIGN are
8893 vital for most things which interface to C-level interfaces,
8894 like extensions working with sockets or databases or
8895 Perl-compatible regexes or whatever, and the need to fix
8896 this bug is the main reason that 0.7.1 was released so
8898 ** DEFGENERIC is now choosier about the methods it redefines, so that
8899 reLOADing a previously-LOADed file containing DEFGENERICs does
8900 the right thing now. Thus, the Lispy edit/reLOAD-a-little/test
8901 cycle now works as it should. (thanks to Alexey Dejneka)
8902 ** Bug 106 (types (COMPLEX FOO) where FOO is an obscure type) was
8903 fixed by Christophe Rhodes. (He actually submitted this patch
8904 months ago, and I delayed until after 0.7.0.)
8905 ** Bug 111 (internal compiler confusion about runtime checks on
8906 FUNCTION types) was fixed by Alexey Dejneka.
8907 * Some internal cleanups (getting rid of variables which aren't
8908 needed now that the byte interpreter is gone) caused the fasl
8909 file format number to change again.
8911 changes in sbcl-0.7.0 relative to sbcl-0.6.13:
8912 * major incompatible change: The default fasl file extension, i.e. the
8913 default extension for files produced by COMPILE-FILE, has changed
8914 to ".fasl", for all architectures. (No longer ".x86f" and ".axpf".)
8916 ** There are many changes in the implementation of the compiler.
8917 SBCL is now essentially a compiler-only implementation of ANSI
8918 Common Lisp. EVAL still "interprets" a few special cases, but
8919 almost all the interesting cases are handled by creating
8920 a LAMBDA expression, calling COMPILE on it, then calling
8921 FUNCALL on the result.
8922 ** The EVAL-WHEN code has been rewritten to be ANSI-compliant, and
8923 various related bugs (IR1-1, IR1-2, IR1-3, IR1-3a) have gone away.
8924 Since the code is newer, there might still be some new bugs
8925 (though not as many as before Martin Atzmueller's fixes:-). But
8926 the new code is substantially simpler and clearer, and hopefully
8927 any remaining bugs will be simpler, less fundamental, and more
8928 fixable then the bugs in the old code.
8929 ** The revised compiler is still a little unsteady on its feet.
8931 *** The debugging information it produces (particularly the names
8932 of FUNCTION objects) is sometimes much less useful than what
8933 the old compiler produced.
8934 *** The support for inlining FOO when you (DECLAIM (INLINE FOO))
8935 then do (DEFUN FOO ..) in a non-null lexical environment (e.g.
8936 within a MACROLET) has been temporarily weakened.
8937 ** There are new compiler optimizations for various functions:
8938 *** the sequence functions FIND, POSITION, FIND-IF, POSITION-IF,
8939 FIND-IF-NOT, POSITION-IF-NOT, and FILL
8940 *** the math functions TRUNCATE, FLOOR, and CEILING
8941 *** the function-of-all-trades COERCE
8942 Mostly these should be transparent, but there's one
8943 potentially-annoying problem (bug 117): when the compiler
8944 inline-expands a function and does type analysis on the result,
8945 it can create control paths which have type mismatches, and
8946 when it can't prove that those control paths aren't taken,
8947 it will issue WARNINGs about the type mismatches. This is
8948 a particular problem in practice for the new sequence functions.
8949 It's not clear how this should be fixed, and for now, a
8950 workaround is given in the entry for 117 in the BUGS file.
8951 ** (Because of the interaction between the two previous items --
8952 occasional inlining problems and new inline expansions -- some
8953 of the new sequence function optimizations won't really kick in
8954 completely until debugging information, and then inlining, are
8955 straightened out in some future version.)
8956 * minor incompatible changes:
8957 ** As part of a bug fix by Christophe Rhodes to DIRECTORY behavior,
8958 DIRECTORY no longer implicitly promotes NIL slots of its
8959 pathname argument to :WILD. In particular, when you ask for the
8960 contents of a directory (which you used to be able to do without
8961 explicit wildcards, e.g. (DIRECTORY "/tmp/")) you now need to use
8962 explicit wildcards, e.g. (DIRECTORY "/tmp/*.*").
8963 ** changes in behavior that ANSI explicitly defines to be
8964 implementation dependent:
8965 *** The new compiler-only implementation still conforms with ANSI,
8966 but acts a little different than before. Besides the obvious
8967 changes in performance tradeoffs (that the cost per form passed
8968 to EVAL has gone up, and the cost per form executed by EVAL
8969 has gone down), the behavior of the system changes a little
8970 because there are no longer any interpreted function objects.
8971 COMPILED-FUNCTION-P is now synonymous with FUNCTIONP, and
8972 e.g. doing COMPILE on the output of interactive DEFUN is
8974 *** The value of INTERNAL-TIME-UNITS-PER-SECOND has been increased
8976 *** The default for the USE list in MAKE-PACKAGE and DEFPACKAGE
8977 has changed from (:CL) to NIL.
8978 *** The CHAR-NAME of unprintable ASCII characters which, unlike
8979 e.g. #\Newline and #\Tab, don't have names specified in the
8980 ANSI Common Lisp standard, is now based on their ASCII symbolic
8981 names (#\Nul, #\Soh, #\Stx, etc.) The old CMU-CL-style names
8982 (#\Null, #\^a, #\^b, etc.) are still accepted by NAME-CHAR, but
8983 are no longer used for output.
8984 ** changes in internal implementation constants:
8985 *** The default value of *BYTES-CONSED-BETWEEN-GCS* has doubled, to
8986 4 million. (If your application spends a lot of time GCing and
8987 you have a lot of RAM, you might want to experiment with
8988 increasing it even more.)
8989 ** The SB-C-CALL package has been merged into the SB-ALIEN package.
8990 However, almost all old code should still continue to work without
8991 immediate update, as SB-C-CALL is now a (deprecated) nickname
8993 ** Old operator names in the style DEF-FOO are now deprecated in
8994 favor of new corresponding names DEFINE-FOO, for consistency with
8995 the naming convention used in the ANSI standard (DEFSTRUCT, DEFVAR,
8996 DEFINE-CONDITION, DEFINE-MODIFY-MACRO..). This mostly affects
8997 internal symbols, but a few supported extensions like
8998 SB-ALIEN:DEF-ALIEN-FUNCTION are also affected. (So e.g.
8999 DEF-ALIEN-FUNCTION becomes DEFINE-ALIEN-FUNCTION.)
9000 ** The debugger prompt sequence now goes "5]", "5[2]", "5[3]",
9001 etc. as you get deeper into recursive calls to the debugger
9002 command loop, instead of the old "5]", "5]]", "5]]]"
9003 sequence. (I was motivated to do this when squabbles between
9004 ILISP and SBCL left me very deeply nested in the debugger. In the
9005 short term, this change will probably provoke more ILISP/SBCL
9006 squabbles, but hopefully it will be an improvement in the long run.)
9007 ** SB-ALIEN:DEFINE-ALIEN-FUNCTION (also known by the old deprecated
9008 name DEF-ALIEN-FUNCTION) now does DECLAIM FTYPE for the defined
9009 function, since declaiming return types involving aliens is
9010 (1) annoyingly messy to do by hand and (2) vital to efficient
9011 compilation of code which calls such functions.
9012 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are no
9013 longer reexported by the SB-EXT package. They're solely useful
9014 for alien code, so it seems more logical that you should get
9015 them from the SB-ALIEN package, not in SB-EXT.
9016 ** :SB-CONSTRAIN-FLOAT-TYPE, :SB-PROPAGATE-FLOAT-TYPE, and
9017 :SB-PROPAGATE-FUN-TYPE are no longer considered to be optional
9018 features. Instead, the code that they used to control is always
9019 built into the system.
9020 * many other bug fixes
9021 ** DEFSTRUCT and DEFCLASS have been substantially updated to take
9022 advantage of the new EVAL-WHEN stuff and to clean them up in
9023 general, and they are now more ANSI-compliant in a number of
9024 ways. Martin Atzmueller is responsible for a lot of this.
9025 ** Besides the cleanups discussed above, Martin Atzmueller fixed
9027 *** fixes in READ-SEQUENCE and WRITE-SEQUENCE
9028 *** correct ERROR type for various file operations
9029 *** some fixes for Lisp streams
9030 *** DEFMETHOD syntax checking
9031 *** changing old weird representation of debug information as
9032 strings (which, among their other deficiencies, don't transform
9033 correctly when you rename packages, and don't change their
9034 print representation when you change things like *PACKAGE*
9035 and *PRINT-LENGTH*) to symbols and lists of symbols
9036 He also made several improvements and fixed several bugs in DESCRIBE.
9037 ** Alexey Dejneka fixed many bugs, including classic bugs and bugs he
9039 *** misbehavior of WRITE-STRING/WRITE-LINE
9040 *** LOOP over keys of a hash table, LOOP bugs 49b and 81 and 103,
9041 and several other LOOP problems as well
9042 *** DIRECTORY when similar filenames are present
9043 *** DEFGENERIC with :METHOD options
9044 *** bug 126, in (MAKE-STRING N :INITIAL-ELEMENT #\SPACE))
9045 *** bug in the optimization of ARRAY-ELEMENT-TYPE
9046 *** argument ordering in FIND with :TEST option
9047 *** mishandled package designator argument in APROPOS-LIST
9048 *** various problems in the backquote readmacro
9049 *** a bug in APROPOS
9050 *** probably some others that I'm not describing very well here,
9051 since the CVS log documents them by reference to sbcl-devel
9052 messages, and the SourceForge archives aren't working well.:-(
9053 ** Dan Barlow improved the Alpha port (and is making progress on the
9054 PPC port, for those of you who think different).
9055 ** Besides the DIRECTORY fixes and changes mentioned elsewhere,
9056 Christophe Rhodes cleaned up the system self-test scripts (in tests/*),
9057 contributed the optimization of FIND-IF-NOT and POSITION-IF-NOT, and
9058 continues to work on the SPARC port (for those of you in a position
9059 to look down upon our little PC-compatible boxes from a great height).
9060 ** PPRINT-LOGICAL-BLOCK now copies the *PRINT-LINES* value on entry
9061 and uses that copy, rather than the current dynamic value, when
9062 it's trying to decide whether to truncate output. Thus e.g.
9063 (let ((*print-lines* 50))
9064 (pprint-logical-block (stream nil)
9066 (let ((*print-lines* 8))
9067 (print (aref possiblybigthings i) stream)))))
9068 should now truncate the logical block only at 50 lines, instead of
9069 often truncating it at 8 lines, as it did before.
9070 * The doc/cmucl/ directory, containing old CMU CL documentation
9071 from the time of the fork, is no longer part of the base system.
9072 SourceForge has shut down its anonymous FTP service, and with it
9073 my original plan for distributing the old CMU CL documentation
9074 there. For now, if you need these files you can download an old
9075 SBCL source release and extract them from it.
9076 * The fasl file version number changed again, for dozens of reasons,
9077 some of which are apparent above.
9079 changes in sbcl-0.6.13 relative to sbcl-0.6.12:
9080 * a port to the Compaq/DEC Alpha CPU, thanks to Dan Barlow
9081 * Martin Atzmueller ported Tim Moore's marvellous CMU CL DISASSEMBLE
9082 patch, so that DISASSEMBLE output is much nicer.
9083 * The code in the SB-PROFILE package now seems reasonably stable.
9084 I still haven't decided what the final interface should look like
9085 (I'd like PROFILE to interact cleanly with TRACE, since both
9086 facilities use function encapsulation) but if you have a need
9087 for profiling now, you can probably use it successfully with
9088 the current CMU-CL-style interface.
9089 * Pathnames and *DEFAULT-DIRECTORY-DEFAULTS* are much more
9090 ANSI-compliant, thanks to various fixes and tests from Dan Barlow.
9091 Also, at Dan Barlow's suggestion, TRUENAME on a dangling symbolic
9092 link now returns the dangling link itself, and for similar
9093 reasons, TRUENAME on a cyclic symbolic link returns the cyclic
9094 link itself. (In these cases the old code signalled an error and
9095 looped endlessly, respectively.) Thus, DIRECTORY now works even
9096 in the presence of dangling and cyclic symbolic links.
9097 * Compiler trace output (the :TRACE-FILE option to COMPILE-FILE)
9098 is now a supported extension again, since the consensus on
9099 sbcl-devel was that it can be useful for ordinary development
9100 work, not just for debugging SBCL itself.
9101 * The default for SB-EXT:*DERIVE-FUNCTION-TYPES* has changed to
9102 NIL, i.e. ANSI behavior, i.e. the compiler now recognizes
9103 that currently-defined functions might be redefined later with
9104 different return types.
9105 * Hash tables can be printed readably, as inspired by CMU CL code
9106 of Eric Marsden and SBCL code of Martin Atzmueller.
9107 * better error handling in CLOS method combination, thanks to
9108 Martin Atzmueller porting Pierre Mai's CMU CL patches
9109 * more overflow fixes for >16Mbyte I/O buffers
9110 * A bug in READ has been fixed, so that now a single Ctrl-D
9111 character suffices to cause end-of-file on character streams.
9112 In particular, now you only need one Ctrl-D at the command
9113 line (not two) to exit SBCL.
9114 * fixed bug 26: ARRAY-DISPLACEMENT now returns (VALUES NIL 0) for
9116 * fixed bug 107 (reported as a CMU CL bug by Erik Naggum on
9117 comp.lang.lisp 2001-06-11): (WRITE #*101 :RADIX T :BASE 36) now
9118 does the right thing.
9119 * The implementation of some type tests, especially for CONDITION
9120 types, is now tidier and maybe faster, due to CMU CL code
9121 originally by Douglas Crosher, ported by Martin Atzmueller.
9122 * Some math functions have been fixed, and there are new
9123 optimizers for deriving the types of COERCE and ARRAY-ELEMENT-TYPE,
9124 thanks to Raymond Toy's work on CMU CL, ported by Martin Atzmueller.
9125 * (There are also some new optimizers in contrib/*-extras.lisp. Those
9126 aren't built into sbcl-0.6.13, but are a sneak preview of what's
9127 likely to be built into sbcl-0.7.0.)
9128 * A bug in COPY-READTABLE was fixed. (Joao Cachopo's patch to CMU
9129 CL, ported to SBCL by Martin Atzmueller)
9130 * DESCRIBE now gives more information in some cases. (Pierre Mai's
9131 patch to CMU CL, ported to SBCL by Martin Atzmueller)
9132 * Martin Atzmueller and Bill Newman fixed some bugs in INSPECT.
9133 * There's a new slam.sh hack to shorten the edit/compile/debug
9134 cycle for low-level changes to SBCL itself, and a new
9135 :SB-AFTER-XC-CORE target feature to control the generation of
9136 the after-xc.core file needed by slam.sh.
9137 * minor incompatible change: The ENTRY-POINTS &KEY argument to
9138 COMPILE-FILE is no longer supported, so that now every function
9139 gets an entry point, so that block compilation looks a little
9140 more like the plain vanilla ANSI section 3.2.2.3 scheme.
9141 * minor incompatible change: SB-EXT:GET-BYTES-CONSED now
9142 returns the number of bytes consed since the system started,
9143 rather than the number consed since the first time the function
9144 was called. (The new definition parallels ANSI functions like
9145 CL:GET-INTERNAL-RUN-TIME.)
9146 * minor incompatible change: The old CMU-CL-style DIRECTORY options,
9147 i.e. :ALL, :FOLLOW-LINKS, and :CHECK-FOR-SUBDIRS, are no longer
9148 supported. Now DIRECTORY always does the abstract Common-Lisp-y
9149 thing, i.e. :ALL T :FOLLOW-LINKS T :CHECK-FOR-SUBDIRS T.
9150 * Fasl file version numbers are now independent of the target CPU,
9151 since historically most system changes which required version
9152 number changes have affected all CPUs equally. Similarly,
9153 the byte fasl file version is now equal to the ordinary
9156 changes in sbcl-0.6.12 relative to sbcl-0.6.11:
9157 * incompatible change: The old SB-EXT:OPTIMIZE-INTERFACE declaration
9158 is no longer recognized. I apologize for this, because it was
9159 listed in SB-EXT as a supported extension, but I found that
9160 its existing behavior was poorly specified, as well as incorrectly
9161 specified, and it looked like too much of a mess to straighten it
9162 out. I have enough on my hands trying to get ANSI stuff to work..
9163 * many patches ported from CMU CL by Martin Atzmueller, with
9164 half a dozen bug fixes in pretty-printing and the debugger, and
9165 half a dozen others elsewhere
9166 * fixed bug 13: Floating point infinities are now supported again.
9167 They might still be a little bit flaky, but thanks to bug reports
9168 from Nathan Froyd and CMU CL patches from Raymond Toy they're not
9169 as flaky as they were.
9170 * The --noprogrammer command line option is now supported. (Its
9171 behavior is slightly different in detail from what the old man
9172 page claimed it would do, but it's still appropriate under the
9173 same circumstances that the man page talks about.)
9174 * The :SB-PROPAGATE-FLOAT-TYPE and :SB-PROPAGATE-FUN-TYPE features
9175 are now supported, and enabled by default. Thus, the compiler can
9176 handle many floating point and complex operations much less
9177 inefficiently. (Thus e.g. you can implement a complex FFT
9179 * The compiler now detects type mismatches between DECLAIM FTYPE
9180 and DEFUN better, and implements CHECK-TYPE more correctly, and
9181 SBCL builds under CMU CL again despite its non-ANSI EVAL-WHEN,
9182 thanks to patches from Martin Atzmueller.
9183 * various fixes to make the cross-compiler more portable to
9184 ANSI-conforming-but-different cross-compilation hosts (notably
9185 Lispworks for Windows, following bug reports from Arthur Lemmens)
9186 * A bug in READ-SEQUENCE for CONCATENATED-STREAM, and a gross
9187 ANSI noncompliance in DEFMACRO &KEY argument parsing, have been
9188 fixed thanks to Pierre Mai's CMU CL patches.
9189 * fixes to keep the system from overflowing internal counters when
9190 it tries to use i/o buffers larger than 16M bytes
9191 * fixed bug 45a: Various internal functions required to support
9192 complex special functions have been merged from CMU CL sources.
9193 (When I was first setting up SBCL, I misunderstood a compile-time
9194 conditional #-OLD-SPECFUN, and so accidentally deleted them.)
9195 * improved support for type intersection and union, fixing bug 12
9196 (e.g., now (SUBTYPEP 'KEYWORD 'SYMBOL)=>T,T) and some other
9197 more obscure bugs as well
9198 * some steps toward byte-compiling non-performance-critical
9199 parts of the system, courtesy of patches from Martin Atzmueller
9200 * Christophe Rhodes has made some debian packages of sbcl at
9201 <http://www-jcsu.jesus.cam.ac.uk/ftp/pub/debian/lisp>.
9202 From his sbcl-devel e-mail of 2001-04-08 they're not completely
9203 stable, but are nonetheless usable. When he's ready, I'd be happy
9204 to add them to the SourceForge "File Releases" section. (And if
9205 anyone wants to do RPMs or *BSD packages, they'd be welcome too.)
9206 * new fasl file format version number (because of changes in
9207 internal representation of (OR ..) types to accommodate the new
9208 support for (AND ..) types, among other things)
9210 changes in sbcl-0.6.11 relative to sbcl-0.6.10:
9211 * Martin Atzmueller pointed out that bugs #9 and #25 are gone in
9213 * bug 34 fixed by Martin Atzmueller: dumping/loading instances works
9215 * fixed bug 40: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE,
9216 and UPGRADED-COMPLEX-PART-TYPE now work better with of compound
9217 types built from undefined types, e.g. '(VECTOR SOME-UNDEF-TYPE).
9218 * DESCRIBE now works on structure objects again.
9219 * Most function call argument type mismatches are now handled as
9220 STYLE-WARNINGs instead of full WARNINGs, since the compiler doesn't
9221 know whether the function will be redefined before the call is
9222 executed. (The compiler could flag local calls with full WARNINGs,
9223 as per the ANSI spec "3.2.2.3 Semantic Constraints", but right now
9224 it doesn't keep track of enough information to know whether calls
9225 are local in this sense.)
9226 * Compiler output is now more verbose, with messages truncated
9227 later than before. (There should be some supported way for users
9228 to override the default verbosity, but I haven't decided how to
9229 provide it yet, so this behavior is still controlled by the internal
9230 SB-C::*COMPILER-ERROR-PRINT-FOO* variables in
9231 src/compiler/ir1util.lisp.)
9232 * Fasl file format version numbers have increased again, because
9233 support for the Gray streams extension changes the layout of the
9234 system's STREAM objects.
9235 * The Gray subclassable streams extension now works, thanks to a
9236 patch from Martin Atzmueller.
9237 * The full LOAD-FOREIGN extension (not just the primitive
9238 LOAD-FOREIGN-1) now works, thanks to a patch from Martin Atzmueller.
9239 * The default behavior of RUN-PROGRAM has changed. Now, unlike CMU CL
9240 but like most other programs, it defaults to copying the Unix
9241 environment from the original process instead of starting the
9242 new process in an empty environment.
9243 * Extensions which manipulate the Unix environment now support
9244 an :ENVIRONMENT keyword option which doesn't smash case or
9245 do other bad things. The CMU-CL-style :ENV option is retained
9246 for porting convenience.
9247 * LOAD-FOREIGN (and LOAD-1-FOREIGN) now support logical pathnames,
9248 as per Daniel Barlow's suggestion and Martin Atzmueller's patch
9250 changes in sbcl-0.6.10 relative to sbcl-0.6.9:
9252 * A patch from Martin Atzmueller seems to have solved the SIGINT
9253 problem, and as far as we know, signal-handling now works cleanly.
9254 (If you find any new bugs, please report them!)
9255 * The system no longer defaults Lisp source file names to types
9256 ".l", ".cl", or ".lsp", but only to ".lisp".
9257 * The compiler no longer uses special default file extensions for
9258 byte-compiled code. (The ANSI definition of COMPILE-FILE-PATHNAME
9259 seems to expect a single default extension for all compiled code,
9260 and there's no compelling reason to try to stretch the standard
9261 to allow two different extensions.) Instead, byte-compiled files
9262 default to the same extension as native-compiled files.
9263 * Fasl file format version numbers have increased again, because
9264 a rearrangement of internal implementation packages made some
9265 dumped symbols in old fasl files unreadable in new cores.
9266 * DECLARE/DECLAIM/PROCLAIM logic is more nearly ANSI in general, with
9267 many fewer weird special cases.
9268 * Bug #17 (differing COMPILE-FILE behavior between logical and
9269 physical pathnames) has been fixed, and some related misbehavior too,
9270 thanks to a patch from Martin Atzmueller.
9271 * Bug #30 (reader problems) is gone, thanks to a CMU CL patch
9272 by Tim Moore, ported to SBCL by Martin Atzmueller.
9273 * Martin Atzmueller fixed several filesystem-related problems,
9274 including bug #36, in part by porting CMU CL patches, which were
9275 written in part by Paul Werkowski.
9276 * More compiler warnings in src/runtime/ are gone, thanks to
9277 more patches from Martin Atzmueller.
9278 * Martin Atzmueller pointed out that bug 37 was fixed by his patches
9281 changes in sbcl-0.6.9 relative to sbcl-0.6.8:
9283 * DESCRIBE now works on CONDITION objects.
9284 * The debugger now handles errors which arise when trying to print
9285 *DEBUG-CONDITION*, so that it's less likely to fall into infinite
9287 * The build system now uses an additional file, customize-target-features.lisp,
9288 to allow local modifications to the target *FEATURES* list. (The point of
9289 this is that now I can set up a custom configuration, e.g. with :SB-SHOW
9290 debugging features enabled, without having to worry about propagating it
9291 into everyone's system when I do a "cvs update".) When no
9292 customize-target-features.lisp file exists, the target *FEATURES* list
9293 should be constructed the same way as before.
9294 * fixed bugs in DEFCONSTANT ANSI-compatibility:
9295 ** DEFCONSTANT now tests reassignments using EQL, not EQUAL, in order to
9296 warn about behavior which is undefined under the ANSI spec. Note: This
9297 is specified by ANSI, but it's not very popular with programmers.
9298 If it causes you problems, take a look at the new SB-INT:DEFCONSTANT-EQX
9299 macro in the SBCL sources for an example of a workaround which you
9300 might use to make portable ANSI-standard code which does what you want.
9301 ** DEFCONSTANT's implementation is now based on EVAL-WHEN instead of on
9302 pre-ANSI IR1 translation magic, so it does the ANSI-specified thing
9303 when it's used as a non-toplevel form. (This is required in order
9304 to implement the DEFCONSTANT-EQX macro.)
9305 ** (DEFCONSTANT X 1) (DEFVAR X) (SETF X 2) no longer "works".
9306 ** Unfortunately, non-toplevel DEFCONSTANT forms can still do some
9307 funny things, due to bugs in the implementation of EVAL-WHEN
9308 (bug #IR1-3). This probably won't be fixed until 0.7.x. (Fortunately,
9309 non-toplevel DEFCONSTANTs are uncommon.)
9310 * The core file version number and fasl file version number have been
9311 incremented, because the old noncompliant DEFCONSTANT behavior involved
9312 calling functions which no longer exist, and because I also took the
9313 opportunity to chop an unsupported slot out of the DEBUG-SOURCE structure.
9314 * fixed bug 1 (error handling before read-eval-print loop starts), and
9315 redid debugger restarts and related debugger commands somewhat while
9317 ** The QUIT debugger command is gone, since it did something
9318 rather different than the SB-EXT:QUIT command, and since it never
9319 worked properly outside the main toplevel read/eval/print loop.
9320 Invoking the new TOPLEVEL restart provides the same functionality.
9321 ** The GO debugger command is also gone, since you can just invoke
9322 the CONTINUE restart directly instead.
9323 ** The TOP debugger command is also gone, since it's redundant with the
9324 FRAME 0 command, and since it interfered with abbreviations for the
9326 * The system now recovers better from non-PACKAGE values of the *PACKAGE*
9328 * The system now understands compound CONS types (e.g. (CONS FIXNUM T))
9329 as required by ANSI. (thanks to Douglas Crosher's CMU CL patches, with
9330 some porting work by Martin Atzmueller)
9331 * Martin Atzmueller reviewed the CMU CL mailing lists and came back
9332 with a boatload of patches which he ported to SBCL. Now that those
9334 ** The system tries to make sure that its low-priority messages
9335 are prefixed by semicolons, to help people who like to use
9336 syntax highlighting in their ILISP buffer. (This patch
9337 was originally due to Raymond Toy.)
9338 ** The system now optimizes INTEGER-LENGTH better, thanks to more
9339 patches originally written by Raymond Toy.
9340 ** The compiler understands coercion between single-value and
9341 multiple-VALUES type expressions better, getting rid of some very
9342 weird behavior, thanks to patches originally by Robert MacLachlan
9343 and Douglas Crosher.
9344 ** The system understands ANSI-style non-KEYWORD &KEY arguments in
9345 lambda lists, thanks to a patch originally by Pierre Mai.
9346 ** The system no longer bogusly warns about "abbreviated type
9348 ** The compiler gets less confused by inlining and RETURN-FROM,
9349 thanks to some patches originally by Tim Moore.
9350 ** The system no longer hangs when dumping circular lists to fasl
9351 files, thanks to a patch originally from Douglas Crosher.
9352 * Martin Atzmueller also fixed ROOM, so that it no longer fails with an
9353 undefined function error.
9354 * gave up on fixing bug 3 (forbidden-by-ANSI warning for type mismatch
9355 in structure slot initforms) for now, documented workaround instead:-|
9356 * fixed bug 4 (no WARNING for DECLAIM FTYPE of slot accessor function)
9357 * fixed bug 5: added stubs for various Gray stream functions called
9358 in the not-a-CL:STREAM case, so that even when Gray streams aren't
9359 installed, at least appropriate type errors are generated
9360 * fixed bug 8: better reporting of various PROGRAM-ERRORs
9361 * fixed bug 9: IGNORE and IGNORABLE now work reasonably and more
9362 consistently in DEFMETHOD forms.
9363 * removed bug 21 from BUGS, since Martin Atzmueller points out that
9364 it doesn't seem to affect SBCL after all
9365 * The C runtime system now builds with better optimization and many
9366 fewer warnings, thanks to lots of cleanups by Martin Atzmueller.
9368 changes in sbcl-0.6.8 relative to sbcl-0.6.7:
9370 * The system is now under CVS at SourceForge (instead of the
9371 CVS repository on my home machine).
9372 * The new signal handling code has been tweaked to treat register
9373 contents as (UNSIGNED-BYTE 32), as the old CMU CL code did,
9374 instead of (SIGNED-BYTE 32), as the C header files have it. (Code
9375 downstream, e.g. in debug-int.lisp, has implicit dependencies
9376 on the unsignedness of integer representation of machine words,
9377 and that caused the system to bomb out with infinite regress
9378 when trying to recover from type errors involving signed values,
9379 e.g. (BUTLAST '(1 2 3) -1).)
9380 * (BUTLAST NIL) and (NBUTLAST NIL) now return NIL as they should.
9381 (This was one of the bugs Peter Van Eynde reported back in July.)
9382 * The system now uses code inspired by Colin Walters' O(N)
9383 implementation of MAP (from the cmucl-imp@cons.org mailing
9384 list, 2 September 2000) when it can't use a DEFTRANSFORM to
9385 inline the MAP operation, and there is more than one
9386 sequence argument to the MAP call (so that it can't just
9387 do ETYPECASE once and for all based on the type of the
9388 single sequence argument). (The old non-inline implementation
9389 of the general M-argument sequence-of-length-N case required
9390 O(M*N*N) time when any of the sequence arguments were LISTs.)
9391 * The QUIT :UNIX-CODE keyword argument has been renamed to
9392 QUIT :UNIX-STATUS. (The old name still works, but is deprecated.)
9393 * Raymond Wiker's patches to port RUN-PROGRAM from CMU CL to SBCL
9395 * Raymond Wiker's patches to port dynamic loading from Linux to
9396 FreeBSD have been added.
9397 * The BUGS file is now more nearly up to date, thanks in large part
9398 to Martin Atzmueller's review of it.
9399 * The debugger now flushes standard output streams before it begins
9400 its output ("debugger invoked" and so forth).
9401 * The core version number and fasl file version number have both
9402 been incremented, because of incompatible changes in the layout
9404 * FINISH-OUTPUT is now called more consistently on QUIT. (It
9405 used to not be called for a saved Lisp image.)
9406 * Martin Atzmueller's version of a patch to fix a compiler crash,
9407 as posted on sbcl-devel 13 September 2000, has been installed.
9408 * Instead of installing Martin Atzmueller's patch for the
9409 compiler transform for SUBSEQ, I deleted the compiler transform,
9410 and transforms for some similar consing operations.
9411 * A bug in signal handling which kept TRACE from working on OpenBSD
9413 * added enough DEFTRANSFORMs to allow (SXHASH 'FOO) to be optimized
9414 away by constant folding
9415 * The system now defines its address space constants in one place
9416 (in the Lisp sources), and propagates them automatically elsewhere
9417 (through GENESIS and the sbcl.h file). Therefore, patching the
9418 address map is less unnecessarily tedious and error-prone. The
9419 Lisp names of address space constants have also been systematized.
9420 * CVS tags like dollar-Header-dollar have been removed from
9421 the sources, because they have never saved me trouble and
9422 they've been source of trouble working with patches and other
9423 diff-related operations.
9424 * fixed the PROG1-vs.-PROGN bug in HANDLER-BIND (reported by
9425 ole.rohne@cern.ch on cmucl-help@cons.org 2000-10-25)
9427 changes in sbcl-0.6.7 relative to sbcl-0.6.6:
9429 * The system has been ported to OpenBSD.
9430 * The system now compiles with a simple "sh make.sh" on the systems
9431 that it's supported on. I.e., now you no longer need to tweak
9432 text in the target-features.lisp-expr and symlinks in src/runtime/
9433 by hand, the make.sh takes care of it for you.
9434 * The system is no longer so grossly inefficient when compiling code
9435 involving vectors implemented as general (not simple) vectors (VECTOR T),
9436 so code which dares to use VECTOR-PUSH-EXTEND and FILL-POINTER, or
9437 which dares to use the various sequence functions on non-simple
9438 vectors, takes less of a performance hit.
9439 * There is now a primitive type predicate VECTOR-T-P
9440 to test for the (VECTOR T) type, so that e.g.
9441 (DEFUN FOO (V) (DECLARE (TYPE (VECTOR T) V)) (AREF V 3))
9442 can now be compiled with some semblance of efficiency. (The old code
9443 turned the type declaration into a full call to %TYPEP at runtime!)
9444 * AREF on (VECTOR T) is still not fast, since it's still compiled
9445 as a full call to SB-KERNEL:DATA-VECTOR-REF, but at least the
9446 ETYPECASE used in DATA-VECTOR-REF is now compiled reasonably
9447 efficiently. (The old version made full calls to SUBTYPEP at runtime!)
9448 * (MAKE-ARRAY 12 :FILL-POINTER T) is now executed less inefficiently,
9449 without making full calls to SUBTYPEP at runtime.
9450 (Some analogous efficiency issues for non-simple vectors specialized to
9451 element types other than T, or for non-simple multidimensional arrays,
9452 have not been addressed. They could almost certainly be handled the
9453 same way if anyone is motivated to do so.)
9454 * The changes in array handling break binary compatibility, so
9455 *BACKEND-FASL-FILE-VERSION* has been bumped to 4.
9456 * (TYPEP (MAKE-ARRAY 12 :FILL-POINTER 4) 'VECTOR) now returns (VALUES T)
9457 instead of (VALUES T T).
9458 * By following the instructions that Dan Barlow posted to sbcl-devel
9459 on 2 July 2000, I was able to enable primitive dynamic object
9460 file loading code for Linux. The full-blown CMU CL LOAD-FOREIGN
9461 functionality is not implemented (since it calls ld to resolve
9462 library references automatically, requiring RUN-PROGRAM for its
9463 implementation), but a simpler SB-EXT:LOAD-1-FOREIGN (which doesn't
9464 try to resolve library references) is now supported.
9465 * The system now flushes the standard output streams when it terminates,
9466 unless QUIT is used with the RECKLESSLY-P option set. It also flushes
9467 them at several other probably-convenient times, e.g. in each pass of
9468 the toplevel read-eval-print loop, and after evaluating a form given
9469 as an "--eval" command-line option. (These changes were motivated by a
9470 discussion of stream flushing issues on cmucl-imp in August 2000.)
9471 * The source transform for TYPEP of array types no longer assumes
9472 that an array whose element type is a not-yet-defined type
9473 is implemented as an array of T, but instead punts, so that the
9474 type will be interpreted at runtime.
9475 * There is now some support for cross-compiling in make.sh: each of
9476 the phases of make.sh has its own script. (This should be transparent
9477 to people doing ordinary, non-cross-compile builds.)
9478 * Since my laptop doesn't have hundreds of megabytes of memory like
9479 my desktop machine, I became more motivated to do some items on
9480 my to-do list in order to reduce the size of the system a little:
9481 ** Arrange for various needed-only-at-cold-init things to be
9482 uninterned after cold init. To support this, those things have
9483 been renamed from FOO and *FOO* to !FOO and *!FOO* (i.e., all
9484 symbols with such names are now uninterned after cold init).
9485 ** Bind SB!C::*TOP-LEVEL-LAMBDA-MAX* to a nonzero value when building
9486 fasl files for cold load.
9487 ** Remove the old compiler structure pooling code (which used to
9488 be conditional on the target feature :SB-ALLOC) completely.
9489 ** Redo the representation of some data in cold init to be more compact.
9490 (I also looked into supporting byte compiled code at bootstrap time,
9491 which would probably reduce the size of the system a lot, but that
9492 looked too complicated, so I punted for now.)
9493 * The maximum signal nesting depth in the src/runtime/ support code has
9494 been reduced from 4096 to 256. (I don't know any reason for the very
9495 large old value. If the new smaller value turns out to break something,
9496 I'll probably just bump it back up.)
9497 * PPRINT-LOGICAL-BLOCK is now pickier about the types of its arguments,
9499 * Many, many bugs reported by Peter Van Eynde have been added to
9500 the BUGS list; some have even been fixed.
9501 * While enabling dynamic object file loading, I tried to make the
9502 code easier to understand, renaming various functions and variables
9503 with less ambiguous names, and changing some function calling
9504 conventions to be Lispier (e.g. returning NIL instead of 0 for failure).
9505 * While trying to figure out how to do the OpenBSD port, I tried to
9506 clean up some of the code in src/runtime/. In particular, I dropped
9507 support for non-POSIX signal handling, added various comments,
9508 tweaked the code to reduce the number of compilation warnings, and
9509 renamed some files to increase consistency.
9510 * To support the new automatic configuration functionality in make.sh,
9511 the source file target-features.lisp-expr has been replaced with the
9512 source file base-target-features.lisp-expr and the machine-generated
9513 file local-target-features.lisp-expr.
9514 * fixed a stupid quoting error in make.sh so that using CMU CL
9515 "lisp -batch" as cross-compilation host works again
9517 changes in sbcl-0.6.6 relative to sbcl-0.6.5:
9519 * DESCRIBE no longer tries to call itself recursively to describe
9520 bound/fbound values, so that it no longer fails on symbols which are
9521 bound to themselves (like keywords, T, and NIL).
9522 * DESCRIBE now works on generic functions.
9523 * The printer now prints less-screwed-up representations of closures
9524 (not naively trying to bogusly use the %FUNCTION-NAME accessor on them).
9525 * A private symbol is used instead of the :EMPTY keyword previously
9526 used to mark empty slots in hash tables. Thus
9527 (DEFVAR *HT* (MAKE-HASH-TABLE))
9528 (SETF (GETHASH :EMPTY *HT*) :EMPTY)
9529 (MAPHASH (LAMBDA (K V) (FORMAT T "~&~S ~S~%" K V)))
9530 now does what ANSI says that it should. (You can still get
9531 similar noncompliant behavior if bang on the hash table
9532 implementation with all the symbols you get back from
9533 DO-ALL-SYMBOLS, but at least that's a little harder to do.)
9534 This breaks binary compatibility, since tests for equality to
9535 :EMPTY are wired into things like the macroexpansion of
9536 WITH-HASH-TABLE-ITERATOR in FASL files produced by earlier
9538 * There's now a minimal placeholder implementation for CL:STEP,
9539 as required by ANSI.
9540 * An obscure bug in the interaction of the normal compiler, the byte
9541 compiler, inlining, and structure predicates has been patched
9542 by setting the flags for the DEFTRANSFORM of %INSTANCE-TYPEP as
9543 :WHEN :BOTH (as per Raymond Toy's suggestion on the cmucl-imp@cons.org
9545 * Missing ordinary arguments in a macro call are now detected even
9546 when the macro lambda list contains &KEY or &REST.
9547 * The debugger no longer complains about encountering the top of the
9548 stack when you type "FRAME 0" to explicitly instruct it to go to
9549 the top of the stack. And it now prints the frame you request even
9550 if it's the current frame (instead of saying "You are here.").
9551 * As specified by ANSI, the system now always prints keywords
9552 as #\: followed by SYMBOL-NAME, even when *PACKAGE* is the
9554 * The default initial SIZE of HASH-TABLEs is now smaller.
9555 * Type information from CLOS class dispatch is now propagated
9556 into DEFMETHOD bodies, so that e.g.
9557 (DEFMETHOD FOO ((X SINGLE-FLOAT))
9559 is now basically equivalent to
9560 (DEFMETHOD FOO ((X SINGLE-FLOAT))
9561 (DECLARE (TYPE SINGLE-FLOAT X))
9563 and the compiler can compile (+ X 123.0) as a SINGLE-FLOAT-only
9564 operation, without having to do run-time type dispatch.
9565 * The macroexpansion of DEFMETHOD has been tweaked so that it has
9566 reasonable behavior when arguments are declared IGNORE or IGNORABLE.
9567 * Since I don't seem to be making big file reorganizations very often
9568 any more (and since my archive of sbcl-x.y.zv.tar.bz2 snapshots
9569 is overflowing my ability to conveniently back them up), I've finally
9570 checked the system into CVS. (The CVS repository is on my home system,
9571 not at SourceForge -- putting it on SourceForge might come later.)
9572 * SB-EXT:*GC-NOTIFY-STREAM* has been added, to control where the
9573 high-level GC-NOTIFY-FOO functions send their output. (There's
9574 still very little control of where low-level verbose GC functions
9575 send their output.) The SB-EXT:*GC-VERBOSE* variable now controls
9576 less than it used to -- the GC-NOTIFY-FOO functions are now under
9577 the control of *GC-NOTIFY-STREAM*, not *GC-VERBOSE*.
9578 * The system now stores the version string (LISP-IMPLEMENTATION-VERSION)
9579 in only one place in the source code, and propagates it automatically
9580 everywhere that it's needed. Thus e.g. when I bump the version from
9581 0.6.6 to 0.6.7, I'll only need to modify the sources in one place.
9582 * The C source files now include boilerplate legalese and documentation
9583 at the head of each file (just as the Lisp source files already did).
9584 * At Dan Barlow's suggestion, the hyperlink from the SBCL website
9585 to his page will be replaced with a link to his new CLiki service.
9587 changes in sbcl-0.6.5 relative to sbcl-0.6.4:
9589 * Raymond Wiker's patches to port the system to FreeBSD have been merged.
9590 * The build process now looks for GNU make under the default name "gmake",
9591 instead of "make" as it used to. If GNU make is not available as "gmake"
9592 on your system, you can change this default behavior by setting the
9593 GNUMAKE environment variable.
9594 * Replace #+SB-DOC with #!+SB-DOC in seq.lisp so that the system
9595 can build without error under CMU CL.
9597 changes in sbcl-0.6.4 relative to sbcl-0.6.3:
9599 * There is now a partial SBCL user manual (with some new text and some
9600 text cribbed from the CMU CL manual).
9601 * The beginnings of a profiler have been added (starting with the
9602 CMU CL profiler and simplifying and cleaning up). Eventually the
9603 main interface should be through the TRACE macro, but for now,
9604 it's still accessed through vaguely CMU-CL-style functions and macros
9605 exported from the package SB-PROFILE.
9606 * Some problems left over from porting CMU CL to the new
9607 cross-compilation bootstrap process have been cleaned up:
9608 ** DISASSEMBLE now works. (There was a problem in using DEFMACRO
9609 instead of SB!XC:DEFMACRO, compounded by an oversight on my
9610 part when getting rid of the compiler *BACKEND* stuff.)
9611 ** The value of *NULL-TYPE* was screwed up, because it was
9612 being initialized before the type system knew the final
9613 definition of the 'NULL type. This screwed up several key
9614 optimizations in the compiler, causing inefficiency in all sorts
9615 of places. (I found it because I wanted to understand why
9616 GET-INTERNAL-RUN-TIME was consing.)
9617 * fixed a bug in DEFGENERIC which was causing it to overwrite preexisting
9618 PROCLAIM FTYPE information. Unfortunately this broke binary
9619 compatibility again, since now the forms output by DEFGENERIC
9620 to refer to functions which didn't exist in 0.6.3.
9621 * added declarations so that SB-PCL::USE-CACHING-DFUN-P
9622 can use the new (as of 0.6.3) transform for SOME into MAP into
9624 * changed (MOD 1000000) type declarations for Linux timeval.tv_usec slot
9625 values to (INTEGER 0 1000000), so that the time code will no longer
9626 occasionally get blown up by Linux returning 1000000 microseconds
9627 * PRINT-UNREADABLE-OBJECT has been tweaked to make the spacing of
9628 its output conform to the ANSI spec. (Alas, this makes its output
9629 uglier in the :TYPE T :IDENTITY NIL case, but them's the breaks.)
9630 * A full call to MAP NIL with a single sequence argument no longer conses.
9631 * fixes to problems pointed out by Martin Atzmueller:
9632 * The manual page no longer talks about multiprocessing as though
9633 it were currently supported.
9634 * The ILISP support patches have been removed from the distribution,
9635 because as of version 5.10.1, ILISP now supports SBCL without us
9636 having to maintain patches.
9637 * added a modified version of Raymond Toy's recent CMU CL patch for
9638 EQUALP comparison of HASH-TABLE
9640 changes in sbcl-0.6.3 relative to sbcl-0.6.2:
9642 * The system still can't cross-compile itself with
9643 *TYPE-SYSTEM-INITIALIZED* (and all the consistency checks that
9644 entails), but at least it can compile more of itself that way
9645 than it used to be able to, and various buglets which were uncovered
9646 by trying to cross-compile itself that way have now been fixed.
9647 * This release breaks binary compatibility again. This time
9648 at least I've incremented the FASL file format version to 2, so that the
9649 problem can be detected reliably instead of just causing weird errors.
9650 * various new style warnings:
9651 ** using DEFUN, DEFMETHOD, or DEFGENERIC to overwrite an old definition
9652 ** using the deprecated EVAL/LOAD/COMPILE situation names in EVAL-WHEN
9653 ** using the lexical binding of a variable named in the *FOO* style
9654 * DESCRIBE has been substantially rewritten. It now calls DESCRIBE-OBJECT
9655 as specified by ANSI.
9656 * *RANDOM-STATE* is no longer automatically initialized from
9657 (GET-UNIVERSAL-TIME), but instead from a constant seed. Thus, the
9658 default behavior of the system is to repeat its behavior every time
9659 it's run. If you'd like to change this behavior, you can always
9660 explicitly set the seed from (GET-UNIVERSAL-TIME); whereas under the
9661 old convention there was no comparably easy way to get the system to
9662 repeat its behavior every time it was run.
9663 * Support for the pre-CLTL2 interpretation of FUNCTION declarations as
9664 FTYPE declarations has been removed, in favor of their ANSI
9665 interpretation as TYPE FUNCTION declarations. (See p. 228 of CLTL2.)
9666 * The quantifiers SOME, EVERY, NOTANY, and NOTEVERY no longer cons when
9667 the types of their sequence arguments can be determined at compile time.
9668 This is done through a new open code expansion for MAP which eliminates
9669 consing for (MAP NIL ..), and reduces consing otherwise, when sequence
9670 argument types can be determined at compile time.
9671 * The optimizer now transforms COERCE into an identity operation when it
9672 can prove that the coerced object is already of the correct type. (This
9673 can be a win for machine generated code, including the output of other
9674 optimization transforms, such as the MAP transform above.)
9675 * Credit information has been moved from source file headers into CREDITS.
9676 * Source file headers have been made more standard.
9677 * The CASE macro now compiles without complaining even when it has
9680 changes in sbcl-0.6.2 relative to sbcl-0.6.1:
9682 * (Note that the way that the PCL macroexpansions were rewritten
9683 to accommodate the change in DEFGENERIC below breaks binary
9684 compatibility. That is, fasl files compiled under sbcl-0.6.1 may
9685 not run under sbcl-0.6.2. Once we get out of alpha releases,
9686 i.e. hit release 1.0.0, we'll probably try to maintain binary
9687 compatibility between maintenance releases, e.g. between sbcl-1.4.3
9688 and sbcl-1.4.4. Until then, however, it might be fairly common
9689 for maintenance releases to break binary compatibility.)
9690 * A bug in the calculation of WARNINGS-P and FAILURE-P in COMPILE-FILE
9692 * The reporting of unhandled signals has been changed to print some
9693 explanatory text as well as the report form. (Previously only
9694 the report form was printed.)
9695 * The macroexpansion for DEFGENERIC now DECLAIMs the function that
9696 it defines, so that the compiler no longer issues undefined function
9697 warnings for compiled-but-not-yet-loaded generic functions.
9698 * The CLTL-style "LISP" and "USER" nicknames for the "COMMON-LISP"
9699 and "COMMON-LISP-USER" packages have been removed. Now only the "CL"
9700 and "CL-USER" standard nicknames from the "11.1.2 Standardized Packages"
9701 section of the ANSI spec are supported.
9702 * The "" nickname for the "KEYWORD" package has been removed.
9703 The reader still handles symbol tokens which begin with a package marker
9704 as keywords, but it doesn't expose its mechanism for doing so in the
9705 (PACKAGE-NICKNAMES (FIND-PACKAGE "KEYWORD")) list.
9706 * The system now issues STYLE-WARNINGs for contradictory TYPE
9707 proclamations. (Warnings for contradictory FTYPE proclamations would
9708 be nice too, but those can't be done usefully unless the type system
9709 is made smarter about FUNCTION types.)
9710 * The names of source files "*host-*.lisp" and "*target-*.lisp" have been
9711 systematized, so that "*target-*.lisp is supposed to exist only on the
9712 target and imply that there's a related file which exists on the
9713 host, and *host-*.lisp is supposed to exist only on the host and imply
9714 that there's a related file which exists on the target. This involves a
9715 lot of renaming. Hopefully the acute confusion caused by the renaming
9716 will be justified by the reduction in chronic confusion..
9717 ** runtime-type.lisp -> early-target-type.lisp
9718 ** target-type.lisp -> late-target-type.lisp
9719 ** early-host-format.lisp -> early-format.lisp
9720 ** late-host-format.lisp -> late-format.lisp
9721 ** host-error.lisp -> misc-error.lisp
9722 ** early-error.lisp -> early-target-error.lisp
9723 ** late-error.lisp -> late-target-error.lisp
9724 ** host-defboot.lisp -> early-defboot.lisp
9725 ** code/misc.lisp -> code/target-misc.lisp
9726 ** code/host-misc.lisp -> code/misc.lisp
9727 ** code/numbers.lisp -> code/target-numbers.lisp
9728 ** code/early-numbers.lisp -> numbers.lisp
9729 ** early-host-type.lisp -> early-type.lisp
9730 ** late-host-type.lisp -> late-type.lisp
9731 ** host-typep.lisp -> typep.lisp
9732 ** load.lisp -> target-load.lisp
9733 ** host-load.lisp -> load.lisp
9734 ** host-disassem.lisp -> disassem.lisp
9735 ** host-insts.lisp -> insts.lisp
9736 ** byte-comp.lisp -> target-byte-comp.lisp
9737 ** host-byte-comp.lisp -> byte-comp.lisp
9738 ** host-signal.lisp -> signal.lisp
9739 ** host-defstruct.lisp -> defstruct.lisp
9740 ** late-target-type.lisp -> deftypes-for-target.lisp
9741 Furthermore, several other previously target-only files foo.lisp (e.g.
9742 hash-table.lisp and random.lisp) have been split into a target-and-host
9743 foo.lisp file and a target-only target-foo.lisp file, with their key type
9744 definitions in the target-and-host part, so that the cross-compiler will
9745 know more about target types.
9746 * DEFSTRUCT BACKEND, and the BACKEND-valued *BACKEND* variable, have
9747 gone away. In their place are various *BACKEND-FOO* variables
9748 corresponding to the slots of the old structure.
9749 * A bug which caused the SB-COLD bootstrap-time package to be propagated
9750 into the target SBCL has been fixed.
9751 * The chill.lisp system for loading cold code into a running SBCL
9753 * Support for the CMU CL "scavenger hook" extension has been removed.
9754 (It was undocumented and unused in the CMU CL sources that SBCL was
9755 derived from, and stale in sbcl-0.6.1.)
9756 * Various errors in the cross-compiler type system were detected
9757 by running the cross-compiler with *TYPE-SYSTEM-INITIALIZED*
9758 (enabling various consistency checks). Many of them were fixed,
9759 but some hard problems remain, so the compiler is back to
9760 running without *TYPE-SYSTEM-INITIALIZED* for now.
9761 * As part of the cross-compiler type system cleanup, I implemented
9762 DEF!TYPE and got rid of early-ugly-duplicates.lisp.
9763 * I have started adding UNCROSS calls throughout the type system
9764 and the INFO database. (Thus perhaps eventually the blanket UNCROSS
9765 on cross-compiler input files will be able to go away, and various
9767 * CONSTANTP now returns true for quoted forms (as explicitly required
9770 changes in sbcl-0.6.1 relative to sbcl-0.6.0:
9772 * changed build optimization from (SAFETY 1) to (SAFETY 3) as a short-term
9773 fix for various type-unsafety bugs, e.g. failures with (LENGTH 123) and
9774 (MAKE-LIST -1). In the longer term, it ought to become true
9775 that declarations are assertions even at SAFETY 1. For now, it's not
9776 quite true even at SAFETY 3, but it's at least more nearly true..
9777 (Note that this change seems to increases the size of the system by
9778 O(5%) and to decrease the speed of the compiler by 20% or more.)
9779 * changed ALIEN printing to be much more abbreviated, as a short-term fix
9780 for the problem of printing dozens of lines of distracting information
9781 about low-level system machinery as part of the top stack frame
9782 on entry to the debugger when an undefined function was called.
9783 * tweaked the debugger's use of WITH-STANDARD-IO-SYNTAX so that *PACKAGE*
9784 is not reset to COMMON-LISP-USER.
9785 * Compilation of stuff related to dyncount.lisp has been made conditional
9786 on the :SB-DYNCOUNT target feature, so that the ordinary core system is
9787 smaller. The various dyncount-related symbols have been moved into
9788 a new "SB-DYNCOUNT" package.
9789 * tty-inspect.lisp has been renamed to inspect.lisp.
9790 * unix-glibc2.lisp has been renamed to unix.lisp, and the :GLIBC2
9791 feature has gone away. (When we eventually port to other flavors of
9792 libc and/or Unix, we'll try to make the differences between flavors
9793 invisible at the user level.)
9794 * Various other *FEATURES* tags, and/or their associated conditionals,
9795 have been removed if obsolescent, or given better documentation, or
9796 sometimes given more-mnemonic names.
9798 changes in sbcl-0.6.0 relative to sbcl-0.5.0:
9800 * tidied up "make.sh" script
9801 * tidied up system directory structure
9802 * better "clean.sh" behavior
9803 * added doc/FOR-CMUCL-DEVELOPERS
9804 * many many small tweaks to output format, e.g. removing possibly-confusing
9805 trailing #\. character in DESCRIBE-INSTANCE
9806 * (EQUALP #\A 'A) no longer signals an error.
9807 * new hashing code, including EQUALP hashing
9808 * tidied up Lisp initialization and toplevel
9809 * initialization files (e.g. /etc/sbclrc and $HOME/.sbclrc)
9810 * command line argument processing
9811 * added POSIX-GETENV function to deal with Unix-ish environment variables
9812 * more-Unixy handling of *STANDARD-INPUT* and other Lisp streams, e.g.
9813 terminating SBCL on EOF
9814 * non-verbose GC by default
9815 * There is no more "sbcl" shell script; the sbcl file is now the C
9816 runtime executable (just like CMU CL).
9817 * removed some unused fops, e.g. FOP-UNIFORM-VECTOR, FOP-CHARACTER, and
9819 * tweaked debug-info.lisp and debug-int.lisp to make the debugger store
9820 symbol and package information as Lisp native symbol and package objects
9821 instead of strings naming symbols and strings naming packages. This way,
9822 whenever packages are renamed (as in warm init), debug information is
9823 transformed along with everything else.
9824 * tweaked the optimization policy declarations which control the building
9825 of SBCL itself. Now, among other things, the system no longer saves
9826 source location debugging information. (This helps two problems at once
9827 by reducing SBCL size and by keeping SBCL from trying to look for its
9828 sources -- which may not exist -- when reporting errors.)
9829 * added src/cold/chill.lisp, to let SBCL read its own cold sources for
9830 debugging and testing purposes
9831 * cleaned up printing, making the printer call PRINT-OBJECT for
9832 instances, and using PRINT-UNREADABLE-OBJECT for most PRINT-OBJECT
9833 methods, giving nearly-ANSI behavior
9834 * converted almost all special variables to use *FOO* naming convention
9835 * deleted PARSE-TIME functionality, since it can be done portably
9836 * moved some files out of cold init into warm init
9837 * deleted DEFUN UNDEFINED-VALUE, replaced (UNDEFINED-VALUE) forms
9839 * regularized formatting of source files
9840 * added an install.sh script
9841 * fixed ridiculous memory usage of cross-compiler by making
9842 compiler/alloc.lisp not try to do pooling unless it can hook
9843 itself into the GC of the cross-compilation host. Now the system
9844 builds nicely on my old laptop.
9845 * added :SB-ALLOC in target-features.lisp-expr
9846 * deleted mention of :ANSI-DOC from target-features.lisp-expr (since it
9847 was not implemented)
9848 * re-did condition handling and note reporting in the compiler. Notes
9849 are no longer handled by signalling conditions. Style warnings
9850 and warnings are handled more correctly and reported in such a way
9851 that it's easy to find one or the other in your output (so that you
9852 can e.g. figure out which of many problems caused COMPILE-FILE to
9854 * changed the severity of several compiler warnings from full WARNING
9855 to STYLE-WARNING in order to conform with the ANSI spec; also changed
9856 compiler note reporting so that it doesn't use the condition system
9857 at all (and hence affects neither FAILURE-P nor WARNINGS-P in the
9858 COMPILE-FILE command)
9859 * made PROCLAIM and DECLAIM conform to ANSI. PROCLAIM is now an ordinary
9860 function. As a consequence, START-BLOCK and END-BLOCK declarations are
9861 no longer supported, since their implementation was deeply intertwingled
9862 with the magical, non-ANSI treatment that PROCLAIM received in CMU CL.
9863 * removed bogus "support" for compiler macros named (SETF FOO), and
9864 removed the compiler macro for SETF INFO (but only after making a fool
9865 of myself on the cmucl-imp mailing list by posting a bogus patch for
9866 DEFINE-COMPILER-MACRO..)
9867 * Compiled files containing forms which have side effects on the Lisp
9868 reader (such as DEFPACKAGE forms) are now handled more correctly.
9869 (Compiler queuing of top level lambdas has been suppressed by setting
9870 *TOP-LEVEL-LAMBDA-MAX* to 0. )
9871 * deleted various currently-unused source files, e.g. gengc.lisp. They
9872 may be added back at some point e.g. when porting to other architectures,
9873 but until they are it's distracting to distribute them and to try to
9875 * deleted "UNCROSS couldn't recurse through.." style warnings, since
9876 there were so many of them they're just distractions, and UNCROSS is
9877 known to be able to handle the current sources
9878 * moved PROFILE functionality into TRACE, so that it will be clear
9879 how the wrapping and unwrapping of functions when you profile them
9880 interacts with the wrapping and unwrapping of functions when you
9881 trace them. (Actually, the functionality isn't there yet, but at least
9882 the interface specification is there. Hopefully, the functionality will
9883 arrive with some future maintenance release.)
9884 * removed host-oops.lisp
9885 * changed signature of QUIT function to allow UNIX-CODE argument
9886 * fixed READ-SEQUENCE bug
9887 * tweaked verbose GC output so that it looks more like the progress
9888 output that ANSI specifies for functions like LOAD
9889 * set up the system on sourceforge.com, with home pages, mailing lists, etc.
9890 * added <http://sbcl.sourceforge.com> to the banner information printed by