1 ;;;; -*- coding: utf-8; fill-column: 78 -*-
3 changes in sbcl-2.4.4 relative to sbcl-2.4.3:
4 * minor incompatible change: after-GC hooks are now called in the finalizer
5 thread on threaded builds.
7 ** on win32 on 64-bit systems, clear x87 state as well as SSE state after
8 an exception. (lp#2000435, reported by David Scherfgen)
9 * enhancement: type assertions resulting from declarations involving variable
10 numbers of multiple values are now checked.
11 * enhancement: support for memory allocation arenas is now available on the
13 * enhancement: the cross-referencing facility is now able to handle
15 * enhacnement: the SB-INTROSPECT contrib finds callees in methods of generic
17 * bug fix: inconsistency in VOP definitions implementing DPB. (lp#2059842)
18 * bug fix: MASK-FIELD miscompilation. (lp#2059849)
19 * bug fix: caching a state-dependent type function leads to wrong type
20 inference further down the line. (lp#2059888)
21 * bug fix: internal consistency violation after failing to apply a
22 MAKE-ARRAY transform. (lp#2060083)
23 * bug fix: check the array index before constant-folding an array reference.
25 * bug fix: don't try to apply type constraints from SATISFIES
27 * bug fix: the JOIN-THREAD-PROBLEM function is now exported from the
28 SB-THREAD package. (lp#2063385, thanks to Benjamin Lee)
29 * bug fix: compare-and-swap works as expected on SLOT-VALUE of
30 FUNCALLABLE-STANDARD-OBJECT instances. (reported by qhong)
31 * bug fix: on arm64, and x86-64 with some non-default build options, integer
32 rounding functions treat minus zero more consistently.
33 * bug fix: disassembly of stack allocation of vectors caused a crash.
34 (reported by bohonghuang)
35 * bug fix: don't leak memory when decompressing a compressed core.
36 * optimization: the amount of space needed for debug-info is about 50% less,
37 leading to a total default image size reduction of more than 10%.
38 * optimization: on arm64 and x86-64, encoding constants in machine code is
40 * optimization: on arm64 and x86-64, list accumulation is done with less
42 * optimization: APPLY can apply a function to the REST of a &REST list
43 without additional consing.
45 changes in sbcl-2.4.3 relative to sbcl-2.4.2:
46 * enhancement: when dumping debug information to fasl files, the system
47 respects the SOURCE_DATE_EPOCH environment variable (if set) as the latest
49 * contributed module: the sb-perf contributed module, an interface
50 originally by Luke Gorrie to Linux's perf, is now included by default on
51 Linux. (Thanks to Philipp Marek)
53 ** on Linux and BSD variants, timezone querying is now faster.
54 ** Arm64/Darwin: allow configuring the system with a relocatable static
56 ** PPC64: allow configuring the system with fasteval.
57 * bug fix: erroneous transform of EQUALP on characters (lp#2055425)
58 * bug fix: float rounders (FTRUNCATE and related functions) handle minus
59 zero more consistently, returning minus zero as the primary value when
60 rounding to zero from a negative value.
61 * bug fix: type checks for (VECTOR T) were giving the wrong answer for
62 vectors displayed to simple multi-dimensional arrays. (reported by
64 * bug fix: do not transform away division by BIT when the BIT might still
65 include 0. (lp#2056184, reported by xizang)
66 * bug fix: various errors related to imperfections in the perfect hash
67 generator. (lp#2055794, lp#2056341)
68 * bug fix: respect declarations for symbol macros inside defmethod.
69 (lp#2056514, reported by Jonathan Braud)
70 * bug fix: failure to set structure slots to floats on Arm64. (lp#2058148,
71 reported by Bibek Panthi)
72 * optimization: improvements to the implementation of CASE.
73 * optimization: faster PARSE-INTEGER :radix 10/16 on word-sized integers.
74 * optimization: improvements to LOGBITP.
76 changes in sbcl-2.4.2 relative to sbcl-2.4.1:
77 * bug fix: restore the ability to inherit from both SEQUENCE and
78 SB-MOP:FUNCALLABLE-STANDARD-OBJECT. (lp#2050088, reported by Christophe
80 * bug fix: COERCE will not convert lambda forms to functions if given a type
81 naming a (strict) subclass of FUNCTION.
82 * bug fix: LOG with a double-float and a ratio argument (in either order) do
83 not lose precision through a single-float intermediate argument.
84 * bug fix: LOG to the base 2 of integer powers of 2 are more likely to get
85 the mathematically precise answer.
86 * bug fix: LOG on ratios very near 1 with numerator or denominator being
87 near a power of 2 will use log1p and so will lose less precision.
88 * bug fix: the utf-8 external format with Unix line-endings updates its
89 character size information when taking the fast path for a buffer of ascii
90 characters. (lp#2054169, reported by John Carroll)
91 * bug fix: don't print the contents of a possibly no-longer-valid
92 dynamic-extent cons in PRINT-OBJECT method for THREAD objects.
93 (lp#2026195, reported by Jake Connor)
94 * bug fix: place external entry points for functions consistently before any
95 local functions. (lp#2051169, reported by Fedorov Alexander)
96 * bug fix: remove unactionable optimization notes for backquoted forms and
97 ordinary calls to APPEND at high speed. (lp#2051401, reported by Robert
99 * bug fix: infinite loop in COPY-SEQ on zero-length arrays of element-type
100 NIL. (lp#2051759, reported by Devon Sean McCullough)
101 * bug fix: fix compilation of non-top-level struct constructors.
102 (lp#2052329, reported by Robert Poitras)
103 * bug fixes in SB-SIMD:
104 ** improve bounds checking in SB-SIMD. (lp#2012010, reported by Patrick
106 ** fix SB-SIMD AVX f64.4-reverse (lp#2012986, thanks to Ari Projansky)
107 ** fix SB-SIMD shuffles on AVX and SSE2 (lp#2012990, reported by Ari
109 ** fix lifetimes in sse+xmm0 VOPs (lp#2015329, reported by Ari Projansky)
110 * optimization: a number of internal tables, particularly those related to
111 Unicode support have been converted to use perfect hash mechanisms,
112 improving both speed and space.
113 * optimization: FIND, POSITION, ASSOC and RASSOC with constant sequence
114 arguments containing symbols as keys are compiled to perfect hash lookups.
115 * optimization: the compiler runs a jump-to-jump elimination pass on x86-64.
116 * system integrity: compiling the system itself on x86-64/linux now produces
117 bitwise-identical cross-compiled fasls whether the build host is cmucl,
118 ccl, clisp or sbcl itself.
120 changes in sbcl-2.4.1 relative to sbcl-2.4.0:
121 * enhancement: compact instance headers are partially supported with the
122 mark-region parallel garbage collector.
123 * enhancement: functions with declared return types have their return values
124 type-checked in optimization regimes with high SAFETY and (DEBUG 3).
126 ** disable ASLR on FreeBSD. (lp#2047655, thanks to Konstantin Belousov)
127 ** link to libpthread on FreeBSD. (thanks to Konstantin Belousov)
128 ** restore build on 64-bit riscv. (lp#2034713, lp#2048869, reported by
129 Guillaume LE VAILLANT)
130 ** restore build on 64-bit ppc.
131 ** fix case in referring to a header file. (lp#2047726, thanks to Andrew Kravchuk)
132 ** the fastrem-32 feature (for optimized computations of FLOOR) is now
133 available on all platforms.
134 * bug fix: resweep moved lines after compaction in the mark-region parallel
136 * bug fix: infinite loops in the compiler on some constructs with SATISFIES
137 types. (lp#2047289, lp#2047706, lp#2049631)
138 * optimization: various hash tables implementing part of the system
139 (packages, Unicode data tables) have been converted to use perfect hash
141 * optimization: TYPECASE on structure class hierarchies is implemented using
143 * optimization: eliminate bound checks with relative offsets. (lp#1830314)
144 * optimization: the compiler has more knowledge of how to optimize
146 * optimization: the compiler can elide intermediates for some calls to
147 APPLY, CONCATENATE and MAKE-ARRAY with arguments that are freshly-consed
148 modifications of existing sequences.
149 * optimization: (LOOP FOR X IN (REVERSE LIST) ...) is now faster and conses
151 * optimization: (LOOP ... APPEND ...) is more compact, and does less work if
153 * optimization: type tests of various array types are faster and shorter.
155 changes in sbcl-2.4.0 relative to sbcl-2.3.11:
156 * minor incompatible change: *COMPILE-VERBOSE* and *LOAD-VERBOSE* are bound
157 to NIL when the system is started with the --script command-line argument.
158 (reported by Hraban Luyat, thanks to Nicolas Martyanoff)
159 * minor incompatible change: when looking for its core file, the system
160 checks the validity of whatever is pointed to by /proc/self/exe, and
161 assesses argv[0] if /proc/self/exe is invalid. (thanks to Philipp Marek)
162 * minor incompatible change: the system no longer provides type names on the
163 standard (CL) symbols ARRAY-RANK, ARRAY-TOTAL-SIZE, PATHNAME-HOST,
164 PATHNAME-TYPE, PATHNAME-DIRECTORY, FLOAT-RADIX or FLOAT-DIGITS.
167 ** the mark-region parallel garbage collector can be enabled on arm64.
168 (Thanks to Hayley Patton)
169 ** fix build on modern FreeBSDs. (lp#2046966, thanks to David J. Flander)
170 * bug fix: restore compiler type inference correctness on calls to REDUCE
171 with :INITIAL-VALUE but no :FROM-END. (lp#2044856, reported by Patrick
173 * bug fix: compiler error when declaring SB-EXT:MUFFLE-CONDITIONS on an
174 unknown type. (lp#2045442)
175 * bug fix: the disassembler provided non-pretty output for registers in some
176 cases. (lp#2046004, reported by Fedorov Alexander)
177 * bug fix: the system is slightly less likely to exhaust the stack again
178 when reporting a control stack exhaustion error.
179 * optimization: GC write barriers are eliminated in more cases.
180 * optimization: improved type derivation of iteration variables with mixed
182 * optimization: remove unused initial values from LET bindings, improving
183 register type selection.
184 * optimization: lower EQUALP/EQUAL/EQL to EQL/EQ in FIND/MEMBER based on the
186 * optimization: better type derivation for DPB, LOGIOR.
188 changes in sbcl-2.3.11 relative to sbcl-2.3.10:
189 * minor incompatible change: streams with an external-format specified with
190 :REPLACEMENT will use their replacement data once per stream unit that
191 causes a decoding error (rather than, in some cases, once for a sequence
192 of bytes none of which is a valid character start position for that
194 * minor incompatible change: external-format designators with unsupported or
195 unrecognized options now signal an error when used.
196 * enhancement: During generic function dispatch, for a generic function
197 using standard- or short-method-combination, if there are no applicable
198 primary methods the system will call the generic function
199 SB-PCL:NO-PRIMARY-METHOD, whose default behaviour is to signal an error.
200 Users may define methods on this generic function.
201 * enhancement: external formats for unibyte encodings and utf-8 now support
203 * enhancement: character decoding and encoding errors signalled by stream or
204 octet functions now provide a USE-VALUE restart for handlers to provide
205 replacement input or output.
206 * enhancement: READ-SEQUENCE and WRITE-SEQUENCE support user-defined
207 sequences; the default implementation proceeds element-by-element, reading
208 or writing single bytes or characters to or from the stream as
210 * bug fix: OCTETS-TO-STRING using unibyte external formats with unallocated
211 codepoints (e.g. iso-8859-3) correctly signal or use replacements rather
212 than taking bits from the address of NIL and converting those bits to
214 * bug fix: FILE-STRING-LENGTH now returns NIL if the input datum is not
215 encodable in the stream's external format.
216 * bug fix: table-based multibyte external formats (EUC-JP, Shift-JIS, GBK)
217 now honour a replacement character (in the external format or through
218 restarts) when encoding to octets.
219 * bug fix: converting from octets using the UCS-2, UCS-4 and UTF-32 external
220 formats no longer reads past the end of an octet array with a non-integral
221 number of two- or four-byte units.
222 * bug fix: converting from octets using the UCS-2, UCS-4, UTF-16 or UTF-32
223 external formats now returns a simple string, as required by the type
224 declaration of OCTETS-TO-STRING.
225 * bug fix: providing an invalid external format argument to OPEN or
226 WITH-OPEN-FILE (or the internal MAKE-FD-STREAM) no longer leaks a file
228 * bug fix: SB-ROTATE-BYTE recognizes out-of-relevant-range BYTE
229 specifications for integers before attempting to cons up enormous bignums
230 for masking and shifting. (lp#2042937)
231 * bug fix: fix type derivation on compiling SB-ROTATE-BYTE forms with
232 non-zero POSITION in the byte specifier. (lp#2042775)
233 * bug fix: fix multiple assembler errors when compiling MAKE-ARRAY,
234 MAKE-STRING and similar with a large constant size. (lp#2037347, lp#2038744)
235 * bug fix: fix internal error when compiling (SETF SBIT) with a large
236 constant index. (lp#2037415)
237 * bug fix: fix internal compiler error on invalid lambda list parameters in
239 * bug fix: fix internal compiler error when compiling some
240 infinitely-recursive LABELS forms. (lp#2042704)
241 * bug fix: fix internal compiler error when attempting to inline a jump to a
242 label that has been deleted. (lp#2043262)
243 * bug fix: FILL-POINTER should never be made to go negative. (lp#2042452)
244 * optimization: external formats with :REPLACEMENT no longer bind handlers
245 for coding errors around conversion functions, and so should cons less and
247 * optimization: when the :EXTERNAL-FORMAT argument to STRING-TO-OCTETS or
248 OCTETS-TO-STRING is a compile-time constant, the external format is
249 resolved at load time rather than on each call.
250 * optimization: the compiler is able to constrain the types of inputs to
251 some functions given a derived or asserted type of the function's return
253 * optimization: the compiler performs fewer redundant type checks in ASSOC,
254 GETF and similar functions.
256 changes in sbcl-2.3.10 relative to sbcl-2.3.9:
257 * enhancement: The compiler now allows stack allocating vectors of any size
258 on all safety levels, not just those which it can prove are of sub-page
259 sizes. It can do this because it now inserts code to check for stack
260 overflow explicitly on higher safety levels.
261 * enhancements to the disassembler:
262 ** on arm64, x86-64, DISASSEMBLE annotates references to static symbols.
263 * bug fix: calls to generic functions now detect erroneous keywords (in the
264 sense of CLHS 7.6.5) passed as arguments even when auxiliary methods are
266 * bug fix: the standard method on SB-MOP:COMPUTE-EFFECTIVE-METHOD no longer
267 inserts calls to implementation-defined local macros. (reported by Daniel
269 * bug fix: compiler error from state-machine-like LABELS forms in some
270 circumstances. (lp#2037318)
271 * bug fix: fix compile-time error in constant-folding RATIONAL on literal
272 float infinities. (lp#2037455)
273 * bug fix: failure on x86-64 to assemble code for EQL tests of comparisons
274 with immediates. (lp#2037456)
275 * bug fix: infinite loop in the compiler for simplification of type tests of
276 complicated union types. (lp#2038112, reported by Paul M. Rodriguez)
277 * bug fix: inability to dump a literal displaced array containing copies of
278 its displacement target. (lp#2038233, reported by James Kalenius)
279 * bug fix: compiler error in LOGBITP type derivation. (lp#2038241)
280 * bug fix: compiler error in AREF type derivation. (lp#2038659)
281 * bug fix: compiler internal consistency failure in overflow type checks.
283 * bug fix: work around an infinite loop in type simplification by not
284 providing such types from the compiler. (lp#2038980, reported by Richard
286 * bug fix: spurious run-time argument count errors from generic function
287 calls on arm64. (lp#2039006, reported by fiddlerwoaroof)
288 * bug fix: errors in SCALE-FLOAT on floating-point infinities. (lp#2039613)
289 * bug fix: ROOM is slightly more robust to incompletely-initialized
290 instances at the point of running ROOM. (Reported by Andreas Franke)
291 * bug fix: finalizers saved through SAVE-LISP-AND-DIE and subsequently
292 executed do not trigger memory faults. (Reported by Bohong Huang)
293 * optimization: improvements to type derivation for ISQRT, INTEGER-LENGTH,
294 LOGCOUNT, LOG, DENOMINATOR.
296 changes in sbcl-2.3.9 relative to sbcl-2.3.8:
297 * enhancement: stack allocation via DYNAMIC-EXTENT now applies to all values
298 that a variable can take on (for example via SETQ), not just the initial
299 binding. This permits for example building complex or recursive structures
300 on the stack more easily via iteration. See the updated manual entry for
302 * minor incompatible change: some interfaces in the SB-POSIX contrib module
303 adhere to the spec that a NULL result from the C library is an error if
304 and only if errno was altered by the call. SYSCALL-ERROR will be signaled
306 * enhancement: the SB-POSIX contrib module provides DO-PASSWDS and DO-GROUPS
307 to allow users to iterate over password and group databases safely.
309 ** support for Darwin on x86 and PowerPC has been restored. (lp#2033287,
310 thanks to Kirill A. Korinsky, Sergey Fedorov and barracuda156)
311 * bug fix: miscompilation due to erroneous type derivation in the presence
312 of multiplication of fixnums by ratios. (lp#2033695, reported by Patrick
314 * bug fix: compiler error when compiling signed- and unsigned 64-bit type
315 checks in some cases. (lp#2033997, reported by Eric Smith)
316 * bug fix: compiler error when the :INITIAL-CONTENTS argument to MAKE-ARRAY
317 is a constant non-sequence. (lp#2037328)
318 * bug fix: compiler error when constant-folding sequence functions with
319 :TEST or :KEY functions erroring on the given sequence. (lp#2037341)
320 * bug fix: compiler error when arguments to array or sequence functions
321 imply a very large sequence size. (lp#2037443, lp#2037348)
322 * bug fix: compiler error when the return value of ADJUST-ARRAY is not used.
324 * optimization: function types derived by the compiler can in some cases be
325 propagated backwards through the intermediate representation.
326 * optimization: better type derivations for LDB, LOGBITP, RATIO.
327 * optimization: eliminate bound checks in more cases involving transitive
330 changes in sbcl-2.3.8 relative to sbcl-2.3.7:
331 * enhancement: a mark-region parallel garbage collector is available as a
332 build-time option; it can be enabled by adding
333 `--without-gencgc --with-mark-region-gc`
334 to the build command line. (Thanks to Hayley Patton)
335 * enhancement: Stack allocation via DYNAMIC-EXTENT is now possible for
336 conditionals even when not all branches are stack-allocatable. Previously
337 all branches needed to be stack-allocatable for the otherwise-inaccessible
338 subparts to get stack allocated.
340 ** on Mac OS X Sonoma, loading the memory image no longer fails.
341 (lp#2029430, reported by cladur)
342 ** on Darwin, we no longer reimplement nanosleep().
343 ** on PPC64, undefined function errors now work.
344 ** on ARM64/OpenBSD, enable the GCC TLS feature. (thanks to Sébastien
346 ** when building the system, only display a reasonable amount of timing
347 precision. (thanks to Philipp Marek)
348 * bug fix: handling of inlining functions compiled to return unboxed values
349 no longer crashes the compiler. (lp#2029020, reported by Pascal
351 * bug fix: the source location for code executed within a top-level
352 (EVAL-WHEN (:COMPILE-TOPLEVEL) ...) form is now more useful.
353 * bug fix: address a race between user threads cancelling finalizers and the
354 finalizer thread executing them. (lp#2029306)
355 * bug fix: complex division returns the same value when evaluated inline and
356 out-of-line. (lp#2030097)
357 * bug fix: the pretty-printer no longer deletes syntactically-significant
358 whitespace immediately preceding a newline. (lp#1985814, reported by Mark
360 * optimization: the compiler is more aware of the result type of the
362 * optimization: EQUAL and EQUALP compile to more efficient code when the two
363 arguments are known to be of the same nullable type.
364 * optimization: converting bignums to floats uses no intermediate memory.
366 changes in sbcl-2.3.7 relative to sbcl-2.3.6:
367 * minor incompatible change: MACROLET macro functions are now compiled with
368 (SPEED 1), leading to fewer efficiency notes being emitted when compiled
369 in otherwise high-SPEED environments.
370 * minor incompatible change: when coalescing list data, the file compiler
371 respects substructure equality more accurately, with the side-effect of
372 coalescing along CDR chains as well as CARs. (lp#2025086)
373 * minor incompatible change: FUNCTION type declarations for local variables
374 generate assertions around their use when called.
376 ** on OpenBSD, the regression test suite expectations have been updated.
377 (lp#2026809, thanks to Sebastien Marie)
378 ** on OpenBSD, the data limit is now 1GB. (lp#2027536, thanks to
380 ** on Darwin with the SB-FUTEX feature, do not use unpaired
381 mach_thread_self() syscalls, avoiding resource leaks when creating
383 ** on 64-bit RISCV, add support for some REM-by-multiplication
385 ** on Windows, work around a C compiler bug relating to SYSV_ABI.
386 * bug fix: FILE-POSITION on string output streams no longer crashes or
387 causes arbitrary memory overwrites. (lp#1839040)
388 * bug fix: the compiler no longer constant-folds POSITION to NIL if the
389 START or END arguments are not valid.
390 * optimization: the compiler derives types of &KEY arguments in local calls.
392 * optimization: type tests of values of known union type can be faster if
393 the type being tested for has a non-trivial intersection with the known
395 * optimization: the low-level implementation of NUMBERP, REALP and RATIONALP
396 has been improved on x86-64 and arm64.
397 * optimization: the compiler removes known-NIL arguments from calls to
398 APPEND and NCONC, and empty sequences from calls to CONCATENATE.
399 * optimization: checks for symbols being bindable are now memoized, speeding
400 up compiled uses of PROGV.
401 * optimization: SLOT-VALUE on STRUCTURE-OBJECTs with non-constant slot-name
404 changes in sbcl-2.3.6 relative to sbcl-2.3.5:
406 ** restore building contribs on riscv; (lp#2002930)
407 ** shorter constant-loading sequences on riscv;
408 ** on OpenBSD, map the stack without executable permission (thanks to
410 ** Restore OpenBSD/arm64 for OpenBSD 7.3 (lp#2024003, reported by Robert
412 * bug fix: AREF on multidimensional arrays with the wrong number of indices
413 now signals an error. (lp#2022327, reported by EU)
414 * bug fix: the nature of NIL as both STRING and SEQUENCE is correctly handled
415 in the compiler's handling of string functions. (lp#2023118, reported by
417 * bug fix: the sb-bsd-sockets tests no longer fail on systems configured
418 without IPv6. (reported by Will Senn)
419 * bug fix: the compiler no longer transforms into incompletely-known functions
421 * optimization: better (the word-sized-type (ASH word-sized word-sized))
422 when the result can overflow. For arm64 and x86-64.
423 * optimization: better unoptimized calls to CEILING, FLOOR.
424 * optimization: functions that involve coercing floats now cons less.
425 For arm64 and x86-64.
426 * optimization: array displacement to simple arrays is slightly faster.
427 (reported by Shubhamkar Ayare)
429 changes in sbcl-2.3.5 relative to sbcl-2.3.4:
430 * enhancement: Unicode support has been updated to support version 15.0.0 of
431 the Unicode standard, including addition of characters and their collation
432 keys, and refinements to grapheme-, word- and line-breaking algorithms.
433 * new contrib module: an interface to perf, a performance-analysing tool for
434 Linux. (thanks to Luke Gorrie and Philipp Marek)
436 ** on x86-64, prefer using the LEAVE instruction rather than MOV/POP at
437 function epilogue to restore RSP/RBP.
438 ** support SB-FUTEX on OpenBSD. (thanks to Elijah Stone)
439 ** support SB-FUTEX on Darwin/arm64. (thanks to Elijah Stone)
440 ** fix compilation with clang on Windows. (lp#2018601, thanks to Andrew)
441 * bug fix: inspecting objects with unbound slots produces output that is less
442 confusable with the string "unbound". (thanks to Nicolas Martyanoff)
443 * optimization: make TN-REFs doubly-linked, allowing faster deletion.
444 (lp#2018124, reported by Matt Kaufmann)
445 * optimization: MAPCAN/MAPCON are less accidentally quadratic. (thanks to
447 * optimization: improved arithmetic operations in the form of
448 (the word-sized-type (-+* word-sized word-sized)) when the result can
449 overflow. For arm64 and x86-64.
451 changes in sbcl-2.3.4 relative to sbcl-2.3.3:
452 * enhancement: attempts to call non-callable objects can now provide
453 USE-VALUE restarts on x86-64 and arm64.
454 * bug fix: ioctl() (both in SBCL's internals and through SB-POSIX) was
455 broken on ARM64/Darwin. (reported by fiddlerwoaroof)
457 ** support for cross-compiling the system to Android has been added;
459 ** include likely absolute paths for gmp and mpfr on ARM64/Darwin; (thanks
461 ** include another absolute path for mpfr on Windows; (thanks to Ari
463 ** the PROMISE-COMPILE feature from the SB-CONCURRENCY contrib is now
464 available on all threaded platforms;
465 * optimization: VALUES-LIST performs less redundant work on x86-64 and
468 changes in sbcl-2.3.3 relative to sbcl-2.3.2:
469 * enhancement: LET-bound anonymous closures declared dynamic extent can now
470 be stack allocated, just like closures bound with FLET or
471 LABELS. Otherwise-inaccessible closure subparts of objects declared
472 dynamic extent can now also be stack allocated
473 * optimization: many standard CL functions which take functional arguments
474 will automatically stack allocate any downward funarg closures.
475 * optimization: better arithmetic between signed and unsigned words on arm64.
476 * optimization: reduce consing when doing arithmetic resulting in small (3
477 words or fewer) bignums.
478 * bug fix: miscompilation of some additions of signed and unsigned words on
480 * bug fix: loading the SB-SIMPLE-STREAMS contrib no longer incompatibly
481 overwrites CL:OPEN's function type. (lp#2008811)
482 * bug fix: implement the special-case automatic function definition for
483 PCL's slot accessor functions in the SB-EVAL interpreter. (lp#2008922,
484 reported by Jonathan Braud)
485 * bug fix: allow the build to succeed under SBCLs older than 2.0.0 in the
486 event that the host emits STYLE-WARNINGs while compiling the
487 cross-compiler. (lp#2009493, reported by Kirill)
488 * bug fix: restore compilation on ARM64 with OpenBSD. (lp#2009585, reported
490 * bug fix: compiling a HANDLER-BIND with a function undefined at
491 compile-time produces a compile-time STYLE-WARNING. (lp#2010176)
492 * bug fix: support files bigger than 4GB on ARM64/Linux, *BSD. (lp#2011453,
494 * bug fix: it is now possible to run sb-simd tests on systems without AVX2.
495 (lp#2011923, thanks to Sergio Durigan Junior)
496 * bug fix: miscompilation of some conditional moves. (lp#2012312, reported
498 * bug fix: SB-GMP no longer signals a TYPE-ERROR when raising a ratio base
499 to a negative integer exponent. (lp#2012577, thanks to Ari Projansky)
500 * bug fix: warn the user when they have declared a structure or
501 standard-object slot of :TYPE NIL.
503 changes in sbcl-2.3.2 relative to sbcl-2.3.1:
504 * incompatible change: the :ORDER long-form-option in
505 DEFINE-METHOD-COMBINATION accepts NIL as well as :MOST-SPECIFIC-FIRST and
506 :MOST-SPECIFIC-LAST. A value of NIL implies no particular ordering of the
507 methods, and so disables checks of multiple methods with the same
508 specializers in that group.
509 * bug fix: evaluate the :ORDER long-form-option in DEFINE-METHOD-COMBINATION
510 properly, avoiding an infinite loop in DEFINE-METHOD-COMBINATION if the
511 :ORDER argument leads to a cycle of compile-time constants.
512 * bug fix: better compile time on chains of conditionals which have gaps in
513 integer ranges. (lp#1992349, reported by Mykola Matvyeyev)
514 * bug fix: type derivation of VECTOR-LENGTH leading to wrong type handling
515 for MEMBER types involving vectors. (lp#2004094)
516 * bug fix: equality constraint propagation in the presence of constants
517 could cause code to be not deleted when it should have been. (lp#2006487)
518 * bug fix: better compile time when the compiler needs to perform checks to
519 see if fixnum or word computations result in overflow. (lp#2007741)
520 * bug fix: miscompilation on ARM64. (lp#2007758, reported by Stephen
522 * optimization: on x86-64, use SIMD instructions for UTF-8 buffer decoding;
523 * various type-driven optimizations:
524 ** comparisons of rationals with constant ratios or floats;
525 ** comparisons of unsigned-bytes with fixnums;
526 ** comparisons of fixnums with constant powers of two;
527 ** equality of numbers with integers too large to be exactly represented
529 ** arithmetic operations on a mixture of signed and unsigned word-sized
532 changes in sbcl-2.3.1 relative to sbcl-2.3.0:
533 * sb-graph has been removed. To visualize IR1 in sbcl, it is recommended to
534 use the function IR1-TO-DOT (which only survives the final tree shake if
535 the feature :sb-devel is enabled at build time).
537 ** implement some peephole optimizations on arm64;
538 ** support float traps on arm64;
539 * bug fix: package-manipulation operations within fasls work as expected in
540 the absence of explicit block compilation requests. (lp#2000004, reported
542 * bug fix: incorrect type simplification of certain CONS types.
543 (lp#1999352, reported by Paul Dietz)
544 * bug fix: method combination group selection interprets the symbol * as
545 a wildcard element within proper qualifier-pattern lists. (reported by
546 Maciej Katafiasz and by Daniel Kochmański)
547 * bug fix: &WHOLE can be used without error in define-method-combination
548 arguments lambda lists. (reported by Daniel Kochmański)
549 * bug fix: bogus debug variables generated for closure variables whose value
550 cell had not yet been allocated could cause segfaults and gc crashes
551 (reported by _death on #sbcl)
552 * bug fix: handling of float NaNs in two-arg numeric comparison functions is
553 more consistent with the required semantics in IEEE 754 when comparing
555 * bug fix: ensure that the hide-packages test passes even when the system
556 retains internal cross-reference metadata. (lp#2002896, reported by 3b)
557 * bug fix: don't trip an internal assertion in weak hash tables with
558 finalizers. (lp#1998064)
559 * optimization: load-time only code is no longer retained at runtime when
560 functions close over top level bindings.
561 * optimization: GO and RETURN-FROM now elide out-of-extent tag checks when
562 the compiler can prove it's safe even on high safety.
563 * optimization: addition of a fixnum to a bignum generates less garbage.
564 * optimization: in many cases, type inference and code generation is
565 improved for and around numerical comparison functions.
567 changes in sbcl-2.3.0 relative to sbcl-2.2.11:
568 * enhancement: support for SLOT-VALUE and friends has been extended to
569 structure and condition instances.
570 * enhancement: the error message for invalid array index conditions is clearer.
571 (lp#1999337, reported by Hadrien Lacour)
572 * minor incompatible change: COMPILED-FUNCTION-P now returns false for
574 * minor incompatible change: the compiler emit STYLE-WARNING conditions for
575 FIND and POSITION where the item sought can never be present in the
577 * optimization: support computing the remainder of a constant division by
579 * optimization: faster out of line float truncation routines.
580 * optimization: faster RATIONAL on 64-bit platforms.
581 * optimization: more compact testing of widetags on x86-64 and arm64.
582 * bug fix: type intersections of RATIONAL ranges with (NOT INTEGER) are
583 computed more consistently. (lp#1998008)
584 * bug fix: fix miscompilation of integer/fixnum comparisons where both
585 arguments are on the stack.
587 changes in sbcl-2.2.11 relative to sbcl-2.2.10:
589 ** arm64: allow the use of CLISP as a build host. (lp#1996942, reported
591 * enhancement: improvements to constraint propagation around comparison
593 * optimization: conditional move VOPs can work on boxed values and
594 produce less consing.
595 * optimization: NUNION and UNION are generally faster.
596 * bug fix: slot-makunbound-using-class can be redefined without redefining
597 the other slot methods. (lp#1956621, reported by Michał Herda)
598 * bug fix: GETHASH on a table created without ":synchronized t" when run
599 concurrently in multiple threads could have returned incorrect results.
600 * bug fix: build of contributed modules assumed that 'cat' was always
601 in /bin/cat on POSIX systems. (lp#1995224, reported by Kasper Gałkowski)
602 * bug fix: INSPECT on an (ARRAY NIL) no longer hangs. (lp#1995639, reported
604 * bug fix: Fix miscompilation of FILE-STRING-LENGTH when the first argument
605 has a known FILE-STREAM type. (lp#1995881)
607 changes in sbcl-2.2.10 relative to sbcl-2.2.9:
609 ** win32: improved handling of stack overflow exceptions. (lp#1302866)
610 ** Mac OS X: enforce stronger alignment when building the runtime.
611 (lp#1991485, reported by Yan)
612 ** arm64: support for building the system without the sb-unicode feature
613 (i.e. with 8-bit characters) is restored.
614 * bug fix: do not elide the GC store barrier in closures. (lp#1982608,
615 reported by Andrew Berkley)
616 * bug fix: make sb-introspect tests pass when the system is built without
617 support for source locations. (lp#1635349, reported by Tomas Hlavaty)
618 * bug fix: erroneous assumption that the format-control of a simple condition
619 was a string. (lp#1803727)
620 * bug fix: compiler consistency failure in modular arithmetic widening.
622 * bug fix: provide a stub for a helper function (lp#1992316)
624 changes in sbcl-2.2.9 relative to sbcl-2.2.8:
626 ** fix build on Darwin platforms with -fno-common. (lp#1980570, thanks to
628 ** include /usr/local paths when building on FreeBSD. (lp#1981112,
629 reported by William G Lederer)
630 ** several micro-optimizations on x86-64, including: better use of
631 INC/SUB, better SAP+, shorter KEYWORDP, better argument count
633 ** arm64: better KEYWORDP, better argument count verification
634 ** fix build on 32-bit Windows. (lp#1988534, thanks to Alexis Rivera)
635 ** x86-64: WITH-PINNED-OBJECTS can pin constants. (lp#1989037)
636 * bug fix: make sb-simd build in compiler-only SBCL. (thanks to Tonas
638 * bug fix: SB-SPROF:WITH-PROFILING now returns the value of its body (as was
639 advertised in its documentation).
640 * bug fix: catch malformed LET* forms in DEFMETHOD bodies. (lp#1988880,
641 reported by Patrick Poitras)
642 * enhancement: better source form tracking for atoms in LET bindings.
643 * optimization: reader character macro lookup is simpler and faster.
644 * optimization: FILL-POINTER (and its setter) are more compact.
646 changes in sbcl-2.2.8 relative to sbcl-2.2.7:
647 * minor incompatible change: support for 32-bit x86/Darwin has been removed.
648 * bug fix: fix miscompilation related to empty infinite loops preceded by
649 conditional expressions. (lp#1986810, reported by Artyom Bologov)
650 * bug fix: fix gc invariant violations. (lp#1983218, reported by Marius
651 Gerbershagen; lp#1983248, reported by Vasily Postnicov)
652 * bug fix: use CC to compile SBCL as a shared library. (lp#1976148,
653 reported by Pierre Neidhardt)
654 * bug fix: don't crash the system completely if RUN-PROGRAM fails to create
655 a pipe. (lp#1979841, reported by Thor Kristofferson)
656 * bug fix: be more disciplined about use of C system includes. (lp#1981799,
657 reported by Mark Evenson)
658 * bug fix: STRING/= returning wrong results for some cases when :END1/:END2
659 were not compile-time constants. (lp#1983284)
660 * bug fix: compile-time checking of :START and :END keyword arguments to
661 FILL is more complete.
662 * optimization: adjacent type tests on the same value are more compact
664 * optimization: the compiler can inline COPY-STRUCTURE in more cases.
665 * optimization: type checks for non-simple arrays are shorter.
666 * optimization: printing strings (as Lisp data) is faster.
668 changes in sbcl-2.2.7 relative to sbcl-2.2.6:
669 * minor incompatible change: the compiler emits full WARNINGs for undefined
670 references to variables in TYPE and DYNAMIC-EXTENT declarations, and for
671 SETQ of an undefined variable. (This was the historic behaviour for
672 everything except the DYNAMIC-EXTENT case, which used to emit a
673 STYLE-WARNING, but these diagnostics got lost in a refactoring since
675 * minor incompatible change: literal objects (strings, in particular)
676 in compiled code may at the discretion of the runtime be placed in
677 read-only memory. Violations of CLHS 3.7.1 could produce memory faults.
678 If ":PURIFY NIL" is given to SAVE-LISP-AND-DIE then no read-only memory
680 * enhancement: Unicode support has been updated to support version 10.0.0 of
681 the Unicode standard, including addition of characters and refinements to
682 breaking and collation algorithms.
683 * bug fix: AVX is no longer used for loading simd-pack-256 constants.
685 * bug fix: fix building the manual when some contribs are blocked or
686 otherwise disabled. (lp#1979821, thanks to Robert Schiele)
687 * bug fix: fix type derivation of sequence functions with highly-specific
688 declared argument types. (lp#1980292, reported by James Kalenius)
689 * bug fix: internal error when optimizing chains of conditionals in local
690 functions. (lp#1981607, reported by Pasha K)
691 * bug fix: fix comparison of negative floats with bignums.
692 * optimization: faster TRUNCATE with float arguments.
693 * optimization: EQUALP hashing of large floating point values should
694 generate less garbage.
696 changes in sbcl-2.2.6 relative to sbcl-2.2.5:
697 * minor incompatible change: support for 32-bit x86 on macOS has been
699 * new contrib: sb-simd, to provide a convenient interface for SIMD
700 programming on x86-64. (Thanks to Marco Heisig and other sb-simd
702 * enhancement: core compression now uses zstd instead of zlib. (lp#1881089)
703 * enhancement: provide compiler warnings for specialized array type
704 mismatches in CONCATENATE.
705 * enhancement: provide compiler warnings for bad sequence bounding index
706 designator arguments to sequence functions.
707 * enhancement: The sb-mpfr contrib now allows coercion from MPFR-FLOATs
708 to CL:RATIONAL. (Thanks to Robert Smith)
709 * bug fix: fix compilation failure related to declaiming types of constants.
710 (lp#1977726, reported by Pierre Neidhardt)
711 * bug fix: fix race condition in CLOS optimized constructors. (lp#1951341)
712 * bug fix: fix too-eager elision of allocation barriers when initializing
713 closure and structure objects.
714 * optimization: fasl files are now usually smaller (up to 10% on default
715 policy) and may load faster, especially on high debug.
716 * optimization: faster string comparisons on arm64, x86-64.
717 * optimization: faster [n]string-down/upcase on arm64, x86-64.
718 * optimization: faster [n]reverse for 8- and 32-bit element vectors on
720 * optimization: faster type tests for (CONS (EQL symbol)) on x86-64.
722 changes in sbcl-2.2.5 relative to sbcl-2.2.4:
723 * minor incompatible change: SB-EXT:*DERIVE-FUNCTION-TYPES* being NIL now
724 means that function calls will strictly only use type information from
725 proclaimed ftypes. The previous behavior (still the default) of using
726 derived type information from the same file is specified with :SAME-FILE.
728 * minor incompatible change: RENAME-FILE now overwrites the target file on
729 Windows too, making its behaviour consistent with other platforms.
730 * minor incompatible change: inlining of local function is inhibited if
733 ** single-stepping is now supported on 64-bit PowerPC platforms. (thanks
734 to Thomas Fitzsimmons)
735 ** the :SB-LINKABLE-RUNTIME feature is now supported on 32-bit and 64-bit
736 PowerPC platforms. (thanks to Thomas Fitzsimmons)
737 * optimization: improved type derivation of REDUCE with some known reducing
739 * enhancement: debug source locations now work correctly for top level forms
740 with policy DEBUG = 1, as well as for block compiled files.
741 * enhancement: TRACE now supports tracing macro functions, compiler-macro
742 functions, individual methods and local functions. See the user manual for
743 more details. (lp#375314)
744 * bug fix: fix integer comparisons on x86-64 and arm64 (lp#1971088, reported
745 by Guillaume LE VAILLANT)
746 * bug fix: coverage instrumentation behaves correctly with respect to
748 * bug fix: ftype proclamations now take effect immediately during block
750 * bug fix: block compilation of top-level closures now work. (lp#1931730,
751 reported by Sean Maher)
752 * bug fix: streams opened from RUN-PROGRAM but left unclosed because of a
753 non-local exit no longer cause unrelated streams to be closed later.
755 changes in sbcl-2.2.4 relative to sbcl-2.2.3:
756 * enhancement: better constraint propagation in the compiler. Specifically,
757 the compiler can now derive the type of X in control flow join situations
759 (LAMBDA (X) (ECASE (1 ...) (2 ...)) X)
761 (LAMBDA (X) (ETYPECASE (INTEGER ...) (SYMBOL ...)) X)
762 instead of forgetting all information about X after the E(TYPE)CASE.
763 * optimization: inlined functions enclosed in local macro definitions no
764 longer save their entire lexical environment, reducing unnecessary
766 * optimization: faster (< integer fixnum) comparisons (ARM64 and x86-64).
768 ** RUN-PROGRAM is faster on Linux and FreeBSD if close_range(2) is
770 * bug fix: block compilation now interacts more correctly with the creation
772 * bug fix: internal compiler error in array reference
773 optimizer. (lp#1966624)
775 changes in sbcl-2.2.3 relative to sbcl-2.2.2:
776 * minor incompatible change: SB-THREAD:MUTEX-OWNER may return :THREAD-DEAD
777 if the apparent owner either exited nearly instantly after releasing the
778 mutex (and is not now the owner), or died and never released it.
779 * minor incompatible change: building the system with the simple semi-space
780 copying collector is no longer supported.
781 * minor incompatible change: support for PPC/Darwin has been removed.
783 ** fix regressions in threads on RISC-V. (lp#1962598)
784 ** threads are now enabled by default on RISC-V.
785 ** The generational garbage collector is now supported on MIPS.
786 * optimization: fasls containing standard object literals are now smaller
787 and load more efficiently.
788 * optimization: faster arithmetic (*-+) on word-sized integers when the
789 result is not known to fit into a word (ARM64 and x86-64).
790 * bug fix: EQness of constants is now always preserved when block compiling.
792 changes in sbcl-2.2.2 relative to sbcl-2.2.1:
794 ** all architectures now share the coverage mark instrumentation
795 implementation, meaning that performance now equals what had been
796 implemented only on x86 architectures.
797 ** fixed a performance regression on x86-64 from changes in AVX2 register
798 handling. (lp#1960081, reported by Michael Kappert)
799 ** fixed a garbage collection bug on ppc64 manifesting in occasional
800 corruption on threaded programs. (lp#1959338, lp#1952973)
801 ** micro-optimizations in type tests for (SIGNED-BYTE 64).
802 * enhancement: improved handling of source locations for some classes
803 of compile time and runtime errors.
804 * enhancement: better source locations for structure accessors.
805 * bug fix: SB-COVER now always instruments top level forms correctly.
806 * bug fix: muffling conditions now works correctly on higher debug settings.
807 * bug fix: local muffling declarations now scope correctly with respect to
808 undefined variable warnings.
809 * optimization: calls to STRING= can now return NIL more quickly on strings
812 changes in sbcl-2.2.1 relative to sbcl-2.2.0:
813 * incompatible change: DEFINE-ALIEN-CALLBACK, which has never been exported
814 from a public package, has been deleted. It is superseded by
815 SB-ALIEN:DEFINE-ALIEN-CALLABLE.
816 * minor incompatible change: compiler warnings are emitted on more
817 provably-erroneous code involving sequence functions on specialized
820 ** support getting thread IDs on FreeBSD. (thanks to Felix Lange)
821 ** faster function call sequence on arm64.
822 ** the built-in buffer size for file streams is increased to 8KB.
823 * enhancement: provide a restart for method lambda list mismatches that
824 fmakunbounds the generic function.
825 * enhancement: provide a USE-VALUE restart around type errors signalled from
827 * enhancement: when UPDATE-INSTANCE-FOR-DIFFERENT-CLASS (or -REDEFINED-)
828 undergoes a non-local exit, restore the instance to its original state.
829 (thanks to Michał phoe Herda)
830 * enhancement: the :SYNCHRONIZED keyword argument to MAKE-HASH-TABLE is no
832 * bug fix: fix an erroneous compiler tranform for (EXPT SINGLE-FLOAT
833 INTEGER). (lp#1958061, thanks to Vasily Postnicov)
834 * bug fix: disassembly of closures is more likely to show the relevant code
835 if more than one closure closes over the same environment. (lp#1956870,
836 reported by Michał phoe Herda)
837 * bug fix: RUN-PROGRAM with :IF-EXISTS :APPEND no longer signals an error if
838 the output does not exist. (lp#1958569, thanks to Ingo Krabbe)
839 * optimization: reorder basic blocks to have loop code fall through more
840 often. (thanks to Hayley Patton)
841 * optimization: sequences larger than the buffer size are written to streams
842 without going through a buffering stage. (reported by Philipp Marek)
844 changes in sbcl-2.2.0 relative to sbcl-2.1.11:
846 ** support for FreeBSD on 64-bit arm platforms has been added.
847 ** the :SB-LINKABLE-RUNTIME build-time feature is now supported on 32-bit
848 and 64-bit arm platforms, and on the FreeBSD operating system.
849 ** bug fix: correct encoding for vmovsd. (lp#1953483, reported by Marco
851 ** bug fix: support ABIv1 callbacks on big-endian ppc64. (lp#1900343,
852 thanks to Thomas Fitzsimmons)
853 ** bug fix: don't misuse mprotect() in dynamic space on Windows.
854 (lp#1955723, reported by 3b)
855 * enhancement: catch type mismatches for REPLACE, SUBSTITUTE, MAKE-ARRAY
856 with :INITIAL-CONTENTS.
857 * optimization: printing symbols is around 10% faster than previously.
858 * bug fix: don't use the current type of non-returning functions when
859 redefining them in another file. (lp#1953214, reported by Nicolas Hafner)
860 * bug fix: eliminate stack cleanups more conservatively. (lp#1954330,
861 reported by Daniel Kochmański)
862 * bug fix: check consistently in tests for the existence of VOPs.
863 (lp#1952896, reported by Sébastien Villemot)
865 changes in sbcl-2.1.11 relative to sbcl-2.1.10:
866 * minor incompatible change: *COMPILE-PRINT* now defaults to NIL. T gives
867 the old behavior of echoing top level forms. Users who want to see a
868 report of the phases of compilation can use *COMPILE-PROGRESS* and the
869 corresponding COMPILE-FILE :PROGRESS argument.
870 * optimization: The compiler assignment-converts functions much more
871 aggressively; local or non-entry block-compiled functions
872 which always return to the same place are automatically converted into the
873 equivalent loop or goto control structures.
874 * enhancement: on x86-64 and ppc64 platforms, the system uses inline
875 instructions rather than page protection to implement a store barrier for
876 the garbage collector.
877 * enhancement: improved reporting of code deletion notes.
879 ** unbound-variable restarts for amd64 are now supported.
880 ** bug fix: single-floats to foreign functions on 32-bit ARMel.
881 (lp#1950080, reported by Sebastien Villemot)
882 ** bug fix: opening files with names containing non-ASCII characters on
883 Windows works better. (reported by Nikolay)
884 ** bug fix: use fp_xsave to access the floating point flags and control
885 word in Haiku signal contexts. (Thanks to Al Hoang)
886 ** bug fix: complex single-float support on riscv64.
887 ** optimization: support for accessing elements of &rest args directly on
889 ** optimization: parse a /proc file rather than executing uname for
890 SOFTWARE-VERSION on Linux
891 * bug fix: fix crash from SB-COVER:RESET-COVERAGE. (lp#1950059, reported by
894 changes in sbcl-2.1.10 relative to sbcl-2.1.9:
895 * incompatible change: simd-pack without a specific element-type is no
896 longer treated as containing integers. A type must be supplied for VOPs to
898 * minor incompatible change: the list form of the FUNCTION type specifier
899 does not allow * as any argument type, but does allow * as a placeholder
900 for wholly unspecified arguments when specifying the value(s) type.
901 * minor incompatible change: the default (Lisp) toplevel option parser
902 throws an error if it encounters an option which was intended to be used
903 and removed by the C runtime. (lp#1945081, reported by Luke Gorrie)
904 * new feature: there is now a defined interface for defining foreign
905 callable functions, which can be used for passing callbacks to foreign
906 functions or for calling Lisp code from the foreign world as a shared
907 library (preliminary support). See the revised manual section "Calling
908 into Lisp From C" for more details.
909 * enhancement: arg-count mismatches in self-calls in defmethod are reported.
910 (lp#1912436, reported by 3b)
911 * enhancement: the SB-CLTL2 contrib now returns type information for
912 generated structure accessors. (lp#1934859, reported by SATO shinichi)
913 * optimization: code generation is improved for modular arithmetic involving
916 ** x86-64 machine code emitter crash when attempting to assemble some
917 vector instructions. (lp#1945975, thanks to Marco Heisig)
918 ** conditional move instructions are now supported on arm64.
919 ** a number of new peephole optimizations have been implemented on arm64.
920 ** arm64 on Darwin now uses gcc-compatible thread-local storage.
921 * bug fix: compiler notes are no longer emitted when compiling FORMATTER
922 forms, including when implicitly triggered on a constant string argument
923 to FORMAT. (lp#1946246, reported by SATO shinichi)
924 * bug fix: a compiler error when attempting to compile a call to AREF with
925 too many dimensions. (lp#1902985)
926 * bug fix: harmonize the behaviour of SLOT-BOUNDP on non-standard-objects
927 between the various ways in which it can be called. (lp#732229, reported
929 * bug fix: FTRUNCATE and similar functions are now more careful about
930 deriving facts about the sign of zero they might return. (lp#1732009,
931 reported by Paul Dietz)
933 changes in sbcl-2.1.9 relative to sbcl-2.1.8:
934 * minor incompatible change: the experimental DEFCAS macro has been removed.
935 * minor incompatible change: finalizing classes with slots with duplicate
936 symbol-names will only emit a warning if either slot name is an exported
939 ** the debugger is better able to display SIMD packs. (thanks to Marco
941 ** fix a bug in zeroing YMM registers. (thanks to Marco Heisig)
942 ** fix instruction definitions for SSE blend and shuffle vector
943 instructions. (thanks to Marco Heisig)
944 ** handle heap corruption exceptions in our exception handler on win64.
945 ** improve WAIT-UNTIL-FD-USABLE on Windows, reducing busy-looping.
946 (thanks to Fabio Almeida)
947 * bug fix: EQUALP hash tables whose keys contain arrays containing floats should
948 behave correctly. (lp#1942424, reported by Nicolas Neuss)
950 changes in sbcl-2.1.8 relative to sbcl-2.1.7:
951 * minor incompatible change: the experimental DEFINE-CAS-EXPANDER macro has
953 * minor incompatible change: the hooks in *INIT-HOOKS* are called before
954 starting the finalizer or other non-user threads. (thanks to Sean Whitton)
956 ** many improvements to code generation on arm64.
957 ** avoid slow forms of the bit test instructions BT, BTS, BTR on x86-64.
958 ** fix a bug in loading large core files on the Apple M1/arm64. (thanks
960 ** fix a bug in loading core loading on the Apple M1/arm64. (reported by
962 * enhancement: the block-compiler is more robust to files with intermingled
963 compile-time and load-time effects. The semantics of the block-compiler
964 remain not-entirely ANSI compatible. (thanks to Sean Maher)
965 * enhancement: (CAS SAP-REF-<x>) and CAS on alien integers is implemented on
966 ppc64 and x86-64, working towards fixing lp#1894057
967 * bug fix: fix OPEN-STREAM-P on streams closed by saving a core.
968 (lp#1938433, reported by Guillaume LE VAILLANT)
969 * bug fix: remove a spurious warning from COERCE. (lp#1920931, reported by
971 * bug fix: remove a warning from inlining SET-EXCLUSIVE-OR. (lp#1936470,
972 reported by Jerome Abela)
974 changes in sbcl-2.1.7 relative to sbcl-2.1.6:
975 * incompatible change: on certain platforms (currently just x86-64),
976 dynamic-extent arrays specialized on character and numeric types and
977 created without either :INITIAL-ELEMENT or :INITIAL-CONTENTS will reflect
978 previous contents of the stack instead of #\null (or 0) in all elements.
979 * minor incompatible change: SB-SPROF:START-PROFILING no longer silently
980 does nothing if the clock is already running. It instead stop and restarts
981 with the newly provided options, and warns.
982 * minor incompatible change: the system attempts to refer to the supplied
983 pathname in compiler diagnostics, if relevant, rather than the truename.
984 * enhancement: new contrib module sb-graph producing graphical
985 visualizations of Intermediate Representations of SBCL compilation data
988 ** improved code generation for unary minus in modular contexts on arm64.
989 ** make the disassembler annotations slightly more robust on arm64.
990 ** release space back to the Operating System on Windows.
991 ** improve the test for whether pages need to be committed on Windows.
992 * optimization: the type of (LOOP ... COLLECT ...), and the type of COLLECT
993 INTO variables, is derived as LIST. (lp#1934577, reported by SATO
996 changes in sbcl-2.1.6 relative to sbcl-2.1.5:
997 * minor incompatible change: COMPILE-FILE does not merge the input file's
998 pathname-directory into the output path if :OUTPUT-FILE was specified
999 and has a directory that is not :UNSPECIFIC.
1001 ** improvements to unwind code generation on arm64.
1002 ** on x86-64, accept three operands for vshufpd. (reported by Bela
1004 ** on x86-64, improvements to use of popcount
1005 ** improve exception handling on 64-bit Windows. (thanks to Luis Borges
1007 * bug fix: allow use of macros with improper argument list. (lp#1929623,
1008 thanks to Sean Maher)
1009 * bug fix: COERCE no longer attempts to guess what the user meant if they
1010 provide a type specifier of a union of types other than STRING.
1012 * bug fix: print a single trailing zero after the decimal point for FORMAT
1013 ~E if there are no digits remaining to be printed and the width allows it.
1016 changes in sbcl-2.1.5 relative to sbcl-2.1.4:
1017 * minor incompatible change: on x86-64, the backend instruction encoders for
1018 movzx and for string opcodes have changed their semantics.
1020 ** compatibility: support the latest MinGW on x86. (lp#1923325, thanks to
1022 ** bug fix: on x86-64, fix instruction encoding for TEST on RIP-relative
1023 addresses. (lp#1925808, reported by Shinmera on #sbcl, thanks also to
1025 ** bug fix: on x86-64, loading all-1s into an AVX2 register no longer
1026 causes an error. (lp#1928516, thanks to Marco Heisig)
1027 ** bug fix: on arm64, improve disassembly of ADD with constant 0 as MOV
1028 ** enhancement: on arm64, support debugger commands RETURN-FROM-FRAME and
1029 RESTART-FRAME more efficiently.
1030 ** enhancement: on x86-64, add support for vshuf* AVX2 instructions.
1031 (reported by Bela Pecsek)
1032 ** optimization: faster function calls on arm64.
1033 ** optimization: (SETF SBIT) is faster on x86-64.
1034 * bug fix: INTEGER-DECODE-FLOAT was computing the wrong answer for denormal
1035 double floats. (lp#1926383, reported by Stavros Macrakis)
1036 * bug fix: RANDOM on a floating point argument now does not cons. (reported
1038 * bug fix: fix a compiler crash in type derivation of LOGTEST. (lp#1928243)
1039 * bug fix: fix a compiler failure when a declared function type contains a
1040 literal structure with a valid MAKE-LOAD-FORM method. (lp#1929160, thanks
1041 to Yurii Hryhorenko)
1042 * optimization: FBOUNDP on a constant symbol is now faster.
1043 * optimization: file compilation now produces smaller fasls for files which
1044 reference package literals.
1045 * optimization: derive the type of calls to FLOAT-SIGN.
1047 changes in sbcl-2.1.4 relative to sbcl-2.1.3:
1049 ** work around address-space randomization causing instability on new
1050 versions of MinGW. (lp#1921141)
1051 * bug fix: RANDOM on floats returns values strictly less than the float
1053 * bug fix: compiler error on x86-64 resulting from attempting to zero a
1054 memory location with xor. (reported by Eric Marsden)
1055 * optimization: extended loops updating iteration variables with THEN can
1056 perform specialized arithmetic for those updates.
1057 * optimization: in some cases, the jump table resulting from a compilation
1058 of TYPECASE is simpler.
1059 * optimization: on x86-64, IF BOUNDP followed by SYMBOL-VALUE can elide some
1060 memory loads and tests.
1062 changes in sbcl-2.1.3 relative to sbcl-2.1.2:
1063 * minor incompatible change: support for the :SB-SAFEPOINT-STRICTLY,
1064 :SB-THRUPTION, and :SB-WTIMER build features has been removed
1066 ** support for :SB-CORE-COMPRESSION on Darwin/ARM64
1067 ** support ARM v8.1 atomic and compare-and-swap instructions
1068 ** x86, x86-64: microoptimizations in multiple type-checking routines
1069 * bug fix: structures and conditions are now TYPEP all classes in the class
1070 precedence list of their class. (reported by Luis Oliveira)
1071 * bug fix: derivation of the result type from subtraction sometimes
1072 erroneously excluded zero. (lp#1916895)
1073 * bug fix: reduce the number of places where the system permissively accepts
1074 the symbol * as a type specifier where it should not be accepted.
1076 * bug fix: the code-walker used by the system's implementation of CLOS can
1077 handle defuns declared inline. (reported by Don Cohen)
1078 * optimization: EQUALP on specialized vectors and arrays is faster.
1079 * optimization: support routines for EQUALP hash tables generate less garbage.
1081 changes in sbcl-2.1.2 relative to sbcl-2.1.1:
1083 ** support for ARM64 macOS;
1084 ** improvement in coverage mark implementation on non-x86oid backends,
1085 approaching the existing x86oid support;
1086 ** more empirically-robust retrieval of the program counter from illegal
1087 instruction traps on SPARC;
1088 ** retain fewer dead objects when saving cores with precise collectors.
1089 * incompatible change: MAP-ALL-SAMPLES and MAP-TRACE-SAMPLES
1090 are no longer present in the SB-SPROF contrib module.
1091 * minor incompatible change: SB-SPROF:WITH-PROFILING defaults to all
1092 threads. SB-SPROF:START-PROFILING no longer accepts a :SAMPLING keyword.
1093 * enhancement: the sb-introspect contrib now supports finding the lambda
1094 lists of method combinations. (thanks to Didier Verna)
1095 * enhancement: short-form DEFSETF now stores a source-location.
1096 * bug fix: canonical unions of CONS types were being incorrectly computed.
1097 (lp#1912863, reported by James Kalenius)
1098 * bug fix: better understanding of array simplicity (or otherwise) in the
1099 type system. (lp#1903241)
1100 * bug fix: unions of rational and integer types now have a single canonical
1101 form, allowing more correct reasoning about them in the type system.
1102 * bug fix: less likely to overclaim certainty about type equality of union
1104 * bug fix: HANDLER-BIND evaluates the forms producing handler functions only
1105 once. (lp#1916302, reported by Christophe Junke)
1106 * optimization: FIND on constant sequences can be compiled into a jump
1107 table, in a similar manner to POSITION
1108 * optimization: the compiler's awareness of numeric contagion rules for
1109 operations on pairs of floating point numbers is improved. (lp#1914094,
1110 thanks to Andrew Berkley)
1112 changes in sbcl-2.1.1 relative to sbcl-2.1.0:
1114 ** restore non-threaded NetBSD builds;
1115 ** adjust how the finalizer thread is started; (lp#1906571, lp#1907872)
1116 ** fix the encoding of PEXTR on x86-64;
1117 * minor incompatible change: emit warnings for list iteration forms when the
1118 object being iterated over is known not to be a list. (lp#1908819,
1119 reported by Michael Fiano)
1120 * bug fix: detect 2 or 1 as an invalid number of arguments passed to
1121 optimized slot reading or writing effective method respectively.
1122 (lp#1909659, reported by Michal Herda)
1123 * bug fix: division by zero errors were in some cases not being signalled.
1124 (lp#1910098, reported by il71)
1125 * bug fix: erroneous coercions in the type system could lose precision.
1127 * bug fix: literal (read-time evaluated) NaNs in source code no longer cause
1128 compiler crashes. (lp#1909881, reported by Michal Herda)
1129 * bug fix: detect more erroneous syntax in method bodies. (lp#1912362,
1130 reported by Paul M. Rodriguez)
1131 * optimization: the compiler's understanding of EXPT is improved, reducing
1132 the introduction of COMPLEX types. (lp#1908830, reported by Michael Fiano)
1133 * optimization: the compiler is better at computing numeric contagion when
1134 (COMPLEX FLOAT) types are involved.
1135 * micro-optimizations:
1136 ** moving from slightly-bigger-than-fixnum ranges is more efficient on x86-64;
1137 ** encode character comparisons with smaller operands on x86-64;
1138 ** truncating (and related operations) on floats can be inlined in more
1139 cases on 64-bit platforms;
1140 ** rounding can use specialized instructions on ARM64 and on x86-64 when
1143 changes in sbcl-2.1.0 relative to sbcl-2.0.11:
1144 * minor incompatible change: the MAKE-EA internal function, used in the
1145 assembler, has been removed (affecting some libraries defining their own
1147 * new feature: SB-EXT:PRIMITIVE-OBJECT-SIZE can be used to interrogate the
1148 low-level size in memory of objects. (lp#1636910, reported by anquegi)
1150 ** pass required -std argument to the compiler on Solaris (lp#1885751,
1151 thanks to Jesse Off)
1152 ** better treatment of non-ASCII program arguments on Windows (lp#1907970,
1153 reported by Timofei Shatrov)
1154 ** implement the improved TYPEP with structure types on all other
1155 supported platforms (32-bit PowerPC, ARM, ARM64, MIPS, SPARC, RISC-V)
1156 * enhancement: stream dispatch (to vanilla ANSI / Gray / Simple variants) has
1157 been rewritten and optimized, fixing a number of bugs including:
1158 ** performance of WRITE-SEQUENCE on composite streams (lp#309136)
1159 ** handling of CLOSE on SYNONYM-STREAM (lp#1904257, reported by Richard M
1161 ** handling of CLOSE on BROADCAST-STREAM with no components (lp#1904722,
1162 reported by Richard M Kreuter)
1163 ** loading SB-SIMPLE-STREAMS breaks functionality of other stream classes
1165 ** some excessive consing in READ-LINE
1166 * enhancements related to RUN-PROGRAM:
1167 ** improved the documentation related to the ARGS argument (lp#806733,
1168 reported by mon_key)
1169 ** added a PRESERVE-FDS argument
1170 * bug fix: ensure that TYPE-OF returns something even on internal instances,
1171 which may become visible in the debugger. (lp#1908261, reported by
1173 * bug fix: iteration variables established by standard forms should always
1174 be considered used by the compiler. (lp#719585, reported by Roman
1176 * bug fix: don't allow compiler transformations to weaken the requirement
1177 against extended (list-form) function names in FUNCALL and related
1178 operators. (lp#310069)
1179 * bug fix: improve automated version number generation in branches.
1180 (lp#897867, thanks to Martin Cracauer)
1181 * bug fix: add possibly-spurious futex wakes when unwinding from a call to
1182 futex-wait, to avoid deadlocks from interrupted waits. (lp#1038034)
1183 * bug fixes in the compiler:
1184 ** error on malformed DESTRUCTURING-BIND (lp#1738638)
1185 ** error on malformed SPECIAL declaration (lp#1740756)
1186 ** error from use of VALUES type in COERCE (lp#1887712)
1187 ** enforcement of FTYPE types involving &OPTIONAL (lp#1903932)
1188 ** checking for proper-list-ness before applying transforms (lp#1905512)
1189 ** compilation of LAMBDA form including a malformed DEFUN (lp#1906056)
1190 ** memory fault from VALUES-related handling in high DEBUG code
1192 ** transforms handle explicit NIL arguments in :END arguments to SEARCH
1194 * bug fix: return COMPILED-FUNCTION for TYPE-OF on compiled functions.
1196 * some bugs were also closed in this release cycle as obsolete, having been
1197 fixed by the passage of time or other change in the environment:
1198 ** floating point error reporting on OS X (lp#309454)
1199 ** load-shared-library not working from non-main threads on OS X (lp#592425)
1200 * optimization: CONSTANTLY on constant arguments returns a more efficient
1201 function. (lp#1852585)
1202 * optimization: perform fewer Lisp/Alien representation conversions in
1204 * optimization: perform fewer redundant widetag tests when doing type tests
1205 of complicated union types.
1206 * optimization: signed-integer division on machine-word sized operands is
1207 now implemented using multiplication, affecting TRUNCATE, FLOOR, CEILING,
1208 MOD and REM. (This optimization was already performed on unsigned-integer
1211 changes in sbcl-2.0.11 relative to sbcl-2.0.10:
1212 * minor incompatible change: (ARRAY NIL (*)) is not a subtype of STRING,
1213 as is consistent with a majority of maintained CL implementations.
1214 * minor incompatible change: ARRAY-RANK-LIMIT is decreased from 65529 to 256
1215 * optimization: TYPEP on structure types is faster and more compact on
1217 * optimization: LOGCOUNT is faster on arm64.
1218 * optimization: SIGNUM can be inlined if its argument type is known.
1220 * bug fix: compiler crash in tail call handling. (lp#1903938)
1221 * bug fix: crash in traceroot. (lp#1903419, reported by Michal Herda)
1222 * bug fix: DESCRIBE called with a string as second argument no longer mutates
1223 that string. (lp#1903901, reported by Michal Herda)
1224 * bug fix: stack clobbering by 256-bit SIMD packs on x86-64. (lp#1901685,
1225 reported by Marco Heisig)
1227 changes in sbcl-2.0.10 relative to sbcl-2.0.9:
1228 * minor incompatible change: the funarg given to SB-SPROF:MAP-TRACES
1229 does not receive a wallclock time with each trace.
1230 * minor incompatible change: INTERNAL-TIME-UNITS-PER-SECOND has been
1231 increased to 10^6 on 64-bit architectures.
1232 * minor incompatible change: SIGPIPE is ignored by default again. (lp#1897624)
1233 * minor incompatible change: the system code compiled under the
1234 :LINKAGE-TABLE feature is now unconditionally compiled in, and the
1235 corresponding entry in *FEATURES* has been removed.
1236 * enhancement: style-warnings are issued for variables which have an
1237 assignment but no "for-value reference" (per CLHS glossary entry)
1238 * bug fix: SB-CLTL2:MACROEXPAND-ALL did not expand MULTIPLE-VALUE-BIND
1239 and MULTIPLE-VALUE-SETQ
1240 * bug fix: CPUID-based feature detection had an index/mask confusion
1242 * bug fix: fix a deadlock on Windows (lp#1896802)
1243 * bug fix: eliminate type errors when wall clocks go back (lp#1028026,
1245 * bug fix: fix EOF handling in read-char-no-hang on concatenenated streams
1246 (lp#690408, reported by Willem Broekema)
1247 * bug fix: fix MAP-INTO on extended sequences (lp#1855375, thanks to James
1249 * bug fix: SB-GMP can now raise -1, 0 and 1 to the power of a bignum.
1250 (thanks to Aaron Chen)
1251 * bug fixes in tests:
1252 ** add a C function declaration (lp#1897627, thanks to Bob Felts)
1253 ** parse vmmap output more liberally (lp#1897722, reported by Bob Felts)
1255 changes in sbcl-2.0.9 relative to sbcl-2.0.8:
1256 * incompatible change: HPPA and DEC Alpha architecture
1257 support has been removed.
1258 * minor incompatible change: the compiler signals a warning at
1259 compile-time when an initform of T, NIL or 0 does not match a
1260 STANDARD-CLASS slot's declared type.
1261 * minor incompatible change: the runtime no longer uses SIGPIPE internally,
1262 so the signal is deliverable to user code as is customary. Ignoring the
1263 signal - in lieu of the OS default of process termination - is obtainable
1264 via (SB-SYS:ENABLE-INTERRUPT SB-UNIX:SIGPIPE :IGNORE).
1266 ** a number of obsolete portability layers (particularly on the Windows
1267 platform) have been removed in favour of direct calling of the native
1269 ** RUN-PROGRAM now accepts a :WINDOW argument to control whether a
1270 subprocess window should be displayed. (Thanks to Luis Borges de
1272 ** the use of futexes implied by :SB-FUTEX is now implemented on FreeBSD.
1273 * bug fix: SB-SPROF can distinguish between SBCL-internal assembly routines.
1274 * bug fix: SB-SPROF has better output in its reports for anonymous
1276 * optimization: CALL-NEXT-METHOD with supplied arguments in required
1277 positions is now faster if the supplied arguments are EQL to the original
1280 changes in sbcl-2.0.8 relative to sbcl-2.0.7:
1282 ** added support for NetBSD/ARM64;
1283 ** threads on Linux now have OS-visible names;
1284 ** removed unnecessary emulation of pthread functions on Windows;
1285 ** work around a sigwait() bug on Mac OS X;
1286 ** allow safepoint build on Mac OS X, though it probably doesn't
1287 work very well (reported by Chris Wagner, lp#1382811)
1288 ** removed stub support for HPUX.
1289 * optimization: SB-THREAD:MAKE-THREAD is faster on most platforms.
1290 * optimization: faster RATIONAL when the result is a RATIO.
1291 * optimization: improved cross-type comparisons (float/ratio/bignum).
1292 * bug fix: EQUALP on pathnames was wrong
1293 * bug fixes: fix compiler issues in:
1294 ** COUNT (lp#1889391)
1295 ** VECTOR-LENGTH (lp#1888919)
1296 ** constant-folding (lp#1888384)
1297 ** FIND and POSITION (lp#1887316)
1299 changes in sbcl-2.0.7 relative to sbcl-2.0.6:
1300 * minor incompatible change: SB-THREAD:THREAD-OS-TID returns NIL for
1301 a thread which has exited.
1302 * minor incompatible change: OPEN no longer calls TRUENAME implicitly
1303 on a string filespec prior to issuing an open() system call.
1304 * minor incompatible change: PATHNAME is no longer a STRUCTURE-OBJECT.
1305 * documentation: HASH-FUNCTION is a function designator. (lp#1888028,
1306 reported by Jacek Zlydach)
1307 * bug fix: eliminated a potential garbage-collector deadlock
1308 when linking with TCMalloc.
1309 * bug fix: foreign threads (those not made by SB-THREAD:MAKE-THREAD)
1310 can not crash with a "GC_PENDING, but why?" error when returning
1311 back from Lisp into the foreign caller.
1312 * bug fix: sb-fasteval crashed trying to install a JIT-compiled
1313 DEFSTRUCT accessor in a locked package.
1314 * bug fix: removed misuse of putwc() which caused stdio streams
1316 * bug fix: the "maximum interrupt nesting depth exceeded" error
1317 generated in the C runtime is significantly less likely to occur.
1318 * bug fix: sb-sprof should no longer segfault from calling pthread_kill()
1319 on a nonexistent thread.
1320 * bug fix: a portability issue arising from various build hosts
1321 (lp#1886255, reported by Pierre Neidhardt)
1322 * bug fix: spurious compiler warnings from REDUCE with :INITIAL-VALUE.
1323 (lp#1885515, reported by Michael South)
1324 * bug fix: an inconsistency between class hierarchies and the type system
1325 under some circumstances involving redefinition. (lp#1886397, reported by
1327 * bug fix: the USE-VALUE restart for OPEN on non-existent files is more
1328 likely to function as expected. (lp#1886587)
1329 * bug fix: various invalid inputs to ROTATE-BYTE no longer cause compiler
1330 errors. (lp#1887164, lp#1888152)
1331 * optimization: PPC64 on linux uses the __thread annotation on C variables
1332 in preference to pthread_setspecific() and pthread_getspecific().
1334 changes in sbcl-2.0.6 relative to sbcl-2.0.5:
1335 * planned incompatible change: the defined symbols in the Metaobject
1336 Protocol, currently accessible from both SB-MOP and SB-PCL packages, will
1337 in a later release be no longer exported from SB-PCL.
1339 ** better support for dynamic-extent on the SPARC architecture.
1340 ** bug fix for loading very large core files.
1341 ** bug fix for logior and logxor on PPC64.
1342 * enhancement: EQUALP on structure instances uses code specialized
1343 to each structure type, inlining comparison of non-pointer slots.
1344 * enhancement: some standard operators, such as WITH-OUTPUT-TO-STRING and
1345 CHANGE-CLASS, have been adapted to use dynamic-extent temporary objects,
1346 and so cons less garbage on the heap.
1347 * enhancement: read tables are more space- and speed efficient
1348 * bug fix: stream conditions with dynamic-extent streams have the stream
1349 replaced by a stub. (reported by Matt Kaufmann)
1350 * bug fix: garbage collections triggered from foreign callbacks crashed.
1351 (lp#1884403, reported by Andrew Kent)
1352 * bug fix: compiler failure in compiling MAKE-LIST. (lp#1881349)
1353 * bug fix: using the debugger from frames with calls to functions with
1354 unsupplied optional arguments is less likely to cause heap corruption.
1357 changes in sbcl-2.0.5 relative to sbcl-2.0.4:
1359 ** experimental support for ARM32 and ARM64 on OpenBSD
1360 ** better musl libc support. (lp#1768368, thanks to Eric Timmons)
1361 ** more correct use of futexes on 64-bit Linux. (lp#1876825, reported by
1363 ** restore building on current Solaris. (lp#1881393, thanks to Shawn
1365 * enhancement: CMUCL-style START-BLOCK and END-BLOCK declarations are now
1366 supported for block compiling forms at a sub-file granularity.
1367 * enhancement: IPv6 support in sb-bsd-sockets is enabled on Windows.
1368 * minor change: *compile-print* now makes it more clear what block
1369 compilation is actually doing. The default output is now slightly more
1370 verbose as a result.
1371 * bug fix: number keys in EQUALP hash tables are correctly hashed.
1372 (lp#1878653, reported by Syll)
1373 * bug fix: EQness is better preserved given partial sharing of list contents
1374 in the file compiler. (lp#1583753, reported by Denis Budyak)
1375 * bug fix: the peephole pass neglected to preserve jump table labels.
1377 * bug fix: fix compiler crash in block compilation merging of toplevel
1378 lambdas. (lp#1865336, reported by il71)
1379 * bug fix: sb-introspect's function-lambda-arglist is better at extracting
1380 default values of nested macro arguments. (lp#1876194)
1381 * bug fix: RESTART-BIND's body is an implicit progn, and so does not accept
1382 declarations. (lp#1876303, reported by Michal Herda)
1383 * optimization: EQUAL hash tables with keys involving structure-objects will
1384 have fewer systematic collisions.
1386 changes in sbcl-2.0.4 relative to sbcl-2.0.3:
1388 ** 32-bit RISC-V is now fully supported. Unlike other ports, its backend
1389 is entirely shared with 64-bit RISC-V.
1390 ** native threads are now supported on RISC-V.
1391 ** fix and add some x86-64 vector instructions. (reported by Shubhamkar
1393 ** improve pointer representation on ppc64 for low-level performance
1395 ** threads are more stable on big-endian ppc64
1396 * enhancement: forward-referenced type tests can now be open-coded by using
1397 block compilation. The result is that mutually referential defstructs are
1398 now efficiently compiled in block compilation mode, superseding a lighter
1399 mechanism that worked in fewer contexts. However, that lighter mechanism
1400 has been removed, so for now, users who want to efficiently compile
1401 mutually referential defstructs must explicitly opt-in using block
1403 * bug fix: defstructs with empty initforms in the sbcl source are now
1404 explicitly intiialized with NIL, as that is undefined behavior under
1405 ANSI. This helps cross compilation hosts which do not implicitly
1406 initialize empty initform slots to NIL. (Thanks to Karsten Poeck)
1407 * bug fix: backtracing through assembly routines now works properly on
1409 * bug fix: ASH no longer gets miscompiled in certain edge cases on RISC-V.
1410 * bug fix: &MORE args have been slightly optimized and are more correct on
1412 * bug fix: unused local functions with &REST/&KEY/&OPTIONAL now also issue a
1414 * bug fix: APPLY on a large list ("large" being in excess of 2k to 16k items
1415 depending on the platform) can no longer crash the gencgc collector.
1416 * bug fix: sb-concurrency FRLOCK algorithm has been corrected. (lp#1087955)
1417 * bug fix: block compilation now respects inlining declarations better (like
1419 * optimization: hashing of structures with raw slots for EQUALP hash tables
1422 changes in sbcl-2.0.3 relative to sbcl-2.0.2:
1423 * incompatible change: the external format now defaults to UTF-8 and is not
1424 affected by LANG. SB-EXT:*DEFAULT-EXTERNAL-FORMAT* is now the only way to
1426 * minor incompatible change: the undocumented :EPHEMERAL argument to
1427 MAKE-THREAD has been removed.
1428 * minor incompatible change: DECLARE type testing of structure types when
1429 the SAFETY optimization quality is less than SPEED (but greater than 0) is
1430 precise, rather than merely testing that an object is a (general)
1433 ** respect sunos platform assembler flag handling
1434 ** riscv architecture can be detected during the build
1435 ** enabled the sb-dynamic-core feature on riscv, sparc, and made it
1436 unconditional everywhere
1437 ** cheneygc is an option for arm and arm64
1438 * enhancement: the installed sbcl executable tree can be renamed or moved
1439 without risk of incorrectly referencing a '.core' file from an obsolete
1441 * optimization: transform (values-list (list one-item)) to (values one-item)
1442 as multiple items were already recognized.
1444 changes in sbcl-2.0.2 relative to sbcl-2.0.1:
1445 * new feature: CMUCL-style block compilation support has been added,
1446 allowing whole program optimization. It has been documented in a new
1447 section of the manual entitled "Advanced Compiler Use and Efficiency
1448 Hints". In particular, users of block compilation will find a large
1449 speedup for numerical code, as functions which call or return floating
1450 point values will keep everything unboxed.
1451 * bug fix: in CHANGE-CLASS, handle non-standard slot-value-using-class for
1452 :INSTANCE and :CLASS slots better. (reported by Shinmera on #sbcl)
1453 * bug fix: REMHASH in an EQUAL or EQUALP hash-table works correctly on a
1454 key for which EQUAL (respectively EQUALP) is reduced to EQ. (lp#1865094)
1455 * bug fix: do not emit a warning for DEFCLASS slots with mismatched :TYPE
1456 and :INITFORM when the class has a non-standard metaclass.
1457 * bug fix: DISASSEMBLE on SPARC is less likely to spuriously annotate code
1458 sequences as error traps.
1460 changes in sbcl-2.0.1 relative to sbcl-2.0.0:
1461 * minor incompatible change: some symbols have been removed from *FEATURES*
1462 based on a determination of which should be impermissible to examine
1463 via #+ and #- reader macros in user-written code.
1464 * optimization: DEFSTRUCT copiers including COPY-STRUCTURE are able to
1465 stack-allocate the result when declared dynamic-extent.
1466 * bug fix: loop analysis code more robust. In particular, loop nesting depth
1467 is computed more accurately, improving the register allocation around
1470 changes in sbcl-2.0.0 relative to sbcl-1.5.9:
1471 * minor incompatible change: heap relocation now works on Windows. Since
1472 this feature now works on all platforms, it is enabled unconditionally and
1473 the :RELOCATABLE-HEAP symbol no longer appears on *FEATURES* in any
1474 builds. (Thanks to LuÃs Borges de Oliveira)
1475 * enhancement: malformed type specifiers and occurrences of deprecated types
1476 in :TYPE initargs of DEFCLASS and DEFINE-CONDITION slot specifications
1477 are detected and result in compile-time errors and warnings respectively.
1478 * enhancement: parallel contrib building, controlled by SBCL_MAKE_JOBS=-jX
1479 the same as for the C runtime.
1480 * bug fix: add a walker template for WITH-SOURCE-FORM.
1481 * bug fix: start the summary of a compilation unit on a fresh line. (Thanks
1483 * bug fix: on Windows, PARSE-NATIVE-NAMESTRING produces an absolute
1484 directory when parsing a bare drive name and :AS-DIRECTORY is specified.
1485 (Thanks to LuÃs Borges de Oliveira)
1486 * bug fix: on RISCV, the runtime is linked with libz if the core compression
1487 feature is requested. (Thanks to Andreas Schwab)
1488 * bug fix: ADJOIN using an EQL test and a KEY function only transforms into
1489 an EQ test if the key function returns values for which EQ and EQL are
1490 guaranteed to be the same.
1492 ** the instruction sequence for multiple-value calls is more
1493 efficient on x86-64.
1494 ** the direction flag is now unused on x86 and x86-64 when handling
1495 an unknown number of return values. (Thanks to Fanael Linithien)
1496 ** the x86-64 backend is better able to use memory operands for arithmetic
1498 ** compilation of TYPECASE to a jump table is enabled when all the types
1499 being tested are frozen.
1500 ** compilation of CASE and ECASE into a jump table has been implemented on
1501 32- and 64-bit powerpc platforms.
1502 ** the implementation of Unicode normalization has been sped up.
1503 ** pretty-printing dispatch on conses is faster, particularly with the
1504 standard pretty-print dispatch table. Deeply-nested forms should also
1505 pretty-print faster.
1507 changes in sbcl-1.5.9 relative to sbcl-1.5.8:
1509 ** a message intended to be more helpful will be displayed for an mmap
1511 ** the soft-float ABI on ARM32 is better supported, in particular in
1512 returning double floats from calls into C.
1514 ** CASE and ECASE with symbols as keys may be optimized into a vector
1515 lookup if all result forms are quoted or self-evaluating objects.
1516 ** CASE and ECASE can be optimized into a jump table on the x86[-64]
1517 backends with arbitrary result forms provided that the clause keys
1518 are either all fixnums, all characters, or all symbols.
1519 ** a number of forms are converted to use CASE in circumstances where that
1520 makes sense, including calls to POSITION, MEMQ and MEMBER, and TYPECASE
1521 where the types are MEMBER/EQL types.
1522 ** POSITION of a variable symbol in a constant sequence of symbols is
1523 converted to CASE and thence to a jump table.
1524 ** TYPECASE of a variable where the clauses are member types is converted
1525 to CASE and thence to a jump table.
1526 ** a number of slow instructions are no longer used on x86 and x86-64
1527 machines. (Thanks to Fanael Linithien)
1528 ** the compiler is better at tracking the implications of branches after
1530 ** parsing &KEY lists is slightly less register-intensive.
1531 ** a pattern-based peephole optimizer pass has been added, running some
1532 simple transformations on the x86-64 backend.
1533 * enhancements: more thorough compile-time type checking of various
1534 initforms (defclass, &key, defstruct).
1535 * bug fix: unions of complicated CONS types are less likely to cause an
1536 infinite loop. (lp#1799719)
1537 * bug fix: DESCRIBE on functions not named by extended function designators
1538 no longer signals a type error. (lp#1850531, reported by Michal Herda)
1540 changes in sbcl-1.5.8 relative to sbcl-1.5.7:
1542 ** support for Mac OS X Catalina
1543 ** improvements in interoperability with C code compiled with memory
1544 sanitization options
1545 ** libsbcl.so links to zlib when sb-core-compression is enabled.
1546 (lp#1845763, thanks to Juan M. Bello-Rivas)
1547 ** workarounds for BSD issues around mmap() and pthread_attr_setstack().
1549 ** support SSE for bzero if available on OpenBSD
1551 ** improved type understanding and translations for division operators
1552 (including TRUNCATE, GCD, LCM).
1553 ** sequential comparisons and branches can elide intermediate comparisons.
1555 ** convert EQUAL and EQUALP to EQL if either of the arguments is a type
1556 for which the structural equality predicate is identical to the simpler
1557 equality check. (lp#1848583)
1558 ** internal operators implementing string comparisons produce
1559 simpler-to-consume values. (lp#1848776)
1560 * bug fix: inspecting adjustable arrays and vectors with fill pointers works
1561 better. (lp#1846191, reported by Yves Pagani)
1563 changes in sbcl-1.5.7 relative to sbcl-1.5.6:
1565 ** many bug fixes to the experimental 64-bit PowerPC/Linux port, to the
1566 extent that the little-endian variant passes all applicable tests in
1567 the regression test suite; the big-endian variant currently has some
1569 ** experimental support for sb-threads on 64-bit PowerPC/Linux
1570 ** support threads on x86-64 Sun OS (lp#1841280)
1571 ** handle PAX restrictions on mprotect() on NetBSD
1572 ** experimental support for HaikuOS
1573 ** the runtime is built as a position-independent executable by default on
1574 x86-64 Linux and x86-64 Darwin
1575 * fixes and enhancements related to Unicode:
1576 ** update of the data files to Unicode 8.0
1577 ** fix a bug in the implementation of the Unicode line breaking algorithm
1578 regarding hebrew letters and hyphens
1579 * enhancement: add a restart to OPEN with :IF-EXISTS :ERROR to allow
1580 re-opening with :APPEND. (lp#806398, reported by Tobias Rittweiler)
1581 * bug fix: compiler optimizations on SEARCH with :FROM-END T didn't account
1582 for the empty sequence. (lp#1844821)
1583 * bug fix: handle SETF of nested empty VALUES correctly. (lp#1806478)
1584 * optimization: FLOOR and CEILING on rationals are simpler, and the
1585 compiler's understanding of them is better.
1587 changes in sbcl-1.5.6 relative to sbcl-1.5.5:
1589 ** experimental support for 64-bit PowerPC running Linux (extending Brian
1590 Bokser's work from 2018), on both the v1 and v2 ABIs
1591 * new feature: SB-EXT:SEARCH-ROOTS discovers paths from live objects to the
1592 roots keeping them alive.
1593 * enhancement: string output streams created with :ELEMENT-TYPE 'BASE-CHAR
1594 use internal buffers of BASE-STRING instead of UCS-4 strings restricted
1595 to the ASCII range, yielding a theoretical 4:1 space reduction.
1596 * optimization: improved make-array type derivation for multi-dimensional
1597 arrays. (lp#1838442)
1598 * bug fix: compliant redefinition of classes whose previous definition
1599 caused argument mismatch errors does not generate errors any more.
1600 (lp#1840595, reported by 3b on #sbcl)
1601 * bug fixes for issues caught by the random tester:
1602 ** never derive the type of TRUNCATE on arbitrary numbers as the empty
1604 ** provide out-of-line definitions for internal machinery related to
1605 FLOAT-SIGN. (lp#1838337)
1606 ** include COMPLEX in the derived type of SIGNUM when appropriate.
1608 ** more correct internal type testing for function types. (lp#1838808,
1609 lp#1838888, lp#1838986)
1610 ** don't assume that all objects of type (NOT SIMPLE-ARRAY) have an array
1611 header. (lp#1838827)
1612 ** recognize that PHASE on non-positive numbers can return 0 as well as PI.
1615 changes in sbcl-1.5.5 relative to sbcl-1.5.4:
1617 ** SunOS: bug reports and patches from Richard Lowe in sb-posix tests
1618 (lp#1837495), sb-concurrency tests (lp#1837817), unencapsulated tracing
1619 (lp#1837307), float registers in interrupt contexts (lp#1837168)
1620 * bug fix: do not generate version.lisp-expr from git describe if the git
1621 repository is not sbcl's own. (lp#1836663, thanks to Richard Lowe)
1622 * bug fix: compiler crash related to VALUES-LIST on a &REST argument in some
1623 contexts. (lp#1836096, reported by Samuel Jimenez)
1624 * bug fix: compiler hang related to constraint propagation. (lp#1835599,
1625 reported by Mark Cox)
1626 * bug fix: the inspector showed the wrong array element type. (lp#1835934,
1627 reported by Richard M Kreuter)
1628 * optimization: numerous improvements to hash table access and rehashing
1629 * optimization: ASSERT compiles into substantially more compact code.
1632 changes in sbcl-1.5.4 relative to sbcl-1.5.3:
1633 * minor incompatible change: hash tables on 64-bit machines consume roughly
1634 20% less memory but can only grow to hold 2^31 entries (theoretically)
1635 due to use of 31-bit indices internally.
1637 ** RISC-V: improve rotate-byte support (thanks to Philipp Matthias
1639 * bug fix: the system reasons more correctly regarding the array rank of
1640 complicated array types. (reported by Bart Botta)
1641 * bug fix: DOUBLE-FLOAT-P never gets weaked to NUMBERP. (reported by Bart
1643 * enhancement: the regression test suite can now benefit from paralellism,
1644 completing much faster when enough compute power is available.
1645 * optimization: readtables with non-base-char dispatch characters are less
1647 * optimization: INTERN performs fewer redundant type checks.
1648 * optimization: tests for PATHNAMEP and STRUCTURE-OBJECT (including in
1649 computing hash functions) are faster.
1651 changes in sbcl-1.5.3 relative to sbcl-1.5.2:
1653 ** RISC-V: numerous bug fixes and improvements
1654 ** all platforms: better run-program performance when used from multiple
1656 * enhancement: (declaim (optimize (debug 2))) ensures compilation of
1657 top-level forms, providing better debugging for simple forms that are
1658 otherwise "byte-code interpreted" when compiled into FASLs.
1659 * bug fix: use of finalizers could in rare circumstances cause a crash in
1660 the garbage collector.
1661 * bug fix: show extended function designators, e.g. (setf foo), in the
1663 * optimization: reduced overhead of calling NTH/NTHCDR.
1664 * optimization: improved FLOAT-SIGN on DOUBLE-FLOATs on 64-bit platforms
1666 changes in sbcl-1.5.2 relative to sbcl-1.5.1:
1667 * enhancement: RISC-V support with the generational garbage collector.
1668 * enhancement: command-line option "--tls-limit" can be used to alter the
1669 maximum number of thread-local symbols from its default of 4096.
1670 * enhancement: better muffling of redefinition and lambda-list warnings
1672 ** OS X: use Grand Central Dispatch semaphores, rather than Mach semaphores
1673 ** Windows: remove non-functional definition of make-listener-thread
1674 * new feature: decimal reader syntax for rationals, using the R exponent
1675 marker and/or *READ-DEFAULT-FLOAT-FORMAT* of RATIONAL.
1676 * optimization: various Unicode tables have been packed more efficiently
1678 changes in sbcl-1.5.1 relative to sbcl-1.5.0:
1679 * enhancement: restarts for missing package errors.
1680 * optimization: FIND-PACKAGE should be faster even when run in the context
1681 of a package with local package-nicknames.
1682 * optimization: fix TRUNCATE deftransform's results to have well-defined
1684 * bug fix: thread-safety problems in RUN-PROGRAM with :PTY.
1685 * bug fix: SLEEP transform could never fire.
1686 * build enhancement: defend against quirky host floating point
1688 * test enhancement: allow more parallelism in running the
1689 regression test suite
1691 changes in sbcl-1.5.0 relative to sbcl-1.4.16:
1692 * enhancement: SB-COVER emulates IN-PACKAGE when recording source maps;
1693 this makes it possible to generate coverage for forms that uses local
1694 package nicknames, or otherwise must be read in the correct package.
1695 * build enhancement: new host quirks mechanism, support for building under
1696 ABCL and ECL (as well as CCL, CMUCL, CLISP and SBCL itself)
1697 * optimization: (FIND-SYMBOL x "P") for constant "P" executes faster,
1698 subject to "P" not being a package-local nickname of any
1699 package. Similarly INTERN. (lp#1814924)
1700 * optimization: bounds checks are elided when possible where the same array
1701 is dereferenced multiple times.
1702 * bug fix: initargs are now deduplicated when computing effective slots.
1703 * bug fix: TREE-EQUAL with :TEST 'EQL now correctly computes its answer.
1704 (reported by Bahodir Mansurov)
1705 * bug fix: compiled (COERCE x 'FLOAT) no longer coerces double-floats into
1706 single-floats. (reported by J. Gareth Williams)
1708 changes in sbcl-1.4.16 relative to sbcl-1.4.15:
1709 * minor incompatible change: ENSURE-DIRECTORIES-EXIST no longer establishes
1710 a CONTINUE restart in case of an error.
1711 * minor incompatible change: Defining macros (DEFVAR, etc) which require a
1712 symbol as the name will fail to macroexpand if given a non-symbol.
1713 * enhancement: the unexported restart names SB-{ALIEN,FASL,IMPL,PCL}::RETRY
1714 have been replaced by SB-EXT:RETRY.
1716 changes in sbcl-1.4.15 relative to sbcl-1.4.14:
1717 * enhancement: added AVX2 instructions on x86-64, which can be used with
1719 * enhancement: specializer name parsing is less lenient and signals a
1720 specific condition in case of syntax errors. (lp#1808681)
1721 * enhancement: provide interactive restarts for some file-system errors.
1722 * enhancement: COMPILE no longer acquires the world lock.
1723 (fixes most occurrences of lp#308959)
1724 * bug fix: RUN-PROGRAM is more responsive and less likely to deadlock
1725 (lp#1702178, lp#1808641)
1726 * bug fix: traceroot can search for simple-fun targets (lp#1808659, reported
1728 * compiler bug fixes:
1729 ** related to code generation: lp#1805899, lp#1806982, lp#1807455
1730 ** related to interpreting and constant-folding: lp#1806513
1731 ** related to the type system: lp#1804759, lp#1804796
1732 ** related to eq-testing of structure slots: lp#1809582, lp#1808273
1733 ** related to dynamic-extent: lp#1809565, lp#1809253, lp#1809485,
1735 ** related to GC safety: lp#308949
1737 changes in sbcl-1.4.14 relative to sbcl-1.4.13:
1738 * enhancement: attempting to build on openbsd 6.0 or newer without
1739 the wxallowed mount option now results in a more useful error message.
1740 * enhancement: by popular demand, SB-EXT now exports two functions
1741 HEAP-ALLOCATED-P and STACK-ALLOCATED-P to assist in writing debug
1742 assertions that objects in hash-tables are not stack-allocated, etc.
1743 * bug fix: restored sb-thread support on OpenBSD.
1745 changes in sbcl-1.4.13 relative to sbcl-1.4.12:
1746 * minor incompatible change: PRINT-TYPE and PRINT-TYPE-SPECIFIER are not
1747 exported from SB-EXT. These were never announced, so this change would
1748 only affects users who discovered these undocumented functions.
1749 * enhancement: SB-EXT:SEARCH-ROOTS and SB-EXT:GC-AND-SEARCH-ROOTS
1750 are supported on all backends that use gencgc.
1752 changes in sbcl-1.4.12 relative to sbcl-1.4.11:
1753 * minor incompatible change: a number of platform-specific elements of
1754 *FEATURES* related to whether the system implements particular strategies
1756 * minor incompatible change: some changes to the (internal) implementation
1757 details of the x86 and x86-64 have necessitated changes to some low-level
1759 * enhancement: attempting to transfer control through GO or RETURN-FROM to
1760 frames which no longer exist are now caught and handled by the debugger.
1761 * enhancement: identical code (at the machine instruction level) can now be
1762 shared between functions, if explicitly requested.
1763 * enhancement: SB-EXT:STRING-TO-OCTETS and SB-EXT:OCTETS-TO-STRING are now
1765 * bug fixes: fix a number of bugs revealed by random testing (lp#1793171,
1766 lp#1793150, lp#1791550, lp#1792030, lp#1791059, lp#1790157, lp#1790717,
1769 changes in sbcl-1.4.11 relative to sbcl-1.4.10:
1770 * minor incompatible change: changes to the (internal) assembler on x86
1771 and x86-64 may cause problems to some low-level third-party libraries:
1772 ** new macro EA for defining an effective address, without size
1774 ** an explicit size modifier is now needed for MOVSX and MOVSZ
1776 ** MOVD and MOVQ move a single size of operand by definition.
1777 * enhancement: support the latest MinGW (lp#1786731, reported by il71)
1778 * enhancement: checks for modifications of constants can now be done in
1779 local (FLET/LABELS) functions.
1780 * optimization: improved type checking routines for various compound types.
1781 * optimization: array bound checks are elided on vectors when the index is
1782 known to be less than the length, including LOOP ACROSS.
1783 * optimization: the register allocator's use of temporaries is somewhat
1785 * optimization: checking widetags involves fewer conditional jumps on x86
1787 * bug fix: fix a number of bugs related to constant improper lists as
1788 sequence arguments (lp#1768563, lp#1768568, lp#1768652)
1790 changes in sbcl-1.4.10 relative to sbcl-1.4.9:
1791 * enhancement: added SB-EXT:MAKE-WEAK-VECTOR.
1792 * enhancement: constant-modification detection warnings can be generated
1793 in the presence of conditional constructs.
1794 * optimization: better bounds-checking on x86[-64] and ARM64.
1795 * optimization: adding 1 to or subtracting 1 from a fixnum variable does not
1797 * bug fixes: fix a number of bugs revealed by random testing (lp#1782826,
1798 lp#1779878, lp#1779737)
1800 changes in sbcl-1.4.9 relative to sbcl-1.4.8:
1801 * enhancement: SB-COVER instrumentation for x86[-64] has signficantly less
1802 overhead. The performance penalty for 64-bit code has been measured at
1803 around 30% slower than uninstrumented code as contrasted with slowdowns
1804 in excess of 100% previously.
1805 * enhancement: tracing a generic function with the :METHODS T option
1806 produces output corresponding to each method called under the default
1807 :ENCAPSULATE NIL tracing implementation.
1808 * bug fix: updated TRACE documentation. (lp#574614 was actually already
1809 fixed, but there were other issues.)
1810 * bug fix: fixed x86 GC bug causing heap corruption. (lp#1749369)
1811 * bug fix: improved compatibility with macOS High Sierra and graphical
1814 changes in sbcl-1.4.8 relative to sbcl-1.4.7:
1815 * bug fix: redefinition of method combinations now does the expected thing;
1816 generic functions using that method combination have their effective
1817 methods lazily recomputed according to the new definition of the method
1818 combination. (Reported by Didier Verna at ELS 2018)
1819 * bug fix: :arguments argument to the long form of DEFINE-METHOD-COMBINATION
1820 is now implemented more correctly, supporting suppliedp variables and
1821 &optional defaults. (Reported by Bruno Haible, lp#309084)
1823 changes in sbcl-1.4.7 relative to sbcl-1.4.6:
1824 * enhancement: better handling of unknown keyword arguments (lp#1750466)
1825 * enhancement: namestrings can now be computed for certain pathnames that
1826 previously did not have namestrings because of #\. characters in their
1827 name and/or type components.
1828 * bug fix: compiling a SLEEP call with a float positive infinity argument no
1829 longer causes an internal error (lp#1754081)
1830 * bug fix: keyword arguments provided to a generic function with
1831 EQL-specialized methods are checked more correctly (reported by Syll,
1834 changes in sbcl-1.4.6 relative to sbcl-1.4.5:
1835 * enhancement: DISASSEMBLE on a symbol naming a macro will disassemble
1836 the expander, not the code that traps attempted FUNCALL of the macro.
1837 * enhancement: The sb-sprof contrib now provides an experimental interface
1838 for accessing collected profiler data.
1839 * enhancement: The instruction-level profiling of the sb-prof contrib
1840 annotates the disassembler output more efficiently.
1841 * optimization: improved dynamic-extent handling of nested variables.
1843 changes in sbcl-1.4.5 relative to sbcl-1.4.4:
1844 * minor incompatible change: building with/without the :sb-package-locks
1845 feature is no longer an option. Package locks are always compiled in,
1846 and removing :sb-package-locks from *features* will have no effect.
1847 * enhancement: FIND-PACKAGE does not acquire a mutex
1848 * enhancement: cheneygc can perform heap relocation on startup
1849 * enhancement: in threaded builds, finalizers execute in a system-internal
1850 thread so that a user thread which invokes GC is unblocked from performing
1851 work as soon it returns from GC and invokes any post-GC hooks.
1852 As such, it is more important than before to avoid assumptions about
1853 special variable bindings in finalizers, even in single-threaded code.
1854 * optimization: faster (funcall (or function symbol)) on x86-64.
1856 changes in sbcl-1.4.4 relative to sbcl-1.4.3:
1857 * bug fix: pathname accessors such as PATHNAME-DIRECTORY work on
1859 * bug fix: (pathname-{device,directory,name,type} ... :case :common) works
1860 as expected. In particular MAKE-PATHNAME composed with the accessors
1861 roundtrips properly when both use the same :case. (lp#1739906)
1862 * bug fix: DIRECTORY no longer gets confused when the value of
1863 *DEFAULT-PATHNAME-DEFAULTS* has a name or type component. (lp#1740563)
1864 * bug fix: pattern pieces in pathname components are correctly escaped
1866 * bug fix: DELETE-DIRECTORY no longer signals an error when the directory is
1867 supplied as a pathname with name and/or type components containing escaped
1868 characters. (lp#1740624)
1869 * bug fix: weak hash-tables no longer cause GC time to scale superlinearly
1871 * bug fix: CANCEL-FINALIZATION operates in approximately constant time
1872 per operation (lp#1587983)
1873 * bug fix: big-endian MIPS systems now (mostly) work again (broken since
1875 * bug fix: backtrace from arg-count errors on systems other than x86, x86-64,
1876 ARM, and ARM64 now works again.
1877 * bug fix: backtrace from asynchronous interrupts on non-x86, non-x86-64
1878 systems should now be more reliable.
1879 * enhancement: warnings and errors referring to bindings established by LET,
1880 LET*, FLET and LABELS point to the offending form more accurately.
1881 * enhancement: backtrace for invalid argument count produces the exact
1882 supplied arguments including the extra ones on all platforms (no longer
1883 just x86, x86-64, ARM, and ARM64).
1885 changes in sbcl-1.4.3 relative to sbcl-1.4.2:
1886 * enhancement: SLEEP respects deadlines established by SB-SYS:WITH-DEADLINE.
1887 * bug fix: DECODE-TIMEOUT and operators accepting a timeout no longer signal
1888 an error when called with an argument that is of type (real 0) but not
1889 (unsigned-byte 62) (lp#1727789)
1890 * bug fix: fixed heap exhaustion bug when consing millions of small objects
1891 * bug fix: sb-safepoint builds are now a lot less prone to deadlocks and odd
1892 crashes (lp#1424031, lp#1268710)
1893 * bug fix: argumentless CALL-NEXT-METHOD where specialized-to-T or
1894 unspecialized parameters are mutated now uses the original (non-mutated)
1895 parameter values (lp#1734771)
1896 * bug fix: memory faults from lisp no longer use (thread-and-interrupt
1897 unsafe) global storage for fault addresses (everywhere), and now have
1898 cleaner backtraces (on x86 and x86-64). (lp#309068)
1899 * bug fix: pathnames with a directory component of the form
1900 (:absolute {:up,:wild,:wild-inferiors}) no longer fail to unparse.
1902 * bug fix: more reliable signal handling on macOS.
1904 changes in sbcl-1.4.2 relative to sbcl-1.4.1:
1905 * minor incompatible change: SB-EXT:QUIT is no longer marked as deprecated
1906 and behaves like SB-EXT:EXIT.
1907 * enhancement: ASDF updated to 3.3.1. The ASDF release is dedicated to
1908 the late Elias Pipping who put enormous amounts of work into it despite
1909 his terminal illness. Thank you and rest in peace. (lp#1681201)
1910 * enhancement: alien routines compiled with '-fsanitize=thread' and/or
1911 '-fsanitize=memory' cause fewer false positives in error reporting.
1912 * optimization: fewer instances of consing float constants at runtime.
1913 * bug fix: a number of compiler bugs detected by Paul F. Dietz' randomized
1914 tester. (lp#1731503, lp#1730699, lp#1723993, lp#1730434, lp#1661911,
1915 lp#1729639, lp#1729471, lp#1728692)
1916 * bug fix: better errors from NAMESTRING and friends on pathnames with no
1917 namestrings. (lp#792154)
1918 * bug fix: EQUAL and EQUALP compiler transforms were too confident in
1919 deriving a result. (lp#1732277, lp#1732225)
1920 * bug fix: FILL sometimes returned the underlying data vector rather than
1921 the given array. (lp#1732553)
1922 * bug fix: SEARCH returned the wrong answer in some cases. (lp#1732952)
1923 * bug fix: the type (COMPLEX INTEGER) behaves more as specified by Function
1924 TYPEP, which has stronger constraints than System Class COMPLEX.
1925 (Reported by Eric Marsden, lp#1733400)
1927 changes in sbcl-1.4.1 relative to sbcl-1.4.0:
1928 * optimization: faster foreign callbacks.
1929 * enhancement: complex arrays can be stack allocated.
1930 * enhancement: PROCESS-KILL now exists on win32 and PROCESS-PID actually
1932 * optimization: the register allocation method used by the compiler when
1933 optimizing for speed is now faster for functions with large bodies.
1934 * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION works on big-endian CPUs
1935 (fixes lp#490490 for real rather than by disabling a test)
1936 * bug fix: code objects and bignums of large enough size to be placed
1937 on GC pages without any other object no longer cause accidental copying
1938 during garbage collection. (gencgc only)
1939 * bug fix: sb-fasteval failure with 0-argument lambdas (lp#1722715)
1940 * bug fix: RUN-PROGRAM doesn't leak handles on win32 and PROCESS-CLOSE
1941 doesn't crash. (lp#1724472)
1943 changes in sbcl-1.4.0 relative to sbcl-1.3.21:
1944 * minor incompatible change: DESTRUCTURING-BIND treats non-toplevel () as
1945 nested empty pattern. This seems to be what the standard mandates, so
1946 conforming code should not be affected.
1947 * ehancement: (GC :GEN 7) with gencgc will zero-fill dead pseudo-static
1948 objects so that they do not spuriously cause reachability of objects that
1949 would have been otherwise dead.
1950 * enhancement: PROCESS-STATUS now tracks stopped and continued processes
1951 properly (also fixes lp#1624941, based on patch by Elias Pipping).
1952 * bug fix: INSPECT handles errors signaled while printing slot
1954 * bug fix: DESCRIBE works on classes like it used to.
1955 * bug fix: *LOAD-PATHNAME* and *LOAD-TRUENAME* are bound to pathnames
1956 when processing a sysinit or userinit file
1957 * bug fix: save-lisp-and-die is able to collect more garbage on non-x86oid
1959 * bug fix: fixed out-of-bounds array read in optimized POSITION on bit-vectors
1960 * bug fix: signal emulation respects the 128-byte stack red zone on x86-64
1963 changes in sbcl-1.3.21 relative to sbcl-1.3.20:
1964 * minor incompatible change: the CLOBBER-IT restart for defstruct redefintion
1965 has been removed after a 15 year deprecation cycle. Use the new name,
1966 RECKLESSLY-CONTINUE. Note also that this restart is hidden if deemed unsafe
1967 due to altered placement of untagged slots in the structure.
1968 * enhancement: the assignment of -DSBCL_PREFIX= in src/runtime/GNUmakefile
1969 can be removed as a local patch, which results in an sbcl executable
1970 that finds its core file relative to itself by looking in "../lib/sbcl".
1971 * enhancement: backends using the generational GC are able to relocate
1972 dynamic space anywhere the operating system places it.
1973 This feature can be disabled by removing :relocatable-heap from the
1974 build configuration. Not supported on Windows.
1975 * enhancement: DEFMETHOD no longer signals IMPLICIT-GENERIC-FUNCTION-WARNING.
1976 * enhancement: better type conflict detection for high order functions, e.g.
1977 (find x "123" :test #'=)
1978 * enhancement: the tabular output of ROOM is aligned dynamically, preventing
1979 misaligned tables for larger sizes or counts.
1980 * enhancement: ROOM reports on immobile space if applicable.
1981 * optimization: optimized external-format routines.
1982 * bug fix: SB-INTROSPECT:ALLOCATION-INFORMATION returns :IMMOBILE
1983 instead of :FOREIGN for objects in immobile space.
1984 * bug fix: dotted lists in special forms and function call forms signal
1985 an appropriate error
1986 * bug fix: EQUALP hash tables with pathname keys now ignore internal slots.
1987 (lp#1712944, reported by Jason Miller)
1989 changes in sbcl-1.3.20 relative to sbcl-1.3.19:
1990 * minor incompatible change: DEF{GENERIC,METHOD} no longer accept some
1991 illegal lambda lists such as (defgeneric bar (foo &key foo)) or
1992 (defgeneric baz (t)) that were accepted before.
1993 * optimization: a valueless &AUX binding in a BOA constructor does not
1994 force all slots reads in safe code to perform a full type check.
1995 * optimization: ATOMIC-PUSH and ATOMIC-POP generate better code
1996 * bug fix: the low-level debugger would erroneously print - or not print
1997 as the case may be - "(bad-address)" for some objects depending whether
1998 the --dynamic-space-size argument was used at Lisp startup
1999 * bug fix: a DEFCONSTANT with a non non-eql-comparable object as the value
2000 could cause miscompilation if that constant appeared as the default
2001 expression for an &OPTIONAL binding
2002 * bug fix: generic function lambda lists are now checked for repeated
2003 and otherwise illegal entries. (lp#1704114)
2004 * bug fix: setting gencgc_verbose = 1 could cause deadlock in fprintf()
2005 depending on the platform's stdio implementation. The relevant code
2006 has been changed to use snprintf() and write() instead.
2008 changes in sbcl-1.3.19 relative to sbcl-1.3.18:
2009 * enhancement: specialized arrays can be printed readably without using
2011 * enhancement: SB-DEBUG:PRINT-BACKTRACE truncates huge string arguments.
2012 The full string remains available for inspection via (SB-DEBUG:ARG).
2013 * bug fix: backtracing from several threads at once could fail
2014 * bug fix: floating-point infinities could not be used as keys
2015 in EQUALP hash tables. (lp#1696274)
2016 * bug fix: random sb-fasteval failures. (lp#1642708)
2017 * bug fix: align the stack in callback wrappers to defend against C
2018 compiler over-aggressive use of SIMD. (lp#1697528)
2019 * bug fix: don't try to find the class when reporting that a class does
2020 not exist for a primitive type. (lp#1697226)
2022 changes in sbcl-1.3.18 relative to sbcl-1.3.17:
2023 * minor incompatible change: existing values of CFLAGS, ASFLAGS,
2024 CPPFLAGS, and LINKFLAGS will be incorporated into C compiler
2025 invocations when building from source.
2026 * minor incompatible change: the result of WRITE-TO-STRING may be
2027 a BASE-STRING if all characters written are of type BASE-CHAR.
2028 * minor incompatible change: the broadcast stream with no output
2029 streams is a singleton object. That object satisfies OPEN-STREAM-P
2030 regardless of how many times CLOSE is invoked on it.
2031 * enhancement: x86[-64] backends contain an experimental feature
2032 which aids in demonstrating reachability of any object starting
2033 from a tenured object or a thread stack by producing a proof
2034 as a sequence of pointers to follow.
2035 The file "tests/traceroot.test.sh" contains an example usage.
2036 * enhancement: if the alien symbol "gc_coalesce_string_literals" is
2037 set to 1 prior to SAVE-LISP-AND-DIE, then similar string constants
2038 loaded from different fasl files may be collapsed to one object.
2039 If the variable is set to 2, then additionally strings which are
2040 STRING= in code resulting from COMPILE can be coalesced.
2041 For instance, two functions returning the literal string "HI"
2042 might return EQ strings after collapsing, which may be undesired
2043 in a particular use. The flag pertains to gencgc only.
2044 * enhancement: SXHASH values on pathnames are better distributed
2045 * bug fix: MAKE-PATHNAME removes empty strings as components of a
2046 directory, as is permitted: "Whenever a pathname is constructed
2047 the components may be canonicalized if appropriate."
2048 * optimization: various printer and FORMAT performance enhancements.
2049 * bug fix: GET-FOREGROUND no longer fails in case all other interactive
2050 threads exit (lp#1682671, reported by Syll)
2051 * bug fix: RELEASE-FOREGROUND always removes the current thread from the
2052 list of interactive threads. (lp#1682867, reported by Syll)
2054 changes in sbcl-1.3.17 relative to sbcl-1.3.16:
2055 * enhancement: memory overhead from the garbage collector's metadata
2056 is reduced on 64-bit architectures; no change for 32-bit.
2057 * enhancement: further garbage collector speedups affecting
2058 pinned objects on conservative backends, and simple-vectors.
2059 * enhancement: on Linux a custom handler for SIGSEGV can be called
2060 for page faults outside of dynamic space by changing the C symbol
2061 "sbcl_fallback_sigsegv_handler".
2062 * bug fix: sb-cover does not lose source positions for AND/OR/COND.
2063 * bug fix: random disassembler failures. (lp#1527931)
2064 * The bundled sb-md5 contrib has been updated to release 2.0.4
2065 which is licensed under Creative Commons CC0 per author's statement
2066 https://github.com/pmai/md5/commit/fd134e71b71a10ab78905833a7cb9d4d6817c589
2067 (Refer to NEWS and COPYING in the contrib/sb-md5 subdirectory)
2069 changes in sbcl-1.3.16 relative to sbcl-1.3.15:
2070 * optimization: various small tweaks give around 5% faster garbage
2072 * bug fix: better detection of when an impossible code path does
2073 not need a warning. (lp#1668619)
2074 * bug fix: stronger attempts to disable position-independent
2075 executable building. (lp#1668986, patch from Mark Wright)
2076 * bug fix: OPEN :IF-EXISTS NIL signalled a condition on Windows.
2077 (lp#1674437, reported by Jan Idzikowski)
2079 changes in sbcl-1.3.15 relative to sbcl-1.3.14:
2080 * minor incompatible change: the reader will when feasible create
2081 new symbols using a BASE-STRING for the print name. Additionally,
2082 string literals can favor the base-string type if desired, though
2083 the default is to always return UTF-32 strings for compatibility.
2084 A preference for base-string does not disable reading Unicode.
2085 The choice is controlled via (SETF READTABLE-BASE-CHAR-PREFERENCE).
2086 If Unicode was disabled at build time, this setting does nothing.
2087 * enhancement: SBCL generates more debug information by default.
2088 * enhancement: type errors provide context information, such as which
2089 variable is being bound, which slot of which structure is being set.
2090 * enhancement: if #+immobile-symbols is in build-time *FEATURES* (not
2091 enabled by default), then symbols will never be moved in memory
2092 except by SAVE-LISP-AND-DIE. Immobility has helpful implications for
2093 code generation as well as interaction with foreign routines.
2094 This feature can only be enabled if #+immobile-space is enabled.
2095 * enhancement: undefined function errors can be restarted on x86-64, to
2096 either retry calling the function again or call a user supplied function.
2097 * enhancement: sb-ext:restrict-compiler-policy accepts an upper bound in
2098 addition to a lower bound.
2099 * enhancement: #+immobile-code improves the speed of function calling.
2100 Some delay may be noticed when redefining an existing function
2101 from a saved core file however.
2102 * defaults change: sb-ext:*disassemble-annotate* default to NIL, due to its
2104 * new feature: SB-LINKABLE-RUNTIME, allowing linking with extra object
2105 files to help with delivery of executables. (Thanks to François-René
2107 * bug fix: data race in GENTEMP fixed - it can no longer return the
2108 same interned symbol to multiple threads if called concurrently
2109 * bug fix: interrupting LOADing of FASLs does not leave functions without
2110 source locations. (lp#540276)
2111 * bug fix: DYNAMIC-EXTENT-declared results of NOTINLINE local functions were
2112 treated as if they were actually stack allocated (lp#1659964)
2113 * bug fix: correctly handle the case of a non-local exit within a function
2114 terminating the extent of dynamic-extent, dynamic-bound variables in the
2115 presence of multiple-values (lp#1655011)
2116 * bug fix: handling of SB-SYS:WITH-PINNED-OBJECTS in the interpreters (both
2117 sb-eval and sb-fasteval) now actually pins objects on gencgc.
2118 * bug fix: AVX registers are preserved during exceptions on x86-64 macOS.
2119 * bug fix: (directory "SOMETHING/*/**/MORE") is no longer equivalent to
2120 (directory "SOMETHING/**/MORE")
2121 * bug fix: better console IO on Windows (lp#1660906)
2123 changes in sbcl-1.3.14 relative to sbcl-1.3.13:
2124 * minor incompatible change: the SB-PCL walker no longer recognizes
2125 macros expanding into a DECLARE expression. This is not a language change,
2126 since ANSI forbids such usage (X3J13 issue DECLARE-MACROS:FLUSH).
2127 * enhancement: for several macros such as MULTIPLE-VALUE-{BIND,SETQ}, COND,
2128 DO{,*,LIST}, {RESTART,HANDLER}-{BIND,CASE}, *CASE, conditions signaled
2129 during macroexpansion point to the form that caused the problem more
2131 * enhancement: the "--noinform" command-line option inhibits output from
2132 save-lisp-and-die in addition to removing the startup banner.
2133 * bug fix: PROCESS-KILL failed to return errno if the system call failed
2134 * optimization: slightly more comprehensive treatment of the keyword
2135 arguments to MAKE-ARRAY in compiler transformations.
2137 changes in sbcl-1.3.13 relative to sbcl-1.3.12:
2138 * enhancement: SET triggers package locks on undefined variables.
2140 * enhancement: new Windows specific option to run-program, :escape-arguments
2142 * enhancement: recompiling a MAKE-INSTANCE form with an initarg :INITARG
2143 CONSTANT where CONSTANT names a constant variable picks up the new value
2144 of CONSTANT in case it has been redefined. (lp#1644944)
2145 * optimization: faster TYPEP on undefined at compile-time types and upcoming
2146 class definitions. (lp#1082967)
2147 * optimization: memory consumption of each STANDARD-OBJECT instance is
2148 reduced by 2 words if the compact-instance-header feature is enabled.
2149 * optimization: CONDITION instances are quicker to allocate.
2150 * optimization: unoptimized calls to FILL on specialized vectors are now
2151 just as fast as T vectors.
2152 * bug fix: get-timezone returns corret DST on 64-bit Windows. (lp#1641058)
2153 * bug fix: cross reference information in fasls is no longer incompatible
2154 between different cores (lp#1648186)
2156 changes in sbcl-1.3.12 relative to sbcl-1.3.11:
2157 * enhancement: on x86-64, compiled functions loaded from fasl files
2158 can not be moved, but can be freed, by GC. Additionally, COMPILE will
2159 produce immobile code if SB-C::*COMPILE-TO-MEMORY-SPACE* is set to
2160 :IMMOBILE. (Caution: the flag is experimental and subject to change.)
2161 The benefits are better physical separation of code from data,
2162 and potentially easier examination of live images by external tools.
2163 * enhancement: the docstring for SAVE-LISP-AND-DIE has been amended to
2164 say that the :ROOT-STRUCTURES parameter is not meaningless on gencgc,
2165 depending on the platform.
2166 * bug fix: calling a named function (e.g. a DEFUN) concurrently with
2167 redefining that same function could lead to execution of random bytes.
2168 * bug fix: yes-or-no-p accepts formatter functions (lp#1639490)
2169 * bug fix: better handling of exceptions on macOS.
2171 changes in sbcl-1.3.11 relative to sbcl-1.3.10:
2172 * minor incompatible change: SB-EXT:*INTEXP-MAXIMUM-EXPONENT* is removed.
2173 * enhancement: TRACE ... :REPORT {TRACE,NIL} now work as advertised in the
2174 documentation string (based on patch by Patrick Stein)
2175 * enhancement: support unboxed signed-word structure slots on x86, x86-64
2176 and ARM64. (lp#377616)
2177 * optimization: faster logical bit-array operations on multidimensional
2179 * optimization: better GC performance in the presence of many threads.
2180 (patch by Ilya Perminov, lp#1339924)
2181 * optimization: multiple-value-call is optimized with multiple argument
2182 forms, not just one. (lp#753803)
2183 * bug fix: MAKE-ALIEN-STRING returns the number of allocated bytes as a
2184 second value as advertised (reported by Johann 'Myrkraverk' Oskarsson)
2185 * bug fix: when TO-READTABLE is supplied to COPY-READTABLE, it will
2186 contain only the macros in FROM-READTABLE and no others. (lp#1631506)
2187 * enhancement: gencgc has been modified for x86-64 on Linux and macOS
2188 to a support mark-and-sweep as well as the traditional copying strategy.
2189 It is conceivable that some applications might be adversely affected.
2190 Please see ':immobile-space' in 'base-target-features.lisp-expr'
2191 for further details, and possible reasons to disable this feature.
2192 * enhancement: x86-64 supports shrinking the fixed overhead in a structure
2193 from 2 words to 1 word, reducing memory consumption in applications
2194 which create many small structures.
2196 changes in sbcl-1.3.10 relative to sbcl-1.3.9:
2197 * enhancement: more compact low-level error signaling code
2198 * enhancement: more compact encoding of cross-reference information
2199 * optimization: faster out of line fixnum-float comparisons.
2200 * optimization: filling a known simple-vector with a constant value
2201 is about as fast in unoptimized code as in code compiled with (SPEED 3),
2202 and the x86-64 implementation is able to use SSE instructions.
2203 * bug fix: correctly handle the case of a non-local exit within a function
2204 terminating the extent of dynamic-extent functions and variables in the
2205 presence of multiple-values (lp#1563127)
2206 * bug fix: restore builds on the latest OSX with the latest Xcode
2209 changes in sbcl-1.3.9 relative to sbcl-1.3.8:
2210 * minor incompatible change: NAMESTRING prefers to return a BASE-STRING
2211 instead of (ARRAY CHARACTER (*)) when possible.
2212 * enhancement: cached make-instance/allocate-instance constructors can now
2213 get garbage collected.
2214 * optimization: better performance for some unoptimized operations on
2216 * bug fix: using the options :LOCAL-NICKNAMES and :LOCK in the same
2217 DEFPACKAGE form no longer signals a bogus error
2219 changes in sbcl-1.3.8 relative to sbcl-1.3.7:
2220 * minor incompatible change: the system now understands that the CONDITION
2221 type is disjoint with many other system types.
2222 * minor incompatible change: argument types in condition report functions
2223 are now declared (in combination with the above change, this can result in
2224 early detection of erroneous code).
2225 * enhancement: simple arrays of any rank can be stack-allocated
2226 on platforms supporting stack allocation of vectors.
2227 * optimization: improved type derivation for FIND, POSITION, COUNT, SEARCH,
2228 MISMATCH and other array and sequence functions.
2229 * optimization: ALLOCATE-INSTANCE is now as fast as MAKE-INSTANCE.
2230 * optimization: more efficient CHANGE-CLASS.
2231 * bug fix: versions of getresuid() and getresgid() in SB-POSIX no longer
2232 cause memory faults, and should work properly (lp#1603806, reported by
2234 * bug fix: handle ENOENT from getprotobyname() (lp#1596043, reported by
2237 changes in sbcl-1.3.7 relative to sbcl-1.3.6:
2238 * bug fix: preserve the name of the destructive function for the destroyed
2239 constant and important result warnings, even when declared NOTINLINE.
2240 * optimization: faster operations on list-sets.
2241 * optimization: better type derivation of set functions.
2243 * optimization: load-time TLS-INDEX assignment, and other
2244 microoptimizations, on x86.
2248 ** ARRAY-DIMENSIONS;
2249 ** ARRAY-TOTAL-SIZE;
2250 ** REMOVE, REMOVE-DUPLICATES, DELETE and DELETE-DUPLICATES on lists.
2252 changes in sbcl-1.3.6 relative to sbcl-1.3.5:
2253 * bug fix: do not insert conditional newlines in print-unreadable-object
2254 (lp#1398290). This reverses a change made in lp#488979 which reversed
2255 a fix advertised in release 0.8.14 to pass the GCL ANSI Test Suite.
2256 * bug fix: constant negative rotations of 32-bit quantities are compiled
2257 correctly on x86-64 and arm. (lp#1586614, reported by Guillaume Le
2260 changes in sbcl-1.3.5 relative to sbcl-1.3.4:
2261 * enhancement: the platform's strtod() is exposed as SB-POSIX:STRTOD
2262 * enhancement: speed up debug info creation for highly nested functions.
2264 * enhancement: the interleaved structure slot optimization from
2265 release 1.2.6 has been ported to all architectures.
2266 * enhancement: support run-program I/O redirection into lisp streams on
2268 * bug fix: better wording in missed optimization note. (lp#1003265)
2269 * bug fix: interpreted (CAS SVREF) was broken
2270 * bug fix: support CLISP as build host for ARM (lp#1568256, thanks to Tomas
2273 changes in sbcl-1.3.4 relative to sbcl-1.3.3:
2274 * enhancement: who-sets and who-references work on DEFGLOBAL. (lp#1552997)
2275 * enhancement: CONSTANTP understands backquote.
2276 e.g. (CONSTANTP '`(0 (,CHAR-CODE-LIMIT))) => T
2277 * optimization: improvements to sequence functions: CONCATENATE, SUBSTITUTE,
2279 * bug fix: SB-EVAL does not signal an error for (THE KEYWORD :FOO)
2280 * bug fix: a DEFTYPE name that is redefined into a DEFSTRUCT name
2281 is less likely to cause confusion in the compiler.
2282 * bug fix: DOCUMENTATION works as intended for classes with non-standard
2284 * bug fix: (TYPEP <extended-sequence> <extended-sequence-class>) no longer
2285 returns NIL in certain situations
2286 * bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE accept class objects as
2288 * bug fix: MAKE-SEQUENCE, MAP, CONCATENATE and MERGE expand DEFTYPEs in
2291 changes in sbcl-1.3.3 relative to sbcl-1.3.2:
2292 * enhancement: warn about argument mismatch for functions passed as
2293 arguments to other functions (e.g. REDUCE, MAP) at compile-time.
2294 * optimization: functions accepting other functions (e.g. REDUCE, FIND) can
2295 now be constant-folded if all function arguments are declared as foldable.
2296 * optimization: improved logical operations on integers of unknown type.
2297 * bug fix: exception handling no longer leaks memory on OS X. (lp#326238)
2299 changes in sbcl-1.3.2 relative to sbcl-1.3.1:
2300 * enhancement: {READ,WRITE}-SEQUENCE are much faster for some combinations
2301 of short sequences and stream types
2302 * enhancement: MAKE-LIST's result can be stack-allocated on x86-64
2303 * bug fix: WRITE-SEQUENCE no longer fails to write lists containing integers
2305 * bug fix: LOGTEST (and hence ODDP) no longer conses when given fixnum
2306 arguments and small bit positions. (lp#1277690)
2307 * bug fix: READ-FROM-STRING compiler-macro does not permute its arguments
2308 * bug fix: DEFUN of a function name that collides with a system-generated
2309 structure accessor does not confuse the runtime. (lp#540063)
2310 * bug fix: heap corruption from miscompiled RESTART-BIND. (lp#1530390)
2312 changes in sbcl-1.3.1 relative to sbcl-1.3.0:
2313 * enhancement: SB-THREAD support for ARM64.
2314 * enhancement: compiling an out-of-line DEFSTRUCT constructor call
2315 will warn if a defaulted value is incompatible with its slot type.
2316 * enhancement: a local INLINE declaration on a structure constructor
2317 will work as intended, subject to any other factors that inhibit
2318 inlining, even if the DEFSTRUCT was not itself within a global
2319 INLINE proclamation for the named constructor
2320 * enhancement: SB-EXT:DYNAMIC-SPACE-SIZE is now defined for cheneygc.
2321 * enhancement: x86[-64] platforms support SB-EXT:CAS on structure slots
2323 * enhancement: the interleaved structure slot optimization from
2324 release 1.2.6 has been ported to 32-bit x86, Sparc, PowerPC, ARM64.
2325 * enhancement: SB-THREAD:JOIN-THREAD signals a proper error when an attempt
2326 is made to join the current thread
2327 * bug fix: NTH-VALUE does not cause stack overflow. (lp#1511419)
2328 * bug fix: structure constructor type checking is better. (lp#1508735)
2329 * bug fix: supplied-p variables for unused optional or keyword variables no
2330 longer confuse SB-DI:PARSE-COMPILED-DEBUG-FUN-LAMBDA-LIST (and thus the
2331 backtrace machinery) (lp#1498644)
2332 * bug fix: Backtrace correctly handles undefined-function frames on MIPS.
2333 * bug fix: WITH-FLOAT-TRAPS-MASKED correctly clears accrued traps on MIPS
2334 (fixes issues with floating-point type derivation in the compiler).
2335 * bug fix: FLOAT-NAN-P and FLOAT-TRAPPING-NAN-P now work correctly on MIPS
2337 * bug fix: MIPS context register access now masks to 32 bits (fixing issues
2338 parsing negative-fixnum values for internal-error arguments and escaped
2339 debug variables on 64-bit CPUs).
2340 * bug fix: (SETF SAP-REF-DOUBLE) with constant offset on big-endian MIPS
2341 now works correctly.
2342 * bug fix: Callback parameter (argument) handling on MIPS is now vastly
2344 * bug fix: %DECREMENT-SEMAPHORE adjusts the remaining timeout after a
2347 changes in sbcl-1.3.0 relative to sbcl-1.2.16:
2348 * minor incompatible change: the environment passed to a macro/setf/deftype
2349 expander is not always an object of type SB-KERNEL:LEXENV.
2350 It can be nil, as is permissible by the standard.
2351 * enhancement: ported to ARM64 Linux.
2352 * enhancement: a new interpreter is included which has many benefits
2353 over sb-eval. It is disabled by default. See src/interpreter/README
2354 for instructions to enable it, and further details.
2355 * bug fix: calling COMPILE when SB-EXT:*EVALUATOR-MODE* was :INTERPRET
2356 would fail to perform "normal semantic processing such as macro expansion"
2357 as stipulated by X3J13 issue LOAD-TIME-EVAL.
2358 * bug fix: SB-UNICODE:CONFUSABLE-P no longer treats "<" and the empty
2359 string as confusable. (lp#1504739)
2360 * bug fix: (ASSERT (COMPUTE-IT ...)) would expand incorrectly
2361 if COMPUTE-IT was a local macro that shadowed a global function.
2362 * bug fix: SB-POSIX:CFSETISPEED and SB-POSIX:CFSETOSPEED now work properly
2363 on platforms that use only the minimum specified set of fields in struct
2364 termios (verified on Linux, still known not to work on FreeBSD and NetBSD,
2365 very probably others). (partial fix for lp#1500951)
2367 changes in sbcl-1.2.16 relative to sbcl-1.2.15:
2368 * enhancement: by default, timers with a repeat interval do not "catch up"
2369 by repeatedly calling their function after a clock discontinuity such as a
2370 suspend and resume cycle
2371 * bug fix: correctly restore multiple values on the stack in the presence of
2372 alien calls. (lp#1489590)
2373 * bug fix: MAKE-STRING-OUTPUT-STREAM enforces that :ELEMENT-TYPE
2374 is a subtype of CHARACTER.
2375 * bug fix: an EQL method specializer no longer causes garbage retention
2376 if there are no extant methods using the specializer. (lp#492851)
2378 changes in sbcl-1.2.15 relative to sbcl-1.2.14:
2379 * new feature: DEPRECATION declaration for functions, variables and types
2380 causes {EARLY,LATE,FINAL}-DEPRECATION-WARNING to be signaled when subject
2381 of the declaration is used. Integrated with DESCRIBE, DOCUMENTATION and
2382 SB-CLTL2:{VARIABLE,FUNCTION}-INFORMATION. Documented in the "Deprecation"
2383 section of the manual.
2384 * enhancement: ASDF updated to 3.1.5. (lp#1476867)
2385 * enhancement: definitions within PROGN get proper source locations when
2386 compiled (needs latest Slime to take advantage of this). (lp#1473147)
2387 * enhancement: source locations for DEFCLASS slots now point directly to the
2388 slot definitions, not the whole DEFCLASS form.
2389 * bug fix: better source location in the presence of quoted forms.
2391 * bug fix: better source locations inside backqoute. (lp#1361502)
2392 * bug fix: HANDLER-BIND requires that the handler-function be
2393 a function designator at the time of binding establishment. (lp#1480679)
2394 * bug fix: inlined functions surrounded by nested macrolets are properly
2395 inlined. (lp#309123)
2397 changes in sbcl-1.2.14 relative to sbcl-1.2.13:
2398 * minor incompatible change: The name of a compiled anonymous lambda
2399 as returned by the third value of FUNCTION-LAMBDA-EXPRESSION can have
2400 a lambda-list-like list following the introductory LAMBDA that is not
2401 in general a syntactically valid lambda list. Specifically, it won't
2402 retain default values, supplied-p variables, or &KEY or &AUX bindings.
2403 * enhancement: DESTRUCTURING-BIND has been totally reimplemented from
2404 scratch to address a handful of performance and correctness issues.
2405 Some minor behavioral differences exist regarding order of evaluation
2406 of default forms for unsupplied &OPTIONAL and &KEY arguments
2407 when nested destructuring patterns are involved.
2408 (lp#707556, lp#707573, lp#707578, lp#708051)
2409 * enhancement: DEFCONSTANT and DEFSTRUCT respect package locks. (lp#1186238,
2411 * enhancement: sb-unicode:normalize-string has a new optional argument,
2412 FILTER, a callback which controls which decomposed characters are
2413 collected. Useful for stripping away diacritics more efficiently.
2414 * bug fix: (TYPE-OF ARRAY) for a non-simple array is subject to change
2415 after a call of ADJUST-ARRAY. (lp#1333731)
2416 * bug fix: Dynamic-extent allocation with a loop between allocating a value
2417 and the start of its environment no longer discards the allocated data
2418 when the loop is taken. (lp#1472785)
2419 * bug fix: Variable-reference elimination no longer generates incorrect code
2420 under certain circumstances. (lp#1446891)
2421 * bug fix: variables with EQL types are no longer treated as constants by
2422 VOPs, which caused problems with closures being allocated for such
2423 variables, but they remained unused. (lp#1390149)
2424 * bug fix: Windows installer generates registry key name
2425 correctly. (lp#1476447)
2427 changes in sbcl-1.2.13 relative to sbcl-1.2.12:
2428 * incompatible change: on success, TRY-SEMAPHORE and WAIT-ON-SEMAPHORE
2429 return the new count
2430 * enhancement: WAIT-ON-SEMAPHORE accepts a decrement parameter
2431 * enhancement: JOIN-THREAD allows distinguishing timeout vs. abort in all
2433 * enhancement: On Windows DBG_PRINTEXCEPTION_C is handled and its message is
2434 printed. (lp#1437947)
2435 * bug-fix: TRUENAME works properly on broken symlinks presented as
2436 directories. (lp#1400003)
2437 * bug fix: Inlined DPB and DEPOSIT-FIELD don't interfere with left-to-right
2438 order of argument evaluation. (lp#1458190)
2439 * bug fix: (SETF (LDB (BYTE 1 2 JUNK) X) 0) is rightly rejected.
2440 * bug fix: DEFSETF lambda lists should not permit argument destructuring.
2441 * bug fix: calls to (SETF SLOT-VALUE) on a missing slot would in certain
2442 situations incorrectly return the result of a SLOT-MISSING method
2443 instead of always returning the new value. (lp#1460381)
2444 * bug fix: a DEFMACRO occurring not at toplevel and capturing parts of
2445 its lexical environment (thus being a closure) caused expressions
2446 involving the macro name to cause corruption in the pretty-printer
2447 due to faulty introspection of the lambda list of a closure.
2448 * bug fix: out of line MAP/MAP-INTO check that the results produced by the
2449 function are of the matching sequence type. (lp#1459581)
2450 * bug fix: pretty-printing of '(LET `((,X ,Y)) :B) is handled correctly.
2452 changes in sbcl-1.2.12 relative to sbcl-1.2.11:
2453 * minor incompatible change: the SB-C::*POLICY* variable is no longer
2454 a list. Code which manipulated it as such (including but not limited
2455 to non-bundled releases of ASDF) will need to be revised.
2456 * enhancement: The input stream for COMPILE-FILE implements
2458 * enhancement: EVAL errors that occur by way of LOAD report the starting
2459 line and column number of the erring toplevel form. (lp#565247)
2460 * optimization: better MAP and MAP-INTO on known vector result types.
2461 * bug fix: Read/modify/write macros accessing a place which is a
2462 composition of CAR+CDR operations, such as (SHIFTF (CADR X) (ELT V 0)),
2463 do not access subforms more than once. (lp#1450968)
2464 * bug fix: short form of DEFSETF no longer allows trailing junk.
2465 * bug fix: DEFINE-MODIFY-MACRO respects the provisions of CLHS 5.1.3
2466 regarding argument evaluation order. (lp#1452539)
2467 * bug fix: POP works as specified in CLHS if the setter for its
2468 argument has a side-effect on the existing CAR value. (lp#1454021)
2469 * bug fix: Reading "#()" with a positive numeric argument signals a
2470 reader error. As specified, reading "#1()" has undefined consequences,
2471 so correct portable code should be indifferent to this. (lp#1252100)
2472 * bug fix: Malformed reader conditionals such as "(#-no-such-feature)"
2473 and "(#+sbcl)" no longer parse as NIL. (lp#1454400)
2475 changes in sbcl-1.2.11 relative to sbcl-1.2.10:
2476 * enhancement: SET-PPRINT-DISPATCH will warn when given an expression in
2477 which any part is unrecognizable as a legal type-specifier.
2478 The dispatch table will be altered, but the new entry is disabled.
2479 Subsequent type-defining forms will cause pprint-dispatch tables to
2480 re-examine whether any disabled entries should be enabled. (lp#1429520)
2481 * enhancement: Loading code containing calls to a deprecated function will,
2482 under most circumstances, signal warnings similar to compiling such code.
2483 The usual caveat holds about not detecting calls through a computed name,
2484 as in (funcall (intern "DEPRECATED-FUN" "SB-EXT")).
2485 * enhancement: (SB-EXT:COMPILE-FILE-LINE) is a new macro that expands
2486 to a constant (VALUES integer integer) indicating the source line/column
2487 from which it was read, intended for logging Lisp runtime errors in
2488 a style similar to that afforded by the C preprocessor __LINE__ macro.
2489 Similarly (SB-EXT:COMPILE-FILE-POSITION) returns a position in characters.
2490 * enhancement: improved source locations for VOPs, alien types and
2492 * bug fix: functions in :FINAL deprecation have the correct docstring.
2493 No visible change, as no such functions presently exist. (lp#1439151)
2494 * bug fix: (SETF (FDEFINITION this) (FDEFINITION OTHER)) signals an error
2495 if OTHER names either a macro or special-operator. (lp#1439921)
2497 changes in sbcl-1.2.10 relative to sbcl-1.2.9:
2498 * minor incompatible change: all SOCKINT::WIN32-* functions have been
2499 deprecated with EARLY deprecation state
2500 * minor incompatible change: performing introspection via the system-internal
2501 SB-INT:INFO function could expose that :TYPE :TRANSLATOR is not necessarily
2502 a function, as it always was before. (Affects swank-fancy-inspector)
2503 * enhancement: The value of SXHASH on bit-vectors of length equal to the
2504 word size now depends on the vector's contents instead of being constant;
2505 its value on bit-vectors of length divisible by the word size now depends
2506 also on the contents of the vector's last word.
2507 * bug-fix: sb-bsd-sockets on win32 uses proper C function declarations.
2509 * bug fix: A new dead code elimination phase removes dead code loops
2510 that confuse stack analysis. (lp#1255782, lp#308914)
2511 * bug fix: A toplevel form which was simple enough to bypass the main
2512 compiler in COMPILE-FILE, and which contained an empty SETQ or PROGN
2513 would produce an invalid fasl file. (lp#1427050)
2514 * bug fix: The compiler no longer signals an internal error when
2515 encountering invalid FUNCTION forms like (function 1)
2516 * bug fix: express proper dependencies in the ASDF contrib, to support
2517 systems where make runs in parallel. (lp#1434768; thanks to Nikhil
2520 changes in sbcl-1.2.9 relative to sbcl-1.2.8:
2521 * minor incompatible change and bug fix: unboxed numeric constants
2522 on x86oids are arranged in memory differently, and the disassembler
2523 does not show them separately in DISASSEMBLE, but does
2524 if DISASSEMBLE-CODE-COMPONENT is used. (lp#1421987)
2525 * optimization: The compiler's treatment of type specifiers makes
2526 it slightly faster and more memory-efficient. Portable code
2527 should be indifferent to this change, however, users of
2528 SB-INTROSPECT:FUNCTION-TYPE might notice that (MEMBER T NIL)
2529 and (MEMBER NIL T) are both internally collapsed to the former,
2530 so that the latter can never be obtained as part of an FTYPE.
2531 * optimization: a TYPEP call in which the second argument is not a
2532 QUOTE form but nevertheless recognized as a compile-time constant
2533 might open-code the test. One scenario for this involves backquote,
2534 such as (TYPEP x `(my-type ,some-arg)). Code which relied upon
2535 deferring until runtime should declare (NOTINLINE TYPEP).
2536 [Due to the sematic constraints of DEFTYPE etc in in CLHS 3.2.2.3,
2537 code requiring delayed evaluation could be unportable though.]
2538 * enhancement: unused variables at the top-level are now reported.
2540 * bug fix: DEFCLASS handles cyclic {super,meta}class relations better
2542 * bug fix: compiler no longer signals an error when compiling certain
2543 function calls. (lp#1416704, lp#404441, lp#1417822, lp#1234919)
2544 * bug fix: compiler doesn't stumble on a LOGIOR transform. (lp#1389433)
2545 * bug fix: more robust debugger and backtraces. (lp#1413850, lp#1099500,
2546 lp#1412881, lp#945261, lp#1419205, lp#1409402)
2547 * bug fix: files larger than 4GB can now be compiled.
2548 * bug fix: x86 truncated results from 64-bit foreign functions to 32 bits.
2549 * bug fix: file-position didn't work on large files on win32. (lp#1271545)
2550 * bug fix: callbacks from foreign threads can work without enabling
2552 * bug fix: sb-introspect:function-lambda-list works properly on interpeted
2553 macros. (lp#1387404)
2554 * bug fix: ADJUST-ARRAY properly handles non-adjustable arrays. (lp#886418)
2555 * bug fix: compiler no longer fails to dump a multidimensional array
2556 constant involving a circular reference to itself
2557 * bug fix: conditional and nested DX allocation no longer confuse the
2558 compiler in STACK analysis. (lp#1044465)
2559 * bug fix: sb-rotate-byte constant folding bug fixed. (lp#1423682)
2561 changes in sbcl-1.2.8 relative to sbcl-1.2.7:
2562 * enhancement: better error and warning messages. (lp#1314767, lp#736383)
2563 * enhancement: backtrace for invalid argument count produces the exact
2564 supplied arguments including the extra ones, on x86, x86-64 and ARM.
2565 * enhancement: a STYLE-WARNING is signaled for DEFSTRUCT accessors which
2566 are used before the structure is defined; similarly for the predicate.
2567 * optimization: FORMAT NIL with only ~a and string arguments is transformed
2569 * optimization: POSITION and FIND when inlined into code that is compiled
2570 with qualities of safety < 2 and speed > space will no longer signal
2571 an error on circular lists, but will potentially loop forever if given
2572 no :END constraint. As was always the case, calls that are not inlined
2573 are safe regardless of lexical policy.
2574 * bug fix: CLOS methods compiled with (OPTIMIZE (DEBUG 0))
2575 no longer cause debugger failure when printing a backtrace
2576 * bug fix: more resilience to deleted code. (lp#1308328, lp#1390544)
2577 * bug fix: the CLHS example of MAKE-LOAD-FORM involving TREE-WITH-PARENT
2578 did not work, and now it does.
2580 changes in sbcl-1.2.7 relative to sbcl-1.2.6:
2581 * optimization: returning constant values refers to preboxed constants
2582 more reliably. (lp#1398785)
2583 * enhancement: a STYLE-WARNING is produced if a compiler-macro is defined
2584 for a function after at least one ordinary (not inlined) call to that
2585 function was compiled, indicating a likely compilation order problem.
2586 Likewise a warning ensues if a call is compiled to a function
2587 that is subsequently proclaimed INLINE.
2588 * enhancement: always lose() when something goes wrong while saving a core
2589 (instead of just printing an error on stderr in some situations).
2590 * enhancement: frames in the debugger are now restartable by default.
2591 * bug fix: restore error handling on Windows x86.
2592 * bug fix: MAKE-SEQUENCE detects type errors in its :INITIAL-ELEMENT
2593 at compile-time when possible. (lp#330299)
2594 * bug fix: parsing of malformed type specifiers no longer results
2595 in a memory-fault-error.
2596 * bug fix: LOOP properly destructures nested lists in WITH.
2597 * bug fix: MACROEXPANDing the redefinition of an alien structure type no
2598 longer signals the wrong error.
2599 * bug fix: PROGV doesn't get confused by forced DEBUG 3 (lp#1405456).
2601 changes in sbcl-1.2.6 relative to sbcl-1.2.5:
2602 * enhancement: SERVE-EVENTS uses the poll() system call in lieu of
2603 select() if the OS has the former. Previously poll() was used
2604 only if waiting on exactly one file descriptor.
2605 * enhancement: efficiency of access to untagged structure slots is improved
2606 on x86-64, and the order of slots in memory is exactly as specified by
2607 defstruct, simplifying use of structures as arguments to foreign calls.
2608 * bug fix: SB-DEBUG:ARG now works in all TRACE options which evaluate forms.
2610 * bug fix: GC memory corruption during internal memory handling.
2611 * bug fix: duplicate effective-slot-definition objects as compared
2612 by EQ on name could be present in CLASS-SLOTS of a class whose
2613 metaclass was structure-class or condition-class. (lp#1049423)
2614 * bug fix: HANDLER-BIND with empty bindings works again; regression in
2616 * bug fix: ATOMIC-INCF works on structure slots in interpreted code.
2618 * bug fix: MAKE-ARRAY properly handles character types like (eql #\a) and
2619 (member #\a #\c). (lp#1392068)
2620 * bug fix: READ sometimes accidentally preserved a whitespace character
2621 after a token when it should not have. (lp#327790)
2623 changes in sbcl-1.2.5 relative to sbcl-1.2.4:
2624 * enhancement: sb-bsd-sockets now has basic support for IPv6
2625 * enhancement: An sb-unicode package has been added, containing
2626 many functions related to handling Unicode text
2627 * enhancement: The reader now normalizes symbols to Normalization
2628 Form KC (NFKC). This behavior can be disabled with
2629 SB-EXT:READTABLE-NORMALIZATION
2630 * enhancement: a style-warning is signaled if OPTIMIZE declarations
2631 multiply specify a quality with differing values. (lp#310267)
2632 * bug fix: conservatively pointed to pages wipe out unused dwords so
2633 that they cannot act as false roots in turn.
2634 * bug fix: the walker's handling of lexical variable and symbol-macro
2635 bindings is improved (lp#375326, lp#1368305)
2636 * bug fix: HANDLER-{BIND,CASE} no longer drop into ldb when a clause
2637 contains an undefined condition type; regression in 1.1.19 (lp#1378939)
2638 * bug fix: in interpreted code, inequality predicates did not type-check
2639 arguments that weren't examined, and a 1-argument use of MIN or MAX
2640 accepted a complex number. (lp#1373702)
2641 * bug fix: APROPOS and APROPOS-LIST handle inherited symbols correctly.
2642 (lp#1364413, thanks to Zach Beane)
2644 changes in sbcl-1.2.4 relative to sbcl-1.2.3:
2645 * enhancement: the sequence functions MAP, CONCATENATE and MERGE now call
2646 the new generic functions SEQUENCE:MAP, SEQUENCE:CONCATENATE and
2647 SEQUENCE:MERGE respectively when the specified result type designates an
2649 * bug fix: Wrong binding order of supplied-p parameters in macro lambda
2651 * bug fix: VALIDATE-SUPERCLASS returns T when the superclass is the
2652 universal superclass (lp#1332983)
2653 * bug fix: reading an uninterned symbol whose print name has the
2654 syntax of an integer signals an error. (lp#310062)
2655 * bug fix: the walker is less likely to be confused when walking LET* forms
2656 with special bindings and use of those bindings and others of the same
2658 * bug fix: a rare bug affecting 32-bit platforms resulting in a
2659 fatal condition with the message "Globaldb rehash failure" has been fixed.
2661 changes in sbcl-1.2.3 relative to sbcl-1.2.2:
2662 * enhancement: DOCUMENTATION works on instances of
2663 FUNCALLABLE-STANDARD-CLASS
2664 * enhancement: ASSERT reports arguments of calls to lexical functions in
2665 additional to global functions.
2666 * enhancement: ASDF updated to 3.1.3
2667 * enhancement: UIOP can be loaded without ASDF.
2668 * bug fix: some methods on CHANGE-CLASS did not finalize the new class
2669 before accessing its class-precedence list.
2670 * bug fix: CHANGE-CLASS no longer fails on unbound slots in the source
2672 * bug fix: CHANGE-CLASS signals an appropriate error when the destination
2673 class is a FORWARD-REFERENCED-CLASS.
2674 * bug fix: CHANGE-CLASS no longer signals bogus TYPE-ERRORs for slots for
2675 which initargs have been supplied.
2676 * bug fix: saving cores on ARM was broken since the introduction of GENCGC.
2678 * bug fix: macroexpanding a backquoted expression involving ",."
2679 outside of the compiler failed. (lp#1354623)
2681 changes in sbcl-1.2.2 relative to sbcl-1.2.1:
2682 * incompatible change: the #\` ("backquote") reader macro was reimplemented
2683 to support robust pretty-printing. Reading a form involving #\` produces
2684 an invocation of the QUASIQUOTE ordinary macro which may contain subforms
2685 that are not lists. Code that unportably attempts operations on
2686 un-evaluated forms resulting therefrom, e.g.
2687 (SUBST a b (read-from-string "`(x (,y))"))
2688 might generate incorrect results and/or errors.
2689 * enhancement: support for GNU/kFreeBSD x86.
2690 * enhancement: ATOMIC-INCF and ATOMIC-DECF can operate on (CAR x), (CDR x)
2691 and DEFGLOBAL variables of type fixnum.
2692 * enhancement: arithmetic constant reduction is now performed on defconstant
2693 constants too. (lp#1337069).
2694 * bug fix: certain ftype proclamations containing &optional t &rest t no
2695 longer cause subsequent definitions to signal bogus style-warnings.
2696 * bug fix: #\Bell and #\Bel now read to different characters. (lp#1319452).
2697 * bug fix: CAS SYMBOL-VALUE on locally special variables didn't work.
2700 changes in sbcl-1.2.1 relative to sbcl-1.2.0:
2701 * enhancement: GENCGC is enabled on ARM.
2702 * enhancement: better error reporting for invalid calls to local functions.
2703 * enhancement: support for GNU/kFreeBSD distributions. (lp#1079954, thanks
2705 * enhancement: experimental support for threads on NetBSD/x86-64. (thanks
2706 to Robert Swindells)
2707 * enhancement: support for DragonFly BSD. (lp#1292845, thanks to Vasily
2709 * bug fix: TYPE-OF must not return AND/OR/NOT expressions.
2711 * bug fix: accessing NIL arrays stopped producing errors. (lp#1311421)
2712 * bug fix: DISASSEMBLE no longer prints unwanted stuff. (lp#1251861)
2713 * bug fix: compiling SVREF on unknown types no longer produces scary errors.
2715 * bug fix: assorted LOOP fixes and enhancements. (lp#645534, lp#1322923,
2716 lp#700538, lp#613876, lp#695286, lp#798388)
2717 * bug fix: silence compiler notes from the SEARCH transform. (lp#1071310)
2718 * bug fix: array type intersection handles T and unknown element types
2719 correctly. (lp#1258716)
2720 * bug fix: fix a corner case in array type unparsing that would result in
2721 misleading translations from our internal type representation.
2722 * bug fix: array-rank now sees through union and intersection types.
2724 * bug fix: when DECLARE expressions are in the wrong place, be careful not
2725 to attempt to evaluate the subforms. (lp#573747; thanks to Roman
2727 * bug fix: misplaced and missing declarations in DEFTRANSFORM. (lp#1066451)
2728 * bug fix: FBOUNDP returned NIL for a class of incorrect function names
2729 instead of signaling an error. (lp#1095483)
2730 * bug fix: fix a compile-time AVER in regalloc: lifetime analysis
2731 used to (rarely) introduce duplicate conflict markers in a single
2732 TN/block pair. (lp#1327008)
2734 changes in sbcl-1.2.0 relative to sbcl-1.1.18:
2735 * bug fix: read-time-eval backquote context mixup. (lp#1321047)
2736 * enhancement: when SAVE-LISP-AND-DIE fails due multiple threads, the
2737 report of the signaled conditions lists currently running threads.
2738 * enhancement: ported to ARM linux.
2739 * enhancement: sb-gmp contrib has been updated. (lp#1305266)
2740 * enhancement: new contrib sb-mpfr by Stephan Frank.
2741 * bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE
2742 (lp#1315846, thanks to Mark Cox)
2743 * bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic
2744 function-designator to a function only as needed. (lp#1012335)
2745 * bug fix: remove references to asdf-install from the manual. (lp#1207544,
2746 thanks to Thomas Hlavaty)
2747 * bug fix: handle --without-xxx options to make.sh more carefully.
2748 (lp#1246665, thanks to Richard M Kreuter)
2749 * bug fix: prevent maybe-delete-exit from doing semantically broken things
2750 with local exits. (lp#309099, lp#518099, lp#533930)
2751 * bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required
2752 by AMOP. (lp#861004)
2754 changes in sbcl-1.1.18 relative to sbcl-1.1.17:
2755 * optimization: COERCE is now more effecient for more cases when the type is
2756 known at compile-time.
2758 * bug fix: correctly inherit condition initforms. (lp#1300904)
2759 * bug fix: properly pprint literal functions inside nested lists.
2761 * bug fix: more-correctly handle array-type unity (broken for ages, causing
2762 compilation problems since 1.1.13.x due to smarter TYPEP type propagation,
2763 reported by jasom in #lisp).
2765 changes in sbcl-1.1.17 relative to sbcl-1.1.16:
2766 * enhancement: printing backtraces respects
2767 SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* when printing call arguments
2769 * optimization: defstruct out-of-line accessor are now as fast as inlined.
2771 * bug fix: INVOKE-RESTART-INTERACTIVELY no longer refuses to invoke RESTART
2772 instances with a test-function (reported by Vivitron in #sbcl)
2773 * bug fix: STREAM-ERROR-POSITION-INFO fails in fewer situations (lp#1264902)
2774 * bug fix: Change COND error message (lp#1254511)
2775 * bug fix: LOAD is no longer confused when called on a directory.
2777 * bug fix: MAKE-CONDITION reports names of missing condition classes
2778 properly (lp#1199223)
2779 * bug fix: restore building with clang. (lp#1293643)
2780 * bug fix: restore building on SPARC (broken since 1.1.15).
2781 * bug fix: improved FreeBSD support.
2782 * bug fix: PPC floating point conversion corrupted stack.
2784 changes in sbcl-1.1.16 relative to sbcl-1.1.15:
2785 * minor incompatible change: improve read/print consistency for pathnames on
2786 Win32, by using the circumflex character #\^ as the escape character.
2788 * enhancement: SB-EXT:DEFINE-LOAD-TIME-GLOBAL. (lp#1253688)
2789 * enhancement: Loading fasls with symbols from an undefined package includes
2790 the name of the symbol in the error message.
2791 * bug fix: problems when redefining classes and doing TYPEP on classes
2792 concurrently. (lp#1272742)
2793 * bug fixes to the x86-64 XCHG instruction:
2794 ** it was misencoded when used with RAX, R8-R15 registers. (reported by
2796 ** it was misencoded when used to exchange EAX with itself.
2797 ** the disassembler wrongly printed XCHG RAX, R8 and the corresponding
2798 32- and 16-bit variations as NOP.
2799 * bug fix: the disassembler outputs source annotations in the right place
2800 and no longer randomly drops some of them. (lp#1249205)
2801 * bug fix: fix commutative-arg-swap from introducing undumpable structures
2802 into code, prevent code with errors from being compiled. (lp#1276282)
2803 * bug fix: pathnames with :back in their directory component are succeffully
2805 * bug fix: the deterministic profiler now uses ENCAPSULATE functionality to
2806 wrap functions around. (lp#309086)
2808 changes in sbcl-1.1.15 relative to sbcl-1.1.14:
2809 * new feature: the iterative spilling/coloring register allocator developed
2810 by Alexandra Barchunova during Google Summer of Code 2013 is now merged
2811 in. By default, it only activates for functions that optimize with
2812 (speed 3) and (> speed compilation-speed), but setting
2813 sb-regalloc:*register-allocation-method* to :iterative forces its
2814 execution. The previous behaviour can be obtained by instead setting that
2815 variable to :greedy. Thanks again to Google for their support, and, more
2816 crucially, to Alexandra Barchunova for her hard work.
2817 * optimization: make-array with known element-type and unknown dimensions is
2819 * optimization: make-array with unknown element-type is faster as well.
2821 * enhancement: sb-ext:save-lisp-and-die on Windows now accepts
2822 :application-type argument, which can be :console or :gui. :gui allows
2823 having GUI applications without an automatically appearing console window.
2824 * enhancement: reduced conservativism on GENCGC platforms:
2825 conservative roots must be valid-looking tagged pointers or point
2826 within a code object, not merely point to within the allocated part
2827 of a page, in order to pin a page.
2828 * enhancement: support for "Mac Roman" external format.
2829 * enhancement: encapsulation of named generic functions now happens without
2830 altering the identity of the function bound to the name.
2831 * bug fix: Windows applications without the console window no longer misbehave.
2832 (patch by Wilfredo Velazquez, lp#1256034).
2833 * bug fix: modular arithmetic optimizations do not stumble on dead branches
2834 with bad constants. (reported by Douglas Katzman)
2835 * bug fix: CLISP can be used again as a cross-compilation host.
2836 (Thanks to Vasily Postnicov, lp#1261451)
2837 * bug fix: run-program crashed with :directory nil. (lp#1265077)
2839 changes in sbcl-1.1.14 relative to sbcl-1.1.13:
2840 * optimization: complicated TYPEP tests are less opaque to the type
2841 propagation pass. (lp#1229340)
2842 * optimization: [N]BUTLAST perform a single pass over the list. (lp#1245697)
2843 * optimization: EQUALP on structures with raw slots (double-float/complex)
2844 no longer conses and is faster.
2845 * optimization: RESTART-CASE expands to more compact code.
2846 Thanks to Jan Moringen. (lp#1249055)
2847 * enhancement: Top-level defmethod without defgeneric no longer causes
2848 undefined-function warnings in subsequent forms. (lp#503095)
2849 * enhancement: Better error messages for system errors on Windows.
2850 * enhancement: run-sbcl.sh is usefully handled by rlwrap. Thanks to William
2851 Cushing. (lp#1249183)
2852 * enhancement: new function SB-EXT:ASSERT-VERSION->= accepts a version
2853 specification (multiple integer arguments) and signals a continuable error
2854 if the current SBCL version is lower (older) than the specification.
2856 * enhancement: better ARRAY-RANK result derivation. (lp#1252108)
2857 * bug fix: EQUALP now compares correctly structures with raw slots larger
2859 * bug fix: contribs couldn't be built on Windows with MinGW.
2860 * bug fix: Better pathname handling on Windows. (lp#922117)
2861 * bug fix: OPEN reports a more meaningful error when an existing file is
2862 opened for output with :if-exists :new-version. Thanks to Philip
2863 Munksgaard. (lp#455381)
2864 * bug fix: DEFSTRUCTs with NIL as a slot name no longer cause strange
2865 CLOS-related errors. (lp#633911)
2866 * bug fix: GC deadlocks caused by concurrent consing on Windows.
2868 changes in sbcl-1.1.13 relative to sbcl-1.1.12:
2869 * optimization: better distribution of SXHASH over small conses of related
2871 * other improvements to SXHASH:
2872 ** use the whole of the positive-fixnum range for SXHASH of fixnums
2873 * enhancement: The error message when calling an undefined alien function
2874 includes the name of the function on x86-64.
2875 * enhancement: sb-ext:run-program now supports :environment on Windows.
2876 * enhancement: ASDF is no longer required to load contribs at runtime.
2878 * enhancement: when called with a symbol, FIND-RESTART no longer calls
2879 COMPUTE-RESTARTS, making it faster and cons less (lp#769615)
2880 * enhancement: FIND-RESTART and COMPUTE-RESTARTS handle huge restart
2881 clusters better in some cases
2882 * enhancement: SOME/ANY/other quantification higher-order functions no
2883 longer cons. (lp#1070635)
2884 * bug fix: forward references to classes in fasls can now be loaded.
2886 * bug fix: don't warn on a interpreted->compiled function redefinition
2887 from the same location. (patch by Douglas Katzman, lp#1042405)
2888 * bug fix: Create vectors of proper internal length when reading literal
2889 vectors from FASLs. (Reported by Jan Moringen)
2890 * bug fix: COMPILE can now successfully compile setf functions.
2891 (Reported by Douglas Katzman)
2892 * bug fix: run-program performs more correct escaping of arguments on
2893 Windows. (lp#1239242)
2894 * bug fix: function-lambda-expression on generic functions returns the
2896 * bug fix: (the [type] [constant]) now warns when [constant] matches
2897 [type] except for the number of values. (Reported by Nathan Trapuzzano
2899 * bug fix: signal errors in required cases of slot-definition initialization
2900 protocol. (lp#309072)
2901 * bug fix: run-sbcl.sh works better in the presence of symlinks on OS X.
2902 (thanks to Stelian Ionescu, lp#1242643)
2903 * bug fix: when given a restart object, FIND-RESTART checks whether the
2904 restart is active and, when a condition is supplied, whether the restart
2905 is associated to a different condition (lp#774410)
2907 changes in sbcl-1.1.12 relative to sbcl-1.1.11:
2908 * enhancement: Add sb-bsd-sockets:socket-shutdown, for calling
2909 shutdown(3). (thanks to Jan Moringen, lp#1207483)
2910 * enhancement: document extensible sequences. (thanks to Jan Moringen,
2912 * optimization: EQUAL and EQUALP transforms are smarter.
2913 (thanks to Elias Martenson, lp#1220084)
2914 * optimization: CHAR-EQUAL is faster for constant and base-char arguments.
2915 * bug fix: probe-file now can access symlinks to pipes and sockets in
2916 /proc/pid/fd on Linux. (reported by Eric Schulte)
2917 * bug fix: SBCL can now be built on Solaris x86-64.
2918 * bug fix: Floating point exceptions do not persist on Solaris anymore.
2919 * bug fix: (setf . a) is pprinted correctly (reported by Douglas Katzman).
2920 * bug fix: handle compiler-error in LOAD when it's not run from inside EVAL.
2922 * bug fix: SB-GMP:MPZ-POW no longer segfaults given a non-bignum base.
2923 (thanks to Stephan Frank)
2924 * bug fix: space allocation of result bignums in SB-GMP is more accurate.
2925 (thanks to Stephan Frank, lp#1206191)
2926 * bug fix: sb-safepoint can now reliably handle signal interruptions of
2927 foreign code. (lp#1133018)
2928 * bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback"
2929 constructors no longer fails to merge actual and default initargs
2930 (thanks to Jan Moringen, lp#1179858)
2931 * bug fix: the compiler-macro for MAKE-INSTANCE when emitting "fallback"
2932 constructors handles non-KEYWORD initialization arguments more correctly.
2933 * bug fix: loading the SB-SIMPLE-STREAMS contributed module no longer
2934 clobbers FILE-NAMESTRING. (thanks to Anton Kovalenko, lp#884603)
2935 * bug fix: class definitions with CPLs inconsistent with their metaclasses
2936 are less likely to destroy the object system's integrity. (lp#309076)
2937 * bug fix: restart clause parsing in RESTART-CASE is more in line with the
2938 standard. (lp#1203585, thanks to Jan Moringen)
2939 * bug fix: silence a note from RESTART-CASE under high-SPEED optimization
2940 settings. (lp#1023721)
2941 * bug fix: getting the order of arguments to
2942 SB-MOP:SET-FUNCALLABLE-INSTANCE-FUNCTION wrong produces a sensible error
2943 rather than a failed AVER. (reported by Paul Nathan)
2944 * bug fix: Parsing of &optional/&key/&rest arguments now never overwrites
2945 arguments during copying on x86 and x86-64; it may still happen on other
2946 platforms when there are more fixed arguments than stack slots.
2947 (reported by Jan Moringen)
2949 changes in sbcl-1.1.11 relative to sbcl-1.1.10:
2950 * enhancement: support building the manual under texinfo version 5.
2952 * enhancement: Windows builds no longer display the "Kitten of Death" message.
2953 A warning is instead appended to the regular banner, and may be muted with
2954 --noinform. (lp#728247)
2955 * enhancement: support building under new linker handling of syscalls under
2956 NetBSD. (thanks to Robert Swindells)
2957 * bug fix: undefined function errors are now properly reported on PPC and MIPS.
2958 (regression since 1.1.9)
2959 * bug fix: (funcall (function X junk)) didn't causes an error when X had a
2960 compiler macro. (thanks to Douglas Katzman).
2961 * bug fix: signal a warning when defining a setf-function when a
2962 setf-expander is already present. (thanks to Douglas Katzman).
2963 * bug fix: improved threading on PPC.
2964 * bug fix: ROOM works again on Windows. (lp#1206456)
2965 * bug fix: Streams were flushed even when there was one byte still left in
2966 the buffer. (lp#910213)
2967 * bug fix: OPEN handles correctly when :if-exists and :if-does-not-exist are
2968 either NIL or :ERROR. (reported by Jan Moringen)
2970 changes in sbcl-1.1.10 relative to sbcl-1.1.9:
2971 * enhancement: ASDF has been updated to 3.0.2.
2972 * optimization: stack frames are packed more efficiently on x86oids, which
2973 ought to reduce the frequency of Methuselahn conservative references (it
2974 certainly helps with gc.impure.lisp / BUG-936304 on x86).
2975 * optimization: on x86 and x86-64, integer negation forms like (- x) are now
2976 recognized in modular arithmetic contexts, and compile to native negate,
2977 rather than going through bignums only to keep the low bits.
2978 * bug fix: Compiling potential modularic arithmetic forms does not cause type
2979 errors when some integer types lack lower or upper bounds. (lp#1199127)
2980 * bug fix: Non-trivial modular arithmetic forms are always cut to the right
2981 bitwidth before being used in a non-modular context. (lp#1199428)
2982 * bug fix: Multiple catch/unwind blocks in a single function are now
2983 allocated in the right stack order on win32. (lp#1072739)
2985 changes in sbcl-1.1.9 relative to sbcl-1.1.8:
2986 * new feature: the contrib SB-GMP links with libgmp at runtime to speed
2987 up arithmetic on bignums and ratios. (contributed by Stephan Frank)
2988 * enhancement: disassemble now annotates some previously missing static
2989 functions, like LENGTH.
2990 * enhancement: clean.sh now also cleans doc/internals.
2991 * enhancement: SB-EXT:PRINT-SYMBOL-WITH-PREFIX can be used within ~// to
2992 print a symbol with a package prefix.
2993 * enhancement: The debugger and backtracing are more robust against buggy
2994 PRINT-OBJECT methods.
2995 * optimization: calls to static functions on x86-64 use less instructions.
2996 * optimization: compute encode-universal-time at compile time when possible.
2997 * optimization: when referencing internal functions as #'x, don't go through
2998 an indirect fdefn structure.
2999 * optimization: SLEEP doesn't cons on non-immediate floats and on ratios.
3000 * optimization: (mod fixnum) type-checks are performed using one unsigned
3001 comparison, instead of two.
3002 * optimization: enable more modular arithmetic transforms in the presence of
3004 * optimization: bitwise OR forms can now trigger modular arithmetic as well,
3005 when the result is known to be negative.
3006 * optimization: recognize more cases of useless LOGAND/LOGIOR with constants.
3007 * optimization: comparisons between rationals and constant floats or between
3008 integers and constant ratios are now converted to rationals/integers at
3010 * optimization: Smaller and faster DOUBLE-FLOAT-LOW-BITS on x86-64.
3011 * bug fix: problems with NCONC type derivation (reported by Jerry James).
3012 * bug fix: EXPT type derivation no longer constructs bogus floating-point
3013 types. (reported by Vsevolod Dyomkin)
3014 * bug fix: sb-bsd-sockets has correct declaration of the canonname field of
3015 addrinfo. (lp#1187041, patch by Jerry James)
3016 * bug fix: uninitialized type-error conditions can now be printed.
3018 * bug fix: tests for sb-bsd-sockets no longer use a predefined port for
3019 listening, allowing several tests to run in parallel.
3020 * bug fix: during disassembly to *COMPILER-TRACE-OUTPUT* instruction
3021 prefixes as used on x86 and x86-64 no longer sometimes print incorrectly.
3023 * bug fix: Specialised SIMD-PACK types can be negated.
3024 * bug fix: Modular arithmetic is more robust. (incidentally fixes another bug
3025 reported by Eric Marsden)
3026 * bug fix: FP return values from foreign calls are always rounded to single
3027 or double float precision on x87.
3028 * bug fix: Known-safe vector access on x86oids should not fail spuriously
3029 when the index is of the form (+ x constant-positive-integer).
3030 * bug fix: Remove GPL-licensed files from source distribution. (lp#1185668)
3031 * bug fix: backtrace printer no longer tries to create very large lists when
3032 the arg-count register is clobberred by other code. (lp#1192929)
3033 * bug fix: x86 should never signal an FP exception while boxing an FP value,
3034 a situation that lands us into ldb.
3036 changes in sbcl-1.1.8 relative to sbcl-1.1.7:
3037 * notice: The implementation of MAP-ALLOCATED-OBJECTS (the heart of
3038 ROOM, plus a few SB-INTROSPECT functions) has been completely
3039 rewritten; it may now exhibit different bugs than before.
3040 * new feature: minimal runtime/compiler intrastructure support for SSE
3041 SIMD values, as SB-EXT:SIMD-PACK. Enabled on x86-64 via the build-time
3042 feature :sb-simd-pack. This should enable intrinsics extensions as
3043 libraries, without patching SBCL itself. Thanks to Alexander Gavrilov
3044 for maintaining a branch for so long.
3045 * enhancement: RUN-PROGRAM supports a :DIRECTORY argument to set
3046 the working directory of the spawned process.
3047 (lp#791800) (patch by Matthias Benkard)
3048 * enhancement: boxed vectors (vectors of T or of FIXNUM) can now be
3049 stack-allocated on PPC.
3050 * enhancement: "fixed objects" can now be stack-allocated on PPC.
3051 * enhancement: WITH-PINNED-OBJECTS no longer conses on PPC/GENCGC.
3052 * enhancement: (sb-introspect:find-definition-sources-by-name x :vop) now
3053 also returns VOPs which do not translate any functions, and finds
3054 defoptimizer types ir2convert and stack-allocate-result.
3055 * enhancement: better type derivation for APPEND, NCONC, LIST.
3057 * enhancement: MAP-ALLOCATED-OBJECTS (the heart of ROOM) now walks the
3058 heap in a manner similar to the GC rather than its previous ad-hoc
3059 scheme, and is therefore no less and possibly more accurate.
3060 * fixes and enhancements related to Unicode:
3061 ** the character database information has been updated to Unicode 6.2;
3062 ** support for canonical and compatibility decomposition of characters has
3063 been added, along with support for primary composition;
3064 ** support for Unicode normalization forms of strings (NFC, NFKC, NFD and
3065 NFKD) has been included;
3066 ** querying the character database for code points not defined by Unicode
3067 gives less wrong answers (lp#1178038, reported by Ken Harris)
3068 * enhancement: print intermediate evaluation results for some ASSERTed
3069 expressions. (lp#789497) (patch by Alexandra Barchunova)
3070 * enhancement: x86-64 disassemblies are annotated with unboxed constant
3071 values when there are references to (RIP-relative) unboxed constants.
3072 * bug fix: type derivation for LOG{AND,IOR,XOR} scales linearly instead
3073 of quadratically with the size of the input in the worst case.
3075 * bug fix: handle errors when initializing *default-pathname-defaults*,
3076 sb-ext:*runtime-pathname*, sb-ext:*posix-argv* on startup, like character
3077 decoding errors, or directories being deleted.
3078 * bug fix: Loading a core with a discontiguous dynamic space now correctly
3079 computes the amount of dynamic space used.
3080 * bug fix: disassembler missing ",8" on SHLD
3081 * bug fix: backtracing through INTERNAL-ERROR signal handlers on systems
3082 that provide an "invalid" stack frame link for the signal handler
3083 itself now use the saved-fp-and-pc mechanism to pick up from the stack
3084 frame in the interrupt (signal) context. This is known to affect
3085 threaded FreeBSD/x86-64.
3086 * bug fix: some LOOP statements couldn't be compiled.
3088 * bug fix: sb-sequence:dosequence works on literal vectors.
3089 * bug fix: errors in generic arithmetic show the assembly routine's
3090 caller on x86 and x86-64. (lp#800343)
3091 * bug fix: Compile-time type errors should never result in COMPILE-FILE
3092 failure. (lp#943953)
3093 * bug fix: Known bad local calls do not cause strange failures when
3094 emitting or dumping code. (lp#504121)
3095 * bug fix: Multiply-inlined structure constructor don't cause IR2-time
3096 codegen errors: type checks are inserted as necessary. (lp#1177703)
3097 * bug fix: Unsigned modular arithmetic is correctly converted into signed
3098 modular arithemtic (mostly to exploit fixnum-width VOPs). (lp#1026634)
3099 * bug fix: a combination of inlined local function with &optional and
3100 recursion no longer causes undescriptive compiler errors. (lp#1180992)
3101 * bug fix: sub-word BOOLEAN alien types now disregard higher order bits
3102 when testing for non-zero-ness.
3103 * bug fix: (CONCATENATE 'null ...) no longer fails for generic sequences.
3105 * bug fix: Type mismatch for the value of conditional expressions are
3106 correctly reported when detected at compile-time, instead of complaining
3107 about a constant NIL (similar for non-EQ-comparable catch tags).
3108 * bug fix: Referring to INLINE global functions as values should not result
3109 in a compilation failure. (lp#1035721)
3110 * optimization: faster ISQRT on fixnums and small bignums
3111 * optimization: faster and smaller INTEGER-LENGTH on fixnums on x86-64.
3112 * optimization: On x86-64, the number of multi-byte NOP instructions used
3113 for code alignment is now always minimal.
3114 * optimization: On 64-bit targets, the compiler generates much faster
3115 code for type checks for types known at compile time that are smaller
3116 than (SIGNED-BYTE 64) or (UNSIGNED-BYTE 64) and larger than FIXNUM, and
3117 their COMPLEX variants.
3118 * optimization: On x86 targets, more uses of ALIEN-FUNCALL during cross
3119 compilation now inline the INVOKE-WITH-SAVED-FP-AND-PC dance.
3120 * optimization: ROOM no longer conses so egregiously on non-x86oid
3122 * optimization: associative bitwise operations reassociate patterns like
3123 (f (f x k1) k2) to expose (f x (f k1 k2)). Same for + and * of
3125 * optimization: quasiquote expressions now perform more constant folding,
3126 instead of consing equal lists at runtime. (lp#1026439)
3127 * optimization: local call analysis of inlined higher-order function
3128 should converge more quickly, resulting in better code for complex
3130 * optimization: On x86-64, medium (word-sized but wider than 32 bits)
3131 integer constants are handled more cleverly, especially when they
3132 can be represented as sign-extended (signed-byte 32). (Based on a
3133 patch by Douglas Katzman)
3134 * optimization: IF/IF conversion should reliably result in sane code
3135 when (some of) the results of the inner IF are always false or
3137 * optimization: On x86oids, variable right shifts of machine words are
3138 compiled into straight SAR/SHR, instead of going through the generic
3141 changes in sbcl-1.1.7 relative to sbcl-1.1.6:
3142 * enhancement: TRACE :PRINT-ALL handles multiple-valued forms.
3144 * bug fix: :allocation slot option works for condition slots
3146 * bug fix: redefining conditions does not lead to multiple evaluations of
3147 hairy slot initfunctions anymore (lp#1164969)
3148 * bug fix: CLASS-DIRECT-DEFAULT-INITARGS now works for condition classes
3150 * bug fix: function constants now work as initforms and default initarg
3151 values of conditions (lp#539517)
3152 * bug fix: svref/(setf svref) on symbol macros don't crash the compiler
3153 anymore. (Minimal test case provided by James M. Lawrence on sbcl-devel)
3154 * bug fix: no more bogus ## references when pretty printing backquoted
3155 forms with non-trivial structure sharing. (lp#1161218)
3156 * bug fix: Don't signal an error on (setf (documentation nil 'function)
3157 "doc"). Signal a style-warning instead when trying to set documentation
3158 of NIL for all other documentation types. (Reported by Zach
3159 Beane; regression since 2e52fa05.)
3160 * bug fix: modular arithmetic involving large constants and conditionals
3161 should no longer result in spurious dead code elimination. (Reported by
3163 * bug fix: our mach exception handler can seemingly called very early in
3164 the program execution process on OS X 10.8.0. Try and handle that case
3165 robustly, without potentially leaking mach ports too much.
3166 * optimization: LOGBITP and LOGTEST optimizations from x86 ported to x86_64.
3168 changes in sbcl-1.1.6 relative to sbcl-1.1.5:
3169 * enhancement: the continuable error when defknown-ing over extant
3170 fndb entries can be ignored by passing :overwrite-fndb-silently t
3171 as a keyword argument to sb-c:defknown (after attributes). Useful
3172 to allow defknown to be re-loaded. Use with :allow-other-keys t
3173 for backward compatibility.
3174 * optimization: compiler is much faster in compiling SVREF and (SETF SVREF)
3176 * bug fix: Prevent a make-array transform from modifying source forms
3177 causing problems for inlined code. Thanks to Bart Botta.
3178 (regression since 1.0.42.11-bis)
3179 * bug fix: clear-output calls the correct gray stream routine,
3180 sb-gray:stream-clear-output. (lp#1153257)
3181 * bug fix: an error is signalled for an invalid format modifier: ~<~@>.
3183 * bug fix: Better error messages for package operations (lp#1154776)
3184 * bug fix: delete-package on a nonexistent package should signal a cerror.
3185 (regression since 1.0.37.44).
3186 * bug fix: accessing &MORE (stack allocated &REST) arguments checks bounds.
3187 (lp#1154946, lp#1072112)
3188 * bug fix: compiling make-array no longer signals an error when the
3189 element-type is an uknown type, a warning is issued instead.
3190 Thanks to James Kalenius (lp#1156095)
3191 * bug fix: SEARCH on generic (non-VECTOR non-LIST) sequence types no longer
3192 produces wrong results for some inputs. (Thanks to Jan Moringen.)
3195 changes in sbcl-1.1.5 relative to sbcl-1.1.4:
3196 * minor incompatible change: SB-SPROF:WITH-PROFILING no longer loops
3198 * new feature: package local nicknames. See manual for details.
3199 * new feature: SB-EXT:MAP-DIRECTORY provides a powerful interface for
3200 directory traversal: it is the backend used by SBCL for CL:DIRECTORY.
3201 * enhancement: easier to use restarts for resolving name-conflicts
3202 resulting from IMPORT, EXPORT, or USE-PACKAGE.
3203 * enhancement: variant DEFPACKAGE forms now signal a full error with
3204 restarts provided for resolving the situation. (lp#891351)
3205 * enhancement: by setting SB-EXT:*ON-PACKAGE-VARIANCE* appropriately variant
3206 DEFPACKAGE forms can now signal a full error with restarts provided for
3207 resolving the situation. See manual for details. (lp#891351)
3208 * enhancement: make-random-state now uses CryptGenRandom as a seed on Windows.
3209 (Thanks to Anton Kovalenko.) (lp#1102748)
3210 * enhancement: backtrace improvements
3211 ** secondary CLOS dispatch functions have better debug names (lp#503081)
3212 ** easier to read method names in backtraces. See
3213 SB-DEBUG:*METHOD-FRAME-STYLE*.
3214 ** SB-DEBUG:PRINT-BACKTRACE and SB-DEBUG:LIST-BACKTRACE are available as
3215 forwards-compatible replacements for SB-DEBUG:BACKTRACE and
3216 SB-DEBUG:BACKTRACE-AS-LIST.
3217 ** SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS** has been deprecated, as the same
3218 information is available in less intrusive form as frame annotations.
3219 * enhancement: SB-POSIX now provides MAP-ANON.
3220 * enhancement: test-suite results are colorized, failures in red, unexpected
3221 success in green. Works on Windows and on terminals with ANSI escape code
3222 support. Can be disabled with --no-color.
3223 * optimization: SB-CONCURRENCY:QUEUE implementation is more efficient.
3224 (thanks to James M. Lawrence)
3225 * bug fix: no more unused variable style warnings from RESTART-CASE
3226 macroexpansion (lp#1113859)
3227 * bug fix: no more unused variable style warnings when loading
3228 sb-bsd-sockets.asd (lp#1114681)
3229 * bug fix: deleting a package removes it from implementation-package
3230 lists of other packages.
3231 * bug fix: SB-SPROF:WITH-PROFILING is now usable in the Slime REPL on Darwin.
3232 This does not fix the occasional "interrupt already pending" issue, though.
3233 * bug fix: (setf (documentation 'x 'function)) and
3234 (setf (documentation #'x t)) set documentation in different places.
3235 (regression since 1.0.43.63)
3236 * bug fix: build on newer glibc. (lp#1095036)
3238 changes in sbcl-1.1.4 relative to sbcl-1.1.3:
3239 * optimization: LOOP expressions using "of-type character" have slightly
3240 more efficient expansions.
3241 * bug fix: very long (or infinite) constant lists in DOLIST do not result
3242 in very long compile times or heap exhaustion anymore. (lp#1095488)
3243 * bug fix: `#3(1) is read as #(1 1 1), not as #(1). (lp#1095918)
3244 * bug fix: adjust-array ignored :initial-element for simple-vectors.
3246 * bug fix: optimizations to MAKE-INSTANCE with literal list initargs no
3247 longer cause infinite loops (on circular data) or violate eqlity
3248 constraints. (lp#1099708)
3249 * bug fix: FIRST was not being open coded. (regression from 1.1.0)
3251 changes in sbcl-1.1.3 relative to sbcl-1.1.2:
3252 * enhancement: warnings about bad locale settings, LANG, LC_CTYPE, etc.
3254 * enhancement: support for C-c to interrupt the foreground thread
3255 on Windows. (Thanks to Anton Kovalenko.)
3256 * enhancement: STDCALL alien callbacks. (Thanks to Anton Kovalenko.)
3257 * enhancement: Safepoint builds on POSIX platforms can now optionally be
3258 built without pseudo-atomic sequences and their run-time overhead.
3259 * enhancement: Threads created outside of Lisp can enter Lisp through
3260 alien callbacks and appear as Lisp threads for the duration of that
3261 function invocation. On safepoint builds only.
3262 * enhancement: Miscellaneous improvements to namestrings and underlying
3263 calls to OS functions for file system access on Windows. (Thanks to
3265 * enhancement: The MSI installer support for Windows now uses Windows
3266 Installer XML at least version 3.5 and includes various usability
3267 improvements. (Thanks to Dmitry Kalyanov and Anton Kovalenko.)
3268 * enhancement: The sb-bsd-sockets contrib now supports non-blocking-mode
3269 on Windows. (Thanks to Anton Kovalenko.)
3270 * enhancement: The Windows backend now supports the x86-64 platform.
3271 (Thanks to Anton Kovalenko.)
3272 * bug fix: fasls are now once again directly executable (on platforms
3273 supporting shebang lines, with a suitably-installed sbcl).
3274 * bug fix: make.sh --help no longer runs clean.sh. (lp#937001)
3275 * bug fix: Fix CAS access to slots of direct instances of structure classes
3276 in the presence of subclasses sharing the same conc-name.
3277 * bug fix: Logical pathname namestrings on Windows have been changed to
3278 be lower-case, to minimize differences between POSIX and Windows.
3280 changes in sbcl-1.1.2 relative to sbcl-1.1.1:
3281 * notice: System requirements for SBCL on Microsoft Windows: Windows NT 5.1
3282 or newer (Windows XP, Server 2003) is required. Support for Windows 2000
3283 (NT 5.0) is no longer being maintained.
3284 * notice: Starting with this version, SBCL on Windows no longer supports
3285 building with disabled thread support.
3286 * enhancement: frlocks have been added to SB-CONCURRENCY contrib module.
3287 * enhancement: New feature sb-dynamic-core allows the runtime to be
3288 rebuilt or relocated without requiring changes to the core file on
3289 all linkage table platforms. Required on Windows. (Thanks to Anton
3291 * enhancement: Console I/O streams use UCS-2. (Thanks to Anton Kovalenko.)
3292 * enhancement: I/O on Windows unnamed pipes is interruptible
3293 asynchronously using interrupt-thread, timers when running on Windows NT
3294 version 6.1 or newer (Windows 7, Server 2008 R2). (Thanks to Anton
3296 * enhancement: Support for the experimental safepoint-based stop-the-world
3297 protocol on the PowerPC platform.
3298 * bug fix: Non-blocking reads from the Windows console were not necessarily
3299 non-blocking. Thanks to Anton Kovalenko. (lp#308923)
3300 * bug fix: stability of threads on Windows has been improved upon through
3301 an updated stop-the-world protocol (thanks to Anton Kovalenko).
3303 changes in sbcl-1.1.1 relative to sbcl-1.1.0:
3304 * enhancement: WITH-COMPILATION-UNIT no longer grabs the world-lock.
3305 (COMPILE and COMPILE-FILE still do.)
3306 * optimization: the SPARC backend now supports the precise generational
3307 (GENCGC) garbage collection. Enabled by default on Solaris/SPARC and
3308 Linux/SPARC. Thanks to Raymond Toy (via CMUCL).
3309 * enhancement: add experimental support for the SB-THREAD feature and the
3310 timer facility on Windows. Thanks to Dmitry Kalyanov and Anton Kovalenko.
3311 Threads are enabled by default, and this version of SBCL is considered
3312 to be the last and final release to officially support building with
3314 * optimization: The compiler no longer rotates loops in some cases where
3315 this transformation actually lead to worse code being generated.
3316 * bug fix: SB-CLTL2:MACROEXPAND-ALL correctly handles shadowing of
3317 symbol-macros by lexical bindings.
3318 * bug fix: stack allocation was prevented by high DEBUG declaration in
3320 * bug fix: SB-EXT:GC-LOGFILE signaled an error when no logfile was set.
3321 (thanks to SANO Masatoshi)
3322 * bug fix: PARSE-NATIVE-NAMESTRING performed non-native parsing when
3323 :JUNK-ALLOWED was true.
3324 * bug fix: type derivation inferred overly conservative types for
3325 unions of array types. (lp#1050768)
3327 changes in sbcl-1.1.0 relative to sbcl-1.0.58:
3328 * enhancement: New variable, sb-ext:*disassemble-annotate* for controlling
3329 source annotation of DISASSEMBLE output. Defaults to T.
3330 * enhancement: TIMEOUT arguments added to WITH-MUTEX and WITH-RECURSIVE-LOCK, and
3331 WAIT-P argument added to WITH-RECURSIVE-LOCK.
3332 * enhancement: SB-EXT:ATOMIC-PUSH and SB-EXT:ATOMIC-POP allow atomic operations
3334 * enhancement: Optional features (not enabled by default) allow the
3335 use of signals for inter-thread synchronization to be reduced on certain
3336 supported platforms (currently Linux, Solaris, and FreeBSD on x86 and
3337 x86-64). Set (and :sb-thread :sb-safepoint :sb-thruption :sb-wtimer)
3338 to test these experimental features. Known remaining bugs include minor
3339 thread safety issues, less timely freeing of memory by GC, and certain
3340 (not yet optimally low) runtime overhead. Thanks to Anton Kovalenko.
3341 * optimization: CL:SORT and CL:STABLE-SORT of lists are faster and use fewer
3342 comparisons, particularly on almost-sorted inputs.
3343 * bug fix: Reading floats with large exponents no longer takes too much time
3344 before reporting that the exponent is too large.
3345 * bug fix: SB-BSD-SOCKETS:SOCKET-RECEIVE with a UDP socket now works
3346 correctly when the received datagram is larger than the provided buffer.
3347 (lp#1023438, thanks to Robert Uhl)
3348 * bug fix: SB-EXT:GET-CAS-EXPANSION returned a bogus read-form when given
3349 a SYMBOL-VALUE form with a constant symbol argument.
3350 * bug fix: SB-EXT:GET-CAS-EXPANSION signaled an error when a macro expanding
3351 into a DEFCAS defined place was used as the place.
3352 * bug fix: FIND and POSITION signaled a type-error when non-bits where looked
3353 for from bit-vectors.
3354 * bug fix: a race condition around thread creation could (in SBCL 1.0.57)
3355 lead to internal errors or crashes (lp#1058799).
3356 * documentation: a section on random number generation has been added to the
3359 changes in sbcl-1.0.58 relative to sbcl-1.0.57:
3360 * enhancement: implicit generic function warnings now specify the package
3361 in which the new generic function is being created.
3362 * enhancement: SB-EXT:ATOMIC-UPDATE makes it easy to perform non-destructive
3363 updates of CAS-able places (similar to Clojure's swap!).
3364 * enhancement: run-program no longer decodes and re-encodes environment when
3365 :environment argument is not provided. (lp#985904)
3366 * enhancement: errors during compiler-macro expansion no longer cause
3367 runtime errors, only a compile-time warning, otherwise behaving as if
3368 the compiler macro had declined to expand.
3369 * optimization: On x86-64, code alignment of block headers is done with
3370 multi-byte NOPs now instead of repetitions of the single-byte NOP.
3371 * optimization: MAP-INTO is substantially faster when the target sequence is
3372 of unknown type; mapping into lists is no longer O(N^2). (lp#1001043,
3373 thanks to James M. Lawrence)
3374 * optimization: the compiler no longer heap-conses to check exits in cases
3375 where the exit function is dynamic extent, or when it can prove the exit
3376 function cannot escape. (lp#1002534)
3377 * optimization: SB-SEQUENCE:DOSEQUENCE is faster on vectors of unknown
3378 element type, and vectors that aren't SIMPLE-ARRAYs.
3379 * optimization: CL:SORT and CL:STABLE-SORT are more efficient in execution
3380 speed (around 1/3 the time in some cases), and a little better in terms of
3381 comparison calls. (Thanks to Takeru Ohta)
3382 * bug fix: On SPARC, a limitation on the number of code constants emittable
3383 by the compiler has been lifted, allowing certain long functions to
3384 compiled and assembled which had previously been unsupported; fixes
3385 cl-bench on this ISA (lp#1008996).
3386 * bug fix: potential for infinite recursion during compilation of CLOS slot
3387 typechecks when dependency graph had loops. (lp#1001799)
3388 * bug fix: error forms reported with some program-errors were not escaped
3390 * bug fix: functions from EVAL are now on more equal footing with functions
3391 from COMPILE. (lp#1000783, lp#851170, lp#922408)
3392 * bug fix: ENSURE-GENERIC-METHOD-COMBINATION accepts method combination
3393 objects as its :METHOD-COMBINATION argument, not just lists designating
3394 method combinations. (lp#936513)
3395 * bug fix: run-program no longer unconditionally uses /tmp/ for temporary
3397 * bug fix: restore build on solaris/sparc. (lp#1008506)
3398 * bug fix: an issue with LDB in the PowerPC backend has been resolved;
3399 this fixes an issue found with cl-postgres (thanks to Tomas Hlavaty).
3400 * bug fix: compiler-macro lambda-lists specifying non-keyword symbols
3401 as keyword arguments no longer accidentally match unevaluated symbols
3403 * bug fix: FORMAT used to loop infinitely in some cases when a COLINC
3404 parameter was zero, now it signals an error. (lp#905817, fixed since
3406 * bug fix: run-program with :pty t no longer makes the pty as the process's
3407 controling terminal.
3408 * bug fix: spawning threads on OS X 10.8 no longer crashes the process
3411 changes in sbcl-1.0.57 relative to sbcl-1.0.56:
3412 * RANDOM enhancements and bug fixes:
3413 ** bug fix: the range and distribution of random integers could be
3414 catastrophically wrong when the compiler derived the type of its
3415 argument as a disjoint set of small integers.
3416 ** bug fix: the distribution of random integers is now completely
3417 uniform even when the specified limit is not a power of two.
3418 (Previously some values could be about 0.1 % more probable than
3419 others in the worst case.) (lp#309467)
3420 ** RANDOM on large integer arguments is generally faster and conses
3421 less than before; this is visible for fixnums above a length of
3422 about 24 bits, but extremely so for bignums: the old implementation
3423 used time and space quadratical in the size of the argument there,
3424 the new one is linear.
3425 * enhancement: redesigned protocol for quitting SBCL. SB-EXT:EXIT is the new
3426 main entry point, SB-EXT:QUIT is deprecated.
3427 * enhancement: additions to the SB-THREAD API: RETURN-FROM-THREAD,
3428 ABORT-THREAD, MAIN-THREAD-P, and MAIN-THREAD.
3429 * enhancement: FASL loading no longer grabs the world-lock.
3430 * enhancement: GENCGC reclaims space more aggressively when objects being
3431 allocated are a large fraction of the total available heap space.
3433 * enhancement: backtraces show the correct number of arguments for frames
3434 called with too many arguments.
3435 * enhancement: support for abort(3), exit(3), and _exit(2) has been added to
3437 * enhancement: ASDF has been updated 2.21.
3438 * optimization: fewer uses of full calls to signed modular functions.
3440 * optimization: typechecking alien values is typically 5 x faster.
3441 * optimization: FDEFINITION, SYMBOL-FUNCTION, MACRO-FUNCTION, and FBOUNDP
3443 * bug fix: file compilation performance issues when dumping subtypes
3444 of CHARACTER (lp#994487)
3445 * bug fix: fixed disassembly of some SSE instructions on x86-64.
3446 * bug fix: SB-SIMPLE-STREAMS signals an error for bogus :CLASS arguments in
3447 OPEN. (lp#969352, thanks to Kambiz Darabi)
3448 * bug fix: CASE normal-clauses do not allow T and OTHERWISE as keys.
3450 * bug fix: (SETF (FIND-CLASS X) NIL) removed proper name of the underlying
3451 classoid even if X was not the proper name of the class. (lp#941102)
3452 * bug fix: declaration leakage between lexical environments due to careless
3453 use of NCONC in MAKE-LEXENV. (lp#924276)
3454 * bug fix: ENSURE-DIRECTORIES-EXIST now works when
3455 *default-pathname-defaults* contains NAME or TYPE components.
3456 * bug fix: PPRINT couldn't print improper lists with CARs being some symbols
3457 from CL package, e.g. (loop . 10).
3458 * bug fix: run-program with existent or non-existent files for :output or
3459 :input when :if-output-exists or :if-input-does-not-exist are NIL properly
3460 returns NIL instead of signalling an obscure error.
3461 * bug fix: fix miscompilation of some logand forms with large constant
3462 arguments. (lp#974406)
3463 * bug fix: account for funcallable-instance objects properly in ROOM.
3464 * bug fix: incorrect octets reported for c-string decoding errors.
3466 * bug fix: miscompilation of LDB on the PowerPC platform. (thanks to Bruce
3468 * bug fix: better input error reporting for COMPILE-FILE. (lp#493380)
3469 * bug fix: default size of non-nursery generations has been shrunk on GENCGC,
3470 allowing faster release of memory back to the OS. (lp#991293)
3471 * bug fix: WITH-DEADLINE (:SECONDS NIL :OVERRIDE T) now drops any
3472 existing deadline for the dynamic scope of its body.
3473 * bug fix: compiler-internal interval arithmetic needed to be more
3474 conservative about open intervals when operated on by monotonic but not
3475 strictly-monotonic functions. (lp#975528)
3476 * bug fix: copy-tree caused stack exhaustion on long linear lists, and now
3477 it's also slightly faster. (lp#998926)
3478 * bug fix: better error messages for malformed declarations.
3480 * bug fix: define-condition didn't return the name of the defined condition.
3482 ** improved docstrings: REPLACE (lp#965592)
3484 changes in sbcl-1.0.56 relative to sbcl-1.0.55:
3485 * bug fix: fix copy-structure. When copying from stack to heap, garbage
3486 could end up in the heap making GC unhappy.
3487 (Thanks to James Knight, lp#911027)
3489 ** SBCL can now be built using Clang.
3490 ** ASDF has been updated 2.20.
3491 * bug fix: compiler errors when weakening hairy integer types. (lp#913232)
3492 * bug fix: don't complain about a too-hairy lexical environment for inlining
3493 when the function has never been requested for inlining. (lp#963530)
3495 changes in sbcl-1.0.55 relative to sbcl-1.0.54:
3496 * enhancements to building SBCL using make.sh:
3497 ** --fancy can be specified to enable all supported feature enhancements.
3498 ** --with-<feature> and --without-<feature> can be used to specify
3499 which features to build with.
3500 ** --arch option can be used to specify the architecture to build for.
3501 (Mainly useful for building 32-bit SBCL's on x86-64 hosts, not
3502 full-blows cross-compilation.)
3503 * enhancement: extended package prefix syntax <pkgname>::<form-in-package>
3504 which allows specifying name of the default interning package for the
3506 * enhancement: when *READ-EVAL* is true, arrays with element type other than
3507 T can be printed readably using #.-based syntax. (Thanks to Robert Brown)
3508 * enhancement: MAKE-ALIEN signals a storage-condition instead of returning a
3509 null alien when malloc() fails. (lp#891268)
3510 * enhancement: SB-EXT:PRINT-UNREADABLY restart for PRINT-NOT-READABLE
3511 conditions can be conveniently accessed through function with the same
3512 name, analogously to CONTINUE.
3513 * enhancement: SB-EXT:*SUPPRESS-PRINT-ERRORS* can be used to suppress errors
3514 from the printer by type, causing an error marker to be printed instead.
3515 (Thanks to Attila Lendvai)
3516 * enhancement: BACKTRACE and DESCRIBE now bind *PRINT-CIRCLE* to T, and
3517 generally behave better when errors occur during printing.
3518 * enhancement: the test runner now takes a --report-skipped-tests argument
3519 to report the individual tests skipped as well as the number of skipped
3521 * enhancement: undefined functions now appear in backtraces as ("undefined
3522 function") instead of ("bogus stack frame") on x86oids.
3523 * enhancement: detected deadlocks no longer cause stderr to be spammed, and
3524 deadlock errors are reported in an easier-to-decipher manner.
3525 * enhancement: DESCRIBE on type designators reports the expansion in more
3527 * enhancement: SBCL now provides either an explicit :BIG-ENDIAN or
3528 :LITTLE-ENDIAN in *FEATURES*, instead of :BIG-ENDIAN being implied by lack
3529 of the :LITTLE-ENDIAN feature. (Thanks to LuÃs Oliveira, lp#901661)
3530 * enhancement: better disassembly of segment-prefixes on x86 and other
3531 instruction prefixes (e.g. LOCK) on x86 and x86-64.
3532 * optimization: FIND and POSITION on bit-vectors are orders of magnitude
3533 faster (assuming KEY and TEST are not used, or are sufficiently trivial.)
3534 * optimization: SUBSEQ on vectors of unknown element type is substantially
3536 * optimization: specialized arrays with non-zero :INITIAL-ELEMENT can
3537 be stack-allocated. (lp#902351)
3538 * optimization: the compiler is smarter about representation selection for
3539 floating point constants used in full calls.
3540 * optimization: the compiler no longer refuses to coerce large fixnums to
3541 single floats inline, except on x86 where this limitation is still
3543 * optimization: truncation operations on integers with constant divisor
3544 arguments 1 and -1 are optimized away.
3545 * bug fix: deadlock detection could report the same deadlock twice, for
3546 two different threads. Now a single deadlock is reported exactly once.
3547 * bug fix: interval-arithmetic division during type derivation did not
3548 account for signed zeros.
3549 * bug fix: compiler error when typechecking a call to a function with
3550 non-constant keyword arguments.
3551 * bug fix: misoptimization of TRUNCATE causing erratic behaviour.
3552 * bug fix: condition slot accessors no longer cause undefined function
3553 style-warnings when used in the :REPORT clause of the DEFINE-CONDITION
3554 form that defines them. (lp#896379)
3555 * bug fix: DEFGENERIC warns about unsupported declarations, as specified
3556 by ANSI. (lp#894202)
3557 * bug fix: SUBTYPEP tests involving forward-referenced classes no longer
3558 bogusly report NIL, T.
3559 * bug fix: bogus style-warnings for DEFMETHOD forms that both declared some
3560 required arguments ignored and performed assignments to others.
3562 * bug fix: *EVALUATOR-MODE* :COMPILE treated (LET () ...) identically
3563 to (LOCALLY ...) leading to internally inconsistent toplevel-formness.
3564 * bug fix: non-toplevel DEFSTRUCT signaled a style warning for unknown type.
3565 * bug fix: redefining a function whose previous definition contained an
3566 unknown type no longer causes a style-warning. (lp#806243)
3567 * bug fix: undefined functions now appear in backtraces as ("undefined
3568 function") instead of ("bogus stack frame") on non-x86oids.
3569 * bug fix: backtraces are no longer cut off at ("undefined function") when
3570 called under certain circumstances (involving a caller-allocated stack
3572 * bug fix: RUN-PROGRAM leaked a file-descriptor per call on non-Windows
3573 systems. (regression since 1.0.53)
3574 * bug fix: GC deadlocks from dladdr() on certain platforms.
3575 * bug fix: broken standard streams no longer automatically cause recursive
3576 errors on debugger entry.
3577 * bug fix: build ignored --dynamic-space-size=<size> argument to make.sh
3578 (regression since 1.0.53)
3579 * bug fix: attempts to stack allocate a required argument to a function with
3580 an external entry point caused compiler-errors.
3581 * bug fix: compiler notes for failed stack allocation for a function argument
3582 no longer claim to be unable to stack allocate the function.
3583 * bug fix: COERCE now signals a type-error on several coercions to
3584 subtypes of CHARACTER that are forbidden according to ANSI. (lp#841312)
3585 * bug fix: missing failure-to-stack-allocate compiler notes for some
3586 forms of MAKE-ARRAY with dynamic-extent. (lp#902351)
3587 * bug fix: some of the compile-time side-effects of DEFCLASS were not caught
3589 * bug fix: Proper handling of --dynamic-space-size option on 32 bit platforms.
3591 changes in sbcl-1.0.54 relative to sbcl-1.0.53:
3592 * minor incompatible changes:
3593 ** RENAME-FILE on a symbolic links used to rename the linked-to file
3594 instead of the link.
3595 ** DELETE-DIRECTORY on symbolic link to a directory used to delete the
3596 directory, but now signal an error instead. Use TRUENAME to resolve the
3597 pathname if you wish to delete the linked directory, and DELETE-FILE if
3598 you wish to delete the
3599 ** The internal SB-THREAD::SPINLOCK API has been deprecated, and using
3600 symbols associated with it will trigger a compile-time warning.
3601 * thread-related enhancements:
3602 (This work has been funded by the SBCL Threading 2011 IndieGoGo campaign.
3603 Many thanks to generous donors!)
3604 ** Threading is now more reliable on non-Linux platforms. We still don't
3605 consider threads on non-Linux platforms good enough to enable them by
3606 default, but they're in a clearly better shape now.
3607 ** Deadlines supported now on all platforms.
3608 ** All blocking functions in the threading API now have a :TIMEOUT
3610 ** Semaphore notification objects have been added to SB-THREAD.
3611 ** SB-CONCURRENCY contrib now includes Allegro-style GATE objects.
3612 ** SB-EXT:COMPARE-AND-SWAP has been extended to support SLOT-VALUE,
3613 STANDARD-INSTANCE-ACCESS, and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
3614 ** Users can now defined new places usable with SB-EXT:COMPARE-AND-SWAP
3615 using an API anologous to defining new SETFable places.
3616 * GC-related enhancements and bug fixes:
3617 ** --dynamic-space-size and --control-stack-size now understand Kb, Mb,
3618 and Gb suffixes. Default is megabytes as before.
3619 ** on GENCGC targets, the default dynamic space size is now 512Mb for
3620 32-bit systems, and 1Gb for 64-bit systems. (OpenBSD/x86-64 is the only
3621 exception, defaulting to mere 444Mb to fit under default ulimits.) The
3622 new defaults are in place to prevent hitting swap on low-end systems.
3623 Use build-time option --dynamic-space-size to build an SBCL with
3624 another default, or the runtime option to adjust the size at startup: a
3625 good size is at most equal to the amount of physical memory the system
3627 ** on GENCGC targets, nursery and generation sizes now default to 5% of
3629 ** on GENCGC targets, SB-KERNEL:MAKE-LISP-OBJ no longer categorically
3630 refuses to create SIMPLE-FUN objects.
3631 ** on 64-bit GENCGC targets, setting the nursery size above 4Gb now works.
3633 ** on CHENEYGC targets, SB-KERNEL:MAKE-LISP-OBJ now does the same
3634 validation of pointer objects as GENCGC does, instead of a
3635 comparatively weak bounds-check against the heap spaces.
3636 * SB-BSD-SOCKETS bug fixes:
3637 ** GET-PROTOCOL-BY-NAME had a significant memory leak.
3638 ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS small amounts of memory on
3639 systems with getaddrinfo().
3640 ** GET-HOST-BY-NAME and GET-HOST-BY-ADDRESS weren't thread or interrupt
3641 safe outside systems with getaddrinfo().
3642 * enhancement: ASDF has been updated 2.019.
3643 * enhancement: special-case TCO prevention for functions which never return
3644 extended to untrusted types, keeping one more frame's worth of debug
3645 information around in many cases.
3646 * enhancement: debug-names of anonymous and local function are more
3647 descriptive. Affects backtraces and SB-SPROF results. (lp#805100)
3648 * enhancement: on win32, ABS of complex floats guards better against
3649 overflows. (lp#888410)
3650 * enhancement: RUN-PROGRAM now distinguishes exec() failing from child
3651 process exiting with code 1. (lp#676987)
3652 * enhancement: convenience function SET-SBCL-SOURCE-LOCATION for informing
3653 the system where on the filesystem the SBCL sources themselves are
3654 located. (Thanks to Zach Beane)
3655 * enhancement: the compiler is now able to derive tighter bounds for
3656 floating point numbers in some cases. (Thanks to Lutz Euler, lp#894498)
3657 * bug fix: on 64-bit targets, atomic-incf/aref does index computation
3658 correctly, even on wide-fixnum builds. (lp#887220)
3659 * bug fix: (DIRECTORY "foo/*/*.*") did not follow symlinks in foo/ that
3660 resolved to directories.
3661 * bug fix: type mismatch when assigning to lexical variables no longer
3662 result in fasl-dumping internal type objects. (lp#890750)
3663 * bug fix: type mismatch on (SETF AREF) and function return values no
3664 longer result in fasl-dumping internal type objects.
3665 * bug fix: With several combinations of argument types, for example (EXPT
3666 <integer> <(complex double)>), EXPT now uses double-precision throughout
3667 instead of partially calculating only to single-precision. (lp#741564;
3668 thanks to Lutz Euler)
3669 * bug fix: SYMBOL-VALUE-IN-THREAD is no longer able to construct bogus
3670 objects when interrupted by GC on PPC.
3672 changes in sbcl-1.0.53 relative to sbcl-1.0.52:
3673 * enhancement: on 64-bit targets, in src/compiler/generic/early-vm.lisp,
3674 the parameter n-fixnum-tag-bits may now vary from 1 (fixnum =
3675 (signed-byte 63)) to 3 (fixnum = (signed-byte 61)) at build-time.
3676 * enhancement: SB-EXT:WAIT-FOR allows waiting for arbitrary events.
3677 * minor(?) incompatible(?) change: The default fixnum width on 64-bit
3678 targets is now 63 bits (up from 61).
3679 * enhancement: DESCRIBE now reports a lambda-list and source location
3680 for complext setf-expanders.
3681 * bug fix: PUSH, PUSHNEW, POP, REMF, INCF, DECF, DEFINE-MODIFY-MACRO,
3682 GETF, LOGBITP, LDB, and MASK-FIELD now arrange for non-primary values
3683 of multiple-valued places to be set to NIL, instead of signalling an
3684 error (per a careful reading of CLHS 5.1.2.3).
3685 * bug fix: floating-point traps now work on darwin/x86 and /x86-64.
3686 * bug fix: repair crash in x86oid darwin signal handling emulation
3687 when built with certain compilers.
3688 * bug fix: SB-ROTATE-BYTE misrotated to the right when using constant
3689 rotation arguments on x86-64. (lp#882151)
3690 * bug fix: low-level control flow optimisations could result in bogus
3691 code in functions with tail and non-tail calls to local functions on
3692 x86oids. (lp#883500)
3693 * bug fix: on SPARC/:sb-unicode, avoid crashing the assembler by trying
3694 to emit literal characters > (code-char 4095), for comparisons with
3695 constant characters.
3696 * bug fix: ROOM reported only the low 32 bits of dynamic space usage
3697 on 64 bit platforms. (lp#881445)
3698 * bug fix: DELETE-FILE did not MERGE-PATHNAMES, making it possible to
3699 delete the wrong file when using relative pathnames. (lp#882877)
3700 * bug fix: optimized SEARCH of vectors-on-vectors mishandled zero-length
3701 sequences and :KEY NIL.
3703 changes in sbcl-1.0.52 relative to sbcl-1.0.51:
3704 * enhancement: ASDF has been updated to version 2.017.
3705 * enhancement: the --core command line option now accepts binaries with
3707 * enhancement: when built with :sb-core-compression, core files (regular
3708 or executable) can be compressed with zlib. Use the :COMPRESSION
3709 argument to SAVE-LISP-AND-DIE to specify a compression level.
3710 * enhancement: --[no-]merge-core-pages determines whether the runtime
3711 hints the operating system that identical core pages between SBCL
3712 processes should share the same physical memory. Default is to only
3713 enable this for compressed cores.
3714 * optimization: SLEEP no longer conses.
3715 * optimization: *PRINT-PRETTY* no longer slows down printing of strings
3716 or bit-vectors when using the standard pretty-print dispatch table.
3717 * bug fix: non-function FTYPE declarations no longer cause a compiler-error.
3719 * bug fix: compiler-errors causes by MEMBER types in conjunction with with
3720 AREF, CHAR, etc. (lp#826971)
3721 * bug fix: compiler-errors causes by integer arguments with composed of
3722 multiple ranges to ARRAY-IN-BOUNDS-P. (lp#826970)
3723 * bug fix: ,@ and ,. now signal a read-time error for certain non-list
3724 expressions. (lp#770184)
3725 * bug fix: complex single float literals are correctly aligned when used
3726 as arguments of arithmetic operators.
3727 * bug fix: on 32-bit platforms, rounding of double floats larger than a
3728 fixnum is correct. (reported by Peter Keller)
3729 * bug fix: stray FD-HANDLERs are no longer left lying around after unwinds
3730 from RUN-PROGRAM. (lp#840190, reported by Dominic Pearson; fix from Max
3732 * bug fix: redefining classes such that slots with custom allocation are
3733 added or removed works again.
3735 changes in sbcl-1.0.51 relative to sbcl-1.0.50:
3736 * minor incompatible change: SB-BSD-SOCKET socket streams no longer
3737 participate in SERVE-EVENT by default: pass :SERVE-EVENTS T to
3738 MAKE-SOCKET-STREAM if using SERVE-EVENT.
3739 * enhancement: added support for socket keepalive timeout intervals
3740 and probe counts on Linux.
3741 * enhancement: building 32-bit SBCL on Linux/x86-64 now works without a
3742 chroot. (Use "SBCL_ARCH=x86 sh make.sh" to build.)
3743 * enhancement: added new toplevel options --quit and --non-interactive
3745 * enhancement: the Windows port of SBCL now builds and runs on Wine
3746 (thanks to Anton Kovalenko).
3747 * enhancement: more, and more correct, SSE instruction definitions on
3748 x86-64 (thanks to Alexander Gavrilov).
3749 * enhancement: SB-EXT:SPIN-LOOP-HINT assembles to an instruction designed
3750 to help the processor execute spin loops, when applicable. Currently
3751 implemented for x86 and x86-64.
3752 * optimization: unsigned integer divisions by a constant are implemented
3753 using multiplication (affects CEILING, FLOOR, TRUNCATE, MOD, and REM.)
3754 * optimization: improved type-derivation for LOAD-TIME-VALUE.
3755 * bug fix: correct RIP offset calculation in SSE comparison and shuffle
3756 instructions. (lp#814688)
3757 * bug fix: COERCE to unfinalized extended sequence classes now works.
3758 (reported by Jan Moringen; lp#815155)
3759 * bug fix: a compiler error during typecheck generation, reported by Eric
3760 Marsden. (lp#816564)
3761 * bug fix: obsolete instance protocol fires when shared slots are added
3763 * bug fix: fixed-format floating point printing with scaling factors.
3765 * bug fix: using GCC >= 4.6 to build SBCL on x86 no longer breaks
3766 backtraces. (lp#818460)
3767 * bug fix: better backtraces for interrupted syscall frames on x86.
3769 * bug fix: SSE comparison instructions can be disassembled even when one
3770 operand is in memory. (lp#814702)
3771 * bug fix: incomplete writes when not using SERVE-EVENTS. (lp#820599)
3772 * bug fix: MULTIPLE-VALUE-BIND + VALUES -> LET conversion could lose derived
3773 type information associated with the VALUES form.
3774 * bug fix: broken warnings/errors for type-errors involving LOAD-TIME-VALUE
3776 * bug fix: OPEN :IF-EXISTS :APPEND now returns correct FILE-POSITION before
3777 first write (lp#561642).
3778 * bug fix: compiled closures from EVAL could not be DESCRIBEd. (lp#824974)
3779 * bug fix: bound propagation involving conversion of large bignums to
3780 floats no longer signals a SIMPLE-TYPE-ERROR, reported by Lutz Euler.
3782 * bug fix: &REST to &MORE conversion still works in unsafe call to known
3783 functions; reported by Lutz Euler (lp#826459).
3784 * bug fix: bogus deadlocks from interrupts and GCs. (lp#807475, regression
3787 changes in sbcl-1.0.50 relative to sbcl-1.0.49:
3788 * enhancement: errors from FD handlers now provide a restart to remove
3789 the offending handler.
3790 * enhancement: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works on structure
3792 * enhancement: location of user or system initialization file can now easily
3793 be customized for saved cores. See: SB-EXT:*USERINIT-PATHNAME-FUNCTION*
3794 and SB-EXT:*SYSINIT-PATHNAME-FUNCTION*.
3795 * enhancement: SB-EXT:MAKE-THREAD accepts an argument list designator for
3796 the thunk, as a keyword argument, :arguments.
3797 * enhancement: constraint propagation is simplified (and sped up) when
3798 COMPILATION-SPEED > SPEED.
3799 * enhancement: SB-ALIEN exports alien type specifiers SIZE-T and OFF-T.
3800 * enhancement: debugger understands &MORE arguments better.
3801 * optimization: extracting bits of a single-float on x86-64 has been
3802 optimized. (lp#555201)
3803 * optimization: MAP and MAP-INTO are more efficient for non-simple vectors,
3804 when (> SPEED SPACE).
3805 * optimization: local call trampolines (x86 and x86-64) are emitted
3807 * optimization: implicit value cells for dynamic-extent closed-over bindings
3808 on x86 and x86-64 can hold unboxed values as well.
3809 * meta-optimization: improved compilation speed, especially for large
3810 functions. (lp#792363 and lp#394206)
3811 * bug fix: bound derivation for floating point operations is now more
3812 careful about rounding possibly closing open bounds. (lp#793771)
3813 * bug fix: SB-POSIX:SYSCALL-ERROR's argument is now optional. (accidental
3814 backwards incompatible change in 1.0.48.27)
3815 * bug fix: occasional debugger errors in when a type-error occured in a
3816 function with dynamic-extent &rest list.
3817 * bug fix: &optional and &key supplied-p arguments in DEFSTRUCT
3818 boa-construtors can be used to initialized structure slots.
3819 * bug fix: FMAKUNBOUND removes the MACRO-FUNCTION, should one exist.
3820 (lp#795705, regression)
3821 * bug fix: DIRECTORY works better on logical pathnames.
3822 * bug fix: RUN-PROGRAM no longer fails spuriously when argument strings
3823 are of the order of ARRAY-TOTAL-SIZE-LIMIT. (lp#787237)
3824 * bug fix: the compiler no longer constant-folds NaNs in
3825 MAKE-{SINGLE,DOUBLE}-FLOAT. (lp#486812)
3826 * bug fix: FORMAT now handles floating point rounding correct, eg.
3827 (format nil "~,1F" 0.01) => "0.0" instead of "0.01" as previously.
3829 * bug fix: style warning during lambda-list introspection of generic
3830 functions with both optional and key argments.
3831 * bug fix: regalloc doesn't barf on unused TNs due to type-directed constant
3832 folding. (lp#729765)
3833 * bug fix: Fixed an off-by-one in MAP-ALLOCATED-OBJECTS that might have caused
3836 changes in sbcl-1.0.49 relative to sbcl-1.0.48:
3837 * minor incompatible change: WITH-LOCKED-HASH-TABLE no longer disables
3838 interrupts for its body.
3839 * enhancement: source locations are now available for files loaded as
3840 source, compile-time-too evaluation, and initialization files.
3841 * enhancement: WITH-COMPILATION-UNIT :SOURCE-NAMESTRING allows providing
3842 virtual source-file information, eg. overriding input-file of COMPILE-FILE
3843 when a temporary file is used for compilation.
3844 * enhancement: ASDF has been updated to version 2.015.3.
3845 * enhancement: backtraces involving frames from the default evaluator are
3847 * enhancement: RUN-PROGRAM works with user-defined binary input and output
3849 * enhancement: more informative compile-time warnings and runtime errors for
3850 type-errors detected at compile-time.
3851 * enhancement: deadlock detection for mutexes and spinlocks.
3852 * enhancement: dynamic-extent for &rest lists stack allocate only their
3853 spines, not their argumets. While portable code should not rely on this,
3854 particularly in combination with inlining, it should make dynamic-extent
3855 easier to use safely.
3856 * enhancement: SB-POSIX improvements:
3857 ** WNOHANG and WUNTRACED are exported.
3858 ** SYSCALL-ERROR now also provides the name of the failing system call.
3859 * enhancement: --script improvements:
3860 ** errors on standard input, output, and error streams are handled and
3861 cause scripts to exit silently, making them easier to use in shell
3863 ** backtraces from scripts now go to standard error instead of the
3864 terminal even if one is available.
3865 ** --script can be an argument, causing the script to be loaded from
3867 * enhancement: MAKE-ALIEN-STRING provides an easy way to transport lisp
3868 strings to foreign memory.
3869 * enhancement: (SETF GC-LOGFILE) allows logging garbage collections to
3870 a file, making it easier to understand heap dynamics.
3871 * optimization: using a &REST argument only in APPLY or VALUES-LIST calls
3872 allows the compiler to automatically elide rest-list allocation so long as
3873 the call sites are in functions that the compiler knows cannot escape.
3875 * optimization: CALL-NEXT-METHOD using explicit arguments is faster,
3876 especially in safe code when none of the required arguments have changed
3878 * bug fix: blocking reads from FIFOs created by RUN-PROGRAM were
3879 uninterruptible, as well as blocking reads from socket streams created
3880 with for which :SERVE-EVENTS NIL. (regression from 1.0.42.43)
3881 * bug fix: SET-SYNTAX-FROM-CHAR now removes dispatch-macro character syntax
3882 from the to-char if the from-char is not a dispatch-macro character.
3883 * bug fix: references to undefined variables in function calls that are
3884 optimized away now signal a runtime error. (lp#722734)
3885 * bug fix: miscompilation of MULTIPLE-VALUE-CALL when asserting derived
3886 types from a function defined in the same file. (regression from
3888 * bug fix: TRULY-THE forms are now macroexpandable and setf-expandable.
3890 * bug fix: spurious errors during QUIT when standard streams were closed.
3892 changes in sbcl-1.0.48 relative to sbcl-1.0.47:
3893 * incompatible change: SB!KERNEL:INSTANCE-LAMBDA, deprecated for over five
3894 years, is now no longer supported.
3895 * enhancement: read() and write() have been added to SB-POSIX.
3896 * enhancement: types of DEFSTRUCT constructors are proclaimed more
3897 accurately, allowing better typechecking of call-sites.
3898 * enhancement: errors during compile-time-too processing (i.e. EVAL-WHEN)
3899 are no longer caught. (reverted to pre 1.0.34 behaviour)
3900 * optimization: slightly faster ISQRT. (lp#713343)
3901 * bug fix: better support for Solaris /bin/sh in sh-based tests.
3902 * bug fix: TRACE behaves better when attempting to trace undefined
3903 functions. (lp#740717)
3904 * bug fix: missed optimizations for (FUNCALL (LAMBDA ...) ...) in comparison
3905 to (FUNCALL #'(LAMBDA ...) ...).
3906 * bug fix: ((LAMBDA ...) ...) forms with invalid argument counts resulted in
3907 a compile-time error. (lp#720382)
3908 * bug fix: forms such as (FUNCALL (FUNCTION NAME OOPS) ...) were compiled
3910 * bug fix: less verbose source forms for functions from EVAL. (lp#747485)
3911 * bug fix: sense of SLOT-BOUNDP-USING-CLASS was inverted in a MAKE-INSTANCE
3912 optimization. (regression from 1.0.45.18/1.0.46.15)
3913 * bug fix: package locks did not protects against compile-time side-effects
3914 of DEFUN. (lp#675584)
3915 * bug fix: --dynamic-space-size argument is validated more carefully.
3917 * bug fix: memory fault from printing a malformed simple-condition.
3919 * bug fix: redefining classes so that slot-definition classes change now
3920 engages the obsolete instance protocol. (lp#766271)
3921 * bug fix: constant improper lists could break source coverage recording.
3923 * bug fix: compiling calls to eg. MEMBER with massive constant list arguments
3924 could exhaust stack.
3926 changes in sbcl-1.0.47 relative to sbcl-1.0.46:
3927 * bug fix: fix mach port rights leaks in mach exception handling code on
3928 darwin/x86 and /x86-64. (thanks to Willem Oudshoorn for motivation and the
3930 * enhancement: --script muffles style-warnings and compiler notes. (lp#677779)
3931 * enhancement: redefinition warnings for macros from different files. (lp#434657)
3932 * enhancement: better MACHINE-VERSION on Darwin x86 and x86-64. (lp#668332)
3933 * enhancement: (FORMAT "foo" ...) and similar signal a compile-time warning. (lp#327223)
3934 * enhancement: no more "in: LAMBDA NIL" messages from the compiler for forms
3935 processed using EVAL -- now the appropriate toplevel form is reported instead.
3936 * enhancement: more legible style-warnings for inappropriate IGNORE and IGNORABLE
3937 declarations. (lp#726331)
3938 * enhancement: :NOT-NULL option has been added to alien C-STRING type to indicate
3939 that NIL/NULL is excluded from the type.
3940 * enhancement: SB-INTROSPECT:MAP-ROOT allows mapping over pointers contained in
3942 * optimization: SLOT-VALUE &co are faster in the presence of SLOT-VALUE-USING-CLASS
3943 and its compatriots.
3944 * optimization: core startup time is reduced by 30% on x86-64. (lp#557357)
3945 * bug fix: SB-DEBUG:BACKTRACE-AS-LIST guards against potentially leaking
3946 stack-allocated values out of their dynamic-extent. (lp#310175)
3947 * bug fix: attempts to use SB-SPROF for wallclock profiling on threaded
3948 x86-64 builds caused a type-error.
3949 * bug fix: calling COMPILE with something else than a lambda-expression as the
3950 second argument reports a more sensible error. (lp#718905)
3951 * bug fix: invalid combinations of :PREDICATE and :TYPE options in DEFSTRUCT
3952 are detected. (lp#520607)
3953 * bug fix: constant keyword argument checking didn't take :ALLOW-OTHER-KEYS
3955 * bug fix: SLOT-BOUNDP information is correct during MAKE-INSTANCE in the
3956 presence of (SETF SLOT-VALUE-USING-CLASS) and SLOT-BOUNDP-USING-CLASS
3957 methods. (regression from 1.0.45.18)
3958 * bug fix: INITIALIZE-INSTANCE :AROUND methods supplying initargs via
3959 CALL-NEXT-METHOD work correctly. (regression from 1.0.45.19)
3960 * bug fix: several foreign functions accepting string also accepted NIL and
3961 consequently caused a memory fault at 0 now signal a type-error instead.
3963 * bug fix: under rare circumstances, constraint propagation could rewrite a
3964 variable reference to refer to a variable not in scope, causing an error
3965 during physical environment analysis when attempting to close over the
3966 variable. (lp#551227)
3967 * bug fix: SIMPLE-CONDITION :FORMAT-CONTROL defaults to NIL.
3969 changes in sbcl-1.0.46 relative to sbcl-1.0.45:
3970 * enhancement: largefile support on Solaris.
3971 * enhancement: SB-PROFILE:REPORT now supports :LIMIT and :PRINT-NO-CALL-LIST
3972 arguments (lp#710017)
3973 * enhancement: SB-PCL:+SLOT-UNBOUND+ is exported, making it possible to
3974 distinguish unbound instance slots when using STANDARD-INSTANCE-ACCESS
3976 * optimization: ERROR and CERROR are approximately 5 times faster.
3977 * optimization: optimized constructors are used for MAKE-INSTANCE of classes
3978 with applicable non-standard (SETF SLOT-VALUE-USING-CLASS),
3979 SLOT-BOUNDP-USING-CLASS, and INITIALIZE-INSTANCE :AROUND methods, speeding
3980 up instance creation in those cases.
3981 * optimization: arithmetic operations with multiple constant arguments in now
3982 have them reduced at compile-time. (lp#676414)
3983 * optimization: determining current character position on string-streams for
3984 pretty-printing was overly slow.
3985 * bug fix: local tail calls to DYNAMIC-EXTENT functions can no longer cause
3986 lifetime analysis to overwrite closed-over variables (lp#681092).
3987 * bug fix: encoding errors from some multibyte external formats such as EUC-JP
3988 were not handled correctly (lp#713063).
3989 * bug fix: printing waitqueue objects without setting *PRINT-CIRCLE* to T is now
3991 * bug fix: Solaris/x86-64 wasn't getting built with lutex support by
3992 mistake. (lp#667297).
3993 * bug fix: CONSTANTLY generated functions had bogus lambda-lists. (lp#713626)
3994 * bug fix: RUN-PROGRAM :PTY option was racy on OpenBSD. (lp#669485)
3995 * bug fix: UNINTERN takes a symbol, not a symbol designator -- could previously
3996 unintern the wrong symbol with the same name. (lp#693796)
3997 * bug fix: COPY-PPRINT-DISPATCH always has access to a pristine table,
3998 making it possible to restore the initial table if it has been messed up.
4001 changes in sbcl-1.0.45 relative to sbcl-1.0.44:
4002 * enhancement: ~/ and ~user/ are treated specially in pathnames.
4003 Refer to documentation for details.
4004 * enhancement: ASDF has been updated to version 2.010.
4005 * optimization: mutated closed-over variables that are only accessed by
4006 DYNAMIC-EXTENT closures (currently only FLET and LABELS functions
4007 declared to be DYNAMIC-EXTENT) are stored directly in their containing
4008 stack frame, rather than allocating a VALUE-CELL (lp#586103).
4009 * optimization: UNWIND-PROTECT cleanup functions are now declared
4011 * bug fix: backtracing function with &REST arguments now shows the full
4012 argument list. (lp#310173)
4013 * bug fix: return types for functions with complex lambda-lists are now
4014 derived properly (lp#384892)
4015 * bug fix: when SPEED > SPACE compiling CONCATENATE 'STRING with constant
4016 long string arguments slowed the compiler down to a crawl.
4017 * bug fix: closure VALUE-CELLs are no longer stack-allocated (lp#308934).
4018 * bug fix: non-standard MAKE-METHOD-LAMBDA methods could break RETURN-FROM
4019 in the DEFMETHOD body.
4020 * bug fix: #<SB-C::DEFINED-FUN ...> should no longer appear in compiler
4021 messages, being instead replaced with the corresponding function name.
4022 * bug fix: don't derive overly complex unions of numeric types for arithmetic
4023 operators. (lp#309448)
4025 changes in sbcl-1.0.44 relative to sbcl-1.0.43:
4026 * enhancement: RUN-PROGRAM accepts :EXTERNAL-FORMAT argument to select the
4027 external-format for its :INPUT, :OUTPUT, AND :ERROR :STREAMs.
4028 * enhancement: ALLOCATION-INFORMATION also provides the page the object
4030 * enhancement: default dynamic-space size can be configured at build-time
4031 without touching source, using the --dynamic-space-size argument to make.sh.
4032 * enhancement: DESCRIBE recognizes symbols naming optimization policy
4033 qualities, and mentions ALWAYS-BOUND declarations.
4034 * enhancement: ATOMIC-INCF now supports AREF of (SIMPLE-ARRAY SB-EXT:WORD (*))
4036 * enhancement: ASDF has been updated to 2.009.
4037 * enhancement: the system detects known type-erros in calls better,
4038 signalling a full warning about violated proclaimed FTYPEs and violations
4039 of derived FTYPEs within the same file, including self-calls.
4040 * enhancement: new function: SB-EXT:DELETE-DIRECTORY is now provided.
4041 * optimization: constant-folding exploits numeric and character types, in
4042 addition member types.
4043 * optimization: numeric, character and member types that are inhabited by
4044 exactly one value are tested with EQL.
4045 * optimization: more conditional branches are eliminated during IR1.
4046 Branches are simplified before performing if/if-conversion, and simple
4047 equivalent branches (that only read the same constant or variable) are
4049 * improvements to the Windows port:
4050 ** change: canonical unparsing form for pathname namestrings now uses / as
4051 directory separator. NATIVE-NAMESTRING still uses \ as the separator.
4052 ** bug fix: stackoverwriting due to incorrect usage of PeekConsoleInput
4053 on Windows. (thanks to Kalyanov Dmitry)
4054 ** bug fix: build now works on cygwin with GCC 4.x installed. (thanks to
4056 ** bug fix: run-sbcl.sh now works on Cygwin. (thanks to Kalyanov Dmitry)
4057 * bug fix: compiler failed to derive the result-type of MAKE-ARRAY as
4058 (AND VECTOR (NOT SIMPLE-ARRAY)) when appropriate. (lp#309130)
4059 * bug fix: (THE (VALUES ...)) in LOAD-TIME-VALUE caused a compiler-error.
4061 * bug fix: interrupts arriving during CL:OPEN caused an error.
4062 * bug fix: overeager character buffering could cause input to block
4063 spuriously when reading from a pipe (lp#643686)
4064 * bug fix: more efficient timer expiry should avoid starvation on systems
4065 where number of SIGALRMs per second is restricted. (lp#375515)
4066 * bug fix: non-unicode builds no longer fail (broken since 1.0.36.15).
4067 * bug fix: compile-times no longer scale linearly with the size of
4068 quoted lists in source-code. (lp#654289)
4069 * bug fix: better errors for unknown external-formats in OPEN. (lp#561974)
4070 * bug fix: DEBUG>SPEED no longer degrades ALIEN-FUNCALL performance quite
4071 so badly. (lp#654485)
4072 * bug fix: SB-INTROSPECT:FIND-DEFINITION-SOURCES-BY-NAME no longer signals
4073 an error for eg. STRUCTURE. (lp#458015)
4074 * bug fix: LOOP WITH NIL = ... signalled an unused variable style-warning.
4075 (lp#613871, thanks to Roman Marynchak)
4076 * bug fix: more reliable &REST list type derivation. (lp#655203)
4077 * bug fix: PPRINT-LOGICAL-BLOCK multiply-evaluated :PER-LINE-PREFIX,
4078 and issued pointles code-deletion notes for it, :PREFIX, and :SUFFIX.
4079 * bug fix: the compiler didn't utilize the proclaimed ftype for functions
4080 also declared NOTINLINE. (lp#655581)
4081 * bug fix: the compiler could attempt to emit constant left shifts of
4082 greater value than n-word-bits. (lp#309063)
4083 * bug fix: (SETF SYMBOL-FUNCTION) and (SETF FDEFINITION) clear derived
4084 type information for the function being set. (lp#659220)
4085 * bug fix: the system used to signal bogus STYLE-WARNINGs when functions
4086 containing self-calls were recompiled with a new signature, and failed
4087 to warn when a self-call using the old signature was left in. (lp#655126)
4088 * bug fix: incorrect FILE-POSITION on streams opened using :EXTERNAL-FORMAT
4089 :DEFAULT when the default external had character size other than 8 bits.
4091 * bug fix: derived types of functions in the same file were implicitly
4092 trusted, leading to potential heap corruption when those function were
4093 defined incompatibly. (lp#657499)
4094 * bug fix: existing ASDF source registries are ignored when building
4095 contribs (lp#659105)
4096 * bug fix: short-form DEFSETF checks that the second argument is a symbol
4097 (lp#655824, thanks to Roman Marynchak)
4098 * bug fix: (SETF MACRO-FUNCTION) clobbered macro-definitions before
4099 package-lock violation was detected. (lp#660752)
4100 * bug fix: the system can store different docstrings for a single function
4101 under different names. (lp#661631, regression from 1.0.29.24)
4102 * bug fix: source-locations of DEFGENERIC forms weren't getting recorded
4103 properly. (lp#384801)
4104 * bug fix: (COERCE X '(SIMPLE-VECTOR 5)) and similar coercions to vectors
4105 of specified length could confuse the type derivation in unsafe code.
4107 * bug fix: SB-POSIX:FORK now signals an error if an attempt to
4108 fork with multiple Lisp threads running is made on every platform,
4109 not just Darwin. (lp#451111)
4110 * bug fix: SB-BSD-SOCKETS and SB-SIMPLE-STREAMS could leave stale finalizers
4111 around when core was saved, which could cause undefined behaviour when the
4113 * bug fix: Allow UNTRACE of functions that are no longer defined
4114 (lp#667657, thanks to Attila Lendvai)
4115 * bug fix: MAKE-ARRAY calls with invalid keyword argument lists now signal a
4116 compile-time warning (lp#664373, thanks to Stas Boukarev)
4118 changes in sbcl-1.0.43 relative to sbcl-1.0.42:
4119 * incompatible change: FD-STREAMS no longer participate in the serve-event
4120 event-loop by default. (lp#316072)
4121 ** In addition to streams created by explicit calls to MAKE-FD-STREAM this
4122 affects streams from CL:OPEN.
4123 ** Streams from SOCKET-MAKE-STREAM still participate in serve-event by
4124 default, but this is liable to change: applications needing serve-event
4125 for socket streams should explicitly request it using :SERVE-EVENTS T
4127 * enhancement: SB-EXT:WORD type is provided for use with SB-EXT:ATOMIC-INCF
4129 * enhancement: CLOS effective method functions and defclass slot typechecking
4130 function now have debug names for use in backtraces and profiles.
4131 * enhancement: ASDF has been updated to version 2.004. (lp#605260, thanks to
4133 * enhancement: symbols are printed using fully qualified names in several
4134 error and warning messages which are often associated with package
4135 conflicts or mixups (lp#622789, thanks to Attila Lendvai)
4136 * bug fix: SB-BSD-SOCKETS:SOCKET-CONNECT was not thread safe. (lp#505497,
4137 thanks to Andrew Golding)
4138 * bug fix: reading /proc files on Linux works. (lp#425199)
4139 * bug fix: DOTIMES accepted literal non-integer reals. (lp#619393, thanks to
4141 * bug fix: WRITE-TO-STRING compiler macro binding special variable names,
4142 breaking code that tried to write the value of a printer control variable.
4143 (lp#581564, thanks to Stas Boukarev)
4144 * bug fix: WRITE compiler macro did not handle output stream designators
4145 correctly. (lp#598374, thanks to Stas Boukarev)
4146 * bug fix: better availability of names of foreign functions in backtraces
4147 on Linux. (lp#626962, thanks to Stas Boukarev)
4148 * bug fix: scripting and build for Solaris and FreeBSD. (lp#615497,
4149 lp#627581, thanks to Josh Elsasser and Jim Wise)
4150 * bug fix: build fixes for OpenBSD -current and 4.8 (lp#615489, lp#615492,
4151 thanks to Josh Elsasser)
4152 * bug fix: using aliases for builtin classes as defmethod specializers
4153 without adding DEFTYPEs for them works. (lp#618387)
4154 * bug fix: timetravel by getrusage() no longer causes type-errors during GC.
4156 * bug fix: legally dynamic-extent lists and vectors used as
4157 initialization arguments to MAKE-ARRAY can be stack allocated. (lp#586105)
4158 * bug fix: inline-expansion creating references to dead lambda-variables
4159 (lp#454681, thanks to Alexey Dejneka)
4160 * bug fix: better error message for bogus numerical arguments to RANDOM.
4161 (lp#598986, thanks to Stas Boukarev)
4162 * bug fix: the compiler occasionally inlined references from incompatible
4163 environments occurs. (lp#308951)
4164 * bug fix: the compiler threw an error when trying to compile a local
4165 function (labels or flet) known to take a specialized complex argument.
4166 (not in launchpad, reported by sykopomp in #lispgames)
4167 * bug fix: package-locks failed to protect against compile-time effects of
4168 DEFUN when the symbol previously had a macro definition. (lp#576637)
4169 * bug fix: spurious ignore warnings even given (DECLARE IGNORE) in methods
4170 when parameter bindings mutated. (reported by Faré Rideau; lp #611361)
4171 * bug fix: workaround for compiler hang in ORDER-UVL-SETS (lp#308914)
4172 * bug fix: evaluation in debugger REPL works using the global context when
4173 in frames that do not have sufficient debug information.
4174 * bug fix: exceeding FD_SETSIZE limit now results in an sensible error
4176 * bug fix: (SETF DOCUMENTATION) of a macro works properly. (lp#643958, thanks
4178 * bug fix: interrupt taking longer than the requested period caused SLEEP
4179 to hang on Darwin. (lp#640516, thanks to Joe Lebroco for the analysis)
4181 changes in sbcl-1.0.42 relative to sbcl-1.0.41
4183 ** Cross-compilation host is now specified to make.sh using
4184 command-line argument --xc-host=<command> instead of a positional
4185 argument. (thanks to Daniel Herring)
4186 ** Install location can be specified to make.sh using command-line
4187 argument --prefix=<path>. (lp#550889s, thanks to Daniel Herring)
4188 * optimization: The default implementation of
4189 COMPUTE-DISCRIMINATING-FUNCTION does much less wasted work.
4190 * enhancement: Explicit memory barrier operations are now available for use
4191 by multithreaded code. See documentation for details.
4192 * enhancement: Experimental support for threading on Linux/PPC.
4193 * bug fix: RENAME-PACKAGE returns the package. (Thanks to Eric Marsden)
4194 * bug fix: EXPT signals an error if first argument is a zero and second
4195 argument is a floating point zero. (lp#571581, thanks to Roman Marynchak)
4196 * bug fix: DEFTYPE signals an error for non-list lambda-lists.
4197 (lp#576594, thanks to Roman Marynchak)
4198 * bug fix: make ASDF-INSTALL compatible with the now-included ASDF2.
4199 (lp#612998, reported by Phil Hargett; patch from Jim Wise)
4201 changes in sbcl-1.0.41 relative to sbcl-1.0.40:
4202 * optimization: validity of observed keyword initargs to MAKE-INSTANCE is
4203 cached, leading to many fewer expensive calls to
4204 COMPUTE-APPLICABLE-METHODS.
4205 * optimization: in the (unoptimized) general method for MAKE-INSTANCE on a
4206 CLASS argument, search for and call an appropriate optimized ctor function
4208 * bug fix: WRITE always returns the correct value.
4210 changes in sbcl-1.0.40 relative to sbcl-1.0.39:
4211 * bug fix: readdir now works on :inode64 darwin builds (lp#592897)
4212 * bug fix: Name conflicts between symbols passed as arguments to a single
4213 call to IMPORT no longer add multiple symbols with the same name to the
4214 package (detectable via DO-SYMBOLS).
4215 * bug fix: support building without the dlshim on darwin x86 and x86-64
4217 * bug fix: TRACE :ENCAPSULATE NIL now works on ppc/linux.
4219 changes in sbcl-1.0.39 relative to sbcl-1.0.38:
4220 * bug fix: Backtrace from undefined function on x86 and x86-64 now show
4222 * bug fix: linkage-table entries on PPC now no longer overflow their
4223 space allocation (potentially causing crashes if they are written out
4225 * bug fix: Scrub control stack after scavenging in gencgc on non-x86oid
4226 platforms, preventing the GC from seeing stale pointers on the control
4227 stack in subsequent GCs (which would, and does, break invariants).
4228 * bug fix: 32-bit unicode external formats now work on big-endian systems.
4229 * bug fix: Literal characters with code points greater than about 32767
4230 now work on PPC UNICODE builds.
4231 * bug fix: Any noise left by SSE operations (sqrt and conversions) in the
4232 high order bits are explicitly cleared out. In some contrived situations,
4233 this could lead to wrong results in mixed real/complex float arithmetic.
4234 * bug fix: Fix function/macro redefinition warnings when building with
4235 clisp. (lp#576787, thanks to Josh Elsasser)
4236 * new platform: experimental support for ppc/openbsd (thanks to Josh
4238 * bug fix: Floating-point traps now work on ppc/linux.
4240 changes in sbcl-1.0.38 relative to sbcl-1.0.37:
4241 * incompatible change: Thread names are now restricted to SIMPLE-STRINGs
4242 like for any other thread-related datastructure, MUTEX, etc. (lp#547095)
4243 * deprecation: the SB-QUEUE contrib was merged into the SB-CONCURRENCY
4244 contrib module. New code should depend on SB-CONCURRENCY, not SB-QUEUE.
4245 * deprecation: SB-THEAD:GET-MUTEX was deprecated in favor of
4246 SB-THREAD:GRAB-MUTEX.
4247 * new contributed module: SB-CONCURRENCY is a new contrib; it's supposed to
4248 contain additional data structures and tools for concurrent programming;
4249 at the moment it contains a lock-free queue, and a lock-free mailbox
4251 * new feature: added SB-THREAD:GRAB-MUTEX; it's like the now deprecated
4252 GET-MUTEX but takes &key rather than &optional parameters. Also added
4253 :TIMEOUT argument to GRAB-MUTEX on non-sb-lutex platforms like Linux and
4255 * new feature: added SB-THREAD:TRY-SEMAPHORE, a non-blocking variant of
4256 SB-THREAD:WAIT-ON-SEMAPHORE.
4257 * new feature: SB-EXT:ATOMIC-DECF has been added as a companion to
4259 * new feature: a CANCEL-DEADLINE is associated with DEADLINE-TIMEOUT
4260 conditions to defer the deadline for forever.
4261 * enhancement: *STANDARD-OUTPUT*, *STANDARD-INPUT*, and *ERROR-OUTPUT* are
4263 * enhancement: errors from NO-APPLICABLE-METHOD and
4264 NO-PRIMARY-METHOD now have a RETRY restart available to retry the
4265 generic function call.
4266 * enhancement: SB-BSD-SOCKET improvements
4267 ** sockets and socket streams now have a more informative printed
4268 representation based on the corresponding SOCKET-NAME and
4270 ** SOCKET-MAKE-STREAM once more supports the :AUTO-CLOSE option.
4272 ** SOCKET-CLOSE now accepts :ABORT argument, which is passed on to
4273 CL:CLOSE when appropriate, and no longer disassociates the stream
4274 from the socket if close failed. (lp#543951)
4275 * improvements to the instrumenting profiler
4276 ** new feature: report per-function GC overhead. (thanks to John Fremlin)
4277 ** optimization: counters no longer use locks for the overflow mode.
4278 ** bug fix: whenever a profiling counter wrapped into overflow mode, it
4279 incurred an off-by-one miscount.
4280 * enhancement: improved MAKE-HASH-TABLE documentation (lp#543473)
4281 * enhancement: improved DEFMETHOD pretty-printing.
4282 * enhancement: perform range reduction when arguments are too large for
4283 x87's transcendentals (instead of returning 0). (lp#327192)
4284 * enhancement: eliminate some spurious TYPE-WARNINGs. Should help with
4285 some of CL-PPCRE's macros. (lp#570079)
4286 * enhancement: our machine code is slightly less hostile to valgrind on
4288 * enhancement: up-to-date versions of NetBSD-current are supported. (Thanks
4289 to Robert Swindells and Aleksej Saushev)
4290 * bug fix: correct restart text for the continuable error in MAKE-PACKAGE.
4291 * bug fix: a rare case of startup-time page table corruption.
4292 * bug fix: a semaphore with multiple waiters and some of them unwinding due
4293 to timeouts could be left in an inconsistent state.
4294 * bug fix: fix typo in "Reporting Bugs" section of the manual (lp#520366)
4295 * bug fix: misoptimization of multiplication by one in
4296 (SB-C::FLOAT-ACCURACY 0) policies.
4297 * bug fix: miscounts in SB-PROFILE.
4298 * bug fix: Fix lost wakeup bug between SB-THREAD:CONDITION-WAIT and
4299 CONDITION-NOTIFY on Linux. See threads "lost wakeup in condition-wait /
4300 condition-notify" (Feb 2010) and "Condition-Wait, Deadline handler, waking
4301 up itself" (March 2010) for further details.
4302 * bug fix: allow forward FIND and POSITION on lists to elide checking :END
4303 against length of the list if the element is found before the specified
4304 END is reached. (thanks to Alec Berryman, lp#554385)
4305 * bug fix: errors signalled during package graph modification no longer
4306 block FIND-SYMBOL and FIND-PACKAGE in other threads. (lp#511072)
4307 * bug fix: SB-POSIX build was broken when SBCL was compiled without the
4308 :SB-DOC feature. (lp#552564)
4309 * bug fix: SB-INTROSPECT build issues on GENGC/PPC. (lp#490490)
4310 * bug fix: more robust runtime executable path detection. (lp#375549)
4311 * bug fix: GCD always returns positive values. (lp#413680)
4312 * bug fix: Converting division to multiplication by reciprocal handles
4314 * bug fix: We were too eager in eliding range reduction tests on x87.
4315 The maximal magnitude is 2^63, not 2^64.
4316 * bug fix: Transforms for TRUNCATE don't die when the result is completely
4318 * bug fix: Maybe restore buildability on Alpha.
4319 * bug fix: READ-BYTE isn't inline anymore, fixing weird streams failures.
4321 * bug fix: RANDOM-STATE can be printed readably again.
4322 * bug fix: Unreadable objects were sometimes printed like #<\nFoo>.
4323 * bug fix: Using EQL with non-constant values of constant type (e.g. EQL
4324 types) could result in type mismatches during compilation.
4326 changes in sbcl-1.0.37 relative to sbcl-1.0.36:
4327 * enhancement: Backtrace from THROW to uncaught tag on x86oids now shows
4328 stack frame thrown from.
4329 * enhancement: WITH-COMPILATION-UNIT :POLICY allows restricting changes to
4330 compiler optimization qualities inside dynamic extent of its body.
4331 * enhancement: LOAD-LOGICAL-PATHNAME-TRANSLATIONS can be used to load
4332 translations from SYS:SITE;<HOST>.TRANSLATIONS.NEWEST (thanks to Michael
4334 * optimization: SLOT-VALUE and (SETF SLOT-VALUE) take advantage of
4335 constraint propgation, allowing better compilation eg. when used to
4336 access structures with WITH-SLOTS. (lp#520366)
4337 * optimization: the compiler is now more aware of the type of the underlying
4338 storage vector for multidimensional simple arrays resulting in better code
4339 for accessing such arrays.
4340 * optimization: passing NIL as the environment argument to TYPEP no longer
4341 inhibits optimizing it. (lp#309788)
4342 * optimization: more efficient register usage when handling single-float
4343 arguments on x86-64. (thanks to Lutz Euler)
4344 * optimization: ADJUST-ARRAY and STABLE-SORT on vectors no longer use
4345 pre-allocated temporary vectors. (lp#496249)
4346 * bug fix: Fix compiler error involving MAKE-ARRAY and IF forms
4347 in :INITIAL-CONTENTS. (lp#523612)
4348 * bug fix: FUNCTION-LAMBDA-EXPRESSION lost declarations from interpreted
4349 functions. (lp#524707)
4350 * bug fix: bogus style warnings from certain (SETF SLOT-VALUE) and
4351 WITH-SLOTS usages during compilation.
4352 * bug fix: SB-C::CLASS-INFO now prints correctly. (lp#514762)
4353 * enhancement: Can now build with ud2 instead of int3 as trap instruction on
4354 all x86oid platforms with :UD2-BREAKPOINTS target feature.
4355 * bug fix: Breakpoints now work when using ud2 instead of int3 as trap
4356 instruction (tested on x86oid linux with ud2-breakpoints).
4357 * bug fix: slam.sh now works on win32.
4358 * bug fix: better differences of numeric types. (lp#309124)
4359 * bug fix: arrays declared intersection and union types can have their
4360 upgraded element type derived. (lp#316078)
4361 * bug fix: SB-SPROF allocation profiling for all threads failed to profile
4362 threads started during profiling. (lp#472499)
4363 * bug fix: SB-INTROSPECT test failure when building without SB-EVAL feature.
4365 * bug fix: SB-CLTL2:DECLARATION-INFORMATION did not take
4366 SB-EXT:RESTRICT-COMPILER-POLICY into account. (lp#313337)
4367 * bug fix: Comma inside a backquoted array or structure resulted in nonsense
4368 values instead of signaling an error. (lp#309093)
4369 * bug fix: Spurious unused variable warning in a DEFSTRUCT edge case.
4371 * bug fix: More consistent warnings and notes for ignored DYNAMIC-EXTENT
4372 declarations (lp#497321)
4373 * bug fix: FIND and POSITION on lists did not check sequence bounds properly
4374 and failed to detect circular lists (lp#452008)
4375 * bug fix: leakage from ~/.asdf-install into the ASDf-INSTALL contrib build
4377 * bug fix: LOOP OF-TYPE VECTOR compile-time error. (lp#540186)
4378 * bug fix: SIGNAL SB-SYS:INTERACTIVE-INTERRUPT before entering the debugger
4379 due to it, so that handlers can run.
4380 * bug fix: reparsing undefined types if they have become defined since
4381 parsing. (lp#309128)
4382 * bug fix: missing &REST type in a proclamation for a function with both
4383 &REST and &KEY in lambda-list caused miscompilation (lp#458354)
4384 * bug fix: WHO-CALLS information for source-transformed and compiler-macro
4385 expanded calls (lp#542174)
4386 * bug fix: more accurate WHO-MACROEXPANDS information; point into rather
4387 than just at toplevel form.
4389 changes in sbcl-1.0.36 relative to sbcl-1.0.35:
4390 * new feature: SB-EXT:TYPEXPAND-1, SB-EXT:TYPEXPAND, and
4391 SB-EXT:TYPEXPAND-ALL behave exactly like their MACROEXPAND counterparts
4392 but work on type specifiers.
4393 * new feature: SB-EXT:DEFINED-TYPE-NAME-P returns whether a symbol is known
4394 to name a type specifier.
4395 * new feature: SB-EXT:VALID-TYPE-SPECIFIER-P returns whether a given type
4396 specifier is valid where "valid" basically means "would be accepted as
4397 second argument of TYPEP".
4398 * new feature: SB-INTROSPECT:FUNCTION-TYPE takes a function-designator and
4399 returns the function's declared, or derived FTYPE.
4400 * new feature: SB-POSIX now supports accessing the d_ino member of
4401 dirent structures. (Thanks to Philipp Marek and Pierre THEIRRY)
4402 * new feature: The function SB-EXT:SEED-RANDOM-STATE has been added to
4403 provide for seeding a RANDOM-STATE object with user-provided data or
4404 from the operating system's PRNG. Also, (MAKE-RANDOM-STATE T) will
4405 attempt to initialize the returned state from the operating system's
4406 PRNG where possible. (Thanks to Fare Rideau; launchpad bug lp#310116)
4407 * bug fix: Fix SB-SIMPLE-STREAMS:READ-VECTOR to correctly set the
4408 FILE-POSITION of the stream being read from. (launchpad bug lp#491087)
4409 * bug fix: Fix grammar and style issues for the docstrings of
4410 printer-related variables and functions. (Thanks to mon_key; launchpad
4412 * bug fix: Fix compilation on chenygc platforms. Thanks to Larry Valkama and
4414 * bug fix: SB-THREAD:CONDITION-WAIT sometimes signaled a deadline twice
4415 in a row even though a handler defered the deadline long into the
4417 * bug fix: A deadline handler was run without interrupts enabled for a
4418 deadline signaled within SB-THREAD:CONDITION-WAIT. That could result
4419 in infinitely spinning, non-killable threads.
4420 * bug fix: Backtrace from internal-errors on x86-64 os x was truncated
4421 before reaching the erring stack frame.
4422 * bug fix: Fix type derivation for EXPT when raising a fixnum to a
4423 real power. (launchpad bug lp#525949)
4424 * bug fix: Fix SB-EXT:GENERATION-* accessors for generations > 0 on
4425 GENCGC platforms. (launchpad bug lp#529014)
4426 * bug fix: More robust checks for invalid DEFMETHOD argument specializers.
4427 (launchpad bug lp#525916)
4428 * bug fix: Fix building on Darwin when sysctl is not in the user's PATH.
4429 (Thanks to Robert Goldman)
4431 changes in sbcl-1.0.35 relative to sbcl-1.0.34:
4432 * optimization: ROUND with a single single-float or double-float argument
4433 is properly inlined when possible.
4434 * optimization: Slightly better code is generated for integer<->float
4435 conversions and for single-float<->double-float conversions on x86-64.
4436 * optimization: SB-ROTATE-BYTE:ROTATE-BYTE now generates more efficient
4437 code for 32-bit and 64-bit rotations on x86-64.
4438 * bug fix: The install script changes the ownership of directories as well
4439 as files for contrib modules using asdf. (thanks to Eugene Ossintsev;
4440 launchpad bug lp#508485)
4441 * bug fix: TRUNCATE with a single single-float or double-float argument is
4442 properly inlined when possible. (launchpad bug lp#489388)
4443 * bug fix: Passing a rotation count of zero to SB-ROTATE-BYTE:ROTATE-BYTE
4444 no longer causes a compiler error on x86 and ppc.
4445 * bug fix: GET-MACRO-CHARACTER bogusly computed its second return value
4446 always relative to *READTABLE* rather than the passed argument.
4448 changes in sbcl-1.0.34 relative to sbcl-1.0.33:
4449 * minor incompatible change: threading support is now enabled by default
4451 * enhancement: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST now also works on most
4453 * enhancement: Errors during compile-time-too processing (i.e. EVAL-WHEN)
4454 are now caught and reported just like errors during macroexpansion.
4455 * enhancement: SB-POSIX now provides access to tcdrain(), tcflow(),
4456 tcflush(), tcgetsid(), and tcsendbreak(). (thanks to Jerry James)
4457 * enhancement: ASDF systems can now depends on SB-QUEUE.
4458 * fixes and improvements related to Unicode and external formats:
4459 ** bug fix: error handling and restart usage in the ucs-2 external format
4461 ** there is now an implementation of the ucs-4 external format.
4462 ** the utf-16 and utf-32 external formats are supported.
4463 * bug fix: SB-POSIX wrapper for putenv no longer tries to put lisp strings
4464 in the environment. setenv() and unsetenv() are also provided. (reported by
4465 Fare Rideau; launchpad bug lp#460455)
4466 * bug fix: LOAD of both .fasl and .FASL type files now forces fasl-style
4467 loading. This ensures sensible errors for .FASL files from other
4468 implementations on case-insensitive filesystems. (reported by Willem
4469 Broekema; launchpad bug lp#489417)
4470 * bug fix: #p"\\\\" can now be read without error on Win32. (reported by
4471 Willem Broekema; launchpad bug lp#489698).
4472 * bug fix: some minor code rearrangements to reenable warning-free building
4473 from CMUCL (reported by xme@gmx.net; launchpad bug lp#491104)
4474 * bug fix: PRINT-OBJECT for clos instances respects the right margin when
4476 * bug fix: FIND-PACKAGE & DEFPACKAGE were not thread safe. (reported by
4479 changes in sbcl-1.0.33 relative to sbcl-1.0.32:
4480 * new port: support added for x86-64 NetBSD. (thanks to Aymeric Vincent)
4481 * improvement: support O_LARGEFILE access to files larger than 2GB on
4482 x86-64/linux. (thanks to Daniel Janus; launchpad bug lp#453080)
4483 * new feature: SB-INTROSPECT:WHO-SPECIALIZES-DIRECTLY to get a list of
4484 definitions for methods specializing on the passed class itself.
4485 * new feature: SB-INTROSPECT:WHO-SPECIALIZES-GENERALLY to get a list of
4486 definitions for methods specializing on the passed class itself, or on
4488 * new build flag: :sb-xref-for-internals; SBCL will collect xref information
4489 about itself during the build (e.g. for M-? in Slime), if this flag is
4490 enabled in customize-target-features.lisp. This will increase the core
4491 size by about 5-6mb, though, so it's mostly interesting to SBCL
4493 * new feature: various GENCGC tuning parameters have been experimentally
4494 documented and exported from SB-EXT. See documentation for details.
4495 * fixes and improvements related to Unicode and external formats:
4496 ** the Unicode character database has been upgraded to the
4497 Unicode 5.2 standard, giving names and properties to a number of new
4498 characters, and providing a few extra characters with case
4500 ** improvement: restarts for providing replacement input/output on coding
4501 errors for fd-stream external formats.
4502 ** improvement: where :<encoding> is a keyword corresponding to an
4503 external format the system supports, it is now possible to specify
4504 (:<encoding> :replacement <character>) as an external format which will
4505 automatically substitute <character> on encoding or decoding errors for
4506 streams and for STRING-TO-OCTETS and its inverse. (launchpad bug
4508 ** improvement: the file streams underlying the standard streams (such as
4509 *STANDARD-INPUT*, *TERMINAL-IO*) are opened with an external format
4510 which uses the replacement mechanism to handle encoding errors,
4511 preventing various infinite error chains and unrecoverable I/O
4513 ** minor incompatible change: the utf-8 external format now correctly
4514 refuses to encode Lisp characters in the surrogate range (char-codes
4515 between #xd800 and #xdfff).
4516 ** fix a typo preventing conversion of strings into octet vectors
4517 in the latin-2 encoding. (reported by Attila Lendvai; launchpad bug
4519 ** fix a bug in the octet multibyte handling of decoding errors and the
4520 USE-VALUE restart. (launchpad bug lp#314939)
4521 ** fix the bug underlying the expected failure in the FORCE-END-OF-FILE
4522 restart on fd-stream decoding errors.
4523 ** fix a bug in the ATTEMPT-RESYNC fd-stream decoding restart when the
4524 error is near the end of file.
4525 ** fix a double-error case in unibyte octet conversions, when the first
4526 use of USE-VALUE is ignored.
4527 ** fix bugs in handling of undefined code points in unibyte encodings.
4528 ** fix LISTEN (and consequent hangs in READ-CHAR-NO-HANG) on bivalent
4529 streams after an UNREAD-CHAR.
4530 * enhancement: SB-INTROSPECT:ALLOCATION-INFORMATION also reports if the
4531 object is allocated in a boxed region of dynamic space.
4532 * enhancement: SB-POSIX:FORK now signals an error if an attempt to
4533 fork with multiple Lisp threads running is made, instead of going
4534 ahead with unpredictable consequences. (reported by Leslie Polzer)
4535 * bug fix: uses of slot accessors on specialized method parameters within
4536 the bodies of SLOT-VALUE-USING-CLASS methods no longer triggers a type
4537 error while finalizing the class. This fix may cause classes with slot
4538 accessors to be finalized later than previously. (reported by Lars Rune
4539 Nøstdal; launchpad bug lp#473699)
4540 * bug fix: restore buildability on the MIPS platform. (regression from
4541 1.0.30.38, reported by Samium Gromoff)
4542 * bug fix: inspecting closures is less likely to fail with a type error.
4543 * bug fix: no timer starvation when setting the system clock back.
4544 (launchpad bug lp#460283)
4545 * bug fix: WITH-STANDARD-IO-SYNTAX now binds *PRINT-PPRINT-DISPATCH* to the
4546 standard pprint dispatch table as specified by CLHS.
4547 * bug fix: give CLISP a hint about a type declaration to enable it to build
4548 the cross-compiler without warnings. (thanks to Josh Elasser; launchpad
4550 * bug fix: correctly dump literal objects in defaulting forms of arglists.
4551 (reported by Attila Lendvai; launchpad bug lp#310132)
4552 * bug fix: distinguish in type specifiers between arrays that might be
4553 complex and arrays that are definitely complex. (launchpad bug lp#309129)
4554 * bug fix: SUBTYPEP knows that the SYMBOL type is not SUBTYPEP the KEYWORD
4555 type. (reported by Levente Mészáros; launchpad bug lp#485972)
4556 * bug fix: setting the value of a symbol-macro within a method in the
4557 presence of type declarations works properly again. (reported by Iban
4558 Hatchondo; launchpad bug lp#485019)
4560 changes in sbcl-1.0.32 relative to sbcl-1.0.31:
4561 * optimization: faster FIND and POSITION on strings of unknown element type
4562 in high SPEED policies. (thanks to Karol Swietlicki)
4563 * optimization: faster CONCATENATE 'STRING in low SPEED policies (reported
4565 * improvement: better error signalling for bogus parameter specializer names
4566 in DEFMETHOD forms (reported by Pluijzer)
4567 * bug fix: DELETE-FILE once again works on logical pathnames (regression
4569 * bug fix: LOGICAL-PATHNAME signals a TYPE-ERROR if pathspec is specified
4571 * bug fix: redefinition of a class via DEFCLASS without :DEFAULT-INITARGS
4572 removes previous default initargs (reported by Lars Rune Nøstdal and
4574 * bug fix: correct WHO-CALLS information for inlined lambdas with complex
4575 lambda-lists. (reported by Peter Seibel)
4576 * bug fix: SAVE-LISP-AND-DIE option :SAVE-RUNTIME-OPTIONS did not work
4577 correctly when starting from an executable core without saved runtime
4578 options (reported by Faré Rideau, thanks to Zach Beane)
4579 * bug fix: (SETF SLOT-VALUE) signalled a warning which should have been
4580 an optimization note instead. (reported by Martin Cracauer)
4581 * bug fix: WITH-SLOTS did not work with THE forms. (thanks to David Tolpin)
4582 * bug fix: Have RUN-PROGRAM with :INPUT T only run the subprocess in a
4583 new process group if it doesn't need to share stdin with the sbcl
4584 process. (thanks to Leslie Polzer)
4585 * bug fix: SATISFIES could be misoptimized to refer to a local function.
4586 (reported by Stanislaw Halik)
4588 changes in sbcl-1.0.31 relative to sbcl-1.0.30:
4589 * improvement: stack allocation is should now be possible in all nested
4590 inlining cases: failure to stack allocate when equivalent code is manually
4591 open coded is now considered a bug.
4592 * improvements related to Unicode:
4593 ** the Unicode character database has been upgraded to the
4594 Unicode 5.1 standard, giving names and properties to a number of new
4595 characters, and providing a few extra characters with case
4597 ** the system now recognizes and produces names for Unicode Hangul
4598 syllable characters.
4599 ** the EBCDIC-US external-format is now supported for octet operations
4600 (as well as for stream operations).
4601 * new feature: experimental :EMIT-CFASL parameter to COMPILE-FILE can
4602 be used to output toplevel compile-time effects into a separate .CFASL
4604 * optimization: COERCE to VECTOR, STRING, SIMPLE-STRING and recognizable
4605 one-dimenstional subtypes of ARRAY is upto 70% faster when the coercion is
4607 * optimization: TRUNCATE on known single- and double-floats is upto 25%
4609 * optimization: division of floating point numbers by constants uses
4610 multiplication by reciprocal when an exact reciprocal exists.
4611 * optimization: multiplication of single- and double-floats floats by
4612 constant two has been optimized.
4613 * optimization: ARRAY-IN-BOUNDS-P is resolved at compile-time when
4614 sufficient type information is available. (thanks to Leslie Polzer)
4615 * optimization: SLOT-VALUE and (SETF SLOT-VALUE) with constant slot names on
4616 known structure objects are as efficient as defstruct generated accessors.
4617 * optimization: unused vector creation can now be optimized away.
4618 * improvement: ASDF systems can now depends on SB-INTROSPECT.
4619 * improvement: a STYLE-WARNING is signalled when a generic function
4620 clobbers an earlier FTYPE proclamation.
4621 * improvement: the compiler is able to track the effective type of
4622 generic function across method addition and removal even in the
4623 absence of an explicit DEFGENERIC.
4624 * improvement: DESCRIBE now reports on symbols naming undefined
4625 but assumed or declared function as well.
4626 * improvement: recompilation of systems using SB-GROVEL now works
4627 (thanks to Leslie Polzer)
4628 * improvements to SB-CLTL2 (thanks to Larry D'Anna):
4629 ** functions DECLARATION-INFORMATION, PARSE-MACRO, and ENCLOSE have been
4631 ** AUGMENT-ENVIRONMENT and DEFINE-DECLARATION have been implemented.
4632 ** DECLARATION-INFORMATION now supports declaration name DECLARATION as
4633 well as user defined declaration names.
4634 ** VARIABLE-INFORMATION is now aware of alien variables.
4635 * improvement: improved address space layout on OpenBSD (thanks to Josh
4637 * improvement: pretty-printing of various Lisp forms has been improved
4638 (thanks to Tobias Rittweiler)
4639 * bug fix: calls to DECODE-FLOAT and INTEGER-DECODE-FLOAT whose value was
4640 unused were deleted in safe code. (reported by John Fremlin)
4641 * bug fix: a failing AVER compiling certain MAKE-ARRAY forms. (reported
4643 * bug fix: some out-of-line array predicates were missing (reported by
4645 * bug fix: a failing AVER in CONVERT-MV-CALL has been fixed. (thanks to
4647 * bug fix: a failing AVER in %ALLOCATE-CLOSURES conversion has been fixed
4648 (thanks to Larry D'Anna)
4649 * bug fix: SLEEP supports times over 100 million seconds on long on OpenBSD
4650 as well. (reported by Josh Elsasser)
4651 * bug fix: DELETE-FILE on streams no longer closes the stream with :ABORT T,
4652 leading to possible attempts to delete the same file twice. See docstring
4653 on DELETE-FILE for details. (reported by John Fremlin)
4654 * bug fix: DELETE-FILE once again deletes the file named by the pathname
4655 designator argument, rather than its truename. (reported by Luis
4657 * bug fix: the low-level debugger had 32-bit assumptions and was missing
4658 information about some array types. (thanks to Luis Oliveira)
4659 * bug fix: moderately complex combinations of inline expansions could
4660 be miscompiled if the result was declared to be dynamic extent.
4661 * bug fix: on x86, SAP-REF of sizes greater than 8 bits with offsets of the
4662 form (+ <variable> <integer>) were miscompiled under certain
4664 * bug fix: in some cases no compiler note about failure to stack allocate
4665 was emitted, even if the objects were in fact heap allocated.
4666 * bug fix: minor violation of "otherwise inaccessible" rule for stack
4667 allocation could cause objects users might reasonably expect to
4668 be heap allocated to be stack allocated.
4669 * bug fix: DESCRIBE signalled an error for generic functions under
4670 certain circumstances. (thanks to Leslie Polzer)
4671 * bug fix: Fixed spelling of an error message.
4673 changes in sbcl-1.0.30 relative to sbcl-1.0.29:
4674 * minor incompatible change: SB-THREAD:JOIN-THREAD-ERROR-THREAD and
4675 SB-THREAD:INTERRUPT-THREAD-ERROR-THREAD have been deprecated in favor
4676 of SB-THREAD:THREAD-ERROR-THREAD.
4677 * new contrib module: SB-QUEUE provides thread-safe lockless FIFO queues.
4678 * new feature: docstrings for local and anonymous functions are no longer
4679 discarded. (thanks to Leslie Polzer)
4680 * new feature: SB-THREAD:SYMBOL-VALUE-IN-THREAD provides access to symbol
4681 values in other threads.
4682 * new feature: SB-INTROSPECT:ALLOCATION-INFORMATION provides information
4683 about object allocation.
4684 * optimization: division of a real float by a complex float is implemented
4685 with a specialised code sequence.
4686 * optimization: MAKE-INSTANCE with non-constant class-argument but constant
4687 keywords is an order of magnitude faster.
4688 * optimization: MAKE-INSTANCE with constant keyword arguments is x2-4 faster
4689 in the presence of :AROUND or non-standard primary INITIALIZE-INSTANCE
4690 methods, and similarly for non-standard metaclass classes as long as there
4691 are no methods additional on MAKE-INSTANCE.
4692 * optimization: more efficient type-checks for FIXNUMs when the value
4693 is known to be a signed word on x86 and x86-64.
4694 * optimization: compiler now optimizes (EXPT -1 INTEGER), (EXPT -1.0 INTEGER),
4695 and (EXPT -1.0d0 INTEGER) into an ODDP test. (thanks to Stas Boukarev and
4697 * optimization: compiler is smarter about delegating argument type checks to
4699 * optimization: several character functions are now compiled somewhat more
4700 efficiently. (reported by Lynn Quam)
4701 * optimization: the compiler now derives simple types for LOAD-VALUE-FORMs.
4702 * improvement: less unsafe constant folding in floating point arithmetic,
4703 especially for mixed complex/real -float operations.
4704 * optimization: constant double and single floats are stored in native
4705 unboxed format on x86[-64].
4706 * optimization: smarter code for arithmetic operations with constant floats,
4707 complex floats, or integers on x86[-64].
4708 * optimization: smarter code for conjugate/multiplication of float complexes
4709 and abs/negate of floats on x86-64.
4710 * optimization: more efficient complex float and real float operations on
4712 * improvement: complex float division is slightly more stable.
4713 * improvement: DESCRIBE output has been reworked to be easier to read and
4714 contains more pertinent information.
4715 * improvement: failure to provide requested stack allocation compiler notes
4716 provided in all cases (requested stack allocation not happening without a
4717 note being issued is now considered a bug.)
4718 * bug fix: SB-POSIX exports the documented types and functions
4719 FILE-DESCRIPTOR and FILENAME, and also the corresponding -DESCRIPTOR
4720 types. (reported by "abhi")
4721 * bug fix: on 64 bit platforms FILL worked incorrectly on arrays with
4722 upgraded element type (COMPLEX SINGLE-FLOAT), regression from 1.0.28.55.
4723 (thanks to Paul Khuong)
4724 * bug fix: looping around HANDLER-CASE could silently consume stack space
4725 on each iteration. (reported by "foobar")
4726 * bug fix: better error signalling when calls to functions seeking elements
4727 from lists (eg. ADJOIN) are compiled with both :TEST and :TEST-NOT.
4728 (reported by Tobias Rittweiler)
4729 * bug fix: regressions in DIRECTORY from 1.0.28.61: pattern matching of
4730 directory components now works as it used to. (various prolems reported by
4731 Michael Becker, Gabriel Dos Reis, Cyrus Harmon, and Harald Hanche-Olsen)
4732 * bug fix: :PTY option in RUN-PROGRAM was broken with stream arguments.
4733 (reported by Elliot Slaughter, thanks to Stas Boukarev)
4734 * bug fix: bogus undefined variable warnings from fopcompiled references to
4735 global variables. (thanks to Lars Rune Nøstdal)
4736 * bug fix: foreign function names should now appear in backtraces on
4737 FC6 as well. (reported by Tomasz Skutnik and Tobias Rautenkranz)
4738 * bug fix: SETF compiler macro documentation strings are not discarded
4740 * bug fix: GENTEMP is now unaffected by pretty printer dispatch table.
4741 (thanks to Alex Plotnick)
4742 * bug fix: SLEEP accepts large integer arguments, truncating them to
4743 SIGNED-WORD on the assumption that sleeping for 68 years is sufficient
4744 for anyone. (reported by Leslie Polzer, thanks to Stas Boukarev)
4745 * bug fix: compiler notes for expensive slot type checks could be emitted
4746 at runtime MAKE-INSTANCE calls. (reported by Samium Gromoff)
4748 changes in sbcl-1.0.29 relative to 1.0.28:
4749 * IMPORTANT: bug database has moved from the BUGS file to Launchpad
4750 https://bugs.launchpad.net/sbcl
4751 Bugs can be reported directly there, or by sending email to
4752 sbcl-bugs@lists.sourceforge.net
4753 (no subscription required.)
4754 * minor incompatible change: under weak type checking policy integer
4755 types are weakened less aggressively.
4756 * minor incompatible change: SAVE-LISP-AND-DIE :TOPLEVEL function is now
4757 allowed to return, which causes SBCL to quit with exit status 0. Previously
4758 if the function returned with a small integer return value, that value
4759 was accidentally reused as the exit status.
4760 * new feature: SB-EXT:DEFINE-HASH-TABLE-TEST allows defining new arguments
4761 to MAKE-HASH-TABLE :TEST, and MAKE-HASH-TABLE has been extended with
4762 :HASH-FUNCTION argument. Refer to user manual for details.
4763 * new feature: SB-EXT:DEFGLOBAL macro allows defining global non-special
4765 * new feature: SB-EXT:GET-TIME-OF-DAY provides access to seconds and
4766 microseconds since the Unix epoch on all platforms.
4767 * new feature: SB-EXT:ALWAYS-BOUND proclamation inhibits MAKUNBOUND, and
4768 allows the compiler to safely elide boundedness checks for special
4770 * new feature: SB-EXT:GLOBAL proclamation inhibits SPECIAL proclamations for
4771 the symbol, prohibits both lexical and dynamic binding. This is mainly an
4772 efficiency measure for threaded platforms, but also valueable in
4774 * new feature: UNC pathnames are now understood by the system on Windows.
4775 * optimization: the compiler uses a specialized version of FILL when the
4776 element type is know in more cases, making eg. (UNSIGNED-BYTE 8) case
4778 * optimization: accesses to potentially non-simple arrays where element type
4779 is known are 50% faster.
4780 * optimization: compiler now generates faster array typechecking code.
4781 * optimization: ARRAY-DIMENSION is now faster for multidimensional and
4783 * optimization: multidimensional array accesses in the absence of type
4784 information regarding array rank are approximately 10% faster due to
4785 open coding of ARRAY-RANK.
4786 * optimization: result of (FILL (MAKE-ARRAY ...) ...) and (REPLACE
4787 (MAKE-ARRAY ...) ...) can be stack allocated if the result of MAKE-ARRAY
4789 * optimization: result of call to VECTOR can now be stack allocated.
4790 * optimization: MAKE-ARRAY with :INITIAL-CONTENTS is now vastly faster
4791 as long as the resulting array is one-dimensional and has a known
4792 element type. In particular, :INITIAL-CONTENTS (LIST ...) where the
4793 length of the list matches the known length of the vector does not
4794 allocate the list as an intermediate step. Ditto for VECTOR and simple
4796 * optimization: MAKE-ARRAY can now stack allocate in the presence of
4797 :INITIAL-CONTENTS and :INITIAL-ELEMENT as long as the result has a
4798 known element type, and is known to be simple and one dimensional.
4799 * improvement: SBCL now emits a compiler note where stack allocation was
4800 requested but could not be provided (not in all cases, unfortunately)
4801 * improvement: better MACHINE-VERSION responses. (thanks to Josh Elsasser)
4802 * improvement: pretty-printing loop has been implemented properly. (thanks
4803 to Tobias Rittweiler)
4804 * documentation: CLOS slot typechecing policy has been documented.
4805 * bug fix: FILE-AUTHOR no longer signals an error on Windows.
4806 * bug fix: SB-SPROF could be foiled by foreign code not have a frame
4807 pointer, leading to memory faults. (thanks to Bart Botta)
4808 * bug fix: better floating point exception handling on x86/OpenBSD.
4809 (thanks to Josh Elsasser)
4810 * bug fix: exit status from QUIT when called under --script was lost
4811 (reported by Hubert Kauker)
4812 * bug fix: MAKE-ARRAY for non-zero :INITIAL-ELEMENT always used the
4813 same implementation of FILL to initialize the array, even if a more
4814 efficient one was available (reported by Stas Boukarev, thanks to
4816 * bug fix: potential miscompilation of array stack allocation on x86 and
4817 x86-64. (reported by Time Tossavainen)
4818 * bug fix: some forms of AND, OR, and COND resulted in expansions that could
4819 result in their subforms being treated as top level forms. (reported by
4821 * bug fix: On x86/x86-64 alien functions declared to return integers shorter
4822 than a machine register could leave garbage in the high bits of the
4823 result register (bug 316325).
4824 * bug fix: disable address space randomization Linux/x86-64 as well,
4825 not just x86-64. (reported by Ken Olum)
4826 * bug fix: Attempting to DEREF an (ALIEN (* T)) would produce a WARNING and
4827 generate incorrect code.
4828 * bug fix: #201; type inference for CONS and ARRAY types could derive
4829 wrong results in the presence of eg. RPLACA or ADJUST-ARRAY.
4830 * bug fix: special variables with a proclaimed specific subtype of FUNCTION
4831 could not be assigned to or bound with PROGV. (reported by Lorenz
4833 * bug fix: the value of CL:- in the inspector was the previous expression
4834 evaluated rather than the expression being evaluated.
4835 * bug fix: constants can no longer be locally declared special.
4836 * bug fix: signals delivered to threads started from foreign land (read:
4837 directly by pthread_create, not by MAKE-THREAD) are redirected to a Lisp
4838 thread by blocking all signals and resignalling.
4839 * bug fix: SHARED-INITIALIZE initialized unbound :ALLOCATION :CLASS slots
4840 from :INITFORM, if any.
4842 changes in sbcl-1.0.28 relative to 1.0.27:
4843 * a number of bugs in cross-compilation have been fixed, with the ultimate
4844 result that building under (at least) clisp should be much more reliable.
4845 * minor incompatible changes: echo-streams now propagate unread-char to the
4846 underlying input stream, and no longer permit unreading more than one
4848 * improvement: on x86/x86-64 Lisp call frames now have the same layout as C
4849 frames, allowing for instance more reliable backtraces.
4850 * improvement: the debugger REPL can now reference lexical variables
4851 by name directly for code compiled with (DEBUG 3).
4852 * improvement: errors from malformed declarations now have better source
4853 paths associated with them. (thanks to Tobias Rittweiler)
4854 * optimization: faster local calls on x86/x86-64
4855 * bug fix: some error messages for out-of-bound array indexes confused the
4856 index and the bound. (thanks to Stas Boukarev)
4857 * bug fix: pretty printing malformed DEFPACKAGE forms (thanks to Sidney
4859 * bug fix: running regressions tests in shells without OSTYPE set now works.
4860 (reported by Harald Hanche-Olsen)
4861 * bug fix: more robust static space exhaustion signalling from
4862 MAKE-STATIC-VECTOR (thanks to Daniel Lowe)
4863 * bug fix: (SETF DOCUMENTATION) for anonymous function now throws the
4864 docstring away instead of storing it under names such as (LAMBDA (X)).
4865 (reported by Leslie Polzer)
4866 * bug fix: timers could go off in the wrong order, be delayed indefinitely
4867 (thanks to Ole Arndt for the patch)
4868 * bug fix: RESTART-FRAME and RETURN-FROM-FRAME stack corruption
4869 * bug fix: the discriminating function for PRINT-OBJECT no longer preserves
4870 potentially-invalid effective methods in its cache.
4871 * bug fix: SB-INTROSPECT:FIND-DEFINITION-SOURCE now works with funcallable
4872 instances as well (thanks to Paul Khuong)
4873 * bug fix: using RUN-PROGRAM does not interfere with SB-POSIX:WAIT,
4874 SB-POSIX:WAITPID and their C equivalents.
4875 * bug fix: RUN-PROGRAM does not crash on Darwin when stressed.
4877 changes in sbcl-1.0.27 relative to 1.0.26:
4878 * new port: support added for x86-64 OpenBSD. (thanks to Josh Elsasser)
4879 * new port: support added for x86-64 Solaris. (thanks to Alex Viskovatoff)
4880 * improvement: the system either recovers from stack exhaustion or dies
4881 properly as opposed to leaving the user uncertain of whether the handler
4882 trampled on some random memory next to the stack or having to rely on
4883 --lose-on-corruption (which is still a good idea to use in production
4884 because stack exhaustion can happen in signal handlers which will likely
4886 * bug fix: fix gc related interrupt handling bug on ppc (regression from
4887 1.0.25.37, reported by Harald Hanche-Olsen)
4888 * bug fix: work around signal delivery bug in darwin (regression from
4889 1.0.25.44, reported by Sidney Markowitz)
4890 * bug fix: fix ERROR leaking memory (reported by David Thompson)
4892 changes in sbcl-1.0.26 relative to 1.0.25:
4893 * incompatible change: an interruption (be it a function passed to
4894 INTERRUPT-THREAD or a timer function) runs in an environment where
4895 interrupts can be enabled. The interruption can use
4896 WITH-INTERRUPTS or WITHOUT-INTERRUPTS as it sees fit. Use
4897 WITHOUT-INTERRUPTS to avoid nesting of interruptions and
4898 potentially running out of stack. Keep in mind that in the absence
4899 of WITHOUT-INTERRUPTS some potentially blocking operation such as
4900 acquiring a lock can enable interrupts.
4901 * incompatible change: GC-OFF and GC-ON are removed, as they were
4902 always unsafe. Use WITHOUT-GCING instead.
4903 * new feature: runtime option --disable-ldb
4904 * new feature: runtime option --lose-on-corruption to die at the
4905 slightest hint of possibly non-recoverable errors: running out of
4906 memory, stack, alien stack, binding stack, encountering a memory
4907 fault, etc. In the absence of --lose-on-corruption a warning is
4909 * enhancement: detect binding stack exhaustion
4910 * enhancement: detect alien stack exhaustion on x86/x86-64
4911 * improvement: generally more stable and reliable interrupt handling
4912 * improvement: there is a per thread interruption queue,
4913 interruptions are executed in order of arrival
4914 * improvement: a repeating timer reschedules itself when the it has
4915 finished, but expiration times are spaced equally. If an
4916 expiration time is in the past it will trigger after a short grace
4917 period that may give a chance to other things to run.
4918 * optimization: slightly faster gc on multithreaded builds
4919 * optimization: faster WITHOUT-GCING
4920 * bug fix: when JOIN-THREAD signals an error, do it when not holding
4921 important locks so that the debugger/handler doesn't produce
4922 recursive errors or deadlock.
4923 * bug fix: real-time signals are not used anymore, so no more
4924 hanging when the system wide real-time signal queue gets full.
4925 * bug fix: INTERRUPT-THREAD on a dying thread could produce memory
4927 * bug fix: finalizers, gc hooks never run in a WITHOUT-INTERRUPTS
4928 * bug fix: fix random memory faults related to interrupts on alpha
4929 * bug fix: fix random memory faults related to interrupts on sparc
4930 * bug fix: fix deadlocks related to starting threads
4931 * bug fix: fix deadlines on locks on futex platforms
4932 * bug fix: restore errno in signal handlers
4933 * bug fix: fix deadlocks related to hash tables
4934 * bug fix: fix deadlocks in pcl
4936 changes in sbcl-1.0.25 relative to 1.0.24:
4937 * incompatible change: SB-INTROSPECT:FUNCTION-ARGLIST is deprecated, to be
4938 removed later. Please use SB-INTROSPECT:FUNCTION-LAMBDA-LIST instead.
4939 * new feature: SB-INTROSPECT:DEFTYPE-LAMBDA-LIST allows retrieval of
4940 DEFTYPE lambda lists. (thanks to Tobias Rittweiler)
4941 * enhancement: MUTEX-VALUE is to be superseded by MUTEX-OWNER that has a
4942 better name and does not return values so stale on multiprocessor systems.
4943 Also, HOLDING-MUTEX-P was added for about the only sane usage of
4945 * improvement: unithread builds keep track of MUTEX-VALUE.
4946 * improvement: reading from a TWO-WAY-STREAM does not touch the output
4947 stream anymore making it thread safe to have a concurrent reader and
4948 a writer, for instance, in a pipe.
4949 * improvement: GET-SETF-EXPANDER avoids adding bindings for constant
4950 arguments, making compiler-macros for SETF-functions able to inspect
4951 their constant arguments.
4952 * improvement: COMPILE-FILE reports times with millisecond accuracy
4953 (thanks to Luis Oliveira)
4954 * optimization: CHAR-CODE type derivation has been improved, making
4955 TYPEP elimination on subtypes of CHARACTER work better. (reported
4956 by Tobias Rittweiler, patch by Paul Khuong)
4957 * bug fix: setting alien structure fields of type struct by value now
4958 computes the right offset for the memory copy.
4959 * bug fix: compilation problem involving inlined calls to aliens with
4960 result type VOID. (reported by Ken Olum)
4961 * bug fix: #235a; sequential inline expasion in different policies no
4962 longer reuses the functional from the previous expansion site.
4963 * bug fix: DEFTYPE no longer breaks on bodies consisting of a single
4964 unquoted symbol. Regression from 1.0.22.8. (reported by Ariel Badichi)
4965 * bug fix: named ENUMs in multiply-referenced alien record types no longer
4966 cause an implied type redefinition. Regression from 1.0.21.29.
4967 * bug fix: sign-extension of small signed return values now works with C
4968 code compiled with gcc 4.3 or newer. (reported by Liam Healy)
4969 * improvements to the Windows port:
4970 ** SB-BSD-SOCKETS now works from saved cores as well. (reported by Stephen
4971 Westfold, thanks to Rudi Schlatte)
4973 changes in sbcl-1.0.24 relative to 1.0.23:
4974 * new feature: ARRAY-STORAGE-VECTOR provides access to the underlying data
4975 vector of a multidimensional SIMPLE-ARRAY.
4976 * new feature: the system now signals a continuable error if standard
4977 readtable modification is attempted. (thanks to Tobias Rittweiler)
4978 * new feature: DIRECTORY has been extended with a non-standard keyword
4979 argument :RESOLVE-SYMLINKS. (thanks to TC-Rucho)
4980 * enhancement: SB-BSD-SOCKETS:MAKE-SOCKET-STREAM keyword argument handling
4981 has been robustified and documented better. (thanks to Robert Goldman)
4982 * optimization: faster generic arithmetic dispatch on x86 and x86-64.
4983 * optimization: FORMAT ~D and ~F are now approximately 5% faster.
4984 * tradeoff: constant FORMAT control strings are now compiled unless
4985 SPACE > SPEED (previously only when SPEED > SPACE.)
4986 * bug fix: Red Hat Enterprise 3 mmap randomization workaround. (thanks
4988 * bug fix: DEFCLASS and ENSURE-CLASS-USING-CLASS are now expected to
4990 * bug fix: lexical type declarations are now correctly reported by
4991 SB-CLTL2. (reported by Larry D'Anna)
4992 * bug fix: STRING-TO-OCTETS did not handle :START properly when
4993 using UTF-8 as external format. (thanks to Luis Oliveira)
4994 * bug fix: errors from invalid fill-pointer values to (SETF FILL-POINTER)
4995 are signalled correctly. (thanks to Stas Boukarev)
4996 * bug fix: SET-MACRO-CHARACTER accepts NIL as the readtable
4997 designator. (thanks to Tobias Rittweiler)
4998 * bug fix: SET-DISPATCH-MACRO-CHARACTER accepts NIL as the readtable
4999 designator, and returns T instead of the function. (thanks to
5001 * bug fix: direct superclasses of STANDARD-CLASS and
5002 FUNCALLABLE-STANDARD-CLASS now default to STANDARD-OBJECT and
5003 FUNCALLABLE-STANDARD-OBJECT as required by AMOP.
5004 * bug fix: compiling a call to SLOT-VALUE with a constant slot-name
5005 when no class with the named slot yet exists no longer causes a
5006 compile-time style-warning.
5007 * bug fix: :ALLOCATION :CLASS slots are type-checked properly
5008 in safe code. (reported by Didier Verna)
5009 * bug fix: #430; nested structure constructors can stack allocate.
5010 * bug fix: on some 64-bit platforms dynamic space size was truncated
5011 to #xffff0000 bytes. (reported by Benjamin Lambert)
5012 * bug fix: setting *READ-SUPPRESS* to T no longer renders the default
5013 REPL unusable. (reported by Daniel Herring)
5014 * bug fix: return values of READ-SEQUENCE did not take :START into
5015 account on file streams, regressions since 1.0.12.22. (reported by
5016 Thomas Russ, patch by Paul Khuong)
5017 * bug fix: using SET or (SETF SYMBOL-VALUE) to change the value of a
5018 method specializer used to confuse permuation vector optimization.
5019 * bug fix: system inserted bogus implicit type declarations for local
5020 special variables in DEFMETHOD bodies.
5021 * bug fix: #354; duplicated frames in backtraces due to
5022 non-tail-call-optimized XEPs to functions with return type NIL
5024 * bug fix: #357; MAKE-INSTANCE/SHARED-INITIALIZE now
5025 initializes structure object slots according to DEFSTRUCT initforms,
5026 and DEFSTRUCT forms :INCLUDEind structure classes defined using
5027 DEFCLASS :METACLASS STRUCTURE-CLASS now inherit their initforms.
5028 (reported by Bruno Haible and Stephen Wilson)
5029 * bug fix: #395; fill-pointer output streams used now support
5030 element-type BASE-CHAR as well.
5031 * bug fix: compiler error when attempting to derive return value of
5032 ARRAY-ELEMENT-TYPE when the array type was a union of intersection
5034 * bug fix: address-spaces overlapped on OpenBSD. (thanks to Josh
5036 * bug fix: Mac OS X binaries should now be portable between Leopard
5039 changes in sbcl-1.0.23 relative to 1.0.22:
5040 * enhancement: when disassembling method functions, disassembly
5041 for the associated fast function is also produced.
5042 * enhancement: system stores DEFTYPE lambda-lists, so DESCRIBE can
5044 * optimization: printing with *PRINT-PRETTY* true is now more
5045 efficient as long as the object being printed doesn't require
5046 special handling by the pretty printer.
5047 * bug fix: slot symbol-macros from WITH-SLOTS inside DEFMETHOD bodies
5048 now interact correctly with type declarations.
5049 * partial bug fix: PCL detects infinite recursion during wrapper
5050 validation. (thanks to Attila Lendvai)
5051 * bug fix: #426; nested function calls are inlined properly.
5052 Previously if FOO was an inline function, in calls of the form
5053 (FOO (FOO ...)) the outer call was not inlined.
5054 * bug fix: long long arguments passed in registers to alien
5055 functions on PowerPC Linux and NetBSD are now handled correctly
5056 when preceded by SYSTEM-AREA-POINTERs. (reported by Josh Elsasser)
5058 changes in sbcl-1.0.22 relative to 1.0.21:
5059 * minor incompatible change: LOAD-SHARED-OBJECT no longer by default looks
5060 for the shared object in the current directory, but passes the native
5061 namestring of the designated pathname to the operation system's shared
5062 object loading function as-it.
5063 * minor incompatible change: --disable-debugger toplevel option now takes
5064 effect before processing of initialization files and --eval or --load
5066 * new feature: new commandline argument: --script, which supports
5067 shebang lines. See documentation for details. (based on work by
5069 * new feature: SAVE-LISP-AND-DIE can save current values of
5070 --dynamic-space-size and --control-stack-size in the executable core,
5071 causing it to skip normal runtime option processing. See documentation
5072 for details. (thanks to Zach Beane)
5073 * enhancement: inoccous calls to EVAL or generic functions dispatching
5074 on subclasses of eg. STREAM no longer cause compiler notes to appear.
5075 * enhancement: the system no longer resignals errors from --load and
5076 --eval toplevel arguments as SIMPLE-ERRORS, which caused restarts
5077 associated with the original error to be lost. (thanks to Ariel
5079 * enhancement: :DONT-SAVE keyword argument has been added to
5080 LOAD-SHARED-OBJECT for controlling interaction with
5081 SAVE-LISP-AND-DIE, and UNLOAD-SHARED-OBJECT can be used to undo
5082 the effects of an earlier LOAD-SHARED-OBJECT call.
5083 * bug fix: ADJUST-ARRAY on multidimensional arrays used bogusly give
5084 them a fill pointer unless :DISPLACED-TO or :INITIAL-CONTENTS were
5085 provided. (reported by Cedric St-Jean)
5086 * bug fix: circularity handling in the reader did not treat raw
5087 structure slots correctly. (reported by Cedric St-Jean)
5088 * bug fix: SERVE-EVENT occasionally signaled an error about bogus
5089 file descriptors when there were none.
5090 * bug fix: DEFINE-COMPILER-MACRO support of destructuring lambda-lists
5091 was broken. (reporteed by Willem Broekema)
5092 * bug fix: SB-EXT:NATIVE-NAMESTRING on Windows did not work on
5093 pathnames without a directory.
5094 * bug fix: COMPILE-FILE did not warn about undefined variable
5095 references at toplevel, and LOAD of the resulting fasl did
5096 not signal an error.
5097 * bug fix: functions with non-required arguments used to end up with
5098 (SB-C::&OPTIONAL-DISPATCH ...) as their name.
5099 * bug fix: redefining a function with non-required arguments didn't
5100 update the system's knowledge about its call signature properly.
5101 * bug fix: fixed #431; incompatible alien record type redefinitions
5102 are detected and handled. (reported by Neil Haven)
5103 * bug fix: using RESTRICT-COMPILER-POLICY with DEBUG 3 could cause
5104 PROGV miscompilation. (reported by Matthias Benkard, patch by Juho
5106 * bug fix: on x86 and x86-64 backtraces were sometimes truncated
5107 after alien stack frames.
5108 * bug fix: strings passed to mk{s,d}temp lacked null termination
5110 changes in sbcl-1.0.21 relative to 1.0.20:
5111 * new feature: the compiler is able to track the effective type of a
5112 generic function across method addition and removal.
5113 * new feature: SB-EXT:ATOMIC-INCF allows atomic incrementation of
5114 appropriately typed structure slots without locking.
5115 * new feature: SB-EXT:CALL-WITH-TIMING provides access to timing
5116 information like those gathered by TIME using a programming-friendly
5118 * new feature: TIME reports time taken even if the form performs a
5119 non-local transfer of control.
5120 * enhancement: reduced conservativism on GENCGC platforms: on
5121 average 45% less pages pinned (measured from SBCL self build).
5122 * bug fix: SB-EXT:COMPARE-AND-SWAP on SYMBOL-VALUE can no longer
5123 mutate constant symbols or violate declaimed type of the symbol.
5124 * bug fix: SB-THREAD:SIGNAL-SEMAPHORE could fail to wakeup threads
5125 sleeping on the semaphore in heavily contested semaphores.
5126 * bug fix: semaphores and condition variables were not interrupt
5128 * bug fix: SB-THREAD:CONDITION-WAIT doesn't allow waits on mutexes
5129 owned by other threads anymore.
5130 * bug fix: FIND on lists called KEY outside the specified
5131 subsequence. (reported by budden)
5132 * bug fix: LOG doesn't use single-float intermediate results when
5133 given mixed integer and double-float arguments, leading to better
5134 precision. (reported by Bob Felts)
5135 * bug fix: LOG with base zero returned values of inconsistent type.
5137 changes in sbcl-1.0.20 relative to 1.0.19:
5138 * minor incompatible change: OPTIMIZE qualities
5139 SB-C::STACK-ALLOCATE-DYNAMIC-EXTENT, SB-C::STACK-ALLOCATE-VECTOR,
5140 and SB-C::STACK-ALLOCATE-VALUE-CELLS no longer exist. See documentation
5141 and SB-EXT:*STACK-ALLOCATE-DYNAMIC-EXTENT* for details.
5142 * documentation: some slot access efficiency guidelines have been
5143 added to the user manual.
5144 * optimization: ASSOC-IF, ASSOC-IF-NOT, MEMBER-IF, MEMBER-IF-NOT,
5145 RASSOC, RASSOC-IF, and RASSOC-IF-NOT are now equally efficient
5146 as ASSOC and MEMEBER.
5147 * optimization: calls to ASSOC, MEMBER, and RASSOC can be transformed
5148 to more efficient EQ-comparison versions more often.
5149 * optimization: enhanced derivation of DOLIST iteration variable type
5151 * optimization: constant folding of simple (LIST ...) forms as DOLIST
5153 * optimization: runtime lookup of function definitions can be
5154 elided in more cases, eg: (let ((x 'foo)) (funcall foo)).
5155 * optimization: compiler is able to derive the return type of
5156 (AREF (THE STRING X) Y) as being CHARACTER.
5157 * optimization: CLRHASH on empty hash-tables no longer does pointless
5158 work. (thanks to Alec Berryman)
5159 * optimization: REPLACE deftransforms don't punt when :START1 or
5161 * bug fix: compiling DESTRUCTURING-BIND on constant list arguments
5162 no longer emits a code deletion note. (reported by Andrew
5164 * bug fix: bogus odd-number-of-keywords STYLE-WARNINGs from calls to
5165 functions with an odd number of &OPTIONAL arguments, a &REST
5166 argument, and one or more &KEY arguments at the call site.
5167 * bug fix: STYLE-WARNINGs for functions with both &OPTIONAL and &KEY
5168 arguments appeared at call sites as well.
5169 * bug fix: fixed #425; CLOSE drops input buffers from streams, so
5170 READ-LINE &co can no longer read from them afterwards. (reported
5172 * bug fix: fixed #427: unused local aliens no longer cause compiler
5173 breakage. (reported by Stelian Ionescu, Andy Hefner and Stanislaw
5175 * bug fix: non-local exit from a WITH-ALIEN form no longer causes
5176 alien-stack leakage. (reported by Andy Hefner)
5177 * bug fix: PROGV signals an error when an attempt to violate declared
5178 type of a variable or bind a constant is made.
5179 * bug fix: SET signals an error when an attempt to violate declared
5180 type of a variable is made.
5181 * bug fix: restart computation during the execution of a restart
5182 test function no longer causes infinite recursion. (reported by
5184 * bug fix: calling SB-COVER:REPORT with a non-directory pathname now
5185 signals an error. (thanks to Pierre Mai)
5186 * bug fix: EXPORT left symbol unexported in conflict situations.
5187 (thanks to Michael Weber)
5188 * bug fix: correctly handle name conflicts involving CL:NIL.
5189 (thanks to Michael Weber)
5190 * bug fix: RESOLVE-CONFLICT restart for name conflicts handles
5191 conflicts arising from USEing package with conflicting symbols
5192 correctly. (thanks to Michael Weber)
5194 changes in sbcl-1.0.19 relative to 1.0.18:
5195 * new feature: user-customizable variable SB-EXT:*MUFFLED-WARNINGS*;
5196 warnings that go otherwise unhandled will be muffled if they are
5197 of the type that's the value of this variable.
5198 * optimization: stack allocation is slightly more efficient on x86
5200 * bug fix: DEFSTRUCT forms with user-specified :CONSTRUCTOR options,
5201 where a raw slot always is initialized using the initform whose
5202 type is not know sufficiently well a compile-time are now compiled
5203 correctly. (reported by John Morrison)
5204 * bug fix: compiler no longer makes erronous assumptions in the
5205 presence of non-foldable SATISFIES types.
5206 * bug fix: stack analysis missed cleanups of dynamic-extent
5207 arguments in non-let-converted calls to local functions.
5208 * improvements to the Windows port:
5209 ** adjusted address spaces for building on both Win32 and
5210 Win64. (thanks for John Connors)
5211 * fixed some bugs revealed by Paul Dietz' test suite:
5212 ** interval arithmetic during type derivation used inexact integer
5213 to single-float coercions.
5214 ** arithmetic operations involving large integers and single
5215 floats give the same results in compiled and interpreted code.
5216 ** deriving the result type of COERCE no longer signals an error
5217 if the derived type of the second argument is a MEMBER type
5218 containing invalid type specifiers.
5219 ** ADJOIN with constant NIL as second argument works correctly.
5220 ** FUNCTION-KEYWORDS was called SB-PCL::FUNCTION-KEYWORD-PARAMETERS.
5222 changes in sbcl-1.0.18 relative to 1.0.17:
5223 * minor incompatible change: SB-SPROF:WITH-PROFILING now by default
5224 profiles only the current thread.
5225 * minor incompatible change: changes to SYMBOL-VALUE of constants
5226 defined with DEFCONSTANT now signal an error.
5227 * enhancement: SB-SPROF now has support for wallclock profiling,
5228 and is also able to profile specific threads. REPORT output
5229 has also additional sorting options.
5230 * enhancement: better pretty-printing of DEFPACKAGE forms. (Thanks
5232 * optimization: structure allocation has been improved
5233 ** constructors created by non-toplevel DEFSTRUCTs are ~40% faster.
5234 ** out of line constructors are ~10% faster.
5235 ** inline constructors are ~15% faster.
5236 ** inline constructors are capable of dynamic extent allocation
5237 (generally on x86 and x86-64, in some cases on other platforms
5239 * optimization: simple uses of HANDLER-CASE and HANDLER-BIND no
5241 * optimization: file compiler is now able to coalesce non-circular
5242 lists, non-base strings, and bit-vectors. Additionally, constants
5243 are never referenced through SYMBOL-VALUE at runtime.
5244 * optimization: code defining methods on PRINT-OBJECT (and other
5245 generic functions in the COMMON-LISP package) now loads faster.
5246 * bug fix: EAI_NODATA is deprecated since RFC 3493. Stop using it
5248 * bug fix: if COMPILE-FILE aborts due to an unwind, the partial
5249 fasl is now deleted. (reported by Attila Lendvai)
5250 * bug fix: READ-LINE always returned NIL for the last line in files.
5251 (reported by Yoshinori Tahara)
5252 * bug fix: more accurate disassembly annotations of foreign function
5253 calls. (thanks to Andy Hefner)
5254 * bug fix: trimming non-simple strings and non-string string
5255 designators when the there is nothing to trim works properly.
5256 (thanks to James Knight)
5257 * new feature: SB-POSIX bindings for mlockall, munlockall, and setsid.
5258 (thanks to Travis Cross)
5259 * fixed some bugs revealed by Paul Dietz' test suite:
5260 ** NIL is a valid function name (regression at 1.0.13.38)
5261 ** FILL on lists was missing its return value (regression at 1.0.12.27)
5262 ** STRING-TRIM, STRING-LEFT-TRIM, and STRING-RIGHT-TRIM did not respect
5263 fill pointers properly (regression at 1.0.12.23)
5264 ** STRING-TRIM, STRING-LEFT-TRIM, and STRING-RIGHT-TRIM did not respect
5265 displacement indices properly (regression at 1.0.12.23)
5267 changes in sbcl-1.0.17 relative to 1.0.16:
5268 * temporary regression: user code can no longer allocate closure
5269 variable storage on stack, due to bug 419 without explicitly
5270 requesting it. Please consult sbcl-devel for advice if you need to
5271 use this feature in the meanwhile.
5272 * new feature: runtime argument --control-stack-size can be used to
5273 adjust thread default control stack size.
5274 * enhancement: improved TIME output
5275 ** all times are reported using the measured accuracy (milliseconds
5276 for real and GC times, microseconds for everything else.)
5277 ** processor cycle counts on x86 and x86-64.
5278 ** interpreted forms are counted for both evaluator modes.
5279 ** number of lambdas converted by the compiler is reported.
5280 ** CPU percentage report (computed from real and total run time.)
5281 ** more comprehensive run time reporting, using a condenced format
5282 ** interperted form, lambda, and page fault counts are omitted
5284 * optimization: ADJOIN and PUSHNEW are upto ~70% faster in normal
5286 * optimization: APPEND is upto ~10% faster in normal SPEED policies.
5287 * optimization: two argument forms of LAST are upto ~10% faster
5288 in normal SPEED policies.
5289 * optimization: NCONC no longer needs to heap cons its &REST list
5290 in normal SPEED policies.
5291 * bug fix: SB-FLUID build feature no longer breaks the build. (thanks
5292 to Sidney Markowitz)
5293 * bug fix: UNION and NUNION work with :TEST-NOT once more,
5294 regression since 1.0.9.1. (thanks to Eric Marsden)
5295 * bug fix: result of MAKE-ARRAY can be stack allocated - regression
5296 since 1.0.15.36. (thanks to Paul Khuong)
5297 * bug fix: LAST when always returned the whole list when given a bignum
5298 as the second argument.
5299 * bug fix: dynamic extent allocation of nested lists and vectors
5300 could leak to otherwise accessible parts.
5301 * bug fix: invalid optimization of heap-allocated alien variable
5303 * bug fix: fasl header checking is less vulnerable to different
5304 platform word lengths.
5305 * bug fix: more correct assembler syntax for GNU binutils
5306 2.18.50.0.4 support. (thanks to Marijn Schouten)
5307 * bug fix: fix ECASE warnings from CMUCL-as-xc-host. (reported by
5309 * bug fix: the fopcompiler can handle LOCALLY forms (with no
5310 declarations) successfully. (reported by Attila Lendvai)
5312 changes in sbcl-1.0.16 relative to 1.0.15:
5313 * minor incompatible change: revert the changes to sb-posix's error
5314 signaling added in 1.0.14.
5315 * minor incompatible change: change PROBE-FILE back to returning
5316 NIL whenever we can't get a truename, as was the case before 1.0.14.
5317 * minor incompatible change: SB-BSD-SOCKETS:NAME-SERVICE-ERROR now
5318 inherits from ERROR instead of just CONDITION.
5319 * new feature: SB-INTROSPECT can provide source locations for instances
5320 as well. (thanks to Tobias Rittweiler)
5321 * optimization: binding special variables now generates smaller code
5322 on threaded platforms.
5323 * optimization: MEMBER and ASSOC are over 50% faster for :TEST #'EQ
5324 and cases where no :TEST is given but the compiler can infer that
5325 the element to search is of type (OR FIXNUM (NOT NUMBER)).
5326 * optimization: better LOGNOT on fixnums.
5327 * optimization: modular arithmetic for a particular requested width
5328 is implemented using a tagged representation unless a better
5329 representation is available.
5330 * fixed bug 423: TRULY-THE and *CHECK-CONSISTENCY* interaction.
5331 * bug fix: SB-BSD-SOCKETS:MAKE-INET-ADDRESS checks the input string
5332 for wellformedness and returns a specialized vector. (reported by
5333 Francois-Rene Rideau)
5334 * bug fix: FIND-CLASS was not thread-safe. (reported by Attila Lendvai)
5335 * bug fix: ~R was broken for vigtillions. (thanks to Luis Oliveira)
5336 * bug fix: attempt to obtain *SCHEDULER-LOCK* recursively when
5337 unscheduling timer at the same time as another timer fires.
5338 * bug fix: don't reschedule timers for dead threads.
5339 * bug fix: periodic polling was broken. (thanks to Espen S Johnsen)
5340 * bug fix: copying output from RUN-PROGRAM to a stream signalled
5341 bogus errors if select() was interrupted.
5342 * enhancement: add support for fcntl's struct flock to SB-POSIX.
5344 changes in sbcl-1.0.15 relative to sbcl-1.0.14:
5345 * enhancement: cleaner backtraces for interactive interrupts, as
5346 well as other cases where the interesting frames used to be
5347 obscured by interrupt handling frames.
5348 * enhancement: untracing a whole package using (UNTRACE "FOO") is
5349 now supported, and tracing a whole package using (TRACE "FOO") now
5350 traces SETF-functions as well.
5351 * enhancement: implement SB-POSIX:MKTEMP and SB-POSIX:MKDTEMP.
5352 * SB-DEBUG:PRINT-FRAME-CALL now prints the entry-point kind even
5353 when SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS* is NIL.
5354 * unreadably printed representation of hash-tables now includes
5356 * bug fix: partially fixed #188: type propagation from assignments
5357 is now more efficient.
5358 * bug fix: fixed #407: (COERCE X 'SINGLE-FLOAT) and (COERCE X
5359 'DOUBLE-FLOAT) are not flushable.
5360 * bug fix: on x86 and x86-64 pointer based EQ-hashing now uses the
5361 full address of the object, and none of the tag bits.
5362 * bug fix: readably printing hash-tables now respects other printer
5363 control variables. (reported by Cedric St-Jean)
5364 * bug fix: compiler gave a bogus STYLE-WARNING for the :SYNCHRONIZED
5365 keyword with MAKE-HASH-TABLE.
5366 * bug fix: export SB-POSIX:MKSTEMP.
5367 * bug fix: SORT was not interrupt safe.
5368 * bug fix: XREF accounts for the last node of each basic-block as
5370 * bug fix: MAKE-INSTANCE optimizations interacted badly with
5371 non-keyword :DEFAULT-INITARGS in the presence of :BEFORE/:AFTER
5372 methods on SHARED-INITIALIZE. (thanks to Matt Marjanovic)
5373 * bug fix: the CTOR optimization for MAKE-INSTANCE should no longer
5374 create obsolete instances in the case of redefinition or
5375 obsoletion of a superclass. (thanks to Andy Hefner)
5376 * bug fix: Support for the Alpha architecture has been revived; it had
5377 suffered somewhat from lack of maintenance since sbcl-1.0.
5378 * improvements to the Windows port:
5379 ** The system detects the codepage to use at startup, instead of
5380 using the value from the saved core. (thanks to Kei Suzuki)
5382 changes in sbcl-1.0.14 relative to sbcl-1.0.13:
5383 * new feature: SB-EXT:*EXIT-HOOKS* are called when the process exits
5384 (see documentation for details.)
5385 * revived support for OpenBSD (contributed by Josh Elsasser)
5386 * partially fixed bug #108: ROOM no longer suffers from occasional
5387 (AVER (SAP= CURRENT END)) failures.
5388 * fixed bug #402: proclaimed non-standard declarations in DEFMETHOD
5389 bodies no longer cause a WARNING to be signalled. (reported by
5391 * bug fix: (TRUNCATE X 0) when X is a bignum now correctly signals
5392 DIVISION-BY-ZERO. Similarly for MOD and REM (which suffered due to
5393 the bug in TRUNCATE.) (reported by Michael Weber)
5394 * bug fix: SB-SPROF:REPORT no longer signals an error if there are
5395 no samples. (reported by Andy Hefner)
5396 * bug fix: functions compiled using (COMPILE NIL '(LAMBDA ...))
5397 no longer appear as (NIL ...) frames in backtraces.
5398 * bug fix: RESOLVE-CONFLICT (and the other name conflict machinery)
5399 is now actually exported from SB-EXT as documented. (reported by
5401 * bug fix: sb-aclrepl now correctly understands how to inspect
5402 single-floats on 64-bit platforms where single-floats are not boxed.
5403 * bug fix: SB-MOP:CLASS-SLOTS now signals an error if the class has not
5404 yet been finalized. (reported by Levente Meszaros)
5405 * bug fix: CLOSE :ABORT T behaves more correctly on Windows.
5406 * DESCRIBE and (DOCUMENTATION ... 'OPTIMIZE) describe meaning of
5407 SBCL-specific optimize qualities.
5409 changes in sbcl-1.0.13 relative to sbcl-1.0.12:
5410 * minor incompatible change: RUN-PROGRAM now uses execvp(3) to find
5411 an executable in the search path, and does so in the child
5412 process's PATH. The function FIND-EXECUTABLE-IN-SEARCH-PATH has
5413 been removed; it can be found in the CVS history, for somebody who
5414 needs that search behavior (see the manual).
5415 * minor incompatible change: compiler policy re. weakening type
5416 checks has changed: now type checks are weakened only if SAFETY < 2
5418 * SB-EXT:NATIVE-NAMESTRING takes a new keyword AS-FILE, forcing
5419 unparsing of directory pathnames as files. Analogously,
5420 SB-EXT:PARSE-NATIVE-NAMESTRING takes an AS-DIRECTORY, forcing a
5421 filename to parse into a directory pathname.
5422 * enhancement: implicit generic function creation now signals a
5423 specific style-warning IMPLICIT-GENERIC-FUNCTION-WARNING, which
5424 users can bind handlers for and muffle around calls to LOAD.
5425 * enhancement: RUN-PROGRAM allows unicode arguments and environments
5426 to be used (using the default stream external format), and allows
5427 non-simple strings to be used. (thanks to Harald Hanche-Olsen)
5428 * optimization: COPY-SEQ, FILL, and SUBSEQ are 30-80% faster for
5429 strings and vectors whose element-type or simplicity is not fully
5430 known at compile-time.
5431 * optimization: STRING-TRIM and related functions no longer allocate
5432 a new string when no trimming needs to be performed. These functions
5433 are also faster than before when the input string has been declared
5435 * optimization: READ-SEQUENCE on simple-strings is up to 80% faster.
5436 * optimization: READ-LINE is significantly faster for files containing
5438 * optimization: non-open coded uses of character comparison operators
5439 (e.g. char=) no longer cons when called with more than one parameter
5440 on platforms supporting dynamic-extent allocation.
5441 * bug fix: READ-SEQUENCE on composite stream wrapping a Gray stream
5442 with STREAM-ELEMENT-TYPE (UNSIGNED-BYTE 8) signalled an error.
5443 * bug fix: COPY-SEQ on lists did not signal a type-error on improper
5445 * bug fix: some sequence functions elided bounds checking when
5447 * bug fix: too liberal weakening of union-type checks when SPEED >
5449 * bug fix: more bogus fixnum declarations in ROOM implementation
5452 changes in sbcl-1.0.12 relative to sbcl-1.0.11:
5453 * new feature: MAKE-HASH-TABLE now experimentally accepts a
5454 :SYNCHRONIZED argument, which makes the hash-table safe for
5455 concurrent accesses (but not iteration.) See also:
5456 SB-EXT:WITH-LOCKED-HASH-TABLE, and
5457 SB-EXT:HASH-TABLE-SYNCHRONIZED-P.
5458 * optimization: CONCATENATE on strings is an order of magnitude faster
5459 in code compiled with (> SPEED SPACE).
5460 * optimization: SUBSEQ is ~50% faster on lists.
5461 * bug fix: bug 417 fixed -- source location reporting is now more robust.
5462 * bug fix: SUBSEQ on a list will now correctly signal an error if if
5463 END is smaller then START.
5464 * bug fix: SB-PROFILE will no longer report extra consing for nested
5465 calls to profiled functions.
5466 * bug fix: ROOM implementation had bogus fixnum declarations which
5467 could cause type-errors when calling ROOM on large images.
5468 * bug fix: if file compilation is aborted, the partial fasl is now
5469 deleted, and COMPILE-FILE returns NIL as the primary value.
5470 * bug fix: number of thread safety issues relating to SBCL's internal
5471 hash-table usage have been fixed.
5472 * bug fix: SB-SYS:WITH-PINNED-OBJECTS could cause garbage values to
5473 be returned from its body when the values were being returned
5474 using unknown-values return convection and the W-P-O was wrapped
5475 inside an UNWIND-PROTECT.
5476 * bug fix: sb-posix should now compile again under Windows, enabling
5477 slime to work again.
5479 changes in sbcl-1.0.11 relative to sbcl-1.0.10:
5480 * incompatible change: hash-table accessor functions are no longer
5481 automatically protected by locks. Concurrent accesses on the same hash-table
5482 from multiple threads can give inconsistent results or even corrupt the
5483 hash-table completely. Multi-threaded applications should do their own
5484 locking at the correct granularity. In the current implementation it is
5485 still safe to have multiple readers access the same table, but it's not
5486 guaranteed that this property will be maintained in future releases.
5487 * minor incompatible change: (SETF MUTEX-VALUE) is not longer supported,
5488 and will signal an error at runtime.
5489 * enhancement: SB-THREAD package now exports a semaphore interface.
5490 * enhancement: CONS can now stack-allocate on x86 and
5491 x86-64. (Earlier LIST and LIST* supported stack-allocation, but
5493 * enhancement: nested lists can now be stack allocated on
5494 platforms providing stack allocation support.
5495 * enhancement: dynamic-extent support has been extended to support
5496 cases where there are multiple possible sources for the stack
5498 * optimization: RELEASE-MUTEX no longer needs to perform a syscall
5499 if the mutex is uncontested on Linux.
5500 * bug fix: symbol-macro expansion now uses the *MACROEXPAND-HOOK*
5501 as specified by the CLHS. (thanks to Tobias Rittweiler)
5502 * bug fix: NaN comparison now works on x86-64.
5503 * bug fix: CLOSE :ABORT T on a stream with pending output now
5505 * bug fix: instances of non-standard metaclasses using standard
5506 instance structure protocol sometimes missed the slot type checks
5508 * bug fix: known functions can be inlined in high-debug code.
5510 changes in sbcl-1.0.10 relative to sbcl-1.0.9:
5511 * minor incompatible change: the MSI installer on Windows no longer
5512 associates .lisp and .fasl files with the installed SBCL.
5513 * minor incompatible change: :UNIX is no longer present in *FEATURES*
5514 on Windows. (thanks to Luis Oliviera)
5515 * new feature: SB-CLTL2 contrib module now implements
5516 FUNCTION-INFORMATION. (thanks to Larry D'Anna)
5517 * optimization: scavenging weak pointers is now more efficient,
5518 requiring O(1) instead of O(N) per weak pointer to identify
5519 scanvenged vs. unscavenged pointers. (thanks to Paul Khuong)
5520 * optimization: typechecking (SETF SLOT-VALUE) is now ~5x faster in
5521 method bodies using constant slot-names when the first argument is
5522 a specializer parameter for the method.
5523 * optimization: SLOT-VALUE &co are now ~50% faster for variable slot
5524 names, when the class of the instance is a direct instance
5525 STANDARD-CLASS or FUNCALLABLE-STANDARD-CLASS (making them only 3x
5526 as slow as the constant slot-name case.)
5527 * optimization: member type construction is now O(N) instead
5529 * optimization: UNION and NUNION are now O(N+M) for large
5530 inputs as long as the :TEST function is one of EQ, EQL, EQUAL, or
5532 * enhancement: DEFINE-MODIFY-MACRO lambda-list information is
5533 now more readable in environments like Slime which display it.
5534 (thanks to Tobias C. Rittweiler)
5535 * bug fix: SB-EXT:COMPARE-AND-SWAP was non-atomic unless the compiler
5536 was able to infer the correct argument type for the object on which
5537 the CAS operation was being performed.
5538 * bug fix: copy propagation interfered with parallel assignment
5539 semantics in local calls. (reported by Paul Khuong)
5540 * bug fix: the signed modular fixnum shift compiled to wrong code on
5541 x86 and x86-64. (spotted by a slight modification to some of
5544 changes in sbcl-1.0.9 relative to sbcl-1.0.8:
5545 * minor incompatible change: SB-SYS:OUTPUT-RAW-BYTES is deprecated.
5546 * enhancement: SB-EXT:FINALIZE accepts a :DONT-SAVE keyword argument,
5547 indicating the finalizer should be cancelled when SAVE-LISP-AND-DIE
5549 * enhancement: default PRINT-OBJECT methods for classes, slot-definitions,
5550 and generic function now print the object identity for anonymous
5551 instances. (thanks to Attila Lendvai)
5552 * enhancement: as an extension to MOP, SBCL now supports SETF of
5553 STANDARD-INSTANCE-ACCESS and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
5554 (thanks to Attila Lendvai)
5555 * enhancement: sb-cover has an alternate annotation mode which puts
5556 the form annotations at the car of the form, instead of annotating
5557 it completely. The benefit of this mode is that it shows better
5558 which forms were instrumented by the compiler.
5559 * bug fix: new compiler transforms for MEMBER and ASSOC were affected
5560 by printer control variables. (reported by Dan Corkill)
5561 * bug fix: system leaked memory when delayed output was performed by
5562 the OS in smaller chunks then expected. (thanks to David Smith)
5563 * bug fix: system leaked memory when file streams were not closed
5565 * bug fix: large objects written to slow streams that were modified
5566 after the write could end up with the modified state written to
5567 the underlying file descriptor.
5568 * bug fix: multiple threads operating in parallel on the same stream
5569 could cause buffer-overflows.
5570 * bug fix: source location information is stored correctly
5571 (broken since 1.0.6). This bug would generally show up as the
5572 Slime debugger highlighting the wrong form when the sldb-show-source
5574 * bug fix: Branch forms are again annotated as branches in the sb-cover
5576 * bug fix: GCD on MOST-NEGATIVE-FIXNUM no longer causes an infinite loop
5577 on x86-64. (reported by Gregory Vanuxem)
5578 * bug fix: EQUALP could return wrong results for structures with raw
5579 slots (slots with a :TYPE of SINGLE-FLOAT, DOUBLE-FLOAT, or a machine
5580 word). (reported by Vjacheslav Fyodorov)
5581 * bug fix: sb-sprof sampling didn't work on non-x86oid platforms. (patch
5584 changes in sbcl-1.0.8 relative to sbcl-1.0.7:
5585 * enhancement: experimental macro SB-EXT:COMPARE-AND-SWAP provides
5586 atomic compare-and-swap operations on threaded platforms.
5587 * enhancement: experimental function SB-EXT:RESTRICT-COMPILER-POLICY
5588 allows assigning a global minimum value to optimization qualities
5589 (overriding proclamations and declarations).
5590 * enhancement: closed over variables can be stack-allocated on x86
5592 * performance bug fix: GETHASH and (SETF GETHASH) are once again
5594 * optimization: slot definition lookup is now O(1). This speeds up
5595 eg. SLOT-VALUE and (SETF SLOT-VALUE) with variable slot names.
5596 * optimization: STRING-TO-OCTETS is now up to 60% faster for UTF-8.
5597 * optimization: ASSOC and MEMBER can now be open-coded for all
5598 combinations of keyword arguments when second argument is constant
5599 and SPEED >= SPACE. In other cases a specialized version is
5601 * bug fix: using obsoleted structure instances with TYPEP and
5602 generic functions now signals a sensible error.
5603 * bug fix: threads waiting on GET-FOREGROUND can be interrupted.
5604 (reported by Kristoffer Kvello)
5605 * bug fix: backtrace construction is now more careful when making
5606 lisp-objects from pointers on the stack, to avoid creating bogus
5607 objects that can be seen by the GC.
5608 * bug fix: defaulting of values in contexts expecting more than 7
5609 variables now works on x86-64. (reported by Christopher Laux)
5610 * bug fix: modifications to packages (INTERN, EXPORT, etc) are now
5612 * bug fix: (SETF SYMBOL-PLIST) no longer allows assigning a non-list
5613 as the property-list of a symbol.
5614 * bug fix: DEFMETHOD forms with CALL-NEXT-METHOD in the method body,
5615 in EVAL-WHEN forms with both :COMPILE-TOPLEVEL and :LOAD-TOPLEVEL
5616 situations requested, are once again file-compileable. (reported
5619 changes in sbcl-1.0.7 relative to sbcl-1.0.6:
5620 * MOP improvement: support for user-defined subclasses of
5621 SB-MOP:SPECIALIZER has been enhanced. The experimental interface
5622 function SB-PCL:MAKE-METHOD-SPECIALIZERS-FORM, called as part of
5623 the expansion of DEFMETHOD, is responsible for generating a form
5624 which creates a list of specializers when evaluated. Additional
5625 functions SB-PCL:[UN]PARSE-SPECIALIZER-USING-CLASS provide
5626 debugging and introspective support.
5627 * minor incompatible change: the (unsupported) spinlock interface
5628 has changed: free spinlock now has the value NIL, and a held spinlock
5629 has the owning thread as its value.
5630 * enhancement: WITHOUT-INTERRUPTS now binds ALLOW-WITH-INTERRUPTS and
5631 WITH-LOCAL-INTERRUPTS as local macros. Refer to documentation string
5633 * enhancement: name of a socket-stream is now "a socket" instead of
5634 "a constant string".
5635 * enhancement: SB-POSIX now supports lockf(). (Thanks to Zach Beane.)
5636 * enhancement: SB-POSIX now supports getcwd(). (Thanks to Tassilo Horn.)
5637 * enhancement: SB-INTROSPECT:FUNCTION-ARGLIST shows nicer argument lists
5638 for generic functions. (Thanks to Tobias C. Rittweiler)
5639 * optimization: bignum printing speed has been improved by 20-40%
5640 (depending on the bignum size.)
5641 * bug fix: WITH-MUTEX and WITH-RECURSIVE-LOCK are now interrupt safe
5643 * bug fix: the cache used by the CLOS to store precomputed effective
5644 methods, slot offsets, and constant return values is now thread and
5646 * bug fix: generic function dispatch function updating is now thread
5647 and interrupt safe (in the sense that the known issues have been
5649 * bug fix: ADD/REMOVE-METHOD is now thread and interrupt safe.
5650 * bug fix: interning EQL-specializers is now thread and interrupt safe.
5651 * bug fix: asdf systems with dependencies to the SB-POSIX or
5652 SB-BSD-SOCKETS contribs can be loaded with :FORCE T.
5653 * bug fix: interrupt safety of applicable method computation has been
5656 changes in sbcl-1.0.6 relative to sbcl-1.0.5:
5657 * new contrib: sb-cover, an experimental code coverage tool, is included
5658 as a contrib module.
5659 * optimization: STRING-TO-OCTETS for unibyte encodings and UTF-8 is
5660 significantly faster.
5661 * optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
5662 produce more efficient code on x86-64 if the compiler can determine
5663 that (+ INDEX <constant>) does not require a bounds check and FOO
5664 has an element type at least 8 bits wide.
5665 * enhancement: a new, experimental synchronous timeout facility is
5666 provided. Refer to SB-SYS:WITH-DEADLINE for details.
5667 * enhancement: when a symbol name conflict error arises, the
5668 conflicting symbols are always printed with a package prefix.
5669 (thanks to Kevin Reid)
5670 * enhancement: stepping is now once again supported on the SPARC and
5671 MIPS platforms. (It is also now more likely to work on CheneyGC
5673 * enhancement: sb-sprof can now also track and report accurate call
5675 * bug fixes: the treatment of non-standard subclasses of
5676 SB-MOP:SPECIALIZER is more correct.
5677 * incompatible change: PURIFY no longer copies the data from the
5678 dynamic space into the static and read-only spaces on platforms
5679 that use the generational garbage collector
5680 * bug fix: GETHASH, (SETF GETHASH), CLRHASH and REMHASH are now
5682 * bug fix: GC race condition occasionally resulting in crashes with
5683 the error message "SIG_STOP_FOR_GC blocked at a bad place" has been
5685 * bug fix: &ENVIRONMENT variables in macro lambda lists can now be
5687 * bug fix: DEFSETF lambda lists without &ENVIRONMENT no longer cause
5688 a STYLE-WARNING to be signalled (regression from 1.0.4.)
5689 * bug fix: an asynchronous interrupt could previously leave the
5690 system running with GC inhibited.
5691 * bug fix: a DECLARE form evaluated at top-level now causes an error
5692 rather than silently (or verbosely) returning NIL.
5693 * bug fix: trying to dissassemble functions compiled at high DEBUG could
5694 result in a error being signalled due to source form lookup errors.
5695 (reported by Peter Graves)
5697 changes in sbcl-1.0.5 relative to sbcl-1.0.4:
5698 * incompatible change: removed writer methods for host-ent-name,
5699 host-ent-addresses -- changing the values did not update the DNS
5701 * minor incompatible change: changed experimental JOIN-THREAD interface
5702 * documentation: the manual now lists reader and writer methods
5703 in class slot documentation sections. (thanks to Richard M Kreuter)
5704 * documentation: unwinding from asyncronous events has been
5705 documented as unsafe.
5706 * documentation: SB-SYS:WITHOUT-GCING has been documented as unsafe
5707 in multithreaded application code.
5708 * optimization: GET-INTERNAL-REAL-TIME has been optimized on POSIX
5709 platforms. (thanks to James Anderson for the optimization hint)
5710 * optimization: REPLACE, SUBSEQ, and COPY-SEQ are now optimized in
5712 * optimization: STRING-{EQUAL,LESSP,GREATER-P} and their NOT-
5713 variants no longer cons.
5714 * optimization: Direct calls to CHAR-{EQUAL,LESSP,GREATERP} and
5715 their NOT- variants no longer cons.
5716 * optimization: EQUAL hash tables no longer use SXHASH for objects
5717 of all data types, but instead use an EQL hash for types for which
5718 EQUAL is the same as EQL.
5719 * optimization: the non-inlined generic versions of AREF and (SETF AREF)
5720 are significantly faster.
5721 * optimization: new STRING-OUTPUT-STREAM implementation is much
5722 faster for large outputs and conses 30% less on average.
5723 * enhancement: XREF information is now collected for references made
5724 to global variables using SYMBOL-VALUE and a constant argument.
5725 * enhancement: SIGINT now causes a specific condition
5726 SB-SYS:INTERACTIVE-INTERRUPT to be signalled.
5727 * bug fix: FILE-POSITION used to signal an error in some cases where
5728 ANSI requires it to return NIL.
5729 * bug fix: ADJUST-ARRAY is now interrupt-safe.
5730 * bug fix: adding and removing fd-handlers is now interrupt-safe.
5731 * bug fix: inlined calls to C now ensure 16byte stack alignment on
5733 * bug fix: bad type declaration in the CLOS implementation has
5734 been fixed. (reported by James Anderson)
5735 * bug fix: incorrect ROOM reporting on x86-64 has been fixed.
5736 (thanks to Lutz Euler)
5737 * bug fix: DEFSETF now allows &ENVIRONMENT and disallows &AUX as
5738 required by the CLHS. (reported by Samium Gromoff)
5739 * bug fix: dead unbound variable references now signal an error.
5740 (reported by Marco Monteiro)
5741 * bug fix: / with an unused value was being deleted in safe code.
5742 (thanks to Marco Monteiro and Kevin Reid)
5743 * bug fix: number of characters that can be written onto a single
5744 line in a file is unlimited.
5745 * bug fix: some GC deadlocks caused by asynchronous interrupts have
5746 been fixed by inhibiting interrupts for when GC is disabled.
5747 * bug fix: some interrupt safety issues with GETHASH, (SETF
5748 GETHASH), CLRHASH and REMHASH have been fixed.
5749 * bug fix: binding *BREAK-ON-SIGNALS* to a value that is not a type
5750 specifier no longer causes infinite recursion.
5751 * bug fix: SB-EXT:MUFFLE-CONDITIONS declarations no longer trigger a
5752 bogus warning in DEFMETHOD bodies. (reported by Kevin Reid)
5753 * bug fix: an &environment argument with the correct variable information
5754 is passed to macros that are expanded during byte compilation.
5755 (reported by Samium Gromoff)
5756 * bug fix: a logic error was causing the hash function for bignums to
5757 have excessive amounts of collisions. (reported by Faré Rideau)
5758 * bug fix: modifying the contents of an array could change the return
5759 value of SXHASH on that array, which is only allowed for strings
5760 and bit vectors. (bug introduced in 0.9.16)
5761 * improvement: the x86-64/darwin port now passes all tests (except
5762 for the debugger tests) but should still be considered
5763 experimental until this is fixed.
5764 * improvement: a style-warning is signaled for CASE (etc) clauses with
5765 duplicate keys. (thanks to Kevin Reid)
5766 * improvement: macos/x86 and macos/x86-64 now use mach exception
5767 handlers for dealing with illegal instructions (for trapping and
5768 error handling) and memory protection violations (for GC).
5770 changes in sbcl-1.0.4 relative to sbcl-1.0.3:
5771 * new platform: experimental support for x86-64/darwin (MacOS).
5772 * incompatible change: the thread-safe (on most platforms) getaddrinfo
5773 and getnameinfo sockets functions are used instead of gethostbyaddr
5774 and gethostbyname, on platforms where the newer functions are available.
5775 As a result, the ALIASES field of HOST-ENT will always be NIL on these
5777 * change: runtimes with embedded cores (i.e. saved with :EXECUTABLE T)
5778 don't print the startup banner, but behave as if --noinform was passed
5779 as a command line argument. (thanks to Kevin Reid)
5780 * new experimental feature: added JOIN-THREAD (by NIIMI Satoshi)
5781 * optimization: code using alien values with undeclared types is much faster.
5782 * optimization: the compiler is now able to open code SEARCH in more cases.
5783 * optimization: more compact typechecks on x86-64 (thanks to Lutz Euler)
5784 * bug fix: using standardized COMMON-LISP special variables as loop
5785 variables no longer signals bogus package lock violations. (reported
5787 * bug fix: declaring local loop variables to be of a range-limited type
5788 such as (SINGLE-FLOAT 1.0 2.0) no longer causes a compile-time error.
5789 (reported by Andras Simon)
5790 * bug fix: >= and <= gave wrong results when used with NaNs. (Some NaN
5791 bugs remain on x86-64.)
5792 * bug fix: the #= and ## reader macros now interact reasonably with
5793 funcallable instances.
5794 * bug fix: type-checks for function arguments were compiled using the
5795 compiler policy settings of the wrong lexical environment (in 1.0.2
5797 * bug fix: SHADOW accepts characters as string designators, as required
5798 by the spec (thanks to Eric Marsden)
5799 * bug fix: fixed GC safety issues when foreign functions are called with
5800 non-base strings as arguments
5801 * bug fix: more consistent error output for fatal-compiler-warnings, like
5803 * bug fix: functions with proper names were showing up as NIL in
5804 backtraces (reported by Edi Weitz, regression in 1.0.2)
5806 changes in sbcl-1.0.3 relative to sbcl-1.0.2:
5807 * new platform: NetBSD/PPC. (thanks to Aymeric Vincent)
5808 * optimization: calls of the form (AREF FOO (+ INDEX <constant>)) now
5809 produce more efficient code on the x86 if the compiler can determine
5810 that (+ INDEX <constant>) does not require a bounds check and FOO
5811 has an element type at least 8 bits wide.
5812 * bug fix: references to undefined variables are handled the same way
5813 in toplevel forms as in the normal compiler
5814 * bug fix: the build scripts again work with non-bash /bin/sh (thanks
5816 * bug fix: use "gtar" as the asdf-install *TAR-PROGRAM* on NetBSD
5817 (thanks to Jon Buller)
5818 * improvement: faster compilation times for complex functions
5819 * improvement: added readlink support to SB-POSIX (thanks to Richard
5822 changes in sbcl-1.0.2 relative to sbcl-1.0.1:
5823 * improvement: experimental support for mach exception handling on
5824 x86/macos. requires building with :MACH-EXCEPTION-HANDLER feature
5826 * improvement: support for GBK external format.
5827 (thanks to Chun Tian (binghe))
5828 * improvement: the debugger now displays variables that have been closed
5829 over, in code compiled with (DEBUG 2) or higher
5830 * improvement: support for executable cores on NetBSD (thanks to
5832 * new feature: added a RESTART-FRAME debugger command
5833 * new feature: new generic function SB-GRAY:STREAM-FILE-POSITION can
5834 be used to provide an implementation for FILE-POSITION on Gray streams
5835 (thanks to Eric Marsden)
5836 * new feature: add syslog, openlog and closelog support to SB-POSIX
5837 (thanks to Richard Kreuter)
5838 * optimization: the function call overhead in code compiled with
5839 a high DEBUG optimization setting is significantly
5840 * bug fix: an error is signaled for attempts to use READ-SEQUENCE
5841 for a (SIGNED-BYTE 8) stream and (UNSIGNED-BYTE 8) vector, or vice versa.
5842 (thanks to Tony Martinez)
5843 * bug fix: the initforms for DEFMETHOD &AUX parameters are only
5844 evaluated once (reported by Kevin Reid)
5845 * bug fix: the :SHOW-PROGRESS keyword parameter to SB-SPROF:WITH-PROFILING
5846 works again (thanks to Kilian Sprotte)
5847 * bug fix: an error is signaled for tagbodies with duplicate tags
5848 (thanks to Stephen Wilson)
5849 * bug fix: NIL can be used as a tagbody tag (thanks to Stephen Wilson)
5850 * bug fix: Win32 port can now handle foreign code unwinding Lisp
5851 stack frames from alien callbacks.
5852 * bug fix: ATANH returned incorrect results on win32 (thanks to Pierre Mai)
5853 * bug fix: SBCL works on Linux/ppc systems with a kernel configured to use
5854 65k pages (thanks to David Woodhouse)
5855 * bug fix: fix SB-POSIX dirent and socket on NetBSD (thanks to Richard Kreuter)
5857 changes in sbcl-1.0.1 relative to sbcl-1.0:
5858 * new platform: FreeBSD/x86-64, including support for threading.
5859 * new feature: the compiler stores cross-referencing information
5860 about function calls (who-calls), macroexpansion (who-macroexpands)
5861 and special variables (who-binds, who-sets, who-references) for code
5862 compiled with (< SPACE 3). This information is available through the
5863 sb-introspect contrib.
5864 * new feature: users may subclass SEQUENCE, and have instances of
5865 these classes interoperate with standard Common Lisp functions if
5866 a number of methods are defined. (This feature is experimental
5867 and the interface subject to change based on feedback from SBCL
5868 users and the general community)
5869 * improvement: sb-sprof traces call stacks to an arbitrary depth on
5870 x86/x86-64, rather than the previous fixed depth of 8
5871 * improvement: another pthread back-end of mutex "pthread-futex".
5872 * bug fix: non-ascii command-line arguments are processed correctly
5873 (thanks to Yaroslav Kavenchuk)
5874 * bug fix: non-required arguments were not passed correctly when a method
5875 defined using DEFMETHOD was called from a mop-generated method using
5876 CALL-NEXT-METHOD (reported by Pascal Costanza)
5877 * bug fix: recursion is now permitted in accessors through
5878 SLOT-UNBOUND. (reported by Pascal Costanza)
5879 * bug fix: an error was signaled at startup if the HOME environment
5880 variable was defined, but had an empty value (reported by Peter Van Eynde)
5881 * bug fix: non ordinary lambda-list keyword in ordinary lambda lists
5882 signal a PROGRAM-ERROR, not a BUG.
5883 * bug fix: SB-POSIX:READDIR works when built with large file support.
5884 * bug fix: ENOUGH-NAMESTRING works relative to #p"/" as well. (thanks
5886 * enhancement: DESTRUCTURING-BIND lambda-list uses &BODY instead of &REST
5887 for better automatic indentation support. (thanks to Matt Pillsbury)
5888 * optimization: loading generic functions no longer takes O(n^2) time,
5889 proportional to the amount of methods in the generic function
5890 (reported by Todd Sabin and Jeremy Brown)
5891 * optimization: the FIND and POSITION family of sequence functions
5892 are significantly faster on arrays whose element types have been
5894 * improvements to the Windows port:
5895 ** Intermittent heap corruption problems have been fixed. (thanks
5896 to Alastair Bridgewater)
5897 ** TRACE :ENCAPSULATE NIL (and function end breakpoints)
5899 ** Lisp is able to unwind foreign exception frames from alien
5900 callbacks. (thanks to Alastair Bridgewater)
5902 changes in sbcl-1.0 relative to sbcl-0.9.18:
5903 * improvement: experimental support for threading on FreeBSD/x86.
5904 (thanks to NIIMI Satoshi)
5905 * improvement: runtime option --dynamic-space-size can be used
5906 to set the size of the dynamic space reserved on startup.
5907 * improvement: floating point modes in effect are now saved in
5908 core, and restored on startup.
5909 * improvement: GET-INTERNAL-REAL-TIME now reports the time since
5910 startup, not time since first call to GET-INTERNAL-REAL-TIME.
5911 * improvement: SAVE-LISP-AND-DIE explicitly checks that multiple
5912 threads are not running after *SAVE-HOOKS* have run.
5913 * improvement: writes to CLOS instance slots are type-checked in code
5914 compiled with (SAFETY 3)
5915 * improvement: floating-point exception handling on FreeBSD (thanks to
5917 * improvement: SB-POSIX supports time(2), utime(2) and utimes(2)
5918 (thanks to Zach Beane)
5919 * improvement: support for files larger than 2GB for CL streams and SB-POSIX
5921 * improvement: added support for the Shift-JIS external format.
5922 (contributed by NIIMI Satoshi)
5923 * improvement: callbacks are supported on Linux/PPC. (thanks to
5925 * bug fix: compiler bug triggered by a (non-standard) VALUES
5926 declaration in a LET* was fixed. (reported by Kaersten Poeck)
5927 * bug fix: file compiler no longer confuses validated and already
5928 dumped structurres. (reported by Kaersten Poeck)
5929 * bug fix: ADJUST-ARRAY :FILL-POINTER T on an array without a
5930 fill-pointer signals a type-error as required. (thanks to
5932 * bug fix: disassemly of funcallable instances works.
5933 * bug fix: single stepping on PPC.
5934 * bug fix: fix thread-safety problems in the type system (generally
5935 manifesting as nonsensical errors like "STRING is a bad type specifier
5936 for sequences" or "The value 1 is not of type FIXNUM")
5937 * bug fix: version components are handled correctly in TRANSLATE-PATHNAME
5938 (reported by Josip Gracin)
5939 * bug fix: an error is signaled for attempts to displace arrays with
5940 incompatible element types (thanks to Mario Mommer)
5941 * bug fix: more correct handling of wide characters in debug info
5942 (bug reported by Attila Lendvai and fixed by Juho Snellman)
5943 * optimization: method calls with &OPTIONAL or &KEY arguments are faster
5944 and don't cause extra consing
5945 * optimization: MAP and MAP-INTO are significantly faster on vectors
5946 whose elements types have been declared.
5947 * Improvements to SB-SPROF:
5948 ** Support for allocation profiling
5949 ** Reduced profiling overhead, especially for long profiling runs
5950 * Improvements to the Windows port:
5951 ** floating point exceptions are now reported correctly.
5952 ** stack exhaustion detection works partially.
5953 ** more accurate GET-INTERNAL-REAL-TIME.
5954 ** better RUN-PROGRAM behaviour in case of errors in the child
5956 ** PROBE-FILE now simplifies pathnames correctly.
5957 ** DIRECTORY now works correctly with :WILD-INFERIORS.
5958 ** DECODE-UNIVERSAL-TIME works on times before 00:00:00 January
5959 1st 1970 (although time timezone data will be unreliable).
5960 ** Hyperbolic functions TANH, ASINH, ACOSH, and ATANH work.
5962 changes in sbcl-0.9.18 (1.0.beta?) relative to sbcl-0.9.17:
5963 * enhancement: SB-POSIX now supports cfsetispeed(3), cfsetospeed(3),
5964 cfgetispeed(3), cfgetospeed(3), and related constants. (thanks to
5966 * bug fix: two potential GC deadlocks affecting threaded builds.
5967 * bug fix: (TYPEP #\A '(NOT (MEMBER #\" #\{ #\:))) now correctly
5968 returns T (reported by Anton Kazennikov)
5969 * bug fix: the STORE-VALUE restart of CHECK-TYPE works correctly
5970 with non-variable places
5971 * bug fix: remove a race condition in the setting of
5972 funcallable-instance functions, this should make threaded CLOS
5973 code more stable against memory faults.
5974 * bug fix: corruption of specials when unbinding is interrupted by an
5975 asynchronous unwind (reported by Hannu Koivisto)
5976 * improvement: the debugger will now also display local variables that
5977 are only used once, for code compiled with a DEBUG optimization quality
5980 changes in sbcl-0.9.17 (0.9.99?) relative to sbcl-0.9.16:
5981 * feature: weak hash tables, see MAKE-HASH-TABLE documentation
5982 * incompatible change: External-format support for FFI calls. The
5983 SB-ALIEN:C-STRING no longer implies an ASCII
5984 external-format. Instead the string is subject to external-format
5985 conversion. Additionally return values of type SB-ALIEN:C-STRING
5986 are by default of type (SIMPLE-ARRAY CHARACTER), not
5987 SIMPLE-BASE-STRING. For an alien type that behaves like the old
5988 SB-ALIEN:C-STRING type, use (SB-ALIEN:C-STRING :EXTERNAL-FORMAT
5989 :ASCII :ELEMENT-TYPE BASE-CHAR). (thanks to Yaroslav Kavenchuk)
5990 * incompatible change: SB-EXT package no longer contains the
5991 following unused symbols: *GC-NOTIFY-AFTER*, *GC-NOTIFY-BEFORE*,
5992 *GC-NOTIFY-STREAM*, *ERROR-PRINT-LENGTH*, *ERROR-PRINT-LEVEL*,
5994 * incompatible change: the single-stepper is no longer available
5995 on Alpha, Mips and Sparc platforms.
5996 * minor incompatible change: the direct superclasses of
5997 SB-MOP:FUNCALLABLE-STANDARD-OBJECT are (FUNCTION STANDARD-OBJECT),
5998 not (STANDARD-OBJECT FUNCTION). This makes the
5999 class-precedence-lists of GENERIC-FUNCTION and
6000 STANDARD-GENERIC-FUNCTION comply with the requirement of ANSI
6002 * minor incompatible change: the default stream external format on
6003 non-unicode SBCL is no longer detected from the locale, but is always
6005 * new feature: Add a version of evaluator that uses an interpreter instead
6006 of the compiler. EVAL still uses the compiler by default, to switch it
6007 to use the interpreter, set the value of the variable
6008 SB-EXT:*EVALUATOR-MODE* to :INTERPRET.
6009 * minor incompatible change: the single-stepper REPL has been merged
6010 with the normal debugger (see the "Stepping" heading of the debugger help
6011 for more details). The debugger command STEP will no longer switch
6012 to the single-stepper REPL.
6013 * bug fix: ENOUGH-NAMESTRING on pathnames with no name and a pattern
6014 for a type now works.
6015 * bug fix: loading of default sysinit file works. (thanks to Leonid
6017 * bug fix: better detection of circularities in the file-compiler.
6018 (reported by Marco Monteiro)
6019 * bug fix: the CL pathname functions now work with files that have
6020 non-ASCII characters in their names (thanks to Yaroslav Kavenchuk)
6021 * bug fix: The :PTY argument for RUN-PROGRAM will now work on
6022 systems with Unix98 pty semantics.
6023 * bug fix: ASDF-INSTALL will now work with bsd tar.
6024 * bug fix: ASDF-INSTALL uses GNU tar on Solaris (thanks to Josip
6026 * bug fix: timers expiring in dead threads no longer cause a
6027 type-error (reported by Paul "Nonny Mouse").
6028 * bug fix: thanks to more lightweight single-stepper instrumentation,
6029 code compiled with (DEBUG 3) will compile and execute significantly faster,
6030 and will have more accurate type-inferencing than before
6031 * bug fix: SLOT-VALUE optimizations are no longer done on method parameters
6032 whose bindings are modified
6033 * improvements to the win32 port (thanks to Yaroslav Kavenchuk):
6034 ** bug fix: arguments to RUN-PROGRAM are escaped correctly
6035 ** replace dummy implementations of CL:MACHINE-INSTANCE and
6036 CL:SOFTWARE-VERSION with proper version
6038 changes in sbcl-0.9.16 relative to sbcl-0.9.15:
6039 * feature: implemented the READER-METHOD-CLASS and
6040 WRITER-METHOD-CLASS portion of the Class Initialization Protocol
6041 as specified by AMOP.
6042 * incompatible change: variable SB-EXT:*USE-IMPLEMENTATION-TYPES*
6044 * optimization: faster LOGCOUNT implementation on x86 and x86-64
6045 (thanks to Lutz Euler)
6046 * optimization: hashing of general arrays and vectors has been
6047 improved. (reported by Any Fingerhut)
6048 * enhancement: SB-INTROSPECT is now able to find definitions of
6049 profiled functions. (thanks to Troels Henriksen)
6050 * enhancement: compiler-macro expansion applies now to FUNCALL forms
6051 as well, allowing compiler-macros for SETF-functions to expand.
6052 * enhancement: step-instrumentation no longer wraps known
6053 single-value functions with multiple-value context, allowing
6054 better type inference.
6055 * fixed bug #337: use of MAKE-METHOD in method combination now works
6056 even in the presence of user-defined method classes. (reported by
6057 Bruno Haible and Pascal Costanza)
6058 * fixed bug #339(c): if there are applicable methods not part of any
6059 long-form method-combination group, call INVALID-METHOD-ERROR.
6060 (reported by Bruno Haible)
6061 * fixed bug #361: the :FUNCTION initarg in the protocol for
6062 initialization of methods can now be used to override
6063 internally-produced optimized functions. (reported by Bruno
6065 * bug fix: extensions of MAKE-METHOD-LAMBDA which wrap the
6066 system-provided lambda expression no longer cause warnings about
6067 unbound #:|pv-table| symbols.
6068 * bug fix: improved the handling of type declarations and the
6069 detection of violations for keyword arguments with non-constant
6071 * bug fix: potentially erronous calls to PATHNAME and
6072 MERGE-PATHNAMES were being flushed in some cases.
6073 (reported by Richard Kreuter)
6074 * bug fix: compiled calls to TYPEP were mishandling obsolete
6075 instances. (reported by James Bielman and Attila Lendvai)
6076 * bug fix: format strings with ~> without matching ~< no longer
6077 trigger an AVER, but signal an understandable error instead.
6078 (reported by Antonio Martinez)
6079 * bug fix: specifying an output-file without a pathname-type for
6080 COMPILE-FILE or COMPILE-FILE-PATHNAME resulted in using the type
6081 of input-file instead of "fasl". (reported by Robert Dodier)
6082 * bug fix: compiler-macro lambda-list parsing of FUNCALL forms.
6083 (reported by James Y Knight).
6084 * bug fix: compiler-macros-function did not consider the environment
6085 argument for shadowing by local functions.
6086 * bug fix: compiler-macros expansion was inhibited by local INLINE
6088 * bug fix: inline expansions of known functions were subject to
6089 step-instrumentation in high debug policies, leading to problems
6090 with type-inference.
6091 * bug fix: compiler failed to differentiate between different CONS
6092 types in some cases.
6093 * bug fix: fixed input, output and error redirection in RUN-PROGRAM
6094 for win32. (thanks to Mike Thomas and Yaroslav Kavenchuk)
6095 * bug fix: #368: incorrect use of expressed vs. upgraded array
6097 * bug fix: #306a: more precise unions of array types.
6098 * thread-safety improvements:
6099 ** CONDITION-WAIT could return early on Linux, if the thread was
6100 interrupted and subsequently continued with SIGCONT.
6101 ** STABLE-SORT and ADJUST-ARRAY were not reentrant.
6103 changes in sbcl-0.9.15 relative to sbcl-0.9.14:
6104 * added support for the ucs-2 external format. (contributed by Ivan
6106 * minor incompatible change: pretty printing of objects of type
6107 (cons symbol) is, in the default pprint-dispatch-table, now
6108 sensitive to whether the symbol satisfies FBOUNDP. (thanks to
6110 * minor incompatible change: SB-MOP:FINALIZE-INHERITANCE is now
6111 called later in a class's lifetime, possibly as late as when the
6112 first instance of the class is created. Previously,
6113 SB-MOP:FINALIZE-INHERITANCE was called by the system as soon as a
6114 class became finalizeable.
6115 * fixed bug: FILE-POSITION sometimes returned inconsistent results
6116 for multibyte external-format streams. (thanks to "vbzoli")
6117 * fixed bug: CHANGE-CLASS would fail to preserve the values of slots
6118 with :ALLOCATION :CLASS inherited from superclasses of the
6120 * fixed bug: anonymous classes can now be created using the :NAME
6121 initarg and MAKE-INSTANCE / REINITIALIZE-INSTANCE, as specified by
6122 AMOP. (reported by Leonid Slobodov on comp.lang.lisp)
6123 * fixed bug: core-files saved with :EXECUTABLE T can again be
6124 executed when SBCL_HOME isn't set. (reported by James Knight)
6125 * fixed bug: toplevel LOCALLY forms with declarations could
6126 occasionally get miscompiled. (reported by Yaroslav Kavenchuk)
6127 * fixed bug: printing from several different threads using different
6128 values of *print-case* could cause invalid output, due to
6129 some internal special variables of the printer not being bound
6130 thread-locally (reported by Max Mikhanosha)
6131 * fixed bug: SPECIALIZER metaobjects (including anonymous classes
6132 and EQL-SPECIALIZERs) can be used as specializers to DEFMETHOD.
6133 (reported by Pascal Costanza)
6134 * fixed bug: FINALIZE-INHERITANCE is called from
6135 REINITIALIZE-INSTANCE on classes when the class has previously
6136 been finalized, as required by AMOP.
6137 * minor code generation optimizations:
6138 ** better register allocation in CLOS dispatching functions
6139 ** overflow detection when coercing signed bytes to fixnums on x86-64
6140 ** is now implemented with one IMUL instruction instead of three shifts
6141 ** more efficient bit-vector access on x86 and x86-64
6142 ** more efficient access to raw structure slots on x86 and x86-64
6143 * fixed some bugs revealed by Paul Dietz' test suite:
6144 ** ENSURE-DIRECTORIES-EXIST.8: ENSURE-DIRECTORIES-EXIST must
6145 return its argument.
6147 changes in sbcl-0.9.14 relative to sbcl-0.9.13:
6148 * feature: thread support on Solaris/x86, and experimental thread support
6150 * feature: SBCL now tries to signal a STORAGE-CONDITION when running out
6152 * feature: SBCL now provides USE-VALUE and STORE-VALUE restarts in the
6153 default method for SLOT-UNBOUND.
6154 * minor incompatible change: prevent the user from specializing the
6155 new-value argument to SB-MOP:SLOT-VALUE-USING-CLASS. It's
6156 somewhat counter to the intent of the protocol, I (CSR) think, and
6157 additionally it just doesn't work in SBCL as currently
6158 implemented, thanks to optimizations (that are always valid for
6159 the other three SLOT-VALUEish functions, but not for the setter).
6160 * minor incompatible change: the :SB-LDB feature is now enabled by
6161 default, and DISABLE-DEBUGGER and ENABLE-DEBUGGER also affect
6162 the low-level debugger.
6163 * enchancement: RUN-PROGRAM is now able to extract the file-descriptor
6164 from SYNONYM-STREAM and TWO-WAY-STREAM provided they can be decomposed
6165 down to an SB-SYS:FD-STREAM, allowing direct communication in
6166 more cases. Temporary files and pipes are still used as a fallback
6168 * thread-safety: DECODE-UNIVERSAL-TIME & GET-DECODED-TIME depended
6169 on the non-reentrant C functions localtime(3) and gmtime(3).
6170 * bug fix: global optimization policy was not visible in LOCALLY and
6172 * bug fix: class objects can be used as specializers in methods.
6173 (reported by Pascal Costanza)
6174 * bug fix: native unparsing of pathnames with :DIRECTORY NIL failed
6175 with a type error. (reported by blitz_ on #lisp)
6176 * bug fix: unparsing logical pathnames with :NAME :WILD :TYPE NIL
6177 failed with a type error. (reported by Pascal Bourguignon)
6178 * bug fix: merging pathnames against defaults with :DIRECTORY
6179 starting with '(:RELATIVE :BACK) should preserve the :BACK.
6180 (reported by James Y Knight)
6181 * bug fix: saving large (>2GB) cores on x86-64 now works
6182 * bug fix: a x86-64 backend bug when compiling (setf aref) with a
6183 constant index and a (simple-array (signed-byte 32)) array
6184 * bug fix: NAME-CHAR on an invalid symbol no longer signals an
6185 error (patch by Robert J. Macomber)
6186 * feature: TIME now displays the amount of run-time spent in GC
6187 * bug fix: The debugger now does a better job of respecting
6188 (PUSH '(*PRINT-CIRCLE* . T) SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*)
6189 when printing SB-DEBUG:*DEBUG-CONDITION*. (This is a debugger-only
6190 workaround for bug 403.)
6191 * bug fix: floating point exception handling now works on FreeBSD
6192 (thanks to NIIMI Satoshi)
6193 * fixed some bugs revealed by Paul Dietz' test suite:
6194 ** MISC.641: LET-conversion were not supposed to work in late
6196 * improvements to the Win32/x86 port:
6197 ** GET-INTERNAL-RUN-TIME implemented, thanks to Frank Buss.
6198 ** improved SB-BSD-SOCKETS support, thanks to Timothy Ritchey.
6200 changes in sbcl-0.9.13 relative to sbcl-0.9.12:
6201 * new feature: source path information is generated for macro-expansion
6202 errors for use in IDE's like Slime (thanks to Helmut Eller)
6203 * bug fix: calls to the compiler no longer modify *RANDOM-STATE*
6204 * bug fix: compiler does not loop forever on an invalid type in
6206 * improvement: compilation of most CLOS applications is significantly
6208 * optimization: added a limited bytecode compiler for simple toplevel
6209 forms, speeding up compilation and FASL loading
6210 * bug fix: the statistical profiler now properly distinguishes anonymous
6213 changes in sbcl-0.9.12 relative to sbcl-0.9.11:
6214 * minor incompatible change: in sbcl-0.9.11 (but not earlier
6215 versions) SB-MOP:FINALIZE-INHERITANCE would recursively descend
6216 into subclasses of the finalized class. Now user calls to
6217 FINALIZE-INHERITANCE finalize just the one class, and calls by the
6218 system return before any subclasses are finalized.
6219 * minor incompatible change: The reader no longer ignores errors
6220 regarding non-existent packages in #+ and #- feature tests.
6221 * new feature: command line options --no-sysinit, --no-userinit to
6222 inhibit loading the corresponding init files
6223 * new feature: add a generic function SOCKET-SEND to SB-BSD-SOCKETS,
6224 for sending data through UDP sockets (thanks to François-René Rideau)
6225 * minor incompatible change: SIGPIPE is ignored and "Broken pipe"
6226 error is signalled instead (thanks to François-René Rideau)
6227 * minor incompatible change: Error signalling behaviour of lexical
6228 operations violating package locks has changed slightly. Refer to
6229 documentation on package locks for details.
6230 * enhancement: EVAL can process IF-expressions without resorting to the
6232 * bug fix: Some operations involving SIN, COS, or TAN weren't being
6233 constant-folded properly due to missing out-of-line functions.
6234 (reported by Mika Pihlajamäki)
6235 * bug fix: LISTEN sometimes returned T even in cases where no data was
6236 immediately available from the stream
6237 * fixed bug: types of the last two arguments to SET-SYNTAX-FROM-CHAR
6238 were reversed. (reported by Levente Mészáros)
6239 * fixed bug: Tests for the (VECTOR T) type gave the wrong answer
6240 when given a vector displaced to an adjustable array. (reported
6242 * bug fix: derivation of float boundaries from numbers outside the
6243 appropriate float range (reported by John Wiseman)
6244 * bug fix: MAKE-LOAD-FORM-SAVING-SLOTS accepts en empty slot name
6246 * bug fix: precomputing cache entries for generic functions with
6247 some subclasses of specializers as yet invalid does not attempt to
6248 fill a cache line with a negative offset. (reported by Levente
6250 * improvements to DOCUMENTATION for TYPE and STRUCTURE doc-types:
6251 allow condition class objects as arguments to DOCUMENTATION and
6252 (SETF DOCUMENTATION); only find and set documentation for
6253 structure names for the STRUCTURE doc-type. (suggested by Gary
6255 * improvements to the Win32/x86 port:
6256 ** (user-homedir-pathname) and default initialization file
6257 locations now know about the user's "Documents and Settings"
6258 directory (thanks to Yaroslav Kavenchuk)
6259 ** run-program is implemented (thanks to Mike Thomas)
6260 ** sockets support (thanks to Timothy Ritchey)
6261 ** better backtrace support (thanks to Alastair Bridgewater)
6262 ** sb-grovel supported
6263 ** asdf-install and sb-posix work somewhat
6264 ** capable of running Slime using SWANK:*COMMUNICATION-STYLE* NIL
6265 * improvements to the Solaris/x86 port:
6266 ** works on Solaris 11/Solaris Express
6267 ** floating-point exception handling support
6268 ** support for the breakpoint-based TRACE :ENCAPSULATE NIL facility
6269 * fixed some bugs revealed by Paul Dietz' test suite:
6270 ** REMOVE-METHOD returns its generic function argument even when
6271 the method is not one of the generic functions' methods.
6272 ** objects declared as MEMBER types can be admissible arguments to
6273 structure accessors.
6274 ** printing characters should simply be printed by the FORMAT ~:C
6276 ** compiler failure when compiling functions with hairy constant
6277 defaults for optional parameters.
6278 ** compiler produces wrong code when MAYBE-INLINE-expanding a
6279 function, which is already optimized.
6281 changes in sbcl-0.9.11 relative to sbcl-0.9.10:
6282 * new platform: experimental support for SBCL x86/Darwin, including
6283 MacOS X 10.4.5 on Intel.
6284 * new feature: Unicode character names are now known to the system
6285 (through CHAR-NAME and NAME-CHAR).
6286 * new feature: the filesystem location of SBCL's core file is
6287 exposed to lisp through the variable SB-EXT:*CORE-PATHNAME*.
6288 * minor incompatible change: the contrib modules SB-POSIX and
6289 SB-BSD-SOCKETS no longer depend on stub C libraries; the intent of
6290 this change is to make it easier to distribute
6291 location-independent binaries.
6292 * bug fix: as implied by AMOP, standardized classes no longer have
6293 slots named by external symbols of public packages. (reported by
6295 * optimization: calling functions via constant symbols -- as in
6296 (FUNCALL 'FOO) -- is now roughly as efficient as calling them
6297 via the function object as in (FUNCALL #'FOO).
6298 * optimization: on x86 and x86-64, the calling convention for the
6299 case of dealing with an unknown number of values has been altered
6300 to be friendlier to the prediction heuristics implemented,
6301 particularly with reference to CALL and RET pairing. (thanks to
6302 Alastair Bridgewater)
6303 * optimization: on x86, the code for access to thread-local symbol
6304 values and binding/unbinding of thread-local symbols is smaller.
6305 (thanks to Alastair Bridgewater)
6306 * enhancement: CONSTANTP is now able to determine constantness of
6307 more complex forms, including calls to constant-foldable standardized
6308 functions and some special forms beyond QUOTE.
6309 * fixed bug: occasional GC crashes on Solaris/x86
6310 * optimization: x86-64 supports stack allocation of results of simple
6311 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT
6312 * enchancement: the PROCESS-INPUT and -OUTPUT streams created by
6313 SB-EXT:RUN-PROGRAM can be used for both character and byte IO
6314 (thanks to James Knight)
6315 * fixed bug: CL:LISTEN always returns NIL at end of file, as required
6316 by the standard (thanks to Stephen Compall)
6318 changes in sbcl-0.9.10 relative to sbcl-0.9.9:
6319 * new feature: new SAVE-LISP-AND-DIE keyword argument :EXECUTABLE can
6320 be used for bundling the runtime and the core file into one
6321 executable binary. This feature is not currently supported on all SBCL
6322 platforms. (thanks to James Bielman and NIIMI Satoshi)
6323 * new feature: a generational or ephemeral garbage collector is now
6324 the default on the PowerPC platform (both Linux and Darwin). The
6325 old Cheney (stop and copy) collector is a build-time option.
6326 (thanks to Cyrus Harmon, after Raymond Toy)
6327 * minor incompatible change: the method by which SBCL finds its
6328 contributed modules has changed; it no longer relies on symbolic
6329 links from an $SBCL_HOME/systems directory, but searches directly
6330 in the subdirectories of $SBCL_HOME.
6331 * enhancement: the dynamic heap size on the Linux/PPC platform is
6332 markedly larger, even using the older Cheney garbage collector.
6333 * fixed bug #399: full call to DATA-VECTOR-REF in accesses to
6334 certain complicated string types. (reported by Gary King)
6335 * fixed bug: STRING-TO-OCTETS and OCTETS-TO-STRING did not convert
6336 character codes. (thanks to Yaroslav Kavenchuk and Ivan Boldyrev)
6337 * fixed bug: DOCUMENTATION on structures no longer signals an
6338 error if no structure type of the right name exists. (reported by
6340 * fixed bug: compiled calls to MAKE-INSTANCE where there is an
6341 applicable non-standard primary or :AROUND method on
6342 INITIALIZE-INSTANCE or SHARED-INITIALIZE and a non-keyword initarg
6343 no longer cause unbound variable errors. (reported by Kevin Reid)
6344 * fixed bug: metacircle resolution in cases where methods have slots
6345 added before the slots from STANDARD-METHOD. (reported by Jean
6347 * fixed bug: the Power PC assembly code for calling into lisp
6348 sometimes computed its return address wrongly (depending on the
6349 15th bit of the address, fixed at link time). This used to
6350 manifest itself in a segmentation violation while building PCL.
6351 (reported by Kevin Rosenberg, Eric Marsden, Lars Brinkhoff and
6352 many others over the years)
6353 * fixed bug: ROOM no longer reports silly numbers for stack usage if
6354 the stack pointer (treated as a signed integer) is negative.
6355 (thanks to Peter van Eynde)
6357 changes in sbcl-0.9.9 relative to sbcl-0.9.8:
6358 * new platform: experimental support for the Windows operating
6359 system has been added. (thanks to Alastair Bridgewater)
6360 * fixed several bugs in and robustified the PPC FFI (including
6361 callbacks). (thanks to Cyrus Harmon and Heiner Schwarte)
6362 * bug fix: allow non-simple string symbol names (reported by Paul
6364 * bug fix: interrupt handling on NetBSD (thanks to Richard M
6366 * bug fix: saving a core corrupted callbacks on x86/x86-64
6367 * bug fix: closed a loophole in metacircularity detection and
6368 grounding in the PCL implementation of CLOS.
6369 * bug fix: TRUENAME on "/" no longer returns a relative pathname.
6370 (reported by tomppa on #lisp)
6371 * bug fix: clear the direction flag on Lisp -> C transitions, as
6372 required by the x86-64 ABI. Fixes mysterious GC crashes on SuSE.
6373 (reported by Andrej Grozin and Hendrik Maryns)
6374 * optimization: major improvements to GC efficiency on GENCGC platforms
6375 * optimization: faster implementation of EQUAL
6376 * optimization: emit more efficient opcodes for some common
6377 immediate->register MOV instructions on x86-64. (thanks to Lutz Euler)
6378 * optimization: several other minor code-generation improvements on x86-64
6379 * fixed segfaults on x86 FreeBSD 7-current. (thanks to NIIMI Satoshi)
6381 changes in sbcl-0.9.8 relative to sbcl-0.9.7:
6382 * minor incompatible change: (SETF CLASS-NAME) and (SETF
6383 GENERIC-FUNCTION-NAME) are generic functions once more (reverting
6384 the change in the 0.9.7 release). (SETF CLASS-NAME) is specified
6385 by ANSI as a generic function, and for consistency (SETF
6386 GENERIC-FUNCTION-NAME) is treated likewise.
6387 * fixed bug #233.b: make constraint propagation notice when a variable
6388 value is changed after it is referenced but before it is used
6389 * fixed bug #296: no more arbitrary behaviour from filenames with
6390 odd characters as --load arguments. (reported by Adam Warner)
6391 * fixed bug #390: :CHARACTER-SET pathname components now work as
6392 expected. (reported by Tim Daly Jr)
6393 * fixed bug #391: complicated :TYPE intersections in slot
6394 definitions no longer cause an error in PCL internals.
6395 * fixed bug #392: plugged a hole in the obsolete-instance protocol.
6396 * bug fix: FILE-STRING-LENGTH is now external-format sensitive,
6397 returning the number of octets which would be written to the
6398 file-stream. (thanks to Robert J. Macomber)
6399 * bug fix: the SB-SIMPLE-STREAMS contrib passes external-format
6400 arguments to the internal stream functions. (thanks to David
6402 * bug fix: stack exhaustion is now handled on the x86/SunOS
6403 platform. (thanks to Daisuke Homma)
6404 * bug fix: more accurate ROOM results on GENCGC platforms
6405 * optimization: improved type inference for arithmetic-for
6406 index variables in LOOP
6407 * optimization: faster floating-point SQRT on x86-64
6408 * fixed some bugs revealed by Paul Dietz' test suite:
6409 ** DOCUMENTATION returns NIL instead of "" for method combinations
6410 that don't have a docstring
6412 changes in sbcl-0.9.7 relative to sbcl-0.9.6:
6413 * minor incompatible change: (SETF CLASS-NAME) and (SETF
6414 GENERIC-FUNCTION-NAME) are no longer generic functions, and
6415 therefore are not customizeable by user code (as seems to be at
6416 least permitted and maybe required by AMOP). As a consolation,
6417 however, the SBCL implementation of these functions now calls
6418 REINITIALIZE-INSTANCE as specified by AMOP.
6419 * bug fix: slot-definition documentation is propagated as per ANSI
6420 7.6.2 to EFFECTIVE-SLOT-DEFINITIONS.
6421 COMPUTE-EFFECTIVE-SLOT-DEFINITION now receives a :DOCUMENTATION
6422 argument, as do eslotd initialization methods. (from Pascal
6423 Costanza's "Closer" project)
6424 * bug fix: REINITIALIZE-INSTANCE on generic functions calls
6425 COMPUTE-DISCRIMINATING-FUNCTION (almost) unconditionally, as
6427 * bug fix: it is now possible to have more than one subclass of
6428 STANDARD-GENERIC-FUNCTION without causing stack overflow.
6429 (reported by Bruno Haible, Pascal Costanza and others)
6430 * bug fix: the dependent update protocol now works for generic
6431 functions. (thanks to Gerd Moellmann; reported by Bruno Haible
6432 and Pascal Costanza)
6433 * bug fix: condition-class instances corresponding to
6434 DEFINE-CONDITION forms are now created eagerly. (reported by
6435 Kalle Olavi Niemitalo on comp.lang.lisp)
6436 * bug fix: floating point printing is more accurate in some
6437 circumstances. (thanks to Simon Alexander)
6438 * bug fix: *COMPILE-FILE-PATHNAME* now contains the user's pathname
6439 merged with *DEFAULT-PATHNAME-DEFAULTS*.
6440 * bug fix: callbacks on OS X now preserve stack-alignment.
6441 (thanks to Cyrus Harmon)
6442 * enhancement: the x86-64 disassembler is much better at
6443 disassembling SSE instructions. (thanks to Lutz Euler)
6444 * enhancement: CHECK-TYPE on a variable now allows type-inference
6445 (thanks to Vincent Arkesteijn)
6446 * optimization: improved performance of EUC-JP external format.
6447 (thanks to NIIMI Satoshi)
6448 * optimization: performance improvements to IO on file streams of
6449 :ELEMENT-TYPE CHARACTER
6450 * optimization: much faster memory allocation on x86-64
6451 * optimization: faster garbage collections (latency and throughput)
6453 * optimization: faster bignum subtraction and division on x86 and x86-64
6454 (thanks to Lutz Euler)
6455 * optimization: more accurate type-inference for loops that use a
6456 floating point index variable or a negative step.
6458 changes in sbcl-0.9.6 relative to sbcl-0.9.5:
6459 * bug fix: add a workaround to SBCL looping infinitely at startup on
6460 Linux kernels with apparently buggy implementations of personality().
6461 (thanks to Svein Ove Aas)
6462 * bug fix: Unicode symbols are correctly printed in LDB backtraces
6463 (thanks to David Lichteblau)
6464 * bug fix: local bindings shadow global symbol macros for
6465 macroexpansion. (reported by Matthew D Swank on comp.lang.lisp)
6466 * optimization: non-open coded uses of numeric comparison operators
6467 (e.g. >) no longer cons when called with more than one parameter
6468 on platforms supporting dynamic-extent allocation.
6469 * enhancement: saving cores with foreign code loaded is now supported
6470 on MIPS/Linux in addition to the previously supported platforms.
6471 * bug fix: FIND-RESTART now tests for activity, not applicability when given
6472 a restart object as identifier. (reported by Helmut Eller for CMUCL)
6473 * bug fix: division by zero in sb-sprof when no samples were collected
6474 * bug fix: a race when a slow to arrive sigprof signal killed sbcl
6475 * bug fix: asdf-install uses CRLF as required by the HTTP spec.
6476 (thanks to Alexander Kjeldaas)
6477 * new feature: ignoring the return values of destructive functions
6478 like NREVERSE signals a compile-time style-warning.
6479 (thanks to Kevin Reid)
6480 * new feature: the alignment of alien structure fields can be
6481 explicitly specified. (thanks to Cyrus Harmon)
6482 * bug fix: run cleanup forms (in all threads) when receiving a SIGTERM
6483 and dump core on SIGQUIT
6485 ** incompatible change: threads do not inherit values of specials
6486 from their parents (see manual)
6487 ** bug fix: threads stacks belonging to dead threads are freed by the
6488 next exiting thread, no need to gc to collect thread stacks anymore
6489 ** minor incompatible change: INTERRUPT-THREAD-ERROR-ERRNO removed
6490 ** WITH-RECURSIVE-LOCK can be nested in a WITH-MUTEX for the same lock
6491 ** bug fix: dynamic variable and thread start related gc lossage
6492 ** bug fix: job control (SIGSTOP/SIGCONT) no longer confuses threads
6494 * fixed some bugs revealed by Paul Dietz' test suite:
6495 ** SUBTYPEP is slightly more accurate on heinously complicated
6496 CONS types where some of the members have uncertain (in the
6497 NIL, NIL sense) type relationships to each other.
6499 ** Cores produced by SAVE-LISP-AND-DIE on GENCGC platforms are
6500 no longer purified unless :PURIFY T is explicitly specified.
6501 ** Non-purified cores are significantly smaller than before
6503 changes in sbcl-0.9.5 relative to sbcl-0.9.4:
6504 * new feature: timers based on Zach Beane's excellent timer package
6505 * added support for the following external formats: koi8-u,
6506 x-mac-cyrillic, cp437, cp850, cp852, cp855, cp857, cp860, cp861,
6507 cp862, cp863, cp864, cp865, cp866, cp869, cp874, iso-8859-2,
6508 iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7,
6509 iso-8859-8, iso-8859-9, iso-8859-10, iso-8859-11, iso-8859-13,
6510 iso-8859-14, cp1250, cp1251, cp1252, cp1253, cp1254,
6511 cp1255,cp1256, cp1257, cp1258 (contributed by Ivan Boldyrev)
6512 * incompatible change: a threaded SBCL will no longer revert to
6513 non-threaded mode on non-NPTL systems, but refuse to start entirely.
6514 * bug fix: interrupts are disabled until startup is complete; no
6515 more sigsegvs when receiving a signal to soon
6516 * optimization: faster 32-bit SB-ROTATE-BYTE:ROTATE-BYTE on non-x86/ppc
6518 * bug fix: add a workaround for the memory randomization features in
6519 Linux kernels >= 2.6.12 that interfere with SBCL's memory maps. This
6520 workaround will only be in effect on systems with the proc filesystem
6522 * bug fix: printing objects of type HASH-TABLE signals a
6523 PRINT-NOT-READABLE error when *READ-EVAL* is NIL. (reported by
6525 * bug fix: GET-INTERNAL-REAL-TIME now works even for processes that
6526 have been running for over 50 days. (reported by Gilbert Baumann)
6527 * bug fix: the logic for getting names of functions gets less
6528 confused when confronded with alternate-metaclass
6529 funcallable-instances. (reported by Cyrus Harmon)
6530 * bug fix: FUNCTIONP and (LAMBDA (X) (TYPEP X 'FUNCTION)) are now
6531 consistent, even on internal alternate-metaclass objects.
6532 * bug fix: flush closure information collected by physical
6533 environment analysis prepass before the main pass. (bug reported
6535 * bug fix: compiler pack phase does not modify a hashtable, which is
6536 iterated. (reported by Bryan O'Connor, fixed by Rob MacLachlan)
6537 * bug fix: backquote does not optimize (LIST* x y) to CONS when x
6538 may be expanded. (reported by Alexander <malishev> on c.l.l)
6539 * bug fix: no more style-warnings when compiling code using LAST
6540 under high-SPEED low-SPACE settings. (reported by David Wallin
6542 * fixed some incompatibilities between SBCL's MOP and the MOP
6544 ** the METAOBJECT class is now implemented;
6545 ** FUNCALLABLE-STANDARD-OBJECT is now a subclass of
6546 STANDARD-OBJECT, as required;
6547 ** the classes STANDARD-CLASS and FUNCALLABLE-STANDARD-CLASS are
6548 now compatible (as required by VALIDATE-SUPERCLASS); there
6549 remains a consistency requirement over the presence or absence
6550 of the FUNCTION class in the superclass list of finalized
6551 classes; see the manual for more details;
6552 ** the :AROUND method for COMPUTE-SLOTS on
6553 FUNCALLABLE-STANDARD-CLASS now honours the primary method's
6554 requested slot ordering.
6556 ** bug fix: parent thread now can be gc'ed even with a live
6558 ** bug fix: binding a special with PROGV to no value is not
6559 the same as that symbol not having been bound (thanks to
6561 ** bug fix: binding specials is thread safe (thanks to
6563 ** bug fix: interrupt handlers are now per-process, RUN-PROGRAM
6564 and SB-SPROF do not die with 'no handler for signal XX in
6565 interrupt_handle_now(..)' anymore
6566 ** bug fix: WITH-TIMEOUT works with multiple running threads
6567 * fixed some bugs revealed by Paul Dietz' test suite:
6568 ** ENSURE-GENERIC-FUNCTION should take a method class object for
6569 the :method-class keyword argument.
6571 changes in sbcl-0.9.4 relative to sbcl-0.9.3:
6572 * new port: the Solaris operating system on x86 processors is now
6573 mostly supported, though some rough edges in the environment
6574 remain. (thanks to Daisuke Homma)
6575 * enhancement: SBCL on MIPS platforms now has a much larger dynamic
6576 space for its heap. (thanks to Thiemo Seufer)
6577 * optimization: SBCL on MIPS platforms now supports dynamic-extent
6578 closures. (thanks to Thiemo Seufer)
6579 * minor incompatible change: eof selects abort in the debugger.
6580 * minor incompatible change: *INVOKE-DEBUGGER-HOOK* is run before
6581 *DEBUGGER-HOOK* => *DEBUGGER-HOOK* is not run when the debugger
6583 * minor incompatible change: SB-KERNEL:INSTANCE-LAMBDA is
6584 deprecated, and will go away in a future revision of SBCL.
6585 * minor incompatible change: GC-ON and GC-OFF are no longer
6586 implemented with a counter, it does not matter how many times gc
6587 is switched on or off
6588 * bug fix: discriminating functions for generic function classes
6589 with non-standard methods for COMPUTE-APPLICABLE-METHODS no longer
6590 make invalid assumptions about method precedence order. (reported
6592 * bug fix: TRUNCATE now correctly signals division by zero on MIPS
6593 platforms. (thanks to Thiemo Seufer)
6594 * bug fix: degree sign (<U00B0>) could not be encoded in KOI8-R.
6595 * bug fix: correct pathname printing with printer escaping is on.
6596 (thanks to Kevin Reid)
6597 * bug fix: complex VOP definitions in "user-space" no longer trigger
6598 package locks. (reported by Zach Beane)
6599 * fixed bug 343: SB-KERNEL:INSTANCE-LAMBDA is no longer necessary
6600 for funcallable-instance functions, and is no different from
6602 * bug fix: PARSE-INTEGER no longer depends on the whitespaceness of
6603 characters in the current readtable. (reported by Nicholas Neuss)
6604 * bug fix: SUBTYPEP on various CONS types returns more a more
6605 accurate acknowledgment of its certainty.
6606 * optimizations: REMOVE-DUPLICATES now runs in linear time on
6607 lists in some cases. This partially fixes bug 384.
6608 * flush all standard streams before prompting in the REPL and the
6610 * bug fix: signal handling and triggering gc do not conflict
6611 directly anymore, in particular a high frequency sb-sprof does
6612 not prevent gc from running
6613 * bug fix: DECODE-UNIVERSAL-TIME now uses a more reasonable
6614 approximation for timezone and DST information between the
6615 universal time epoch and the smallest negative 32-bit time_t.
6616 * bug fix: ENCODE-UNIVERSAL-TIME no longer errors when passed the
6617 year 1899 so long as the encoded time is non-negative.
6618 * bug fix: on the x86 platform, SB-ROTATE-BYTE:ROTATE-BYTE returns
6619 the correct answer for non-constant rotate amounts when performing
6620 an inline 32-bit rotation.
6622 ** bug fix: RELEASE-FOREGROUND doesn't choke on session lock if
6623 there is only one thread in the session
6624 ** bug fix: memory leak for streams created in one thread and
6625 written to in another
6626 ** bug fix: lockup when compiled with gcc4
6627 ** bug fix: race that allows the gc to be triggered when gc is
6629 ** bug fix: one less memory fault in INTERRUPT-THREAD, again
6630 ** bug fix: gc and INTERRUPT-THREAD don't hang when the RT signal
6632 ** bug fix: finished threads are gc'ed properly
6633 * fixed some bugs revealed by Paul Dietz' test suite:
6634 ** CALL-NEXT-METHOD signals an error (in safe code) when the call
6635 has arguments with a different set of applicable methods from
6636 the orignal arguments.
6637 ** The type error thrown by MAP now has a correct expected-type
6639 ** DISASSEMBLE now throws a TYPE-ERROR when its argument does not
6640 name a compiled function.
6641 ** Three MISC tests where a large bignum was improperly coerced to
6642 a float that couldn't represent that bignum during type
6643 derivation were fixed.
6644 ** SUBTYPEP can now handle types involving the negation of a
6645 list-form FUNCTION type.
6646 ** SUBTYPEP also now handles certain COMPLEX type specifiers such
6647 as (COMPLEX (AND RATIO (NOT FIXNUM))).
6648 ** READ-BYTE and WRITE-BYTE no longer take stream designators.
6650 changes in sbcl-0.9.3 relative to sbcl-0.9.2:
6651 * New feature: Experimental support for bivalent streams: streams
6652 opened with :element-type :default now allow character and binary
6653 (unsigned-byte 8) I/O
6654 * Support for the koi8-r external format. (thanks to Ivan Boldyrev)
6655 * Bug fix: OPEN no longer fails when *PRINT-READABLY* is T. (thanks
6657 * bug fix: no more highly sporadic "couldn't check whether ~S is
6658 readable" when reading a stream and an interrupt hits in the middle
6659 of a select system call
6660 * compiler better recognizes complex arrays (reported by Eduardo
6662 * bug fix: out-of-line SB-SYS:FOREIGN-SYMBOL-ADDRESS did not work
6663 for variables on SBCL built with linkage-tables. (reported by Luis
6665 * various error reporting improvements.
6666 * optimizations: LOGNOR on fixnums is improved in the MIPS backend.
6667 (Thanks to Thiemo Seufer)
6668 * bug fix: nested reader invokations work correctly
6669 * bug fix: it is possible to have simultaneous references to foreign
6670 code and foreign data with the same name.
6672 ** added x86-64 support
6673 ** incompatible change: the threading api now works with thread
6674 objects instead of thread ids
6675 ** bug fix: threads are protected from signals and interruption when
6676 starting up or going down
6677 ** bug fix: a race where an exiting thread could lose its stack to gc
6678 ** bug fix: don't halt on infinite error in threads if possible
6679 ** fixed numerous gc deadlocks introduced in the pthread merge
6680 ** bug fix: fixed thread safety issues in read and print
6681 ** bug fix: debugger doesn't hang on session lock if interrupted at
6682 an inappropriate moment
6683 ** bug fix: run-program is now thread safe(r)
6684 ** bug fix: inner with-recursive-lock no longer releases the mutex
6685 * fixed a bug in (DECODE-UNIVERSAL-TIME 0) (reported by Paul Dietz)
6686 * fixed some bugs revealed by Paul Dietz' test suite:
6687 ** TYPE-ERRORs from signalled by COERCE now have DATUM and
6688 EXPECTED-TYPE slots filled.
6689 ** MULTIPLE-VALUE-SETQ always returns the primary value of the
6691 ** MAKE-CONDITION accepts classes as type-designators.
6692 ** COMPILE may never return NIL.
6693 ** ENCODE-UNIVERSAL-TIME now guards against times out of Unix's
6694 range before calling Unix time functions
6696 changes in sbcl-0.9.2 relative to sbcl-0.9.1:
6697 * numerous signal handling fixes to increase stability
6698 * Support for EUC-JP external format. (thanks to NIIMI Satoshi)
6699 * minor incompatible change: we now correctly canonize default
6700 initargs, making them be a list of (INITARG INITFORM INITFUNCTION)
6701 as per the MOP, rather than the historical (INITARG INITFUNCTION
6702 INITFORM). (reported by Bruno Haible)
6703 * new feature: WITH-COMPILATION-UNIT now accepts a non-standard
6704 :SOURCE-PLIST option. See (DOCUMENTATION #'WITH-COMPILATION-UNIT T)
6705 for more information.
6706 * TRUENAME and PROBE-FILE now correctly resolve symlinks even if the
6707 pathname is a directory pathname.
6708 * SB-SPROF now works (more) reliably on non-GENCGC platforms.
6709 * dynamic space size on PPC has been increased to 768Mb. (thanks to
6711 * SB-MOP:ENSURE-CLASS-USING-CLASS now accepts a class as the
6712 :METACLASS argument in addition to a class name. (reported by
6713 Bruno Haible for CMUCL, patch for CMUCL by Gerd Moellmann)
6714 * RESTART-CASE can now be wrapped around CALL-METHOD forms.
6715 (reported by Bruno Haible; patch from Gerd Moellmann)
6716 * bug fix: sbcl runtime can now be compiled with gcc4 (thanks to
6718 * bug fix: more cleanups to the floating point exception handling on
6719 x86-64 (thanks to James Knight)
6720 * bug fix: the compiler does not try to constant fold calls of
6721 COERCE and BIT-* functions when they return freshly constructed
6722 objects. (reported by Nikodemus Siivola and Paul Dietz)
6723 * optimization: improved the MIPS versions of generic (in the
6724 generic sense) arithmetic routines. (thanks to Thiemo Seufer)
6725 * optimization: direct conversion of (unsigned-byte 32) to floats on
6726 the PowerPC platform.
6727 * optimization: structure instances with raw slots now use less
6728 memory, and probably show better memory locality. (thanks to
6730 * optimization: DYNAMIC-EXTENT declarations for lists and closures
6731 are treated as requests for stack allocation on the x86-64,
6732 Alpha-32, PPC and SPARC platforms.
6733 * contrib improvement: it's harder to cause SOCKET-CLOSE to close()
6734 the wrong file descriptor; implementation of SOCKET-OPEN-P.
6735 (thanks to Tony Martinez)
6737 ** gcing a dead thread can no longer lead to lockups
6738 ** threads block signals until they are set up properly
6739 ** errno is no longer shared by threads
6740 ** interrupt-thread restores the eflags register on x86
6741 ** fixed some lockups due to gc/thread interaction
6742 * fixed some bugs revealed by Paul Dietz' test suite:
6743 ** invalid dotted lists no longer raise a read error when
6744 *READ-SUPPRESS* is T
6745 ** signal an error if a symbol that names a declaration is used
6746 as the name of a type, or vice versa
6747 ** allow using the (declare (typespec var*)) abbreviation for
6748 (declare (type typespec var*)) with all type specifiers
6749 ** circularity detection works properly with PPRINT-LOGICAL-BLOCK
6750 ** always return NIL from PPRINT-POP when OBJECT is NIL
6751 ** don't signal errors when pretty-printing malformed LABELS,
6752 FLET or MACROLET forms
6753 ** declarations in a DOLIST body are also in scope for the
6755 ** COMPILE-FILE accepts all pathname designators as INPUT-FILE
6757 ** the ELEMENT-TYPE keyword argument to WITH-OUTPUT-STREAM is
6760 changes in sbcl-0.9.1 relative to sbcl-0.9.0:
6761 * fixed cross-compiler leakages that prevented building a 32-bit
6762 target with a 64-bit host compiler.
6763 * fixed a bug in CLOSE :ABORT T: no longer attempts to remove files
6764 opened with :IF-EXISTS :OVERWRITE.
6765 * fixed bug 281: error for an invalid qualifier in a short-form method
6766 combination method is not signalled until the faulty method is called.
6767 * bug fix: iteration variable type inferrer failed to deal with open
6768 intervals. (reported by Alan Shields)
6769 * bug fix: dynamically loading (via LOAD-SHARED-OBJECT or similar)
6770 "frameworks" on Mac OS X no longer causes an EXC_BAD_ACCESS if two
6771 or more runtime options were provided to the sbcl binary.
6772 * compiled code is not steppable if COMPILATION-SPEED >= DEBUG.
6773 * contrib improvement: implement SB-POSIX:MKSTEMP (Yannick Gingras)
6774 * optimization: there's now a fast-path for fixnum arguments in the
6775 generic subtraction routines on x86/x86-64. (Thanks to Lutz Euler)
6776 * optimization: the code generated on x86-64 is more compact thanks
6777 to not outputting unnecessary prefix bytes. (Thanks to Lutz Euler)
6778 * bug fix: floating-point exception handling now partly works on
6779 x86-64. (Thanks to James Knight)
6780 * improvement to the MIPS backend from Thiemo Seufer: C-style
6781 64-bit long long arguments and return values to alien functions
6783 * fixed some bugs revealed by Paul Dietz' test suite:
6784 ** the type-error signalled from WARN has a filled-in DATUM slot.
6785 ** the type-error required when a stream is not associated with
6786 a file has the stream as its datum.
6787 ** type-errors on single-floats on x86-64 no longer have
6788 :INVALID-OBJECT as the datum
6789 ** the type-errors signalled for invalid function names now have
6790 a correct expected type
6791 ** (SETF (DOCUMENTATION ... 'STRUCTURE)) no longer signals an error
6792 for structures defined with a :TYPE. Documentation strings for
6793 typed structures are no longer immediately discarded
6794 ** FILE-STRING-LENGTH and STREAM-EXTERNAL-FORMAT now work on
6795 broadcast streams and synonym streams. FILE-LENGTH now also works
6796 on broadcast streams.
6798 changes in sbcl-0.9.0 relative to sbcl-0.8.21:
6799 * incompatible change: the --noprogrammer option, deprecated since
6800 version 0.7.5, has been removed. Please use the equivalent
6801 --disable-debugger option instead.
6802 * incompatible change: finalizers and *AFTER-GC-HOOKS* are now run with
6804 * incompatible change: support for *BEFORE-GC-HOOKS* (that have been
6805 inoperational for a while now) has been completely removed.
6806 * null lexical environments are now printed as #<NULL-LEXENV>,
6807 significantly reducing the amount of clutter in typical backtraces.
6808 * documentation on weak pointers, finalization, and after GC hooks
6809 has been added to the manual.
6810 * optimization: REPLACE on declared (UNSIGNED-BYTE 8) vectors, as well
6811 as other specialized array types, is much faster. SUBSEQ and
6812 COPY-SEQ on such arrays have also been sped up.
6813 * optimization: EQL is now more efficient when at least other argument
6814 is known to be of type (OR FIXNUM (NOT NUMBER)).
6815 * fixed bug: the runtime is now less vulnerable to changes in the
6816 size of the SBCL object on OS X, and virtual memory is reserved for
6817 all spaces that need to be at a fixed address.
6818 * fixed bug: finalizers are now thread-safe. (thanks to Gabor Mellis)
6819 * fixed bug: finalizers and after GC hooks that cause consing are now
6821 * fixed bug: compiler error messages and summaries are now printed to
6822 *ERROR-OUTPUT*, not *STANDARD-OUTPUT*.
6823 * fixed inference of the upper bound of an iteration variable.
6824 (reported by Rajat Datta).
6825 * fixed bug 211e: calling local functions with duplicated constant
6826 keyword argument no longer causes a bogus style warning about an
6828 * fixed bug 305: INLINE/NOTINLINE declaration no longer causes local
6829 ftype declaration to be disregarded. (reported by Dave Roberts)
6830 * fixed bug 373: caused by erronous compilation of references to alien
6831 variables in the runtime on ppc/darwin.
6832 * fixed bug 376: CONJUGATE type deriver.
6833 * fixed infinite looping of ALIEN-FUNCALL, compiled with high DEBUG.
6834 (reported by Baughn on #lisp)
6835 * a cross-compiler bug on non-x86 platforms has been identified and
6836 fixed. (thanks to Bruno Haible)
6837 * improvements to the MIPS runtime code for increased stability.
6838 (thanks to Thiemo Seufer)
6839 * increased the maximimum compact environment size to allow
6840 purify on images with large amounts of functions. (thanks to Cyrus Harmon)
6841 * partial workaround for bug 135: don't name the function we're
6842 calling for hairy cases of EVAL, so as not to accumulate one environment
6843 entry per call to EVAL. (reported by Kevin Reid)
6844 * improvements to the x86-64 disassembler. (thanks to Lutz Euler)
6845 * optimization: type testing for non-vector arrays should be faster.
6846 * fixed TRACE :ENCAPSULATE NIL, added support for :ENCAPSULATE NIL
6848 * bug fix: setting 31st element of a bit vector to zero did not work
6850 * bug fix: redefining a class definition which failed due to a
6851 previous accessor / function clash now works (but see BUGS entry
6852 #380 for more problems in this area). (thanks to Zach Beane)
6853 * the long form of DEFINE-METHOD-COMBINATION disables method group
6854 checking when given a single method group with pattern *. (thanks
6856 * on x86 compiler supports stack allocation of results of simple
6857 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT.
6858 * support for building and running on Mac OS X 10.4 "Tiger" has been added
6859 ** Binaries built on Tiger will not run on 10.2 "Jaguar" currently
6860 * fixed some bugs related to Unicode integration:
6861 ** the restarts for recovering from input and output encoding
6862 errors only appear when there is in fact such an error to
6864 * fixed some bugs revealed by Paul Dietz' test suite:
6865 ** MISC.549 and similar: late transformation of unsafe type
6866 assertions into derived types caused unexpected code
6868 ** SCALE-FLOAT type deriver is less wrong.
6869 ** type derivers for EXP, LOG and similar functions compute result
6870 types for complex arguments better.
6871 ** (MISC.563) CONJUGATE type deriver works for very restricted
6873 ** out-of-line type testers for character strings are available.
6874 ** EQUAL compiler transform understands specialness of objects
6876 ** accessing double-floats stored on the stack now works on x86-64.
6877 ** debugger internals could sometimes create invalid lispobjs,
6878 resulting in GC crashes.
6879 ** MISC.548: type check weakening can convert required type into
6881 ** initialization forms for bindings are not in scope of free special
6884 changes in sbcl-0.8.21 (0.9alpha.1?) relative to sbcl-0.8.20:
6885 * incompatible change: thread support for non-NPTL systems has
6886 been removed - locking is buggy and unreliable. A threaded
6887 SBCL build will now warn at startup and refuse to create
6888 new threads, unless futex support is detected in the kernel
6889 * incompatible change: the top level REPL now has only an ABORT
6890 restart associated with it, not TOPLEVEL and ABORT as it used to.
6891 TOP and TOPLEVEL are now available as debugger commands for
6892 returning to the top level.
6893 * incompatible change: forms evaluated in the REPL now use the
6894 global optimization policy.
6895 * incompatible change: user- and system-initialization files are
6896 no longer processed with LOAD, but by READ and EVAL; hence the
6897 global optimization policy, startup package, readtable, etc,
6899 * The .fasl file format number has been incremented because of
6900 various incompatible changes.
6901 * internal entry point details and argument counts no longer appear
6902 in backtraces unless explicitly requested by setting
6903 SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS*.
6904 * built-in and standard functions no longer have names like "top
6905 level local call to FOO".
6906 * fixed bug 32: functions defined in non-null lexical environments
6907 now have more legible printed representation
6908 * fixed bug 33: functions defined in non-null lexical environemnts
6909 are now more amenable to inspection by INSPECT.
6910 * workaround for bug 354: XEPs no longer appear in backtraces unless
6911 explicitly requested.
6912 * fixed bug: receiving the signal which results from attempting to
6913 write to mprotect()ed memory (SIGSEGV on Linux and some *BSDs,
6914 SIGBUS on other *BSDs) on architectures where the C stack is also
6915 the Lisp stack (x86 and x86-64) from foreign code no longer leads
6916 to debugger confusion or wild instability. (reported by Cheuksan
6918 * fixed bug: COUNT and EQUAL no longer issue compiler efficiency
6919 notes when operating on objects known to be SIMPLE-BIT-VECTORs.
6920 (reported by Lutz Euler)
6921 * fixed bug: (TYPEP X '(MEMBER ...)) no longer returns a list in
6922 compiled code. (reported by Paul Dietz)
6923 * fixed bug 276b: mutating with MULTIPLE-VALUE-SETQ a binding of a
6924 specialized parameter to a method to something that is not TYPEP
6925 the specializer is now possible.
6926 * fixed bug: the MAKE-INSTANCE optimization is now correct in the
6927 face of package deletion.
6928 * fixed bug: LOAD should bind *LOAD-PATHNAME* to the merged
6929 pathname. (reported by David Tolpin on c.l.l)
6930 * contrib improvement: the SB-SIMPLE-STREAMS contrib now defines
6931 STRING-SIMPLE-STREAM and FILE-SIMPLE-STREAM as subclasses of
6932 STRING-STREAM and FILE-STREAM, respectively.
6933 * contrib improvement: SB-INTROSPECT handles more of SLIME's needs
6934 than previously; in addition, its test suite is now run on build.
6935 (thanks to Luke Gorrie)
6936 * a more robust x86-64 disassembler. (thanks to Lutz Euler)
6937 * optimization: added a immediate representation for single-floats
6939 * fixed some bugs revealed by Paul Dietz' test suite:
6940 ** MISC.564: defined out-of-line version of %ATAN2 on x86.
6941 ** attempting to create a package with a colliding nickname causes
6942 correctable errors to be signalled.
6943 ** MISC.572-574: :START1 and :START2 broken for simple-base-strings.
6944 ** several x86-64 backend bugs related to sign-extension of immediate
6947 changes in sbcl-0.8.20 (0.9alpha.0?) relative to sbcl-0.8.19:
6948 * fixed inspection of specialized arrays. (thanks to Simon Alexander)
6949 * fixed disassembly of SHLD and SHRD on x86. (thanks to David
6951 * fixed loading of multiply forward-referenced layouts.
6952 (thanks to Cheuksan Wang)
6953 * fixed bug 7: less verbose COMPILE-FILE output. Additionally, the
6954 output is now directed to *STANDARD-OUTPUT* as specified by ANSI.
6955 (see COMPILE-FILE documentation for details of :PRINT option)
6956 * fixed bugs 19 and 317: fixed-format floating point printing is
6957 more accurate. This also fixes a bug reported by Adam Warner
6958 related to the ~@F format directive.
6959 * fixed bug 371: bignum print/read inconsistency. (thanks to Harald
6961 * fixed bug: SET-SYNTAX-FROM-CHAR correctly shallow-copies a
6962 dispatch table if the from-char is a dispatch macro character.
6963 * fixed bug: COUNT and EQUAL on bit vectors with lengths divisible
6964 by the wordsize no longer ignore the last word. (reported by Lutz
6966 * fixed bug in type checking of dynamic-extent variables. (reported
6968 * optimization: sequence traversal functions use their freedom to
6969 coerce function designators to functions.
6970 * optimization: code with many calls to CLOS methods specialized on
6971 CLOS classes has had redundant type checks removed.
6972 * optimization: added declarations to speed up operations that access
6973 the internal character database (for example STRING-UPCASE)
6974 * optimization: comparison operations between floats and sufficiently small
6975 fixnums no longer create extra rationals
6976 * fixed some bugs related to Unicode integration:
6977 ** portions of multibyte characters at the end of buffers for
6978 character-based file input are correctly transferred to the
6979 start of the buffer at the next read.
6980 ** COMPILE-FILE now respects any EXTERNAL-FORMAT argument given,
6981 passing it through to OPEN.
6982 ** LOAD on source files likewise passes any EXTERNAL-FORMAT
6983 argument given to internal calls to OPEN.
6984 ** the built-in comment readers (introduced by character sequences
6985 ";" and "#|") are more forgiving to encoding errors; they will
6986 STYLE-WARN and then attempt to resync the stream at a character
6987 boundary. (thanks to Teemu Kalvas)
6988 * fixed some bugs in the x86-64 port:
6989 ** Negative short int return values from c-calls are sign-extended
6991 ** The stack is aligned to 16-bytes for c-calls, as required by
6992 the ABI. (thanks to Cheuksan Wang)
6993 ** The disassembler understands more x86-64. (thanks to Cheuksan Wang)
6994 ** The regression tests use SB-ALIEN:INT instead of SB-ALIEN:INTEGER
6995 for enums. (thanks to Vincent Arkesteijn)
6996 ** Multiple small optimizations and bugfixes for floating point
6998 * fixed some bugs revealed by Paul Dietz' test suite:
6999 ** Space, Tab, Linefeed, Return and Page have the invalid
7000 secondary constituent character trait.
7001 ** SET-SYNTAX-FROM-CHAR correctly copies multiple-escape character
7003 ** WITH-INPUT-FROM-STRING should only update the index place on
7005 ** Pretty-printing backquoted forms when *PRINT-CIRCLE* is true
7006 works more reliably.
7007 ** Bit-array operations (BIT-AND and similar) worked incorrectly
7008 with one-dimensional arrays with fill pointers.
7009 ** TYPE-OF failed on a complex with an integer realpart and a
7011 ** compiler failure during type inference for the code of form
7012 (IF (EQL X (THE ...)) ...) (MISC.535).
7014 changes in sbcl-0.8.19 relative to sbcl-0.8.18:
7015 * new port: SBCL now works in native 64-bit mode on x86-64/Linux
7016 platform. The port supports 61-bit fixnums, large memory spaces
7017 and reloading shared object files.
7018 * enhancement: saving cores with foreign code loaded is now
7019 supported on ppc/Darwin in addition to the previously supported
7021 * enhancement: the statistical profiler now walks deeper into the
7022 call stack for more meaningful call-graphs and accrued time
7023 reports (x86/x86-64 only). It also now reports time spent in
7025 * enhancement: it is now possible to trace most individual methods
7026 of a generic function in addition to tracing the generic function
7028 * bug fix: invalid :DEFAULT-INITARGS are detected in compiled calls
7030 * bug fix: defaulted initargs are passed to INITIALIZE-INSTANCE and
7031 SHARED-INITIALIZE methods from compiled calls to MAKE-INSTANCE.
7032 * bug fix: COERCE to (COMPLEX FLOAT) of a complex number no longer
7033 produces an error. (thanks to Vincent Arkesteijn)
7034 * bug fix: NAMESTRING on pathnames with :WILD components in their
7035 directories works correctly. (thanks to Artem V. Andreev)
7036 * fixed bug 125: compiler preserves identity of closures. (reported
7038 * bug fixed: functions with &REST arguments sometimes failed with
7039 "Undefined function" when compiled with (DEBUG 3). (reported by
7041 * bug fix: overflow during compiling of setting element of a bit
7042 vector with constant index and value. (reported by Timmy Douglas)
7043 * build fix: fixed the dependence on *LOAD-PATHNAME* and
7044 *COMPILE-FILE-PATHNAME* being absolute pathnames.
7045 * on x86 compiler partially supports stack allocation of dynamic-extent
7047 * GO and RETURN-FROM do not check the extent of their exit points
7048 when compiled with SAFETY 0.
7049 * fixed some bugs related to Unicode integration:
7050 ** encoding and decoding errors are now much more robustly
7051 handled; it should now be possible to recover even from invalid
7052 input or output to the terminal. (thanks to Teemu Kalvas)
7053 ** provided a first cut at implementing STRING-TO-OCTETS and
7054 OCTETS-TO-STRING. (thanks to Robert J. Macomber)
7055 ** altered the SB-MD5 contributed module slightly, changing the
7056 interface just enough for it to be supportable for builds where
7057 lisp characters are not eight bits.
7058 * fixed some bugs revealed by Paul Dietz' test suite:
7059 ** the FORMATTER-generated functions for ~V[ conditionals require
7060 the correct number of arguments.
7061 ** READ-FROM-STRING returns the mandated second value when applied
7062 to displaced strings.
7063 ** the #\Rubout and #\Backspace characters are treated as invalid
7064 constituent characters by the tokenizer.
7066 changes in sbcl-0.8.18 relative to sbcl-0.8.17:
7067 * new feature: reloading changed shared object files with
7068 LOAD-SHARED-OBJECT now causes the new definitions to take effect.
7069 * new feature: references to foreign variables and functions
7070 can now be compiled and loaded before the corresponding shared
7071 object file is loaded, as long as the foreign definitions are
7072 available at runtime.
7073 * Solaris 10 (aka SunOS 5.10) on the SPARC platform is now
7074 supported. (thanks to Dan Debertin)
7075 * SB-ALIEN enums can now be represented in Lisp by any symbols, not
7076 just keywords. (thanks to Vincent Arkesteijn)
7077 * fixed bug #331: structure-class instances corresponding to
7078 DEFSTRUCT forms are now created eagerly.
7079 * fixed bug #345: backtraces from calls to undefined functions work
7080 on x86 as well. Related bug #61 is now also partially fixed on x86
7081 (backtraces from throws to unknown catch tags.)
7082 * bug fix: lambda-list parsing is now stricter vrt. order and number
7083 of lambda-list keywords.
7084 * bug fix: as specified by AMOP, an error is signalled if a
7085 class-option appears multiple times in a DEFCLASS form. (reported
7087 * bug fix: RANDOM can be compiled when the compiler derives the type
7088 of its numeric argument as a disjoint set of small integers.
7089 (reported by Paul Dietz)
7090 * bug fix: starting a core saved with shared objects loaded when
7091 those objects are not available no longer causes threaded SBCL to
7092 hang. (reported by Sean Ross)
7093 * bug fix: evaluated FUNCTION no longer bypasses encapsulation (eg.
7095 * bug fix: (SETF MACRO-FUNCTION) now accepts an optional environment
7096 argument, which must always be NIL. (reported by Kalle Niemitalo)
7097 * bug fix: printing 1.0d+23 no longer results in an error.
7098 (reported by Rolf Wester for CMUCL; bug fix from Raymond Toy)
7099 * bug fix: structure slot setters preserve evaluation order. (thanks
7101 * fixed some bugs related to Unicode integration:
7102 ** RUN-PROGRAM can allow its child to take input from a Lisp
7103 stream. (reported by Stefan Scholl)
7104 ** ASDF-INSTALL successfully downloads .tar.gz files in all
7105 locales. (reported by Ken Causey)
7106 * fixed some bugs revealed by Paul Dietz' test suite:
7107 ** INCF, DECF and REMF evaluate their place form as specified in
7109 ** FORMATTER expands ~{ ~} iteration directives with V or #
7110 parameters correctly.
7111 ** FORMATTER deals with the ~@[ ~] conditional directive where the
7112 consequent uses no arguments correctly.
7113 ** the system has a partial understanding of the (COMPLEX RATIO)
7115 ** UPGRADED-COMPLEX-PART-TYPE obeys the lattice upgrading rules
7118 changes in sbcl-0.8.17 relative to sbcl-0.8.16:
7119 * new feature: a build-time option (controlled by the :SB-UNICODE
7120 keyword feature, enabled by default) for building the system with
7121 support for the entire 21-bit character space defined by the
7123 * new feature: the system now has rudimentary external-format
7124 support; the primary user-visible change at this time is that
7125 characters with the high bit set (such as lower-case-e-acute) will
7126 print correctly to a terminal in a UTF-8 environment.
7127 * minor incompatible change: BASE-CHAR no longer names a class;
7128 however, CHARACTER continues to do so, as required by ANSI.
7129 * minor incompatible change: SB-DEBUG:*DEBUG-PRINT-FOO* variables
7130 are no longer supported, and SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*
7131 has been moved to the SB-EXT package (temporarily re-exported from
7133 * minor incompatible change: SB-C::*COMPILER-ERROR-PRINT-FOO* variables
7134 are no longer supported: use SB-EXT:*COMPILER-PRINT-VARIABLE-ALIST*
7136 * fixed bug #351: better error-handlind and reporting for malformed
7138 * fixed bug #350: bignum-printing is now more memory-efficient,
7139 allowing printing of very large bignums, eg. (expt 2 10000000).
7140 (reported by Bruno Haible)
7141 * fixed bug #302: better primitive-type selection for intersection
7143 * fixed bug #308: non-graphic characters now all have names, as
7144 required. (reported by Bruno Haible)
7145 * bug fix: redefining a class with different superclasses now correctly
7146 removes it from the direct-subclasses of its previous superclasses.
7147 (reported by David Morse)
7148 * bug fix: (SETF FIND-CLASS) using a FORWARD-REFERENCED-CLASS as the
7149 new value now works. (reported by Bruno Haible)
7150 * bug fix: correct canonicalization of multiple non-standard slot
7151 options in DEFCLASS as per AMOP 5.4.2. (reported by Bruno Haible)
7152 * bug fix: SB-MOP:CLASS-PROTOTYPE now signals an error if the class
7153 is not yet finalized, as required by AMOP. (reported by Bruno Haible)
7154 * bug fix: SB-MOP:ALLOCATE-INSTANCE method for instances of BUILT-IN-CLASS
7155 now exists, an signals an error.
7156 * bug fix: duplicate LOOP variable bindings now signal PROGRAM-ERROR
7157 during macroexpansion for non-iteration variables as well. (reported
7158 by Bruno Haible for CMUCL)
7159 * bug fix: Cyclic structures and unprintable objects in compiler
7160 messages no longer cause errors. (reported by Bruno Haible)
7161 * bug fix: READ, READ-PRESERVING-WHITESPACE, READ-DELIMITED-LIST,
7162 and READ-FROM-STRING all now return a primary value of NIL if
7163 *READ-SUPPRESS* is true. (reported by Bruno Haible for CMUCL)
7164 * bug fix: Default value of EOF-ERROR-P in READ-FROM-STRING is true.
7165 (reported by Bruno Haible for CMUCL)
7166 * bug fix: ERROR now signals a TYPE-ERROR if the arguments to ERROR
7167 do not designate a condition. (reported by Bruno Haible for
7169 * bug fix: UNINTERN, USE-PACKAGE, IMPORT and EXPORT all signal an
7170 SB-EXT:NAME-CONFLICT condition (subtype of PACKAGE-ERROR) in the
7171 name conflict situations in CLHS 11.1.1.2.5, and provide a restart
7172 permitting resolution in favour of any of the conflicting symbols.
7173 (reported by Bruno Haible for CMUCL)
7174 * bug fix: EQUAL compiler optimizations is less aggressive on
7175 strings which can potentially compare true despite having distinct
7176 specialized array element types.
7177 * bug fix: unit enumerations can be defined without dividing by
7178 zero. (thanks to Vincent Arkesteijn)
7179 * FORMAT compile-time argument count checking has been enhanced.
7180 (report from Bruno Haible for CMUCL)
7181 * a partial workaround for the bug 262: the compiler does not try to
7182 inline-expand a local function doing RETURN-FROM from a deleted
7183 BLOCK. (thanks to Peter Denno for the bug report and to David
7184 Wragg for the simple test case)
7185 * fixed some bugs revealed by Paul Dietz' test suite:
7186 ** RENAME-PACKAGE allows all package designators as new package
7188 ** constraint propagation and lambda variable substitution are
7189 more cautious in dealing with partially deleted code.
7190 ** compiler sometimes lost reoptimization passes.
7191 ** CERROR, given a condition as condition designator, passes its
7192 remaining arguments to the continue format control without
7194 ** Case-altering FORMAT directives work correctly on non-ASCII
7196 ** The REAL type specifier handles bounds outside the floating
7197 point ranges without signalling FLOATING-POINT-OVERFLOW.
7198 ** Functions with IR1-transformations can create intercomponent
7199 references to global functions.
7200 ** NIL parameter to the FORMAT directive ~^ means `unsupplied
7202 ** FORMAT ~R treats a nil value for its first parameter correctly.
7204 changes in sbcl-0.8.16 relative to sbcl-0.8.15:
7205 * enhancement: saving cores with foreign code loaded is now
7206 supported on x86/NetBSD and sparc/Linux in addition to the previously
7207 supported platforms.
7208 * bug fix: on some platforms repeated installations caused multiple
7209 copies of HTML documentation to be installed -- should not happen
7210 any more. (reported by Stefan Scholl)
7211 * bug fix: parsing self-recursive alien record types multiple times
7212 no longer causes infinite recursion. (reported by Thomas F. Burdick,
7213 original patch by Helmut Eller for CMUCL)
7214 * bug fix: stack-exhaustion detection works now on NetBSD as well.
7215 (thanks to Richard Kreuter)
7216 * bug fix: defining classes whose accessors are methods on existing
7217 generic functions in other (locked) packages no longer signals
7218 bogus package lock violations. (reported by François-René Rideau)
7219 * bug fix: special variables as DEFMETHOD parameters no longer have
7220 associated bogus type declarations. (reported by David Wragg and
7222 * bug fix: read-write consistency on streams of element-type
7223 (SIGNED-BYTE N) for N > 32. (reported by Bruno Haible for CMUCL)
7224 * bug fix: redefiniton of the only method of a generic function with
7225 no DEFGENERIC no longer emits a full WARNING. In addition,
7226 redefinition of generic functions with no DEFGENERIC to an
7227 incompatible lambda list now signals an error. (thanks to Zach
7229 * bug fix: DEFGENERIC now works even when there's a function of the
7230 same name in an enclosing lexical environment. (thanks to Zach
7232 * fixed compiler failure, caused by instrumenting code during
7233 IR1-optimization. (Debian bug report #273606 by Gabor Melis)
7234 * optimization: added loop analysis and improved register allocation
7235 * fixed some bugs revealed by Paul Dietz' test suite:
7236 ** POSITION on displaced vectors with non-zero displacement
7237 returns the right answer.
7238 ** (SIMPLE-STRING) is a valid type specifier for sequence
7240 ** *PRINT-LEVEL* handling for slotless structures is pedantically
7242 ** PPRINT-INDENT accepts a request for an indentation of any REAL.
7243 ** PPRINT-TAB (and the FORMAT ~T directive) now indent by the
7245 ** The justification version of the FORMAT ~< directive treats
7246 non-zero minpad parameter correctly.
7248 changes in sbcl-0.8.15 relative to sbcl-0.8.14:
7249 * incompatible change: SB-INT:*BEFORE-SAVE-INITIALIZATIONS* and
7250 SB-INT:*AFTER-SAVE-INITIALIZATIONS* have been renamed
7251 SB-EXT:*SAVE-HOOKS* and SB-EXT:*INIT-HOOKS*, and are now part of
7252 the supported interface.
7253 * new feature: Single-stepping of code compiled with DEBUG 2 or
7254 higher and (> DEBUG (MAX SPACE SPEED)) is now possible.
7255 * new feature: saving cores with foreign code loaded is now
7256 supported on x86/FreeBSD, x86/Linux, and sparc/SunOS. (based on
7257 Timothy Moore's work for CMUCL)
7258 * bug fix: DEFTYPE lambda-list parsing now binds unsupplied keyword
7259 parameters to * instead of NIL if no initform is supplied.
7260 (reported by Johan Bockgaard)
7261 * bug fix: DEFINE-COMPILER-MACRO lambda-list parsing now binds
7262 correctly when FUNCALL appears as the car of the form. Note:
7263 despite this FUNCALL forms are not currently subject to
7264 compiler-macro expansion. (port of Raymond Toy's fix for the
7265 same from CMUCL, reported by Johan Bockgaard)
7266 * bug fix: FOR ... ON ... -clauses in LOOP now work on dotted lists
7267 (thanks for Teemu Kalvas)
7268 * bug fix: in FORMAT ~^ inside ~:{ now correctly steps to the next
7269 case instead of terminating the iteration (thanks for Julian
7270 Squires, Sean Champ and Raymond Toy)
7271 * bug fix: incorrect expansion of defgeneric that caused a style
7272 warning. (thanks for Zach Beane)
7273 * bug fix: slot accessor effective method computation works properly
7274 for classes with multiple non-standard applicable methods on
7275 SB-MOP:SLOT-VALUE-USING-CLASS. (reported by Ralf Mattes)
7276 * on x86 compiler supports stack allocation of results of LIST and
7277 LIST*, bound to variables, declared DYNAMIC-EXTENT. (based on
7278 CMUCL implementation by Gerd Moellmann)
7279 * fixed some bugs revealed by Paul Dietz' test suite:
7280 ** FORMAT strings with both the ~<~:;~> form of the justification
7281 directive and pretty-printing directives cause an error.
7283 changes in sbcl-0.8.14 relative to sbcl-0.8.13:
7284 * incompatible change: the internal functions
7285 SB-KERNEL:32BIT-LOGICAL-FOO, intended for providing efficient
7286 logical operations on (UNSIGNED-BYTE 32) values, have been renamed
7287 to SB-KERNEL:WORD-LOGICAL-FOO. Modular arithmetic should be used
7288 instead of the old functions.
7289 * new feature: on platforms where "dladdr" is available foreign
7290 function names now appear in backtraces. (based on Helmut Eller's
7292 * documentation: documentation for SB-BSD-SOCKETS, SB-GRAY,
7293 SB-SIMPLE-STREAMS, and SB-PROFILE have been integrated into the user
7295 * documentation: ASDF manual is now distributed with SBCL.
7296 * bug fix: SBCL can now load its contributed modules with REQUIRE
7297 even if the system-provided entries have been removed from
7298 ASDF:*CENTRAL-REGISTRY*. Infinite recursion in REQUIRE is also
7300 * bug fix: backtraces involving undefined functions or assembly
7301 routines are more informative. (thanks to Brian Downing)
7302 * bug fix: mutually referent alien structures now work correctly.
7303 (reported by Rick Taube)
7304 * bug fix: structures defined by WITH-ALIEN can be referred to
7305 within other definitions in the same WITH-ALIEN.
7306 * bug fix: division operators (MOD, TRUNCATE and the like) with
7307 constant zero divisors and integer dividends no longer generate
7309 * bug fix: provide default methods for INPUT-STREAM-P and
7310 OUTPUT-STREAM-P specialized on SB-GRAY:FUNDAMENTAL-STREAM.
7311 * bug fix: improve the detection and resolution of MOP metacycles
7312 (where effective method computation depends on the generic function
7313 having its effective method computed). (reported by Bruno Haible)
7314 * bug fix: pass the right initargs to :BEFORE or :AFTER methods on
7315 SHARED-INITIALIZE or INITIALIZE-INSTANCE in optimized
7316 MAKE-INSTANCE constructors. (reported by Axel Schairer for cmucl)
7317 * bug fix: pathnames with relative directory components can be
7318 represented relative to default pathnames.
7319 * optimization: in taking the GCD of bignums, reduce the two bignums
7320 to approximately the same size (using Euclid's algorithm) before
7321 applying the more sophisticated binary GCD. (thanks to Juho
7323 * optimization: COUNT on bitvectors now operates word-at-a-time.
7324 * optimization: ASH with a positive, but not necessarily constant,
7325 (leftwards) shift, when in a modular context, is compiled to a
7327 * fixed some bugs revealed by Paul Dietz' test suite:
7328 ** FORMAT variable parameters ("~V<char>") are defaulted properly
7329 if the corresponding argument is NIL.
7330 ** FORMAT directives accepting a minpad parameter treat negative
7332 ** literal commas as character parameters to FORMAT directives are
7334 ** literal spaces directly after ~<Newline> directives within a
7335 format-logical-block (~:< ~@:>) do not induce :FILL-style
7336 conditional newlines.
7337 ** PRINT-UNREADABLE-OBJECT inserts spaces as specified (and only
7338 as specified: it no longer includes conditional newlines).
7339 ** PRINC-TO-STRING binds *PRINT-READABLY* to NIL (as well as
7341 ** PPRINT-LOGICAL-BLOCK signals a TYPE-ERROR if its :PREFIX or
7342 :PER-LINE-PREFIX argument does not evaluate to a string.
7344 changes in sbcl-0.8.13 relative to sbcl-0.8.12:
7345 * new feature: SB-PACKAGE-LOCKS. See the "Package Locks" section of
7346 the manual for details; for now, package locks can be disabled by
7347 removing :SB-PACKAGE-LOCKS in customize-target-features.lisp, but
7348 if no major problems are found then it is likely that they will be
7349 compiled in unconditionally.
7350 * major incompatible change: LOAD-FOREIGN and LOAD-1-FOREIGN are now
7351 unsupported operators on all platforms. To load a shared library
7352 into SBCL, use SB-ALIEN:LOAD-SHARED-OBJECT. To load a non-shared
7353 object file, link it into a shared library outside of SBCL and
7354 load it using SB-ALIEN:LOAD-SHARED-OBJECT. (incidentally fixes
7356 * bug workaround: ROOM T and the GC were not working together
7357 reliably, because invariants expected by the SB!VM:INSTANCE-USAGE
7358 reporting facility aren't preserved. That reporting has been
7359 disabled, so now until and unless someone figures out how to make it
7360 work reliably with the current GC, (ROOM T) is equivalent to (ROOM).
7361 * minor incompatible change: as threatened around sbcl-0.8.0, the
7362 home package of MOP-related symbols is now SB-MOP, not SB-PCL.
7363 The symbols are also exported from SB-PCL for backwards
7364 compatibility, but more so than before SB-PCL should be treated as
7365 an implementation-internal package.
7366 * fasl format changed: SBCL 0.8.13 fasls are incompatible with those
7368 * the SB-SPROF contrib now works on (most) non-x86 architectures.
7369 It is known as of this release not to work on the Alpha, however.
7370 * fixed bug #167: errors signalled due to illegal syntax in method
7371 bodies are now more legible.
7372 * fixed bug #338: instances of EQL-SPECIFIER are now valid type
7373 designators and can hence be used with TYPEP.
7374 * fixed bug #333: CHECK-TYPE now ensures that the type error
7375 signalled, if any, has the right object to be accessed by
7376 TYPE-ERROR-DATUM. (reported by Tony Martinez)
7377 * fixed bug #340: SETF of VALUES obeys the specification in ANSI
7378 5.1.2.3 for multiple-value place subforms. (reported by Kalle
7380 * fixed bug #334: programmatic addition of slots using specialized
7381 methods on SB-MOP:COMPUTE-SLOTS works for :ALLOCATION :INSTANCE
7382 and :ALLOCATION :CLASS slots.
7383 * fixed bug #269: SCALE-FLOAT scales floats by any integer, not just
7384 float exponents. (rereported by Peter Seibel)
7385 * fixed a bug: #\Space (and other whitespace characters) are no
7386 longer considered to be macro characters in standard syntax by
7387 GET-MACRO-CHARACTER.
7388 * fixed bug: initialization of condition class metaobjects no longer
7389 causes an instance of the condition to be created. (reported by
7391 * fixed bug: it is now possible to have slots such that
7392 SB-MOP:SLOT-DEFINITION-ALLOCATION of the effective slot
7393 description is neither :INSTANCE nor :CLASS.
7394 * fixed bug: the ctor optimization of MAKE-INSTANCE now respects
7395 user-defined methods on SLOT-BOUNDP-USING-CLASS and (SETF
7396 SLOT-VALUE-USING-CLASS), and no longer causes errors with
7397 non-standard SLOT-DEFINITION-ALLOCATION values.
7398 * fixed bugs: various race conditions handling exiting threads.
7399 CL-PPCRE's thread torture test now passes.
7400 * fixed arguably-a-bug: GC time proportional to number of threads in
7401 system even when most of them are idle
7402 * optimization: improved performance of BIT and SBIT on bit-vectors.
7403 * .fasl file incompatibility: The fasl file version number has
7404 been incremented because of changes associated with package locks.
7406 changes in sbcl-0.8.12 relative to sbcl-0.8.11:
7407 * minor incompatible change: the system no longer provides
7408 optimization hints (conditions which are TYPEP
7409 SB-EXT:COMPILER-NOTE) for conforming code in default compilation
7410 mode; these hints are still emitted when higher SPEED optimization
7412 * new contrib module: a sampling profiler (profiling by statistical
7413 sampling, rather than by instrumenting functions) is available as
7414 the SB-SPROF contrib. (thanks to Gerd Moellmann and Juho Snellman)
7415 * the behaviour of the standard function ED is now customizeable by
7416 third parties through a hook variable: see ED's documentation
7417 string for information on the protocol.
7418 * the compiler no longer emits efficiency notes for (FUNCALL X)
7419 when the type of X is uncertain under default optimization
7421 * fixed bug 276: mutating a binding of a specialized parameter to a
7422 method to something that is not TYPEP the specializer is now
7424 * fixed bugs 45d and 118: DOUBLE-FLOAT[-NEGATIVE]-EPSILON now
7425 exhibit the required behaviour on the x86 platform. (thanks to
7426 Peter van Eynde, Eric Marsden and Bruno Haible)
7427 * fixed bug 335: ATANH now computes the inverse hyperbolic tangent
7428 even for difficult arguments. (reported by Peter Graves)
7429 * fixed bug 141a: the backquote printer now descends quoted
7431 * fixed another bug in backquote printing: no more destructive
7432 modification of the form's list structure. (reported by Brian
7434 * fixed bug in INTERRUPT-THREAD: pin the function, so that it cannot
7435 move between its address being taken and the call to
7436 interrupt_thread, fixing a crashing race condition.
7437 * the SB-POSIX contrib implementation has been adjusted so that it
7438 no longer exhibits ridiculously poor performance when constructing
7439 instances corresponding to C structs.
7441 changes in sbcl-0.8.11 relative to sbcl-0.8.10:
7442 * minor incompatible change: the sb-grovel contrib now treats C
7443 structures as alien (in the sense of SB-ALIEN) objects rather than
7444 as undistinguished (simple-array (unsigned-byte 8) (*))s. This
7445 has implications for memory management of client code
7446 (sb-grovel-returned objects must now be manually managed) and for
7447 type safety (alien objects now have full types).
7448 * new feature: the SB-EXT:MUFFLE-CONDITIONS declaration should be
7449 used to control emission of compiler diagnostics, rather than the
7450 SB-EXT:INHIBIT-WARNINGS OPTIMIZE quality. See the manual for
7451 documentation on this feature. The SB-EXT:INHIBIT-WARNINGS
7452 quality should be considered deprecated.
7453 * install.sh now installs the user manual as well
7454 * (not quite a new documentable feature, but worth considering in
7455 the light of the new SB-EXT:MUFFLE-CONDITIONS declaration): the
7456 beginnings of a semantically meaningful condition hierarchy is
7457 under development, for use in SB-EXT:MUFFLE-CONDITIONS and by
7459 * fixed bug: PARSE-NAMESTRING now accepts any valid pathaname
7460 designator as the defaults argument.
7461 * fixed bug: Displaced arrays whose displaced-to array has become
7462 too small now cause ARRAY-DIMENSION to signal an error, providing
7463 for safer bounds-checking. (reported by Bruno Haible)
7464 * fixed bug: DEFCLASS slot definitions with identical :READER and
7465 :WRITER names now signal a reasonable error. (reported by Thomas
7467 * fixed bug: CLOSE :ABORT T on appending stream no longer causes
7469 * fixed bug: Invalid slot specification errors now print correctly.
7470 (thanks to Zach Beane)
7471 * fixed bug 320: Shared to local slot value transfers in class
7472 redefinitions now happen corrently from superclasses as
7473 well. (reported by Bruno Haible)
7474 * fixed bug 316: SHIFTF now accepts VALUES forms. (reported by Bruno
7476 * fixed bug 322: DEFSTRUCT :TYPE LIST type predicates now handle
7477 improper lists correctly. (reported by Bruno Haible)
7478 * fixed bug 313: source-transform for <fun-name> was erroneously
7479 applied to a call of a value of a variable with name <fun-name>.
7480 (reported by Antonio Menezes Leitao)
7481 * fixed bug 307: The obsolete instance protocol ensures that
7482 subclasses are properly obsoleted. (thanks to Nikodemus Siivola)
7483 * fixed bug 298, revealed by Paul F. Dietz' test suite: SBCL can
7484 remove dead unknown-values globs from the middle of the stack.
7485 * added a new restart to *BREAK-ON-SIGNALS* handling to make it
7486 easier to resume long computations after using *BREAK-ON-SIGNALS*
7487 to diagnose and fix failures. (thanks to Nikodemus Siivola)
7488 * fixed bug reported by PFD in lisppaste #747 (and Bruno Haible from
7489 CLISP test suite): WRITE-TO-STRING is not constant-foldable.
7490 * fixed bugs in COMPLEX type specifier: UPGRADED-COMPLEX-PART-TYPE
7491 is now consistent with (COMPLEX <x>); bugs in treatment of COMPLEX
7492 MEMBER and UNION types have likewise been fixed. (thanks to Bruno
7494 * fixed a (fairly theoretical) bug in string printing: if
7495 *PRINT-READABLY* is true, signal PRINT-NOT-READABLE if the string
7496 does not have array-element-type equal to the most general string
7498 * fixed bug: SET-PPRINT-DISPATCH does not immediately resolve
7499 function name. (thanks to Nikodemus Siivola)
7500 * fixed bug: compile-time format string checker failed on
7501 non-closed ~{. (reported by Thomas F Burdick)
7502 * fixed bug: as reported by Kalle Olavi Niemitalo on #lisp IRC,
7503 don't warn on legal loop code involving more than one aggregate
7504 boolean. (thanks to Nikodemus Siivola)
7505 * fixed bug: as reported by Peter Graves on #lisp IRC, passing a NIL
7506 in keyword position to MAKE-PACKAGE was not being reported as
7508 * fixed bug: as reported by Juan Ripoll on cmucl-imp,
7509 MULTIPLE-VALUE-BIND should be able to lexically bind lambda list
7511 * fixed bugs 280 and 312: the checking for multiple definitions in a
7512 file is less likely to become confused by uses of inline
7514 * fixed bug: the #S reader macro performs the keyword coercion
7515 specified for slot names. (reported by Kalle Niemitalo)
7516 * fixed bug: lambda lists may contain symbols whose names start with
7517 & but are not lambda-list-keywords; their occurrence triggers a
7519 * fixed bug 321: define-method-combination argument lambda lists do
7520 not cause invalid code to be generated when &optional or &aux
7521 variables have default values. (reported by Bruno Haible)
7522 * fixed bug 327: system subclasses of STRUCTURE-OBJECT or CONDITION
7523 have CLOS classes; this appears also to have fixed reported
7524 instability in stack exhaustion detection.
7525 * fixed bug: the CONTROL-ERROR from ABORT, CONTINUE and
7526 MUFFLE-WARNING when no associated restart is present is now
7528 * optimization: rearranged the expansion of various defining macros
7529 so that each expands into only one top-level form in a
7530 :LOAD-TOPLEVEL context; this appears to decrease fasl sizes by
7532 * optimization: used a previously little-used slot in symbols to
7533 cache SXHASH values, yielding a 5-10% compiler speedup. (thanks
7535 * fixed some bugs revealed by Paul Dietz' test suite:
7536 ** MAKE-INSTANCES-OBSOLETE returns the class name when called with
7538 ** Fixed an optimization bug related to inheritance of initforms
7539 from local to shared slots.
7540 ** FILE-POSITION works as specified on BROADCAST-STREAMs.
7541 ** CAST optimizer forgot to flush argument derived type.
7542 ** print/read consistency on floats is now orders of magnitude
7543 more likely. (thanks also to Bruno Haible for a similar report
7545 ** removed stack cleaning in the cleanup part of UNWIND-PROTECT.
7546 ** IMAGPART is specified (infelicitously) to return (* 0 <thing>)
7547 for objects of type REAL. Make it so.
7548 ** SXHASH is specified (infelicitously) to respect similarity,
7549 which means that (SXHASH 0.0) must equal (SXHASH -0.0). Make
7550 it so. (thanks to Markus Ziegler)
7551 ** on the Alpha, the compiler succeeds in compiling functions
7552 returning a known number of arguments greater than 63.
7553 ** fixed handling of invalid NIL arguments in keyword position
7555 ** fixed non-pretty printing of arrays with *PRINT-RADIX* being
7557 ** provided a readably-printable representation for RANDOM-STATE
7559 ** ensured that pathnames, where they have a namestring, always
7560 print using #P"..." syntax.
7562 changes in sbcl-0.8.10 relative to sbcl-0.8.9:
7563 * Support for the forthcoming 2.0 version of the NetBSD kernel
7564 running on x86 hardware has been added. (thanks to Perry
7565 E. Metzger most immediately, and others for their past work)
7566 * SBCL now runs on OpenBSD 3.4. (Thanks to Scott Parish; 3.4 is the
7567 current release version; SBCL's OpenBSD support had been broken
7568 since about the time of OpenBSD's switch to ELF binary format.)
7569 * [placeholder for DX summary]
7570 ** user code with &REST lists declared dynamic-extent, under high
7571 speed or space and low safety and debug optimization policy.
7572 * The manual has been converted to Texinfo format and the debugger
7573 chapter from the cmucl manual has been added.
7574 * A facility has been added to extract documentation strings from
7575 sbcl and store them as Texinfo-formatted snippets for inclusion in
7576 the manual (via Texinfo's @include directive)
7577 * bug fix: compiler emitted division in optimized DEREF. (thanks for
7578 the test case to Dave Roberts)
7579 * bug fix: multidimensional simple arrays loaded from FASLs had fill
7580 pointers. (reported by Sean Ross)
7581 * bug fix: PROFILE output is printed nicely even for large numerical
7582 values. (thanks to Zach Beane)
7583 * bug fix: streams with element-type (SIGNED-BYTE <N>) for <N>
7584 greater than 32 handle EOF correctly.
7585 * bug fix: on X86 an immediate argument of the IMUL instruction is
7586 correctly printed in disassembly. (thanks to Lutz Euler)
7587 * bug fix: class slots in redefined classes preserve their old
7588 values. (thanks to Bruno Haible and Nikodemus Siivola)
7589 * bug fix: compilation of funcalls of CXX+R (e.g. CDDR) now
7590 succeeds. (reported by Marco Baringer)
7591 * fixed some bugs revealed by Paul Dietz' test suite:
7592 ** READ-SEQUENCE now works on ECHO-STREAMs.
7593 ** RATIONALIZE works more according to its specification. (thanks
7596 changes in sbcl-0.8.9 relative to sbcl-0.8.8:
7597 * deprecation of old extension: *DEBUG-PRINT-LEVEL* and
7598 *DEBUG-PRINT-LENGTH* are now deprecated in favor of the new, more
7599 general SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* mechanism. (This
7600 should matter to you only if you rebind the printer control
7601 variables and then find you want different bindings in the
7602 debugger than in the ordinary execution of your program.)
7603 * The runtime build system has been tweaked to support building
7604 (on SPARC/SunOS) using a C compiler which invokes Sun's own
7605 assembler and linker. (thanks to Nikodemus Siivola)
7606 * Unbound, undefined, undeclared variables now trigger full
7607 WARNINGs, not just STYLE-WARNINGs, on the assumption that this is
7608 more often programmer error than deliberate exploitation of undefined
7610 * optimization: the hash algorithm for strings has changed to one
7611 that is less vulnerable to spurious collisions. (thanks to Juho
7613 * optimization: VECTOR-POP, VECTOR-PUSH-EXTEND and REPLACE do less
7614 needless bounds checking. (thanks to Juho Snellman)
7615 * optimization: implemented multiplication as a modular
7616 (UNSIGNED-BYTE 32) operation on the PPC backend.
7617 * fixed some bugs revealed by Paul Dietz' test suite:
7618 ** ADJUST-ARRAY now copies the datum in a zero rank array if
7620 ** ADJUST-ARRAY no longer adjusts non-adjustable arrays.
7621 ** MAKE-STRING-INPUT-STREAM accepts NIL as a value for :END.
7622 ** MAKE-STRING-INPUT-STREAM functions correctly for strings with
7624 ** CLEAR-INPUT accepts NIL and T for its (optional) stream
7626 ** Ratios can now be printed correctly with *PRINT-BASE* bound to
7628 ** ECHO-STREAMs no longer attempt to echo the end of file value to
7629 their output stream on EOF from read.
7630 ** CONCATENATED-STREAM-STREAMS discards constituent streams which
7631 have been read to end-of-file.
7632 ** CLOSE works as expected on the null CONCATENATED-STREAM, and on
7634 ** Printing symbols with *PRINT-CASE* :CAPITALIZE respects the
7635 description of determination of which consecutive characters
7637 ** Printing the "Space" character with escaping on now yields "#\\ ",
7638 rather than "#\\Space", as mandated by ANSI 22.1.3.2.
7639 ** Reading floating-point numbers with *READ-BASE* set to a number
7640 less than 10 works correctly.
7641 ** Reading floating-point numbers with *READ-BASE* set to a number
7642 more than 10 works correctly.
7643 ** Printing with *PRINT-READABLY* targets the standard readtable, not
7644 the readtable currently in effect.
7646 changes in sbcl-0.8.8 relative to sbcl-0.8.7:
7647 * minor incompatible change: parsing of namestrings on a physical
7648 (Unix) host has changed; numbers after the final #\. in a
7649 namestring are no longer interpreted as a version field. This is
7650 intented to be largely invisible to the user, except that the
7651 meaning of the namestring "*.*.*" has changed: it now refers to a
7652 pathname with :TYPE :WILD :NAME #<pattern "*.*">. This namestring
7653 should usually be replaced by
7654 (make-pathname :name :wild :type :wild :version :wild)
7655 with the added benefit that this is more likely to be portable.
7656 As a consequence of this change, the :IF-EXISTS :NEW-VERSION
7657 option to OPEN now signals an error if the file being opened
7658 exists; this may have an impact on existing code.
7659 * fixed bug 190: RUN-PROGRAM should now work properly, respecting
7660 signals received, on the PowerPC platforms (both Linux and
7661 Darwin). (thanks to Pierre Mai for pointing out the location of
7663 * several fixes on OS X: The system now builds and runs cleanly on
7664 Panther (10.3), and works around sigreturn bug (no more SIGFPEs).
7665 (thanks to Brian Mastenbrook)
7666 * bug fix: DECODE-UNIVERSAL-TIME now accepts timezone arguments with
7667 second-resolution: integer multiples of 1/3600 between -24 and 24.
7668 (thanks to Vincent Arkesteijn)
7669 * bug fix: functions =, /=, <, <=, >, >= did not check the argument
7670 type when called with 1 argument; PEEK-CHAR checked type of
7671 PEEK-TYPE only after having read first character from a
7672 stream. (reported by Peter Graves)
7673 * bug fix: the garbage collector now has much better locality
7674 behaviour, and in particular no longer treats all memory as being
7675 exhausted when many small objects point to each other in a deeply
7677 * bug fix: arrays specialized on (UNSIGNED-BYTE 15) are now
7678 recognized as being TYPEP their class.
7679 * bug fix: the PUSHNEW documentation string has been corrected.
7680 (thanks to Vincent Arkesteijn)
7681 * bug fix: defaulting of the value for the last of an atypically
7682 large number of multiple values being bound was not being
7683 performed correctly on the Alpha or PPC platforms
7684 * optimization: implemented multiplication as a modular
7685 (UNSIGNED-BYTE 32) operation on the x86 backend.
7686 * optimization: SEARCH on simple-base-strings can now be open-coded.
7687 (see also contrib/compiler-extras.lisp for inspiration for
7688 teaching the compiler about the Boyer-Moore algorithm).
7689 * value, returned by MAX (and MIN) called with several EQUALP, but
7690 not EQL, arguments now does not depend on compiler settings.
7691 * fixed some bugs revealed by Paul Dietz' test suite:
7692 ** in stack analysis liveness information is propagated from
7693 non-local entry points.
7694 ** pathwise CAST removing failed when the CAST node did not start
7696 ** INPUT-STREAM-P, OUTPUT-STREAM-P, STREAM-ELEMENT-TYPE and
7697 OPEN-STREAM-P signal a TYPE-ERROR if their argument is not a
7699 ** LOAD-LOGICAL-PATHNAME-TRANSLATIONS returns NIL if the logical
7700 host is already defined.
7701 ** RENAME-FILE works on streams instead of signalling an internal
7703 ** PEEK-CHAR uses the current readtable when determining whether
7704 or not a character is whitespace.
7705 ** MERGE-PATHNAMES handles the case when the pathname does not
7706 specify a name while the default-pathname specifies a version.
7707 ** Pathnames now stand a better chance of respecting print/read
7709 ** Attempting to use standardized file system operators with a
7710 pathname with invalid :DIRECTORY components signals a
7712 ** OPEN :DIRECTION :IO no longer fails to work on non-existent
7714 ** DIRECTORY on logical pathnames is more correct.
7715 ** CLEAR-INPUT, CLEAR-OUTPUT, FINISH-OUTPUT and FORCE-OUTPUT
7716 signal a TYPE-ERROR if their argument is not a stream.
7717 ** READ-BYTE and WRITE-BYTE signal a TYPE-ERROR if their stream
7718 designator argument does not designate a stream.
7719 ** OPEN-STREAM-P and INPUT-STREAM-P on synonym streams work by
7720 examining the synonym.
7721 ** STREAM-ELEMENT-TYPE and FRESH-LINE on broadcast-streams now
7723 ** OPEN and WITH-OPEN-STREAM allow opening streams with
7724 element-type larger than ([UN]SIGNED-BYTE 32).
7726 changes in sbcl-0.8.7 relative to sbcl-0.8.6:
7727 * When built with the :SB-FUTEX feature, threaded builds now take
7728 advantage of the "fast userspace mutex" facility in Linux kernel 2.6
7729 for faster/more reliable mutex and condition variable support.
7730 * Incompatible change (but one you probably shouldn't have been using
7731 anyway): the interface and code for arbitrating between multiple
7732 threads in the same user session has been redesigned.
7733 * bug fix: GET-SETF-EXPANSION no longer throws an internal type
7734 error when called without an explicit environment argument.
7735 (thanks to Nikodemus Siivola)
7736 * bug fix: buffered :DIRECTION :IO streams are less likely to become
7737 confused about their position. (thanks to Adam Warner and Gerd
7739 * bug fix: Pretty printing backquoted forms with unquotations in the
7740 argument list position of various code constructs such as LAMBDA
7741 now works correctly. (reported by Paul Dietz)
7742 * bug fix: Pretty printing unquotations no longer loses all
7743 stream position information.
7744 * optimization: performance of string output streams is now less
7745 poor for multiple small sequence writes.
7746 * optimization: performance of CSUBTYPEP in the presence of complex
7747 expressions involving CONS and NOT many times has been improved.
7748 (reported by Paul Dietz)
7749 * ASDF-INSTALL bug fix: now parses *PROXY* properly. (thanks to
7751 * SB-SIMPLE-STREAMS enhancement: simple-streams can now be used as
7752 streams for the REPL, for the debugger, and so on. (thanks to
7754 * DEFINE-CODITION is more efficient. (thanks to Brian Mastenbrook)
7755 * fixed some bugs revealed by Paul Dietz' test suite:
7756 ** the value of the :REHASH-THRESHOLD argument to MAKE-HASH-TABLE
7757 is ignored if it is too small, rather than propagating through
7758 to cause DIVIDE-BY-ZERO or FLOATING-POINT-OVERFLOW errors.
7759 ** extremely complex negations of CONS types were not being
7760 sufficiently canonicalized, leading to inconsistencies in
7762 ** VALUES tranformer lost derived type.
7764 changes in sbcl-0.8.6 relative to sbcl-0.8.5:
7765 * fixed a bootstrapping bug: the build process no longer assumes
7766 that the various BOOLE-related constants have the same value in
7767 host and target lisps. (noted by Paul Dietz' test suite on an
7768 SBCL binary built from CLISP)
7769 * The system can now be dynamically linked on the MIPS platform,
7770 which enables dynamic loading of foreign code from Lisp. (thanks
7771 to Ralf Baechle for discussions on the MIPS ABI)
7772 * The system now records debugging information for its own source
7773 files in a filesystem-position-independent manner, relative to
7774 the "SYS" logical host.
7775 * fixed a compiler bug: MV-LET convertion did not check references
7776 to the "max args" entry point. (reported by Brian Downing)
7777 * tweaked disassembly notes to be less confident about proclaiming
7778 some instruction as an LRA. (thanks to Brian Downing)
7779 * contrib update: SB-ACLREPL is now threadsafe; multiple listeners
7780 now each have their own history, command character, and other
7781 characteristics. (thanks to David Lichteblau)
7782 * fixed some bugs revealed by Paul Dietz' test suite:
7783 ** compiler failure in compiling LOGAND expressions including a
7785 ** Implementation of ASH-MOD32 on X86 and PPC did not work for the
7786 shift greater than 32.
7787 ** FLUSH-DEST did not mark blocks for type check regeneration.
7788 ** HANDLER-CASE failed to accept declarations in handler clauses
7789 in some circumstances.
7791 changes in sbcl-0.8.5 relative to sbcl-0.8.4:
7792 * New code in contrib/sb-introspect (still probably not entirely
7793 stable yet) provides some support for smart Lisp development
7794 environments like SLIME.
7795 * The conditions signalled for errors occurring when loading .fasl
7796 files have been systematized (inheriting from SB-EXT:INVALID-FASL)
7797 in a way which should help ASDF recover gracefully.
7798 * The REQUIRE/PROVIDE behavior of *MODULE-PROVIDER-FUNCTIONS*
7799 stuff has been cleaned up. If you code contrib/ stuff, this might
7800 affect you, and you can look at contrib/README, contrib/STANDARDS,
7801 and/or the 0.8.4.27 diff to check.
7802 * In full calls the compiler now does not generate checks for declared
7803 argument types for all arguments.
7804 * various threading fixes
7805 ** and some experimental patches which didn't make it into
7806 the main tree for this release, but which are shipped in
7807 contrib/experimental-thread.patch as a possible fix for some
7808 failures (deadlock, spinning...) in GC-intensive multithreaded
7810 * fixed PPC build problem (source code incompatibility of different
7811 library versions): added offsetof() hackery which attempts to divine
7812 where glibc maintainers put uc_mcontext today
7813 * fixed bug 282: compiler does not trust type assertions while passing
7814 arguments to a full call.
7815 * fixed bug 261: compiler allows NIL or "no value" to be accepted for
7816 &OPTIONAL VALUES type parameter.
7817 * fix bug 214: algorithm for noting rejected templates is now more
7818 similar to that of template seletion. (also reported by rydis on
7820 * fixed bug 141b: printing backquoted information readably and prettily
7821 inserts a space where necessary.
7822 * bug fix: obviously wrong type specifiers such as (FIXNUM 1) or
7823 (CHARACTER 10) are now reported as errors, rather than propagated
7824 as unknown types. (reported by piso on #lisp)
7825 * bug fix: the :IF-EXISTS argument to OPEN now behaves correctly
7826 with values NIL and :ERROR. (thanks to Milan Zamazal)
7827 * fixed bug 191c: CLOS now does proper keyword argument checking as
7828 described in CLHS 7.6.5 and 7.6.5.1.
7829 * bug fix: LOOP forms using NIL as a for-as-arithmetic counter no
7830 longer raise an error; further, using a list as a for-as-arithmetic
7831 counter now raises a meaningful error.
7832 * fixed bug 213a: even fairly unreasonable CONS type specifiers are
7833 now understood by sequence creation functions such as MAKE-SEQUENCE
7835 * fixed bug 46k: READ-BYTE now signals an error when asked to read from
7836 a STRING-INPUT-STREAM.
7837 * compiler enhancement: SIGNUM is now better able to derive the type
7839 * type declarations inside WITH-SLOTS are checked. (reported by
7841 * fixed some bugs revealed by Paul Dietz' test suite:
7842 ** incorrect optimization of TRUNCATE for a positive first
7843 argument and negative second.
7844 ** compiler failure in let-convertion during flushing dead code.
7845 ** compiler failure while deriving type of TRUNCATE on an
7846 interval, containing 0.
7847 ** ASH of a negative bignum by a negative bignum count now returns
7849 ** intersection of CONS types now canonicalizes properly, fixing
7850 inconsistencies in SUBTYPEP.
7852 changes in sbcl-0.8.4 relative to sbcl-0.8.3:
7853 * incompatible change: The --disable-debugger command line
7854 option now clobbers the debugger at a more fundamental
7855 level, by redefining #'INVOKE-DEBUGGER instead of by
7856 rebinding *DEBUGGER-HOOK*. The main difference is that BREAK
7857 is specified by ANSI to ignore *DEBUGGER-HOOK* and
7858 INVOKE-DEBUGGER regardless. Under the old system, BREAK would
7859 enter the debugger REPL and then suffer recursive errors
7860 because *DEBUG-IO* is also messed up in --disable-debugger mode;
7861 while under the new system, BREAK in --disable-debugger mode
7862 terminates the system just as an unhandled error would.
7863 * fixed compiler performance when processing loops with a step >1;
7864 * bug fix: DOCUMENTATION now retrieves generic function
7865 documentation. Also, DOCUMENTATION and (SETF DOCUMENTATION)
7866 support has been systematized, and now supports the methods
7867 specified by ANSI, along with a default method and a method for
7868 slot documentation. (reported by Nathan Froyd)
7869 * bug fix: effective methods associated with a generic function are
7870 no longer cached over a change of that generic function's method
7871 combination. (reported by Andreas Fuchs)
7872 * bug fix: RUN-PROGRAM now does not fail if some element in $PATH
7873 names a non-existent directory. (thanks to Andreas Fuchs)
7874 * bug fix: ROUND and TRUNCATE could, under certain circumstances on
7875 the PPC platform, lead to stack corruption; this has been fixed.
7876 (reported by Rainer Joswig)
7877 * bug fix: ASH on an (UNSIGNED-BYTE 32) with a shift of -32 or lower
7878 no longer ever returns 1 instead of 0. (thanks to Lars Brinkhoff)
7879 * fixed bug 285: TRUNCATE on bignum arguments, and indeed bignum
7880 arithmetic in general, is now much more reliable on the PPC
7882 * bug fix: LOGCOUNT on (UNSIGNED-BYTE 64) objects on the Alpha
7883 platform now returns the right answer.
7884 * optimization: restored some effective method precomputation in
7885 CLOS (turned off by an ANSI fix in sbcl-0.8.3); the amount of
7886 precomputation is now tunable.
7887 * optimization: compiler-internal data structure use has been
7888 reviewed, and changes have been made that should improve the
7889 performance of the compiler by about 20%.
7890 * optimization: performance of FILL (and :INITIAL-ELEMENT) on
7891 simple-base-strings and simple-bit-vectors is improved.
7892 * optimization: the optimization of 32-bit logical and arithmetic
7893 functions introduced in version 0.8.3 on the x86 has been
7894 implemented on the mips, ppc and sparc platforms; an
7895 implementation of the same facility, but for 64-bit arithmetic,
7896 has been added for the alpha.
7897 * microoptimization: the compiler is better able to make use of the
7898 x86 LEA instruction for multiplication by constants.
7899 * bug fix: in some situations compiler did not report usage of
7900 generic arithmetic in (SPEED 3) policy.
7901 * bug 145b fix: compiler used wrong type specifier while converting
7902 MEMBER-types to numeric.
7903 * bug fix: COMPILE-FILE must bind *READTABLE*. (reported by Doug
7905 * bug fix: (SETF AREF) on byte-sized-element arrays with constant
7906 index argument now works properly on the Alpha platform.
7907 * bug fix: floating point exception treatment on the Alpha platform
7909 * bug fix: FILE-POSITION works much better on string input and
7910 output streams. (thanks to Nikodemus Siivola)
7911 * bug fix: many threading/garbage collection symptoms sorted.
7912 SB-THREAD:INTERRUPT-THREAD now safe to call on a thread that
7913 might be pseudo-atomic.
7914 * internal change: Stopping for GC is now done with signals not
7915 ptrace. GC is now done in whichever thread wanted it, instead of
7917 * bug fix: GC hooks (missing since 0.8) reinstated, so finalizers
7919 * bug fix: result form in DO is not contained in the implicit
7921 * incompatible change: ICR structure is changed; the value part of
7922 CONTINUATION is now called LVAR; corresponding functions are
7923 renamed (e.g. SB-C::CONTINUATION-TYPE has become SB-C::LVAR-TYPE).
7924 * added type deriver for ISQRT (thanks to Robert E. Brown).
7925 * bug fix: better support for loading from the command line when an
7926 initialization file sets (READTABLE-CASE *READTABLE*). (thanks
7928 * fixed some bugs revealed by Paul Dietz' test suite:
7929 ** the RETURN clause in LOOP is now equivalent to DO (RETURN ...).
7930 ** ROUND and FROUND now give the right answer when given very
7931 small float arguments.
7932 ** (FLOAT X) for X of type DOUBLE-FLOAT now returns X in all
7934 ** optimizer for (EXPT X 0) did not work for X not of type FLOAT.
7935 ** (GCD 0 <negative-integer>) returned <negative-integer>.
7936 ** LCM should return a non-negative integer.
7937 ** PARSE-INTEGER returned the index of a terminator instead of the
7938 upper bounding index of a substring in case :JUNK-ALLOWED NIL.
7939 ** PARSE-INTEGER returned an incorrect index being applied to a
7941 ** LCM with two arguments of 0 returns 0 rather than signalling
7943 ** unsigned addition of a 32-bit constant with the high bit set no
7944 longer causes an internal compiler error on the x86.
7945 ** LOGBITP accepts a non-negative bignum as its INDEX argument.
7946 ** compiler incorrectly derived types of DPB and DEPOSIT-FIELD
7947 with negative last argument.
7948 ** byte specifiers with zero size and position no longer cause
7949 an error during type derivation.
7950 ** bignum multiplication on the Alpha platform now returns the
7952 * porting: The system now builds on SuSE AMD64, although it still
7953 generates a 32-bit binary.
7954 * .fasl file incompatibility: The fasl file version number has
7955 been incremented (because of the changes to internal compiler
7956 data structures referred to above).
7958 changes in sbcl-0.8.3 relative to sbcl-0.8.2:
7959 * SBCL now builds and runs on MacOS X (version 10.2), or perhaps
7960 more accurately, on the Darwin kernel running on PowerPC hardware.
7961 (thanks to Brian Mastenbrook, Pierre Mai and Patrik Nordebo)
7962 * Compiler code deletion notes now signal a condition of type
7963 SB-EXT:CODE-DELETION-NOTE (a subtype of SB-EXT:COMPILER-NOTE) with
7964 an associated MUFFLE-WARNING restart.
7965 * The compiler now performs limited argument count validation of
7966 constant format strings in FORMAT, and where appropriate in ERROR,
7967 CERROR and WARN. (thanks to Gerd Moellmann)
7968 * New ASDF-INSTALL contrib can be used for automatic download and
7969 installation of third-party Lisp code from CCLAN or other sites
7971 * Threaded builds (:SB-THREAD) now support SB-THREAD:INTERRUPT-THREAD,
7972 which forces another thread to execute a function supplied by the
7974 * bug 75 fix: WITH-OUTPUT-TO-STRING (and MAKE-STRING-OUTPUT-STREAM)
7975 now accept and act upon their :ELEMENT-TYPE keyword argument.
7976 (reported by Martin Atzmueller, Edi Weitz)
7977 * bug fix: FILE-POSITION now accepts position designators up to
7978 ARRAY-DIMENSION-LIMIT or the extreme of the off_t range, whichever
7979 is the greater. (thanks to Patrik Nordebo)
7980 * bug fix: MAKE-ARRAY ignored :INITIAL-CONTENTS NIL. (reported by
7981 Kalle Olavi Niemitalo)
7982 * bug fix: the CLASS-PROTOTYPE of the GENERIC-FUNCTION class is now
7983 printable. (reported by Eric Marsden)
7984 * bug fix in sb-posix: mmap() now works on systems with a 64-bit
7985 off_t, including Darwin and FreeBSD. (thanks to Andreas Fuchs)
7986 * x86 bug fix in control stack exhaustion checking: now shows backtrace
7987 * bug fix in WITH-TIMEOUT: now the body can have more than one form.
7988 (thanks to Stig Sandoe)
7989 * bug fix in READ-SEQUENCE: READ-SEQUENCE following PEEK-CHAR or
7990 UNREAD-CHAR now correctly includes the unread character in the
7991 target sequence. (thanks to Gerd Moellmann)
7992 * bug fix in threaded builds: the system can now be suspended and
7993 resumed by shell job control with minimal disruption.
7994 * bug fixes in times and timezones >2038AD
7995 * better handling of "where is GNU make?" problem in build scripts
7996 (thanks to Nikodemus Siivola)
7997 * new optimization: inside a named function any reference to a
7998 function with the same name is considered to be a self-reference;
7999 this behaviour is controlled with SB-C::RECOGNIZE-SELF-CALLS
8000 optimization quality.
8001 * new optimization on x86: logical functions and + now have
8002 optimized (UNSIGNED-BYTE 32) versions, which are automatically
8003 used when the result is truncated to 32 bits.
8004 * VALUES declaration is partially enabled.
8005 * fixes in SB-GROVEL (thanks to Andreas Fuchs)
8006 * fixed some bugs revealed by Paul Dietz' test suite:
8007 ** The system now obeys the constraint imposed by
8008 UPGRADED-ARRAY-ELEMENT-TYPE that the upgraded array element
8009 types form a lattice under type intersection.
8010 ** FFLOOR, FTRUNCATE, FCEILING and FROUND work with integers.
8011 ** ASSOC now ignores NIL elements in an alist.
8012 ** CEILING now gives the right answer with MOST-NEGATIVE-FIXNUM
8013 and (1+ MOST-POSITIVE-FIXNUM) answers.
8014 ** The addition of a method with invalid qualifiers to a generic
8015 function does not cause an error to be signalled immediately;
8016 a warning is signalled, and the error is generated only on
8017 calling the generic function.
8018 * changed .fasl file version number, in part to add type codes for
8019 new array subtypes UNSIGNED-BYTE 7, 15, 29, and 31 mandated by
8020 obscure ANSI requirements
8022 changes in sbcl-0.8.2 relative to sbcl-0.8.1:
8023 * fixed bug 148: failure to inline-expand a local function left
8024 garbage, confusing the compiler.
8025 * fixed bugs 3cd: structure slot readers perform type check if the
8026 slot can have an invalid value (i.e. it is either not initialized
8027 or can be written with a less specific slot writer).
8028 * bug fix: the compiler now traps array references to elements off
8029 the end of an array; previously, the bounds checking in some
8030 circumstances could go off-by-one.
8031 * improved MACHINE-VERSION, especially on Linux (thanks to Lars
8033 * type declarations for array element types now obey the description
8034 on the CLHS page "Declaration TYPE", as per discussions on
8035 sbcl-help around 2003-05-08. This means that a declaration
8036 (TYPE (ARRAY FOO) BAR) means that, within the scope of the
8037 declaration, all references to BAR will be asserted or assumed
8038 (with THE, so dependent on compiler policy) to involve objects of
8039 type FOO. Note that no such declaration is implied in
8040 (MAKE-ARRAY .. :ELEMENT-TYPE 'FOO).
8041 * declared types of functions from the "Conditions"
8042 chapter. (reported by Paul Dietz)
8043 * bug fix: CERROR accepts a function as its first argument.
8044 * bug fix: NTH an NTHCDR accept a bignum as index
8045 arguments. (reported by Adam Warner)
8046 * optimization: character compare routines now optimize comparing
8047 against a constant character. (reported by Gilbert Baumann)
8048 * bug fix: (SETF AREF) on byte-sized-element arrays with constant index
8049 argument now works properly on the MIPS platform.
8050 * fixed compiler failure on (TYPEP x '(NOT (MEMBER 0d0))).
8051 * repeated evaluation of the same DEFSTRUCT, a slot of which is
8052 declared to have a functional type, does not cause an error
8054 * fixed bug: sometimes MAKE-INSTANCE did not work with classes with
8055 many :DEFAULT-INITARGS. (reported by Istvan Marko)
8056 * fixed bug: if last continuation of a deleted block has a
8057 destination, this destination should be deleted too. (reported by
8059 * fixed a bug in the bootstrap process: the host compiler's values
8060 of ARRAY-DIMENSION-LIMIT and ARRAY-TOTAL-SIZE-LIMIT no longer leak
8061 into the newly-built SBCL. (reported by Eric Marsden on #lisp,
8062 test case from Patrik Nordebo)
8063 * improved the ability of the disassembler on the PPC platform to
8064 provide helpful disassembly notes.
8065 * SB-MOP:CLASS-PROTOTYPE on built-in-classes returns an instance of
8066 the class in more cases than previously.
8067 * bug fix: FILE-POSITION now understands :START and :END for
8068 STRING-INPUT-STREAMs. (thanks to Nikodemus Siivola)
8069 * bug fix: (SIGNED-BYTE 8) streams no longer return (UNSIGNED-BYTE
8070 8) data. (thanks to David Lichteblau)
8071 * bug fix: it is possible to add a method to a generic function
8072 without lambda list.
8073 * bug fix: reader failed to signal END-OF-FILE inside an
8074 object representation. (reported by Nikodemus Siivola)
8075 * fixed some bugs revealed by Paul Dietz' test suite:
8076 ** LAST and [N]BUTLAST should accept a bignum.
8077 ** condition slot accessors are methods.
8078 ** (VECTOR NIL) is a subtype of STRING.
8080 changes in sbcl-0.8.1 relative to sbcl-0.8.0:
8081 * minor incompatible change: some nonsensical specialized lambda
8082 lists (used in DEFMETHOD) which were previously ignored now signal
8084 * minor incompatible change: the system is now aware of the types of
8085 variables in the COMMON-LISP package, and will signal errors for
8086 most violations of these type constraints (where previously they
8087 were silently accepted).
8088 * minor incompatible change: COMPILE-FILE now uses the freedom
8089 afforded (ANSI 3.2.2.3) to use derived function types for
8090 functions defined in the same file. This also permits the system
8091 to warn on static type mismatches and function
8092 redefinition. (Currently it does not work with high DEBUG level.)
8093 * minor incompatible change: VALUES declaration is disabled.
8094 * When issuing notes, the compiler now signals a condition of type
8095 SB-EXT:COMPILER-NOTE, and provides an associated MUFFLE-WARNING
8096 restart for use in user handlers. It is expected that the
8097 COMPILER-NOTE condition will eventually become a condition
8098 supertype to a hierarchy of note types, which will then be
8099 handleable in a similar fashion. However, at the moment, no such
8100 note subtypes yet exist. (SB-INT:SIMPLE-COMPILER-NOTE exists,
8101 but it's an implementation detail, not a classification for the
8103 * Changes in type checking closed the following bugs:
8104 ** type checking of unused values (192b, 194d, 203);
8105 ** template selection based on unsafe type assertions (192c, 236);
8106 ** type checking in branches (194bc).
8107 * A short form of VALUES type specifier has ANSI meaning (it has
8108 increased the number of situations when SBCL cannot perform type
8110 * fixed bug in DEFSTRUCT: once again, naming structure slots with
8111 keywords or constants is permissible.
8112 * STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE now have methods
8113 defined on the relevant FUNDAMENTAL-BINARY-{INPUT,OUTPUT}-STREAM
8114 classes. (thanks to Antonio Martinez)
8115 * improved ANSIness in DESCRIBE: The DESCRIBE function no longer
8116 outputs FRESH-LINE or TERPRI, and no longer converts its stream
8117 argument to a pretty-print stream. Instead, it leaves any such
8118 operations to DESCRIBE-OBJECT methods.
8119 * bug fix: APROPOS now respects the EXTERNAL-ONLY flag. (reported
8121 * bug fix: NIL is now a valid destructuring argument in DEFMACRO
8122 lambda lists. (thanks to David Lichteblau)
8123 * bug fix: Defining a generic function with a :METHOD-CLASS being a
8124 subclass of STANDARD-METHOD no longer causes stack exhaustion.
8125 (thanks to Gerd Moellmann)
8126 * fixed bug 246: increased compilation speed of long
8127 MULTIPLE-VALUE-BIND (and likewise of NTH-VALUE with a constant
8129 * a contributed module implementing COMPILER-LET and MACROEXPAND-ALL
8131 * DEFCONSTANT now throws a condition of type
8132 SB-EXT:DEFCONSTANT-UNEQL if it is being asked to redefine a
8133 constant to a non-EQL value; CONTINUE and ABORT restarts
8134 respectively change and preserve the value.
8135 * fixed bug 63: The code walker, part of the implementation of CLOS,
8136 is now better at handling symbol macros.
8137 * bug fix: There is no longer an internal implementation type named
8138 CL:LENGTH. (reported by Raymond Toy)
8139 * bug fix: In macro-like defining macros/special operators the
8140 implicit block does not enclose the lambda list.
8141 * fixed bugs 10 and 43: Bare VALUES, AND, OR and MEMBER symbols (not
8142 enclosed in parentheses) are not suitable as type specifiers, and
8143 their use properly signals an error now.
8144 * bug fix: An argument count mismatch for a type specifier in code
8145 being compiled no longer causes an unhandled error at compile
8146 time, but signals a compile-time warning.
8147 * fixed simple vector readable printing
8148 * bug fix: DESCRIBE takes more care over whether the class
8149 precedence list slot of a class is bound before accessing it.
8150 (reported by Markus Krummenacker)
8151 * bug fix: FORMATTER can successfully compile pretty-printer format
8152 strings which use variants of the ~* directive inside.
8153 * bug fix: SEARCH now applies its TEST predicate to the elements of
8154 the arguments in the correct order. (thanks to Wolfhard Buss)
8155 * fixed bug 235b: The compiler uses return types of MAPCAR and friends
8156 in type inference. (thanks to Robert E. Brown)
8157 * bug fix: Reading in symbols with an explicit package name of ""
8158 (e.g. '||::FOO) now works correctly. (reported by Henrik Motakef)
8159 * fixed some bugs revealed by Paul Dietz' test suite:
8160 ** NIL is now allowed as a structure slot name.
8161 ** Arbitrary numbers, not just REALs, are allowed in certain
8162 circumstances in LOOP for-as-arithmetic clauses.
8163 ** Multiple class redefinitions before slot access no longer
8164 causes a type error.
8165 ** (SETF FIND-CLASS) now accepts NIL as an argument to remove the
8166 association between the name and a class.
8167 ** Generic functions with non-standard method-combination and over
8168 five methods all of which return constants no longer return NIL
8169 after the first few invocations. (thanks to Gerd Moellmann)
8170 ** CALL-NEXT-METHOD with no arguments now passes the original
8171 values of the arguments, even in the presence of assignment.
8172 ** Functions [N]SUBST*, LAST, NRECONC, [N]SUBLIS may return any
8174 ** DISASSEMBLE works with closures and funcallable instances.
8175 ** ADD-METHOD now returns the generic function, not the new method.
8176 ** FIND-METHOD signals an error if the lengths of the specializers
8177 is incompatible with the generic function, even if the ERRORP
8179 ** TYPE-OF returns recognizeable subtypes of all built-in-types of
8180 which its argument is a member.
8181 ** DEFCLASS only redefines the class named by its class-name
8182 argument if that name is the proper name of the class;
8183 otherwise, it creates a new class.
8184 ** SLOT-UNBOUND now correctly initalizes the CELL-ERROR-NAME slot
8185 of the UNBOUND-SLOT condition to the name of the slot.
8186 ** (SETF (AREF bv 0) ...) did not work for bit vectors.
8187 ** SLOT-UNBOUND and SLOT-MISSING now have their return values
8188 treated by SLOT-BOUNDP, SLOT-VALUE, (SETF SLOT-VALUE) and
8189 SLOT-MAKUNBOUND in the specified fashion.
8191 changes in sbcl-0.8.0 relative to sbcl-0.8alpha.0
8192 * SBCL now builds using CLISP (version of late April 2003 from CVS) as
8193 cross-compilation host. As a consequence, we can now bootstrap our
8194 way up to SBCL starting with a bare gcc toolchain and human-readable
8195 source code (first the source to CLISP, then the source to SBCL).
8196 * A contributed module containing a partial implementation of the
8197 simple-streams interface has been included. (thanks to Rudi
8199 * A contributed module implementing the RFC1321 Message Digest
8200 Algorithm, known as MD5, has been included.
8201 * minor incompatible change: The :NEGATIVE-ZERO-IS-NOT-ZERO feature
8202 no longer has any effect, as the code controlled by this feature
8203 has been deleted. (As far as we know, no-one has ever built using
8204 this feature, and its semantics were confused in any case).
8205 * minor incompatible change: As a consequence of making SLOT-EXISTS-P
8206 work on conditions (as required by the ANSI specification),
8207 SLOT-VALUE, (SETF SLOT-VALUE) and SLOT-BOUNDP likewise have the
8208 expected behaviour on conditions. Users should note, however,
8209 that such behaviour is not required by the ANSI specification,
8210 and so use of this behaviour may render their code unportable.
8211 * fixed some bugs revealed by Paul Dietz' test suite:
8212 ** the GENERIC-FUNCTION type is no longer disjoint from FUNCTION
8214 ** &ENVIRONMENT parameter in macro lambda list is bound first.
8215 ** SXHASH on condition objects no longer returns NIL.
8216 ** :ALLOCATION :CLASS slots are better treated; their values are
8217 updated on class redefinition, and initforms inherited from
8218 superclasses are applied.
8219 ** REMOVE-METHOD returns its generic function argument even when
8220 no method was removed.
8221 ** SHARED-INITIALIZE now initializes the values of the requested
8222 slots, including those with :ALLOCATION :CLASS.
8223 ** ALLOCATE-INSTANCE now works on structure classes defined via
8224 DEFSTRUCT (and not just by those from DEFCLASS :METACLASS
8226 ** SLOT-EXISTS-P now works on conditions, as well as structures
8228 ** MAKE-LOAD-FORM now has the required methods on
8229 STRUCTURE-OBJECT, CONDITION and STANDARD-OBJECT.
8230 ** MAKE-LOAD-FORM-SAVING-SLOTS no longer returns a special
8231 keyword, and now implements the SLOT-NAMES argument.
8232 ** methods with &OPTIONAL arguments no longer allow too many
8233 arguments to be passed in the call without error.
8234 ** DEFGENERIC now checks that the :ARGUMENT-PRECEDENCE-ORDER
8235 option is consistent with the required arguments of the generic
8236 function lambda list.
8237 * bug fix: REQUIRE accepts a string designator. (Thanks to
8239 * bug fix: SB-MOP:DIRECT-SLOT-DEFINITION-CLASS and
8240 SB-MOP:EFFECTIVE-SLOT-DEFINITION-CLASS now have the
8241 specified-by-AMOP lambda list of (CLASS &REST INITARGS).
8242 * bug fix: The compiler now checks for duplicated variables in macro
8244 * bug fix: SETQ on globals returns the correct value.
8245 * fixed bug 47.d: (DEFGENERIC IF (X)) now signals a PROGRAM-ERROR,
8246 not a COMPILER-ERROR (followed by some other strange error on
8247 choosing the CONTINUE restart).
8248 * bug fix: make.sh and friends are now more consistent in the way that
8249 they look for GNU "make".
8251 changes in sbcl-0.8alpha.0 relative to sbcl-0.7.14
8252 * experimental native threads support (on x86 Linux >=2.4 only).
8253 This is not compiled in by default: you need to add :SB-THREAD to
8254 the target features. See the "Beyond ANSI" chapter of the manual
8256 * fix for longstanding nonANSIism: The old distinction between
8257 CL:CLASS objects and SB-PCL:CLASS objects has been eliminated.
8258 The return value from CL:FIND-CLASS is now a CLOS class, and
8259 likewise that of CL:CLASS-OF; CL:BUILT-IN-CLASS,
8260 CL:STRUCTURE-CLASS and CL:STANDARD-CLASS name CLOS classes.
8261 * An interface to the MetaObject Protocol, as described in Kiczales,
8262 des Rivieres and Bobrow's "The Art of the Metaobject Protocol",
8263 MIT Press, 1991, is available from the SB-MOP package.
8264 * incompatible change: the SB-PCL package should now be considered
8265 a private implementation detail, and no longer a semi-private MOP
8267 * minor incompatible change: due to rearrangement for threads, the
8268 control stack and binding stack are now allocated at arbitrary
8269 addresses instead of being hardcoded per-port. Users affected by
8270 this probably have to be doing advanced things with shared
8271 libraries, and will know who they are.
8272 * minor incompatible change: Previously, all --eval forms used were
8273 processed with READ before any of them were processed with EVAL.
8274 Now each --eval form is processed with both READ and EVAL before
8275 the next --eval form is processed. (Thus package operations like
8276 sbcl --eval "(defpackage :foo)" --eval "(print 'foo::bar)" now
8277 work as the user might reasonably expect.)
8278 * minor incompatible change: *STANDARD-INPUT* is now only an
8279 INPUT-STREAM, not a BIDIRECTIONAL-STREAM. (thanks to Antonio
8281 * minor incompatible change: Y-OR-N-P is now character-oriented,
8282 not line oriented. Also, YES-OR-NO-P now works without errors.
8283 (thanks to Antonio Martinez)
8284 * sb-aclrepl module improvements: an integrated inspector, added
8285 repl features, and a bug fix to :trace command.
8286 * Known functions, which cannot be open coded by the backend, are
8287 considered to be able to check types of their arguments. (fixing
8288 a bug report by Nathan J. Froyd)
8289 * fixed a bug in computing method discriminating functions: It is
8290 now possible to define methods specialized on classes which have
8291 forward-referenced superclasses. (thanks to Gerd Moellmann)
8292 * fixed evaluation order in optional entries (reported by Gilbert
8294 * SB-MOP:ENSURE-CLASS-USING-CLASS now takes its arguments in the
8295 specified-by-AMOP order of (CLASS NAME &REST ARGS &KEY).
8296 * SB-MOP:COMPUTE-EFFECTIVE-SLOT-DEFINITION now takes the
8297 required-by-AMOP NAME argument, as well as CLASS and
8298 DIRECT-SLOT-DEFINITIONS. (thanks to Kevin Rosenberg)
8299 * fixed bug 20: DEFMETHOD can define methods using names that are
8300 not the proper names of classes to designate class specializers.
8301 * bug fix: INTERACTIVE-STREAM-P now works on streams associated with
8302 Unix file descriptors, instead of blowing up. (thanks to Antonio
8304 * Garbage collection refactoring: user-visible change is that a
8305 call to the GC function during WITHOUT-GCING will not do garbage
8306 collection until the end of the WITHOUT-GCING. If you were doing
8307 this you were probably losing anyway.
8308 * fixed bug in MEMBER type: (MEMBER 0.0) is not the same as
8309 (SINGLE-FLOAT 0.0 0.0), because of the existence of -0.0 which is
8310 TYPEP the latter but not the former.
8311 * The compiler issues a full WARNING for calls to undefined functions
8312 with names from the CL package.
8313 * MAP-INTO for a vector destination is open coded. (reported by
8314 Brian Downing on c.l.l)
8315 * bug fix: the long form of DEFINE-METHOD-COMBINATION now accepts a
8316 documentation string.
8317 * fixed some bugs revealed by Paul Dietz' test suite:
8318 ** COPY-ALIST now signals an error if its argument is a dotted
8320 ** Condition slots are now accessed more correctly in the presence
8321 of multiple initargs for a given slot.
8322 ** The USE-VALUE, CONTINUE and STORE-VALUE functions now correctly
8323 exclude restarts of the same name associated with a different
8325 ** DEFCLASS of forward-referenced classes with another
8326 forward-referenced class in the superclasses list no longer
8328 ** Condition slots are now initialized once each, not multiple
8329 times. (thanks to Gerd Moellmann)
8330 ** CONVERT-MORE-CALL failed on a lambda list (&KEY). (thanks to
8332 ** &WHOLE and &REST arguments in macro lambda lists are patterns.
8333 ** NSET-EXCLUSIVE-OR does not return extra elements when its
8334 arguments contain duplicated elements.
8335 ** RESTART-CASE understands local macros.
8336 ** RESTART-CASE associates exactly its own restarts with a condition.
8337 ** ENDP in safe mode checks its argument to be of type LIST.
8338 ** COPY-SYMBOL in a threaded build no longer fails when the symbol
8339 in question is unbound.
8340 ** Optimized MAKE-INSTANCE functions no longer cause internal
8341 assertion failures in the presence of duplicate initargs.
8342 ** SLOT-MAKUNBOUND returns the instance acted upon, not NIL.
8343 ** Side-effectful :DEFAULT-INITARGS have their side-effects
8344 propagated even in the ctor optimized implementation of
8346 ** :ALLOW-OTHER-KEYS NIL is now accepted in an initarg list.
8348 changes in sbcl-0.7.14 relative to sbcl-0.7.13:
8349 * a better implementation of SXHASH on (simple) bit vectors,
8350 measured both in execution speed and in distribution of results
8351 over the positive fixnums, has been installed. Likewise, a better
8352 implementation of EQUAL for simple bit vectors is now available.
8353 * fixed CEILING optimization for a divisor of form 2^k.
8354 * fixed bug 240 (emitting extra style warnings "using the lexical
8355 binding of the symbol *XXX*" for &OPTIONAL arguments). (reported
8356 by Antonio Martinez)
8357 * fixed SXHASH, giving different results for NIL depending on type
8358 declarations (SYMBOL or LIST). (thanks to Gerd Moellmann)
8359 * fixed bug in DEFPARAMETER and DEFVAR: they could assign a lexical
8360 variable. (found by Rolf Wester)
8361 * SBCL does not ignore type declarations for special
8362 variables. (reported by rif on c.l.l 2003-03-05)
8363 * some bug fixes in contrib/sb-aclrepl/
8364 * fixed some bugs revealed by Paul Dietz' test suite:
8365 ** a bug in the CONS type specifier, whereby the CAR and CDR
8366 types got intertwined, has been fixed;
8367 ** the type system is now able to reason about the interaction
8368 between INTEGER and RATIO types more completely;
8369 ** APPEND, [N]REVERSE and NRECONC check that those their
8370 arguments, which must be proper lists, are really so;
8371 ** An array specialized to be unable to hold elements has been
8372 implemented, as required -- yes, really -- by ANSI;
8373 ** GETF and GET-PROPERTIES throw a TYPE-ERROR, not a SIMPLE-ERROR,
8374 on malformed property lists;
8376 changes in sbcl-0.7.13 relative to sbcl-0.7.12:
8377 * incompatible packaging change: in line with Unix convention,
8378 SBCL now looks for its core file in /usr/{local/,}lib/sbcl/sbcl.core
8379 if it's not in $SBCL_HOME. It also sets SBCL_HOME to match.
8380 * REQUIRE and PROVIDE are now optionally capable of doing something
8381 useful. See the documentation string for REQUIRE.
8382 * infrastructure for a managed SBCL contrib system: contributed
8383 modules in this release include:
8384 ** the ASDF system definition facility;
8385 ** an interface to the BSD Sockets API;
8386 ** an ACL-like convenience interface to the repl;
8387 (thanks to Kevin Rosenberg)
8388 ** an implementation of ROTATE-BYTE, with efficient implementation
8390 * fixed a bug in LOG, so that LOG of a rational argument near 1 now
8391 gives a closer approximation to the right answer than previously.
8392 (thanks to Raymond Toy)
8393 * fixed bug 157: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and
8394 UPGRADED-COMPLEX-PART-TYPE now take (ignored, in all situations)
8395 optional environment arguments, as required by ANSI.
8396 * fixed bugs in other functions taking environment objects, allowing
8397 calls with an explicit NIL environment argument to be compiled
8399 * fixed bug 228: primary return values from
8400 FUNCTION-LAMBDA-EXPRESSION are either NIL or suitable for input to
8401 COMPILE or FUNCTION.
8402 * fixed a bug in DEFSTRUCT: predicates for :NAMED structures with
8403 :TYPE will no longer signal errors on innocuous objects.
8404 * fixed bug 231b: SETQ is better at respecting type declarations in
8405 the lexical environment.
8406 * fixed a bug in DEFCLASS: classes named by symbols with no or
8407 unprintable packages can now be defined.
8408 * fixed a bug in RESTART-BIND: The :TEST-FUNCTION option had been
8409 carelessly renamed to :TEST-FUN. (thanks to Robert E. Brown)
8410 * fixed compiler failure related to checking types of functions.
8411 (reported by Robert E. Brown)
8412 * the compiler is now much more consistent in its error-checking
8413 treatment of bounding index arguments to sequence functions: in
8414 (SAFETY 3) code, errors will be signalled in almost all cases if
8415 invalid sequence bounding indices are passed to functions defined
8416 by ANSI to operate on sequences.
8417 * fixed a bug in the build procedure: documentation of SBCL-specific
8418 packages is now preserved and available in the final Lisp image.
8419 * lifted FDEFINITION lookup out of loops in the implementation of
8420 many list operations. (thanks to Robert E. Brown)
8421 * fixed a bug in the reader: the #n# reader macro now works for
8422 objects of type STANDARD-OBJECT. (reported by Tony Martinez)
8423 * the compiler is now aware that SYMBOL-FUNCTION returns a FUNCTION
8424 and that READ-DELIMITED-LIST returns a LIST. (thanks to Robert
8425 E. Brown and Tony Martinez respectively)
8426 * PCL is now smarter about SLOT-VALUE, (SETF SLOT-VALUE) and
8427 SLOT-BOUNDP: in particular, it is now able to optimize them much
8428 better, and is now not vulnerable to having packages renamed.
8429 Furthermore, a compliance bug has been fixed: SLOT-MISSING is now
8430 always called when a slot is not present in an instance. (thanks
8432 * fixed a bug related to CONCATENATED-STREAMs: PEEK-CHAR will no
8433 longer signal an error on unreading a character following EOF on
8434 the previous constituent stream. (thanks to Tony Martinez)
8435 * fixed some bugs revealed by Paul Dietz' test suite:
8436 ** ARRAY-IN-BOUNDS-P now allows arbitrary integers as arguments,
8437 not just nonnegative fixnums;
8438 ** the logical bit-array operators such as BIT-AND now accept an
8439 explicit NIL for their "opt-arg" argument (to indicate a
8440 freshly-consed result bit-array);
8441 ** ELT now signals an error on an invalid sequence index in safe
8443 ** the type system is now cleverer about negations of numeric
8444 types, and consequently understands the BIGNUM and RATIO types
8446 ** the type system is now cleverer about the interaction between
8447 INTEGER and RATIO types: while bugs still remain, many more
8448 cases are accurately computed;
8449 ** in TYPECASE, OTHERWISE now only introduces an otherwise-clause
8450 if it is in the last clause;
8451 ** CONSTANTLY now correctly returns a side-effect-free function in
8453 ** DECLARE is no longer treated as a special-operator; in
8454 particular, SPECIAL-OPERATOR-P no longer returns T for DECLARE;
8455 * incremented fasl file version number due to the change in the
8456 DEFSTRUCT-SLOT-DESCRIPTION structure.
8458 changes in sbcl-0.7.12 relative to sbcl-0.7.11:
8459 * minor incompatible change: code processed by the "interpreter" or
8460 EVAL now has a compilation optimization policy of (DEBUG 2)
8461 (changed from (DEBUG 1)) to improve debuggability of interactive
8462 development, and to allow the use of the debug RETURN command in
8464 * an experimental implementation of the RETURN command for the
8465 debugger has been included. (thanks to Frederik Kuivinen)
8466 * fixed bug 62: constraints were not propagated into a loop.
8467 * fixed bug in embedded calls of SORT (reported and investigated by
8469 * fixed some bugs revealed by Paul Dietz' test suite:
8470 ** printing and reading of arrays with some dimensions having
8471 length 0 (thanks to Gerd Moellmann);
8472 ** BOA constructor with &AUX argument without a default value does
8473 not cause a type error;
8474 ** CONSTANTP now returns true for all self-evaluating objects.
8476 changes in sbcl-0.7.11 relative to sbcl-0.7.10:
8477 * fixed bug 127: DEFSTRUCT now does not clobber old structure
8478 accessors that are related by inheritance, as specified in the
8479 :CONC-NAME section of the specification of DEFSTRUCT. (thanks to
8480 Valtteri Vuorikoski)
8481 * The compiler is now able to inline functions that were defined in
8482 a complex lexical environment (e.g. inside a MACROLET).
8483 * fixed bug in DESCRIBE, which now works on rank-0 arrays. (thanks
8485 * Support for the upcoming FreeBSD-5.0 release has been included.
8486 (thanks to Dag-Erling Smorgrav)
8487 * fixed bug 219: DEFINE-COMPILER-MACRO no longer has compile-time
8488 effect when it is not in a toplevel context.
8489 * fixed bug 222: DEFMETHOD and SYMBOL-MACROLET interactions now
8490 stand a better chance of being correct. (thanks to Gerd
8492 * fixed bug in COERCE, which now signals an error on coercing a
8493 rational to a bounded real type which excludes the expected
8495 * The compiler is now able to derive types more accurately from the
8496 COERCE and COMPILE functions.
8497 * fixed bug 223: functional binding is considered to be constant
8498 only for symbols in the CL package.
8499 * fixed bug 231: SETQ did not check the type of a variable being set
8500 (reported by Robert E. Brown)
8501 * A new optimization for MAKE-INSTANCE has been included, fixing
8502 various bugs (including relating to :ALLOCATION :CLASS slots and
8503 :DEFAULT-INITARGS over-eager evalueation). (thanks to Gerd
8505 * fixed some LOOP bugs revealed by Paul Dietz' test suite:
8506 ** As required by ANSI, LOOP now disallows anonymous collection
8507 clauses such as COLLECT I in conjunction with aggregate boolean
8508 clauses such as THEREIS (= I 1);
8509 ** LOOP now signals an error when any variable is reused in the
8510 same loop (including the potentially useful construct analogous
8511 to WITH A = 1 WITH A = (1+ A);
8512 ** IT is only a special loop symbol within the first clause of a
8513 conditional loop clause;
8514 ** LOOP with a typed iteration variable over a hashtable now
8515 signals a type error iff it should.
8516 * fixed some other bugs revealed by Paul Dietz' test suite:
8517 ** FILE-STREAM now names the class previously known as FD-STREAM;
8518 ** in DEFSTRUCT, a bare :CONC-NAME (or a :CONC-NAME with no
8519 argument) no longer signals an error;
8520 ** likewise in DEFSTRUCT, :CONC-NAME NIL now respects the package
8521 of the slot symbol, rather than using the current package
8522 ((:CONC-NAME "") continues to intern the slot's name in the
8524 * incremented fasl file version number, because of the incompatible
8525 change to the DEFSTRUCT-DESCRIPTION structure, and again because
8526 of the new implementation of DEFINE-COMPILER-MACRO.
8528 changes in sbcl-0.7.10 relative to sbcl-0.7.9:
8529 * Support for building SBCL for MIPS platforms running in
8530 little-endian mode has now been checked in, and basic
8531 functionality on said platforms verified.
8532 * minor incompatible change: PCL now records the pathname of a file
8533 in which methods and the like are defined, rather than its
8535 * minor incompatible change: TRUENAME now considers the truename of
8536 a file naming a directory to be the pathname with :DIRECTORY
8537 component indicating that directory.
8538 * minor incompatible change: a NAMED clause in the extended form of
8539 LOOP no longer causes a BLOCK named NIL to surround the LOOP. The
8540 reason for the previous behaviour is unclear.
8541 * more systematization and improvement of CLOS and MOP conformance
8542 in PCL (thanks to Gerd Moellman and Pierre Mai):
8543 ** the standard ANSI CL generic function NO-NEXT-METHOD is now
8545 ** DEFINE-METHOD-COMBINATION no longer signals an error for
8546 primary methods with no specializers;
8547 ** the MOP generic function GENERIC-FUNCTION-DECLARATIONS is now
8549 ** the Readers for Class Metaobjects methods CLASS-DIRECT-SLOTS
8550 and CLASS-DIRECT-DEFAULT-INITARGS have been implemented for
8551 FORWARD-REFERENCED-CLASSes; error reporting on
8552 CLASS-DEFAULT-INITARGS, CLASS-PRECEDENCE-LIST and CLASS-SLOTS
8554 ** SXHASH on CLOS instances now uses a slot internal to the
8555 instance to return different numbers on distinct instances,
8556 while preserving the same return value through invocations of
8558 ** DEFMETHOD signals errors when methods with longer incongruent
8559 lambda lists are added to generic functions;
8560 ** COMPUTE-CLASS-PRECEDENCE-LIST now has a method specialized on
8561 CLASS, as specified in AMOP;
8562 ** COMPUTE-SLOTS :AROUND now assigns locations sequentially based
8563 on the order returned by the primary method for classes of
8564 class STANDARD-CLASS;
8565 ** DEFINE-METHOD-COMBINATION now works with the :ARGUMENTS option.
8566 * fixed some bugs shown by Paul Dietz' test suite:
8567 ** DOLIST puts its body in TAGBODY;
8568 ** SET-EXCLUSIVE-OR sends arguments to :TEST function in the
8570 ** MULTIPLE-VALUE-SETQ evaluates side-effectful places before
8571 value producing form;
8572 ** if more variables are given to PROGV than values, extra
8573 variables are bound and made to have no value;
8574 ** NSUBSTITUTE on list arguments gets the right answer with
8576 ** ELT signals an error of type TYPE-ERROR when the index argument
8577 is not a valid sequence index;
8578 ** LOOP signals (at macroexpansion time) an error of type
8579 PROGRAM-ERROR when duplicate variable names are found;
8580 ** LOOP supports DOWNTO and ABOVE properly; (thanks to Matthew Danish)
8581 ** FUNCALL of special-operators now cause an error of type
8583 ** PSETQ now works as required in the presence of side-effecting
8584 symbol-macro places;
8585 ** NCONC accepts any object as its last argument;
8586 ** :COUNT argument to sequence functions may be BIGNUM; (thanks to
8588 ** loop-for-as-package does not require a package to be explicitely
8590 ** LOOP WITH now treats NIL in the d-var-spec correctly as an
8592 * fixed bug 166: compiler preserves "there is a way to go"
8593 invariant when deleting code.
8594 * fixed bug 172: macro lambda lists with required arguments after
8595 &REST arguments now cause an error to be signalled. (thanks to
8597 * fixed Entomotomy PEEK-CHAR-WRONGLY-ECHOS-TO-ECHO-STREAM
8598 bug. (thanks to Matthew Danish)
8599 * fixed bug 225: STRING-STREAM is now a class. (reported by Gilbert
8601 * fixed bug 136: CALL-NEXT-METHOD no longer gets confused when
8602 arguments are lexically rebound. (thanks to Gerd Moellmann and
8604 * fixed bug 194: error messages are now more informative when there
8605 is no primary method applicable in a call to a generic
8606 function. (thanks to Gerd Moellmann)
8607 * fixed bug in command line argument checking (thanks to Julian
8609 * fixed bug in COUNT-IF, making it handle :FROM-END correctly
8610 (thanks to Matthew Danish)
8611 * incremented fasl file version number, because of the
8612 SXHASH-related changes in the layout of CLOS data structures
8614 changes in sbcl-0.7.9 relative to sbcl-0.7.8:
8615 * minor incompatible change: The runtime (the Unix executable named
8616 "sbcl") is now much pickier about the .core files it will load.
8617 Essentially it now requires .core files to descend from the same
8618 build (not just the same sources or LISP-IMPLEMENTATION-VERSION)
8619 as the runtime does. (The intent is to prevent the crashes which
8620 can occur, and which can even be reported as mysterious failures,
8621 when people patch the sources or change the build parameters
8622 without changing LISP-IMPLEMENTATION-VERSION, then mix and match
8623 sbcl and .core files.)
8624 * fixed bug: VALUES-LIST is no longer optimized away.
8625 * fixed bug 142: The FFI conversion of C string values to Lisp
8626 string values no longer conses excessively. (thanks to Nathan
8627 Froyd porting Raymond Toy's fix to CMU CL)
8628 * began to systematize and improve MOP conformance in PCL (thanks to
8629 Nathan Froyd, Gerd Moellman and Pierre Mai):
8630 ** SLOT-DEFINITION-ALLOCATION now returns :CLASS, not the class
8632 ** GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER is now implemented;
8633 ** FINALIZE-INHERITANCE is now called on class finalization;
8634 ** DOCUMENTATION and (SETF DOCUMENTATION) now have the correct
8635 argument precedence order.
8636 * fixed bug 202: The compiler no longer fails on functions whose
8637 derived types contradict their declared type.
8638 * DEFMACRO is implemented via EVAL-WHEN instead of IR1 translation,
8639 so it can be non-toplevel.
8640 * The fasl file version number has changed (because of the new
8641 implementation of DEFMACRO).
8642 * (mostly) fixed bugs 46b and 46c: sequence functions now check, in
8643 safe code, that any length requirement by their type-specifier
8644 argument is valid. The exceptions to this are described in bug
8646 * fixed bugs 46h and 46i: TWO-WAY- and CONCATENATED-STREAM creation
8647 functions now check the types of their inputs as required by ANSI.
8648 * fixed bug 48c: SYMBOL-MACROLET signals PROGRAM-ERROR when an
8649 introduced symbol is DECLAREd to be SPECIAL.
8650 * fixed reading of (COMPLEX DOUBLE-FLOAT) literals from fasl files
8651 * fixed bug: :COUNT argument to sequence functions may be negative
8652 * fixed bug: body of DO-SYMBOLS may contain declarations
8653 * fixed bug: PUSHNEW now evaluates its arguments from left to right
8654 (reported by Paul F. Dietz, fixed by Gerd Moellman)
8655 * fixed bug: PUSH, PUSHNEW and POP now evaluate a place given by a
8656 symbol macro only once
8657 * fixed printing of call frame when argument list is unavailable
8658 * fixed bug: :ALLOW-OTHER-KEYS is an allowed keyword name
8659 * compiler no longer signals WARNING on unknown keyword
8662 changes in sbcl-0.7.8 relative to sbcl-0.7.7:
8663 * A beta-quality port to the mips architecture running Linux,
8664 based on the old CMUCL backend, has been made. It has been tested
8665 on a big-endian kernel, and works sufficiently well to be able to
8666 rebuild itself; it has not been tested in little-endian mode.
8667 * fixed an inconsistency between gencgc.c and purify.c which made
8668 dumping/loading .core files unreliable
8669 * fixed bug 120a: The compiler now deals correctly with IFs where
8670 the consequent is the same as the alternative, instead of
8671 misderiving the return type. (thanks to Alexey Dejneka)
8672 * fixed bug 113: Logical pathnames are now dumpable (the logical
8673 host is resolved at load-time, throwing an error if it is not
8675 * fixed bug 174: FORMAT's error message is slightly clearer when a
8676 non-printing character is used in a format directive.
8677 * fixed several bugs in compiler checking of type declarations, i.e.
8678 violations of the Python "declarations are assertions" principle
8679 (thanks to Alexey Dejneka)
8680 * fixed several bugs in PCL's error checking (thanks to Gerd
8682 * fixed bug: printing of FILE-ERROR (thanks to Antonio
8684 * fixed bug in compilation of functions as first class values
8685 (thanks to Antonio Martinez-Shotton)
8686 * The compiler's handling TYPE-ERRORs which it can prove will
8687 inevitably happen at runtime has been cleaned up and corrected
8688 in several ways. (thanks to Alexey Dejneka)
8689 * improved argument type checking for various basic arithmetic
8690 operations (MAX, +, LOGXOR, etc.) which have had so much TLC
8691 lavished on them in the past that they can be compiled in many
8692 ways in different special cases
8693 * fixed bug 181: compiler checks validity of user supplied type
8695 * cleaned up code flushing in optimization: Function calls which
8696 should signal errors for safety purposes (e.g. which ANSI says
8697 should signal errors when their arguments are of incorrect type)
8698 are no longer optimized away.
8699 * added new extension: SB-DEBUG:BACKTRACE-AS-LIST
8700 * incremented fasl file version number, because changes in the
8701 implementation of sequence functions like COERCE caused
8702 internal utility functions like COERCE-TO-SIMPLE-VECTOR (used
8703 in old inline expansions) to become undefined. (Actually these
8704 changes were later undone, so we might very well be binary
8705 compatible with 0.7.7 after all, but leaving the version number
8706 incremented seemed like the simplest and most conservative
8709 changes in sbcl-0.7.7 relative to sbcl-0.7.6:
8710 * An alpha-quality port to the parisc architecture running Linux,
8711 based on the old CMUCL backend, has been made. This, even more so
8712 than the other backends, should be considered still a work in
8713 progress; known problems include that the Linux kernel in 64-bit
8714 mode does not propagate the correct sigcontext structure to
8715 userspace, and consequently SBCL on a parisc64 kernel will not
8717 * fixed bug 189: The compiler now respects NOTINLINE declarations for
8718 functions declared in FLET and LABELS. (I.e. "LET conversion" is
8719 suppressed.) Also now that the compiler is looking at declarations
8720 in the environment, it checks optimization declarations as well,
8721 and suppresses inlining when (> DEBUG SPEED).
8722 * More fixes have been made to treatment of floating point exception
8723 treatment and other Unix signals. In particular, floating point
8724 exceptions no longer cause Bus errors on the SPARC/Linux platform.
8725 * The detection and handling of control stack exhaustion (infinite
8726 or very deeply nested recursion) has changed. Stack exhaustion
8727 detection is now done by write-protecting pages at the OS level
8728 and applies at all optimization settings; when found, a
8729 SB-KERNEL:CONTROL-STACK-EXHAUSTED condition (subclass of
8730 STORAGE-CONDITION) is signalled, so stack exhaustion can no longer
8731 be caught using IGNORE-ERRORS.
8732 * Bugs 65, 70, and 109 fixed: The compiler now preserves invariants
8733 correctly when transforming recursive LABELS functions to LETs.
8734 (thanks to Alexey Dejneka)
8735 * Bug 48a./b. fixed: SYMBOL-MACROLET now refuses to bind symbols
8736 that are names of constants or global variables.
8737 * Bug fix: DEFINE-ALIEN-ROUTINE now declaims the correct FTYPE for
8738 alien routines with docstrings.
8739 * Bug 184 fixed: Division of ratios by the integer 0 now signals an
8740 error of type DIVISION-BY-ZERO. (thanks to Wolfhard Buss and
8742 * Bug fix: Errors in PARSE-INTEGER are now of type PARSE-ERROR.
8743 (thanks to Eric Marsden)
8744 * Bug fix: COERCE to (COMPLEX FLOAT) of rationals now returns an
8745 object of type (COMPLEX FLOAT). (thanks to Wolfhard Buss)
8746 * Bug fix: The SPARC backend can now compile functions involving
8747 LOGAND and stack-allocated arguments. (thanks to Raymond Toy)
8748 * Bug fix: We no longer segfault on passing a non-FILE-STREAM stream
8749 to a functions expecting a PATHNAME-DESIGNATOR.
8750 * Bug fix: DEFGENERIC now enforces the ANSI restrictions on its
8751 lambda lists. (thanks to Alexey Dejneka)
8752 * Bug fix: changed encoding of PCL's internal MAKE-INSTANCE
8753 functions so that EXPORTing the name of the class doesn't cause
8754 MAKE-INSTANCE functions from earlier DEFCLASSes to get lost (thanks
8755 to Antonio Martinez for reporting this)
8756 * Bug 192 fixed: The internal primitive DATA-VECTOR-REF can now be
8757 constant-folded without failing an assertion. (thanks to Einar
8758 Floystad Dorum for reporting this)
8759 * Bugs 123 and 165 fixed: array specializations on as-yet-undefined
8760 types are now dealt with more correctly by the compiler.
8761 * Minor incompatible change: COMPILE-FILE-PATHNAME now merges its
8762 OUTPUT-FILE argument with its INPUT-FILE argument, resulting in
8763 behaviour analogous to RENAME-FILE. This puts its behaviour more
8764 in line with ANSI's wording on COMPILE-FILE-PATHNAME. (thanks to
8766 * The fasl file version number has changed again. (because of the
8767 bug fix involving the names of PCL MAKE-INSTANCE functions)
8769 changes in sbcl-0.7.6 relative to sbcl-0.7.5:
8770 * bug fix: Floating point exceptions are treated much more
8771 consistently on the x86/Linux and PPC/Linux platforms.
8772 * Array initialization with :INITIAL-ELEMENT is now much faster for
8773 cases when the compiler cannot open code the array creation, but
8774 does know what the UPGRADED-ARRAY-ELEMENT-TYPE will be. General
8775 array accesses have also seen a speed increase.
8776 * bug fix: LOAD :IF-DOES-NOT-EXIST NIL now works when file type is
8777 specified. (This was at the root of some bad interactions between
8778 SBCL and ILISP: thanks to Gregory Wright for diagnosing this and
8780 * bug fix: Internal error arguments for undefined functions are now
8781 computed correctly on the PPC/Linux platform.
8782 * bug fix: Bad &REST syntax is now checked correctly. (thanks to
8783 Raymond Toy's patch for CMU CL)
8784 * Support for the Solaris 9 operating environment has been included
8785 (thanks to Daniel Merritt)
8786 * A very ugly but hopefully complete draft of the missing FFI chapter
8787 of the manual has been created by reformatting the corresponding
8788 CMU CL manual chapter into (currently very ugly and incoherent)
8789 DocBook and bringing it up to date for SBCL behavior. Thus, the
8790 manual is now essentially complete, at least by my extreme
8791 once-and-only-once standards, whereby it's acceptable to refer to
8792 the doc strings of SB-EXT functions as the primary documentation.
8793 * The fasl file version number has changed again, due to cleanup of
8794 (user-invisible) bitrotted stuff. (E.g. *!INITIAL-FDEFN-OBJECTS*
8795 is no longer a static symbol.)
8797 changes in sbcl-0.7.5 relative to sbcl-0.7.4:
8798 * SBCL now builds with OpenMCL (version 0.12) as the
8799 cross-compilation host; also, more progress has been made toward
8800 bootstrapping under CLISP.
8801 * SBCL now runs on the Tru64 (aka OSF/1) operating system on the
8803 * bug 158 fixed: The compiler can now deal with integer loop
8804 increments different from 1; fixing this turned out also to fix
8806 * bug 169 fixed: no more bogus warnings about using lexical bindings
8807 despite the presence of perfectly good SPECIAL declarations (thanks
8808 to David Lichteblau)
8809 * bug 175 fixed: CHANGE-CLASS is now more ANSI-conforming,
8810 accepting initargs. (thanks to Espen Johnsen and Pierre Mai)
8811 * bug 179 fixed: DIRECTORY can now deal with filenames with pattern
8813 * bug 180 fixed: Method combination specifications no longer ignore
8814 the :MOST-SPECIFIC-LAST option. (thanks to Pierre Mai)
8815 * bug fix: Structure type predicate functions now check their argument
8816 count as they should.
8817 * bug fix: Classes with :METACLASS STRUCTURE-CLASS now print
8818 correctly. (thanks to Pierre Mai)
8819 * minor incompatible change: The --noprogrammer option is deprecated
8820 in favor of the new --disable-debugger option, which is very similar.
8821 (The major difference is that it takes effect at a slightly different
8822 time at startup, causing handling of errors in --sysinit and
8823 --userinit files will be affected differently.) The
8824 SB-EXT:DISABLE-DEBUGGER and SB-EXT:ENABLE-DEBUGGER functions have
8825 been added to allow this functionality to be controlled from ordinary
8826 Lisp code. (ENABLE-DEBUGGER should help people like the Debian
8827 maintainers, who might want to run non-interactive scripts to
8828 build SBCL cores which will later be used interactively.)
8829 * minor incompatible change: The LOAD function no longer, when given
8830 a wild pathname to load, loads all files matching that pathname.
8831 Instead, an error of type FILE-ERROR is signalled.
8833 changes in sbcl-0.7.4 relative to sbcl-0.7.3:
8834 * bug 147 fixed: The compiler preserves its block link/count
8835 invariants more correctly now so that it doesn't crash. (thanks
8837 * Dynamic loading of object files in OpenBSD is now supported. (thanks
8839 * COMPILE now works correctly on macros. (thanks to Matthias Hoelzl)
8840 * GET-MACRO-CHARACTER and SET-MACRO-CHARACTER now represent
8841 no-value-for-this-character as NIL (as specified by ANSI).
8842 * HOST-NAMESTRING on physical pathnames now returns a string that is
8843 valid as a host argument to MERGE-PATHNAMES and to MAKE-PATHNAME.
8844 (thanks to Christophe Rhodes)
8845 * The Alpha port handles icache flushing more correctly. (thanks to
8847 * More progress has been made toward bootstrapping under CLISP. (thanks
8848 to Christophe Rhodes)
8849 * The fasl file format has changed again, because dynamic loading
8850 on OpenBSD (which has non-ELF object files) motivated some cleanups
8851 in the way that foreign symbols are transformed and passed around.
8852 * minor incompatible change: The ASCII RUBOUT character, (CHAR-CODE 127),
8853 is no longer treated as whitespace by the reader, but instead as
8854 an ordinary character. Thus e.g. (READ-FROM-STRING "A
\x7fB") returns
8855 |A
\x7fB|, instead of A as it used to.
8857 changes in sbcl-0.7.3 relative to sbcl-0.7.2:
8858 * ANSI's DEFINE-SYMBOL-MACRO is now supported. (thanks to Nathan
8859 Froyd porting CMU CL code originally by Douglas Thomas Crosher)
8860 * SBCL now runs on the PPC archtiecture under Linux. It actually did
8861 this as of 0.7.1.45, but was left out of the previous news section
8862 (thanks to Dan Barlow)
8863 * SBCL now runs on the Solaris operating system on SPARC architectures
8864 (thanks to Christophe Rhodes's port of the CMUCL runtime)
8865 * cleanups to the runtime on SPARC, both Linux and Solaris, and for
8866 gcc>=3 (thanks to Nathan Froyd and Ingvar Mattsson)
8867 * SPARC backend cleanups, allowing builds of cores optimized for V8
8868 and V9 SPARCS, and also emission of code targeted to a particular
8869 backend chosen at runtime (thanks to Christophe Rhodes and Raymond
8871 * SBCL is closer to bootstrapping under CLISP, thanks to various
8872 fixes by Christophe Rhodes.
8873 * The fasl file format has changed again, to allow the compiler's
8874 INFO database to support symbol macros.
8875 * The user manual (in doc/) is formatted into HTML more nicely.
8876 (thanks to coreythomas)
8877 * The system is smarter about SUBTYPEP relationships, especially
8878 those involving NOT types (including types such as ATOM which are
8879 represented internally using NOT types). Thus SUBTYPEP is less
8880 likely to return (VALUES NIL NIL) in general, and in particular
8881 bugs 58 and (the remaining bits of) bug 50 are fixed. (thanks to
8883 * The fasl file format has changed again, because the internal
8884 representation of types now includes a new slot to support the new
8885 SUBTYPEP-of-NOT-types logic.
8886 * (not a change in the main branch of SBCL, but a related prototype
8887 which can hopefully be merged into the main branch of SBCL in the
8888 future:) Brian Spilsbury has produced a Unicode-enabled variant of
8889 sbcl-0.7.0, available as a patch against sbcl-0.7.0 at
8890 <http://designix.com.au/brian/SBCL/sbcl-0.7.0-unicode.p0.gz>.
8891 * Bug 151 fixed: GET-DISPATCH-MACRO-CHAR now returns NIL for undefined
8892 dispatch macro character combinations. (thanks to Alexey Dejneka)
8893 * Bugfix in PARSE-NAMESTRING: we now correctly parse unix namestrings
8894 that superficially look like logical namestrings correctly.
8895 * USER-HOMEDIR-PATHNAME now returns a (physical) pathname that SBCL
8897 * Bugfix in DEFSTRUCT: BOA constructor lambda lists now accept (name
8898 default supplied-p) for &optional and &key arguments. (thanks to
8901 changes in sbcl-0.7.2 relative to sbcl-0.7.1:
8902 * incompatible change: The compiler is now less aggressive about
8903 tail call optimization, doing it only when (> SPACE DEBUG) or
8904 (> SPEED DEBUG). (This is an incompatible change because there are
8905 programs which relied on the old CMU-CL-style behavior to optimize
8906 away their unbounded recursion which will now die of stack overflow.)
8907 * minor incompatible change: The default BYTES-CONSED-BETWEEN-GCS
8908 for non-GENCGC systems has been increased to 20M (since that
8909 seems much closer to the likely performance optimum for modern
8910 systems than the old 4M value was)
8911 * minor incompatible change: new larger values for *DEBUG-PRINT-LENGTH*
8912 and *DEBUG-PRINT-LEVEL*
8913 * SBCL runs on SPARC systems now. (thanks to Christophe Rhodes' port
8914 of CMU CL's support for SPARC, and various endianness and other
8915 SBCL portability fixes due to Christophe Rhodes and Dan Barlow)
8916 * new syntactic sugar for the Unix command line: --load foo.bar is now
8917 an alternate notation for --eval '(load "foo.bar")'.
8919 ** The system now detects stack overflow and handles it gracefully,
8920 at least for (OR (> SAFETY (MAX SPEED SPACE)) (= SAFETY 3))
8921 optimization settings. (This is a good thing in general, and
8922 its introduction in this version should be particularly timely
8923 for anyone whose code fails because of suppression of tail
8925 ** The system now hunts for the C variable "environ" in a more
8926 devious way, to avoid segfaults when the C library version differs
8927 between compile time and run time. (thanks to Christophe Rhodes)
8928 ** INTEGER-valued CATCH tags now work. (thanks to Alexey Dejneka,
8929 and also to Christophe Rhodes for porting the fix to non-X86 CPUs)
8930 ** The compiler no longer issues bogus style warnings for undefined
8931 classes in the same source file as the DEFCLASSes which defined
8932 them. (thanks to Stig E Sandoe for reporting and Martin Atzmueller
8934 ** fixes in CONDITION class precedence list for undefined function
8935 errors (thanks to Alexei Dejneka)
8936 ** *DEFAULT-PATHNAME-DEFAULTS* is used more consistently and
8937 correctly. (thanks to Dan Barlow)
8938 ** portability fixes aiming at bootstrapping under CLISP (thanks
8939 to Dave McDonald and Christophe Rhodes)
8940 ** FORMAT fixes (thanks to Robert Strandh and Dan Barlow)
8941 ** fixes in type translation and and type inference (thanks to
8943 ** fixes to optimizer internal errors (thanks to Alexei Dejneka)
8944 ** various fixes in the new ports (thanks to Dan Barlow)
8945 * several changes related to debugging:
8946 ** suppression of tail recursion, as noted above
8947 ** stack overflow detection, as noted above
8948 ** The default implementation of TRACE has changed. :ENCAPSULATE T
8949 is now the default. (For some time encapsulation has been more
8950 reliable than the breakpoint-based :ENCAPSULATE NIL
8951 implementation, at least on X86 systems; and I just noticed that
8952 encapsulation also seems closer to the spirit of the ANSI
8955 changes in sbcl-0.7.1 relative to sbcl-0.7.0:
8957 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are set
8958 up properly again. (There was a packaging bug in 0.7.0 which
8959 left their definitions in SB-SYS::LOAD-FOREIGN and
8960 SB-SYS::LOAD-1-FOREIGN. LOAD-FOREIGN and LOAD-1-FOREIGN are
8961 vital for most things which interface to C-level interfaces,
8962 like extensions working with sockets or databases or
8963 Perl-compatible regexes or whatever, and the need to fix
8964 this bug is the main reason that 0.7.1 was released so
8966 ** DEFGENERIC is now choosier about the methods it redefines, so that
8967 reLOADing a previously-LOADed file containing DEFGENERICs does
8968 the right thing now. Thus, the Lispy edit/reLOAD-a-little/test
8969 cycle now works as it should. (thanks to Alexey Dejneka)
8970 ** Bug 106 (types (COMPLEX FOO) where FOO is an obscure type) was
8971 fixed by Christophe Rhodes. (He actually submitted this patch
8972 months ago, and I delayed until after 0.7.0.)
8973 ** Bug 111 (internal compiler confusion about runtime checks on
8974 FUNCTION types) was fixed by Alexey Dejneka.
8975 * Some internal cleanups (getting rid of variables which aren't
8976 needed now that the byte interpreter is gone) caused the fasl
8977 file format number to change again.
8979 changes in sbcl-0.7.0 relative to sbcl-0.6.13:
8980 * major incompatible change: The default fasl file extension, i.e. the
8981 default extension for files produced by COMPILE-FILE, has changed
8982 to ".fasl", for all architectures. (No longer ".x86f" and ".axpf".)
8984 ** There are many changes in the implementation of the compiler.
8985 SBCL is now essentially a compiler-only implementation of ANSI
8986 Common Lisp. EVAL still "interprets" a few special cases, but
8987 almost all the interesting cases are handled by creating
8988 a LAMBDA expression, calling COMPILE on it, then calling
8989 FUNCALL on the result.
8990 ** The EVAL-WHEN code has been rewritten to be ANSI-compliant, and
8991 various related bugs (IR1-1, IR1-2, IR1-3, IR1-3a) have gone away.
8992 Since the code is newer, there might still be some new bugs
8993 (though not as many as before Martin Atzmueller's fixes:-). But
8994 the new code is substantially simpler and clearer, and hopefully
8995 any remaining bugs will be simpler, less fundamental, and more
8996 fixable then the bugs in the old code.
8997 ** The revised compiler is still a little unsteady on its feet.
8999 *** The debugging information it produces (particularly the names
9000 of FUNCTION objects) is sometimes much less useful than what
9001 the old compiler produced.
9002 *** The support for inlining FOO when you (DECLAIM (INLINE FOO))
9003 then do (DEFUN FOO ..) in a non-null lexical environment (e.g.
9004 within a MACROLET) has been temporarily weakened.
9005 ** There are new compiler optimizations for various functions:
9006 *** the sequence functions FIND, POSITION, FIND-IF, POSITION-IF,
9007 FIND-IF-NOT, POSITION-IF-NOT, and FILL
9008 *** the math functions TRUNCATE, FLOOR, and CEILING
9009 *** the function-of-all-trades COERCE
9010 Mostly these should be transparent, but there's one
9011 potentially-annoying problem (bug 117): when the compiler
9012 inline-expands a function and does type analysis on the result,
9013 it can create control paths which have type mismatches, and
9014 when it can't prove that those control paths aren't taken,
9015 it will issue WARNINGs about the type mismatches. This is
9016 a particular problem in practice for the new sequence functions.
9017 It's not clear how this should be fixed, and for now, a
9018 workaround is given in the entry for 117 in the BUGS file.
9019 ** (Because of the interaction between the two previous items --
9020 occasional inlining problems and new inline expansions -- some
9021 of the new sequence function optimizations won't really kick in
9022 completely until debugging information, and then inlining, are
9023 straightened out in some future version.)
9024 * minor incompatible changes:
9025 ** As part of a bug fix by Christophe Rhodes to DIRECTORY behavior,
9026 DIRECTORY no longer implicitly promotes NIL slots of its
9027 pathname argument to :WILD. In particular, when you ask for the
9028 contents of a directory (which you used to be able to do without
9029 explicit wildcards, e.g. (DIRECTORY "/tmp/")) you now need to use
9030 explicit wildcards, e.g. (DIRECTORY "/tmp/*.*").
9031 ** changes in behavior that ANSI explicitly defines to be
9032 implementation dependent:
9033 *** The new compiler-only implementation still conforms with ANSI,
9034 but acts a little different than before. Besides the obvious
9035 changes in performance tradeoffs (that the cost per form passed
9036 to EVAL has gone up, and the cost per form executed by EVAL
9037 has gone down), the behavior of the system changes a little
9038 because there are no longer any interpreted function objects.
9039 COMPILED-FUNCTION-P is now synonymous with FUNCTIONP, and
9040 e.g. doing COMPILE on the output of interactive DEFUN is
9042 *** The value of INTERNAL-TIME-UNITS-PER-SECOND has been increased
9044 *** The default for the USE list in MAKE-PACKAGE and DEFPACKAGE
9045 has changed from (:CL) to NIL.
9046 *** The CHAR-NAME of unprintable ASCII characters which, unlike
9047 e.g. #\Newline and #\Tab, don't have names specified in the
9048 ANSI Common Lisp standard, is now based on their ASCII symbolic
9049 names (#\Nul, #\Soh, #\Stx, etc.) The old CMU-CL-style names
9050 (#\Null, #\^a, #\^b, etc.) are still accepted by NAME-CHAR, but
9051 are no longer used for output.
9052 ** changes in internal implementation constants:
9053 *** The default value of *BYTES-CONSED-BETWEEN-GCS* has doubled, to
9054 4 million. (If your application spends a lot of time GCing and
9055 you have a lot of RAM, you might want to experiment with
9056 increasing it even more.)
9057 ** The SB-C-CALL package has been merged into the SB-ALIEN package.
9058 However, almost all old code should still continue to work without
9059 immediate update, as SB-C-CALL is now a (deprecated) nickname
9061 ** Old operator names in the style DEF-FOO are now deprecated in
9062 favor of new corresponding names DEFINE-FOO, for consistency with
9063 the naming convention used in the ANSI standard (DEFSTRUCT, DEFVAR,
9064 DEFINE-CONDITION, DEFINE-MODIFY-MACRO..). This mostly affects
9065 internal symbols, but a few supported extensions like
9066 SB-ALIEN:DEF-ALIEN-FUNCTION are also affected. (So e.g.
9067 DEF-ALIEN-FUNCTION becomes DEFINE-ALIEN-FUNCTION.)
9068 ** The debugger prompt sequence now goes "5]", "5[2]", "5[3]",
9069 etc. as you get deeper into recursive calls to the debugger
9070 command loop, instead of the old "5]", "5]]", "5]]]"
9071 sequence. (I was motivated to do this when squabbles between
9072 ILISP and SBCL left me very deeply nested in the debugger. In the
9073 short term, this change will probably provoke more ILISP/SBCL
9074 squabbles, but hopefully it will be an improvement in the long run.)
9075 ** SB-ALIEN:DEFINE-ALIEN-FUNCTION (also known by the old deprecated
9076 name DEF-ALIEN-FUNCTION) now does DECLAIM FTYPE for the defined
9077 function, since declaiming return types involving aliens is
9078 (1) annoyingly messy to do by hand and (2) vital to efficient
9079 compilation of code which calls such functions.
9080 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are no
9081 longer reexported by the SB-EXT package. They're solely useful
9082 for alien code, so it seems more logical that you should get
9083 them from the SB-ALIEN package, not in SB-EXT.
9084 ** :SB-CONSTRAIN-FLOAT-TYPE, :SB-PROPAGATE-FLOAT-TYPE, and
9085 :SB-PROPAGATE-FUN-TYPE are no longer considered to be optional
9086 features. Instead, the code that they used to control is always
9087 built into the system.
9088 * many other bug fixes
9089 ** DEFSTRUCT and DEFCLASS have been substantially updated to take
9090 advantage of the new EVAL-WHEN stuff and to clean them up in
9091 general, and they are now more ANSI-compliant in a number of
9092 ways. Martin Atzmueller is responsible for a lot of this.
9093 ** Besides the cleanups discussed above, Martin Atzmueller fixed
9095 *** fixes in READ-SEQUENCE and WRITE-SEQUENCE
9096 *** correct ERROR type for various file operations
9097 *** some fixes for Lisp streams
9098 *** DEFMETHOD syntax checking
9099 *** changing old weird representation of debug information as
9100 strings (which, among their other deficiencies, don't transform
9101 correctly when you rename packages, and don't change their
9102 print representation when you change things like *PACKAGE*
9103 and *PRINT-LENGTH*) to symbols and lists of symbols
9104 He also made several improvements and fixed several bugs in DESCRIBE.
9105 ** Alexey Dejneka fixed many bugs, including classic bugs and bugs he
9107 *** misbehavior of WRITE-STRING/WRITE-LINE
9108 *** LOOP over keys of a hash table, LOOP bugs 49b and 81 and 103,
9109 and several other LOOP problems as well
9110 *** DIRECTORY when similar filenames are present
9111 *** DEFGENERIC with :METHOD options
9112 *** bug 126, in (MAKE-STRING N :INITIAL-ELEMENT #\SPACE))
9113 *** bug in the optimization of ARRAY-ELEMENT-TYPE
9114 *** argument ordering in FIND with :TEST option
9115 *** mishandled package designator argument in APROPOS-LIST
9116 *** various problems in the backquote readmacro
9117 *** a bug in APROPOS
9118 *** probably some others that I'm not describing very well here,
9119 since the CVS log documents them by reference to sbcl-devel
9120 messages, and the SourceForge archives aren't working well.:-(
9121 ** Dan Barlow improved the Alpha port (and is making progress on the
9122 PPC port, for those of you who think different).
9123 ** Besides the DIRECTORY fixes and changes mentioned elsewhere,
9124 Christophe Rhodes cleaned up the system self-test scripts (in tests/*),
9125 contributed the optimization of FIND-IF-NOT and POSITION-IF-NOT, and
9126 continues to work on the SPARC port (for those of you in a position
9127 to look down upon our little PC-compatible boxes from a great height).
9128 ** PPRINT-LOGICAL-BLOCK now copies the *PRINT-LINES* value on entry
9129 and uses that copy, rather than the current dynamic value, when
9130 it's trying to decide whether to truncate output. Thus e.g.
9131 (let ((*print-lines* 50))
9132 (pprint-logical-block (stream nil)
9134 (let ((*print-lines* 8))
9135 (print (aref possiblybigthings i) stream)))))
9136 should now truncate the logical block only at 50 lines, instead of
9137 often truncating it at 8 lines, as it did before.
9138 * The doc/cmucl/ directory, containing old CMU CL documentation
9139 from the time of the fork, is no longer part of the base system.
9140 SourceForge has shut down its anonymous FTP service, and with it
9141 my original plan for distributing the old CMU CL documentation
9142 there. For now, if you need these files you can download an old
9143 SBCL source release and extract them from it.
9144 * The fasl file version number changed again, for dozens of reasons,
9145 some of which are apparent above.
9147 changes in sbcl-0.6.13 relative to sbcl-0.6.12:
9148 * a port to the Compaq/DEC Alpha CPU, thanks to Dan Barlow
9149 * Martin Atzmueller ported Tim Moore's marvellous CMU CL DISASSEMBLE
9150 patch, so that DISASSEMBLE output is much nicer.
9151 * The code in the SB-PROFILE package now seems reasonably stable.
9152 I still haven't decided what the final interface should look like
9153 (I'd like PROFILE to interact cleanly with TRACE, since both
9154 facilities use function encapsulation) but if you have a need
9155 for profiling now, you can probably use it successfully with
9156 the current CMU-CL-style interface.
9157 * Pathnames and *DEFAULT-DIRECTORY-DEFAULTS* are much more
9158 ANSI-compliant, thanks to various fixes and tests from Dan Barlow.
9159 Also, at Dan Barlow's suggestion, TRUENAME on a dangling symbolic
9160 link now returns the dangling link itself, and for similar
9161 reasons, TRUENAME on a cyclic symbolic link returns the cyclic
9162 link itself. (In these cases the old code signalled an error and
9163 looped endlessly, respectively.) Thus, DIRECTORY now works even
9164 in the presence of dangling and cyclic symbolic links.
9165 * Compiler trace output (the :TRACE-FILE option to COMPILE-FILE)
9166 is now a supported extension again, since the consensus on
9167 sbcl-devel was that it can be useful for ordinary development
9168 work, not just for debugging SBCL itself.
9169 * The default for SB-EXT:*DERIVE-FUNCTION-TYPES* has changed to
9170 NIL, i.e. ANSI behavior, i.e. the compiler now recognizes
9171 that currently-defined functions might be redefined later with
9172 different return types.
9173 * Hash tables can be printed readably, as inspired by CMU CL code
9174 of Eric Marsden and SBCL code of Martin Atzmueller.
9175 * better error handling in CLOS method combination, thanks to
9176 Martin Atzmueller porting Pierre Mai's CMU CL patches
9177 * more overflow fixes for >16Mbyte I/O buffers
9178 * A bug in READ has been fixed, so that now a single Ctrl-D
9179 character suffices to cause end-of-file on character streams.
9180 In particular, now you only need one Ctrl-D at the command
9181 line (not two) to exit SBCL.
9182 * fixed bug 26: ARRAY-DISPLACEMENT now returns (VALUES NIL 0) for
9184 * fixed bug 107 (reported as a CMU CL bug by Erik Naggum on
9185 comp.lang.lisp 2001-06-11): (WRITE #*101 :RADIX T :BASE 36) now
9186 does the right thing.
9187 * The implementation of some type tests, especially for CONDITION
9188 types, is now tidier and maybe faster, due to CMU CL code
9189 originally by Douglas Crosher, ported by Martin Atzmueller.
9190 * Some math functions have been fixed, and there are new
9191 optimizers for deriving the types of COERCE and ARRAY-ELEMENT-TYPE,
9192 thanks to Raymond Toy's work on CMU CL, ported by Martin Atzmueller.
9193 * (There are also some new optimizers in contrib/*-extras.lisp. Those
9194 aren't built into sbcl-0.6.13, but are a sneak preview of what's
9195 likely to be built into sbcl-0.7.0.)
9196 * A bug in COPY-READTABLE was fixed. (Joao Cachopo's patch to CMU
9197 CL, ported to SBCL by Martin Atzmueller)
9198 * DESCRIBE now gives more information in some cases. (Pierre Mai's
9199 patch to CMU CL, ported to SBCL by Martin Atzmueller)
9200 * Martin Atzmueller and Bill Newman fixed some bugs in INSPECT.
9201 * There's a new slam.sh hack to shorten the edit/compile/debug
9202 cycle for low-level changes to SBCL itself, and a new
9203 :SB-AFTER-XC-CORE target feature to control the generation of
9204 the after-xc.core file needed by slam.sh.
9205 * minor incompatible change: The ENTRY-POINTS &KEY argument to
9206 COMPILE-FILE is no longer supported, so that now every function
9207 gets an entry point, so that block compilation looks a little
9208 more like the plain vanilla ANSI section 3.2.2.3 scheme.
9209 * minor incompatible change: SB-EXT:GET-BYTES-CONSED now
9210 returns the number of bytes consed since the system started,
9211 rather than the number consed since the first time the function
9212 was called. (The new definition parallels ANSI functions like
9213 CL:GET-INTERNAL-RUN-TIME.)
9214 * minor incompatible change: The old CMU-CL-style DIRECTORY options,
9215 i.e. :ALL, :FOLLOW-LINKS, and :CHECK-FOR-SUBDIRS, are no longer
9216 supported. Now DIRECTORY always does the abstract Common-Lisp-y
9217 thing, i.e. :ALL T :FOLLOW-LINKS T :CHECK-FOR-SUBDIRS T.
9218 * Fasl file version numbers are now independent of the target CPU,
9219 since historically most system changes which required version
9220 number changes have affected all CPUs equally. Similarly,
9221 the byte fasl file version is now equal to the ordinary
9224 changes in sbcl-0.6.12 relative to sbcl-0.6.11:
9225 * incompatible change: The old SB-EXT:OPTIMIZE-INTERFACE declaration
9226 is no longer recognized. I apologize for this, because it was
9227 listed in SB-EXT as a supported extension, but I found that
9228 its existing behavior was poorly specified, as well as incorrectly
9229 specified, and it looked like too much of a mess to straighten it
9230 out. I have enough on my hands trying to get ANSI stuff to work..
9231 * many patches ported from CMU CL by Martin Atzmueller, with
9232 half a dozen bug fixes in pretty-printing and the debugger, and
9233 half a dozen others elsewhere
9234 * fixed bug 13: Floating point infinities are now supported again.
9235 They might still be a little bit flaky, but thanks to bug reports
9236 from Nathan Froyd and CMU CL patches from Raymond Toy they're not
9237 as flaky as they were.
9238 * The --noprogrammer command line option is now supported. (Its
9239 behavior is slightly different in detail from what the old man
9240 page claimed it would do, but it's still appropriate under the
9241 same circumstances that the man page talks about.)
9242 * The :SB-PROPAGATE-FLOAT-TYPE and :SB-PROPAGATE-FUN-TYPE features
9243 are now supported, and enabled by default. Thus, the compiler can
9244 handle many floating point and complex operations much less
9245 inefficiently. (Thus e.g. you can implement a complex FFT
9247 * The compiler now detects type mismatches between DECLAIM FTYPE
9248 and DEFUN better, and implements CHECK-TYPE more correctly, and
9249 SBCL builds under CMU CL again despite its non-ANSI EVAL-WHEN,
9250 thanks to patches from Martin Atzmueller.
9251 * various fixes to make the cross-compiler more portable to
9252 ANSI-conforming-but-different cross-compilation hosts (notably
9253 Lispworks for Windows, following bug reports from Arthur Lemmens)
9254 * A bug in READ-SEQUENCE for CONCATENATED-STREAM, and a gross
9255 ANSI noncompliance in DEFMACRO &KEY argument parsing, have been
9256 fixed thanks to Pierre Mai's CMU CL patches.
9257 * fixes to keep the system from overflowing internal counters when
9258 it tries to use i/o buffers larger than 16M bytes
9259 * fixed bug 45a: Various internal functions required to support
9260 complex special functions have been merged from CMU CL sources.
9261 (When I was first setting up SBCL, I misunderstood a compile-time
9262 conditional #-OLD-SPECFUN, and so accidentally deleted them.)
9263 * improved support for type intersection and union, fixing bug 12
9264 (e.g., now (SUBTYPEP 'KEYWORD 'SYMBOL)=>T,T) and some other
9265 more obscure bugs as well
9266 * some steps toward byte-compiling non-performance-critical
9267 parts of the system, courtesy of patches from Martin Atzmueller
9268 * Christophe Rhodes has made some debian packages of sbcl at
9269 <http://www-jcsu.jesus.cam.ac.uk/ftp/pub/debian/lisp>.
9270 From his sbcl-devel e-mail of 2001-04-08 they're not completely
9271 stable, but are nonetheless usable. When he's ready, I'd be happy
9272 to add them to the SourceForge "File Releases" section. (And if
9273 anyone wants to do RPMs or *BSD packages, they'd be welcome too.)
9274 * new fasl file format version number (because of changes in
9275 internal representation of (OR ..) types to accommodate the new
9276 support for (AND ..) types, among other things)
9278 changes in sbcl-0.6.11 relative to sbcl-0.6.10:
9279 * Martin Atzmueller pointed out that bugs #9 and #25 are gone in
9281 * bug 34 fixed by Martin Atzmueller: dumping/loading instances works
9283 * fixed bug 40: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE,
9284 and UPGRADED-COMPLEX-PART-TYPE now work better with of compound
9285 types built from undefined types, e.g. '(VECTOR SOME-UNDEF-TYPE).
9286 * DESCRIBE now works on structure objects again.
9287 * Most function call argument type mismatches are now handled as
9288 STYLE-WARNINGs instead of full WARNINGs, since the compiler doesn't
9289 know whether the function will be redefined before the call is
9290 executed. (The compiler could flag local calls with full WARNINGs,
9291 as per the ANSI spec "3.2.2.3 Semantic Constraints", but right now
9292 it doesn't keep track of enough information to know whether calls
9293 are local in this sense.)
9294 * Compiler output is now more verbose, with messages truncated
9295 later than before. (There should be some supported way for users
9296 to override the default verbosity, but I haven't decided how to
9297 provide it yet, so this behavior is still controlled by the internal
9298 SB-C::*COMPILER-ERROR-PRINT-FOO* variables in
9299 src/compiler/ir1util.lisp.)
9300 * Fasl file format version numbers have increased again, because
9301 support for the Gray streams extension changes the layout of the
9302 system's STREAM objects.
9303 * The Gray subclassable streams extension now works, thanks to a
9304 patch from Martin Atzmueller.
9305 * The full LOAD-FOREIGN extension (not just the primitive
9306 LOAD-FOREIGN-1) now works, thanks to a patch from Martin Atzmueller.
9307 * The default behavior of RUN-PROGRAM has changed. Now, unlike CMU CL
9308 but like most other programs, it defaults to copying the Unix
9309 environment from the original process instead of starting the
9310 new process in an empty environment.
9311 * Extensions which manipulate the Unix environment now support
9312 an :ENVIRONMENT keyword option which doesn't smash case or
9313 do other bad things. The CMU-CL-style :ENV option is retained
9314 for porting convenience.
9315 * LOAD-FOREIGN (and LOAD-1-FOREIGN) now support logical pathnames,
9316 as per Daniel Barlow's suggestion and Martin Atzmueller's patch
9318 changes in sbcl-0.6.10 relative to sbcl-0.6.9:
9320 * A patch from Martin Atzmueller seems to have solved the SIGINT
9321 problem, and as far as we know, signal-handling now works cleanly.
9322 (If you find any new bugs, please report them!)
9323 * The system no longer defaults Lisp source file names to types
9324 ".l", ".cl", or ".lsp", but only to ".lisp".
9325 * The compiler no longer uses special default file extensions for
9326 byte-compiled code. (The ANSI definition of COMPILE-FILE-PATHNAME
9327 seems to expect a single default extension for all compiled code,
9328 and there's no compelling reason to try to stretch the standard
9329 to allow two different extensions.) Instead, byte-compiled files
9330 default to the same extension as native-compiled files.
9331 * Fasl file format version numbers have increased again, because
9332 a rearrangement of internal implementation packages made some
9333 dumped symbols in old fasl files unreadable in new cores.
9334 * DECLARE/DECLAIM/PROCLAIM logic is more nearly ANSI in general, with
9335 many fewer weird special cases.
9336 * Bug #17 (differing COMPILE-FILE behavior between logical and
9337 physical pathnames) has been fixed, and some related misbehavior too,
9338 thanks to a patch from Martin Atzmueller.
9339 * Bug #30 (reader problems) is gone, thanks to a CMU CL patch
9340 by Tim Moore, ported to SBCL by Martin Atzmueller.
9341 * Martin Atzmueller fixed several filesystem-related problems,
9342 including bug #36, in part by porting CMU CL patches, which were
9343 written in part by Paul Werkowski.
9344 * More compiler warnings in src/runtime/ are gone, thanks to
9345 more patches from Martin Atzmueller.
9346 * Martin Atzmueller pointed out that bug 37 was fixed by his patches
9349 changes in sbcl-0.6.9 relative to sbcl-0.6.8:
9351 * DESCRIBE now works on CONDITION objects.
9352 * The debugger now handles errors which arise when trying to print
9353 *DEBUG-CONDITION*, so that it's less likely to fall into infinite
9355 * The build system now uses an additional file, customize-target-features.lisp,
9356 to allow local modifications to the target *FEATURES* list. (The point of
9357 this is that now I can set up a custom configuration, e.g. with :SB-SHOW
9358 debugging features enabled, without having to worry about propagating it
9359 into everyone's system when I do a "cvs update".) When no
9360 customize-target-features.lisp file exists, the target *FEATURES* list
9361 should be constructed the same way as before.
9362 * fixed bugs in DEFCONSTANT ANSI-compatibility:
9363 ** DEFCONSTANT now tests reassignments using EQL, not EQUAL, in order to
9364 warn about behavior which is undefined under the ANSI spec. Note: This
9365 is specified by ANSI, but it's not very popular with programmers.
9366 If it causes you problems, take a look at the new SB-INT:DEFCONSTANT-EQX
9367 macro in the SBCL sources for an example of a workaround which you
9368 might use to make portable ANSI-standard code which does what you want.
9369 ** DEFCONSTANT's implementation is now based on EVAL-WHEN instead of on
9370 pre-ANSI IR1 translation magic, so it does the ANSI-specified thing
9371 when it's used as a non-toplevel form. (This is required in order
9372 to implement the DEFCONSTANT-EQX macro.)
9373 ** (DEFCONSTANT X 1) (DEFVAR X) (SETF X 2) no longer "works".
9374 ** Unfortunately, non-toplevel DEFCONSTANT forms can still do some
9375 funny things, due to bugs in the implementation of EVAL-WHEN
9376 (bug #IR1-3). This probably won't be fixed until 0.7.x. (Fortunately,
9377 non-toplevel DEFCONSTANTs are uncommon.)
9378 * The core file version number and fasl file version number have been
9379 incremented, because the old noncompliant DEFCONSTANT behavior involved
9380 calling functions which no longer exist, and because I also took the
9381 opportunity to chop an unsupported slot out of the DEBUG-SOURCE structure.
9382 * fixed bug 1 (error handling before read-eval-print loop starts), and
9383 redid debugger restarts and related debugger commands somewhat while
9385 ** The QUIT debugger command is gone, since it did something
9386 rather different than the SB-EXT:QUIT command, and since it never
9387 worked properly outside the main toplevel read/eval/print loop.
9388 Invoking the new TOPLEVEL restart provides the same functionality.
9389 ** The GO debugger command is also gone, since you can just invoke
9390 the CONTINUE restart directly instead.
9391 ** The TOP debugger command is also gone, since it's redundant with the
9392 FRAME 0 command, and since it interfered with abbreviations for the
9394 * The system now recovers better from non-PACKAGE values of the *PACKAGE*
9396 * The system now understands compound CONS types (e.g. (CONS FIXNUM T))
9397 as required by ANSI. (thanks to Douglas Crosher's CMU CL patches, with
9398 some porting work by Martin Atzmueller)
9399 * Martin Atzmueller reviewed the CMU CL mailing lists and came back
9400 with a boatload of patches which he ported to SBCL. Now that those
9402 ** The system tries to make sure that its low-priority messages
9403 are prefixed by semicolons, to help people who like to use
9404 syntax highlighting in their ILISP buffer. (This patch
9405 was originally due to Raymond Toy.)
9406 ** The system now optimizes INTEGER-LENGTH better, thanks to more
9407 patches originally written by Raymond Toy.
9408 ** The compiler understands coercion between single-value and
9409 multiple-VALUES type expressions better, getting rid of some very
9410 weird behavior, thanks to patches originally by Robert MacLachlan
9411 and Douglas Crosher.
9412 ** The system understands ANSI-style non-KEYWORD &KEY arguments in
9413 lambda lists, thanks to a patch originally by Pierre Mai.
9414 ** The system no longer bogusly warns about "abbreviated type
9416 ** The compiler gets less confused by inlining and RETURN-FROM,
9417 thanks to some patches originally by Tim Moore.
9418 ** The system no longer hangs when dumping circular lists to fasl
9419 files, thanks to a patch originally from Douglas Crosher.
9420 * Martin Atzmueller also fixed ROOM, so that it no longer fails with an
9421 undefined function error.
9422 * gave up on fixing bug 3 (forbidden-by-ANSI warning for type mismatch
9423 in structure slot initforms) for now, documented workaround instead:-|
9424 * fixed bug 4 (no WARNING for DECLAIM FTYPE of slot accessor function)
9425 * fixed bug 5: added stubs for various Gray stream functions called
9426 in the not-a-CL:STREAM case, so that even when Gray streams aren't
9427 installed, at least appropriate type errors are generated
9428 * fixed bug 8: better reporting of various PROGRAM-ERRORs
9429 * fixed bug 9: IGNORE and IGNORABLE now work reasonably and more
9430 consistently in DEFMETHOD forms.
9431 * removed bug 21 from BUGS, since Martin Atzmueller points out that
9432 it doesn't seem to affect SBCL after all
9433 * The C runtime system now builds with better optimization and many
9434 fewer warnings, thanks to lots of cleanups by Martin Atzmueller.
9436 changes in sbcl-0.6.8 relative to sbcl-0.6.7:
9438 * The system is now under CVS at SourceForge (instead of the
9439 CVS repository on my home machine).
9440 * The new signal handling code has been tweaked to treat register
9441 contents as (UNSIGNED-BYTE 32), as the old CMU CL code did,
9442 instead of (SIGNED-BYTE 32), as the C header files have it. (Code
9443 downstream, e.g. in debug-int.lisp, has implicit dependencies
9444 on the unsignedness of integer representation of machine words,
9445 and that caused the system to bomb out with infinite regress
9446 when trying to recover from type errors involving signed values,
9447 e.g. (BUTLAST '(1 2 3) -1).)
9448 * (BUTLAST NIL) and (NBUTLAST NIL) now return NIL as they should.
9449 (This was one of the bugs Peter Van Eynde reported back in July.)
9450 * The system now uses code inspired by Colin Walters' O(N)
9451 implementation of MAP (from the cmucl-imp@cons.org mailing
9452 list, 2 September 2000) when it can't use a DEFTRANSFORM to
9453 inline the MAP operation, and there is more than one
9454 sequence argument to the MAP call (so that it can't just
9455 do ETYPECASE once and for all based on the type of the
9456 single sequence argument). (The old non-inline implementation
9457 of the general M-argument sequence-of-length-N case required
9458 O(M*N*N) time when any of the sequence arguments were LISTs.)
9459 * The QUIT :UNIX-CODE keyword argument has been renamed to
9460 QUIT :UNIX-STATUS. (The old name still works, but is deprecated.)
9461 * Raymond Wiker's patches to port RUN-PROGRAM from CMU CL to SBCL
9463 * Raymond Wiker's patches to port dynamic loading from Linux to
9464 FreeBSD have been added.
9465 * The BUGS file is now more nearly up to date, thanks in large part
9466 to Martin Atzmueller's review of it.
9467 * The debugger now flushes standard output streams before it begins
9468 its output ("debugger invoked" and so forth).
9469 * The core version number and fasl file version number have both
9470 been incremented, because of incompatible changes in the layout
9472 * FINISH-OUTPUT is now called more consistently on QUIT. (It
9473 used to not be called for a saved Lisp image.)
9474 * Martin Atzmueller's version of a patch to fix a compiler crash,
9475 as posted on sbcl-devel 13 September 2000, has been installed.
9476 * Instead of installing Martin Atzmueller's patch for the
9477 compiler transform for SUBSEQ, I deleted the compiler transform,
9478 and transforms for some similar consing operations.
9479 * A bug in signal handling which kept TRACE from working on OpenBSD
9481 * added enough DEFTRANSFORMs to allow (SXHASH 'FOO) to be optimized
9482 away by constant folding
9483 * The system now defines its address space constants in one place
9484 (in the Lisp sources), and propagates them automatically elsewhere
9485 (through GENESIS and the sbcl.h file). Therefore, patching the
9486 address map is less unnecessarily tedious and error-prone. The
9487 Lisp names of address space constants have also been systematized.
9488 * CVS tags like dollar-Header-dollar have been removed from
9489 the sources, because they have never saved me trouble and
9490 they've been source of trouble working with patches and other
9491 diff-related operations.
9492 * fixed the PROG1-vs.-PROGN bug in HANDLER-BIND (reported by
9493 ole.rohne@cern.ch on cmucl-help@cons.org 2000-10-25)
9495 changes in sbcl-0.6.7 relative to sbcl-0.6.6:
9497 * The system has been ported to OpenBSD.
9498 * The system now compiles with a simple "sh make.sh" on the systems
9499 that it's supported on. I.e., now you no longer need to tweak
9500 text in the target-features.lisp-expr and symlinks in src/runtime/
9501 by hand, the make.sh takes care of it for you.
9502 * The system is no longer so grossly inefficient when compiling code
9503 involving vectors implemented as general (not simple) vectors (VECTOR T),
9504 so code which dares to use VECTOR-PUSH-EXTEND and FILL-POINTER, or
9505 which dares to use the various sequence functions on non-simple
9506 vectors, takes less of a performance hit.
9507 * There is now a primitive type predicate VECTOR-T-P
9508 to test for the (VECTOR T) type, so that e.g.
9509 (DEFUN FOO (V) (DECLARE (TYPE (VECTOR T) V)) (AREF V 3))
9510 can now be compiled with some semblance of efficiency. (The old code
9511 turned the type declaration into a full call to %TYPEP at runtime!)
9512 * AREF on (VECTOR T) is still not fast, since it's still compiled
9513 as a full call to SB-KERNEL:DATA-VECTOR-REF, but at least the
9514 ETYPECASE used in DATA-VECTOR-REF is now compiled reasonably
9515 efficiently. (The old version made full calls to SUBTYPEP at runtime!)
9516 * (MAKE-ARRAY 12 :FILL-POINTER T) is now executed less inefficiently,
9517 without making full calls to SUBTYPEP at runtime.
9518 (Some analogous efficiency issues for non-simple vectors specialized to
9519 element types other than T, or for non-simple multidimensional arrays,
9520 have not been addressed. They could almost certainly be handled the
9521 same way if anyone is motivated to do so.)
9522 * The changes in array handling break binary compatibility, so
9523 *BACKEND-FASL-FILE-VERSION* has been bumped to 4.
9524 * (TYPEP (MAKE-ARRAY 12 :FILL-POINTER 4) 'VECTOR) now returns (VALUES T)
9525 instead of (VALUES T T).
9526 * By following the instructions that Dan Barlow posted to sbcl-devel
9527 on 2 July 2000, I was able to enable primitive dynamic object
9528 file loading code for Linux. The full-blown CMU CL LOAD-FOREIGN
9529 functionality is not implemented (since it calls ld to resolve
9530 library references automatically, requiring RUN-PROGRAM for its
9531 implementation), but a simpler SB-EXT:LOAD-1-FOREIGN (which doesn't
9532 try to resolve library references) is now supported.
9533 * The system now flushes the standard output streams when it terminates,
9534 unless QUIT is used with the RECKLESSLY-P option set. It also flushes
9535 them at several other probably-convenient times, e.g. in each pass of
9536 the toplevel read-eval-print loop, and after evaluating a form given
9537 as an "--eval" command-line option. (These changes were motivated by a
9538 discussion of stream flushing issues on cmucl-imp in August 2000.)
9539 * The source transform for TYPEP of array types no longer assumes
9540 that an array whose element type is a not-yet-defined type
9541 is implemented as an array of T, but instead punts, so that the
9542 type will be interpreted at runtime.
9543 * There is now some support for cross-compiling in make.sh: each of
9544 the phases of make.sh has its own script. (This should be transparent
9545 to people doing ordinary, non-cross-compile builds.)
9546 * Since my laptop doesn't have hundreds of megabytes of memory like
9547 my desktop machine, I became more motivated to do some items on
9548 my to-do list in order to reduce the size of the system a little:
9549 ** Arrange for various needed-only-at-cold-init things to be
9550 uninterned after cold init. To support this, those things have
9551 been renamed from FOO and *FOO* to !FOO and *!FOO* (i.e., all
9552 symbols with such names are now uninterned after cold init).
9553 ** Bind SB!C::*TOP-LEVEL-LAMBDA-MAX* to a nonzero value when building
9554 fasl files for cold load.
9555 ** Remove the old compiler structure pooling code (which used to
9556 be conditional on the target feature :SB-ALLOC) completely.
9557 ** Redo the representation of some data in cold init to be more compact.
9558 (I also looked into supporting byte compiled code at bootstrap time,
9559 which would probably reduce the size of the system a lot, but that
9560 looked too complicated, so I punted for now.)
9561 * The maximum signal nesting depth in the src/runtime/ support code has
9562 been reduced from 4096 to 256. (I don't know any reason for the very
9563 large old value. If the new smaller value turns out to break something,
9564 I'll probably just bump it back up.)
9565 * PPRINT-LOGICAL-BLOCK is now pickier about the types of its arguments,
9567 * Many, many bugs reported by Peter Van Eynde have been added to
9568 the BUGS list; some have even been fixed.
9569 * While enabling dynamic object file loading, I tried to make the
9570 code easier to understand, renaming various functions and variables
9571 with less ambiguous names, and changing some function calling
9572 conventions to be Lispier (e.g. returning NIL instead of 0 for failure).
9573 * While trying to figure out how to do the OpenBSD port, I tried to
9574 clean up some of the code in src/runtime/. In particular, I dropped
9575 support for non-POSIX signal handling, added various comments,
9576 tweaked the code to reduce the number of compilation warnings, and
9577 renamed some files to increase consistency.
9578 * To support the new automatic configuration functionality in make.sh,
9579 the source file target-features.lisp-expr has been replaced with the
9580 source file base-target-features.lisp-expr and the machine-generated
9581 file local-target-features.lisp-expr.
9582 * fixed a stupid quoting error in make.sh so that using CMU CL
9583 "lisp -batch" as cross-compilation host works again
9585 changes in sbcl-0.6.6 relative to sbcl-0.6.5:
9587 * DESCRIBE no longer tries to call itself recursively to describe
9588 bound/fbound values, so that it no longer fails on symbols which are
9589 bound to themselves (like keywords, T, and NIL).
9590 * DESCRIBE now works on generic functions.
9591 * The printer now prints less-screwed-up representations of closures
9592 (not naively trying to bogusly use the %FUNCTION-NAME accessor on them).
9593 * A private symbol is used instead of the :EMPTY keyword previously
9594 used to mark empty slots in hash tables. Thus
9595 (DEFVAR *HT* (MAKE-HASH-TABLE))
9596 (SETF (GETHASH :EMPTY *HT*) :EMPTY)
9597 (MAPHASH (LAMBDA (K V) (FORMAT T "~&~S ~S~%" K V)))
9598 now does what ANSI says that it should. (You can still get
9599 similar noncompliant behavior if bang on the hash table
9600 implementation with all the symbols you get back from
9601 DO-ALL-SYMBOLS, but at least that's a little harder to do.)
9602 This breaks binary compatibility, since tests for equality to
9603 :EMPTY are wired into things like the macroexpansion of
9604 WITH-HASH-TABLE-ITERATOR in FASL files produced by earlier
9606 * There's now a minimal placeholder implementation for CL:STEP,
9607 as required by ANSI.
9608 * An obscure bug in the interaction of the normal compiler, the byte
9609 compiler, inlining, and structure predicates has been patched
9610 by setting the flags for the DEFTRANSFORM of %INSTANCE-TYPEP as
9611 :WHEN :BOTH (as per Raymond Toy's suggestion on the cmucl-imp@cons.org
9613 * Missing ordinary arguments in a macro call are now detected even
9614 when the macro lambda list contains &KEY or &REST.
9615 * The debugger no longer complains about encountering the top of the
9616 stack when you type "FRAME 0" to explicitly instruct it to go to
9617 the top of the stack. And it now prints the frame you request even
9618 if it's the current frame (instead of saying "You are here.").
9619 * As specified by ANSI, the system now always prints keywords
9620 as #\: followed by SYMBOL-NAME, even when *PACKAGE* is the
9622 * The default initial SIZE of HASH-TABLEs is now smaller.
9623 * Type information from CLOS class dispatch is now propagated
9624 into DEFMETHOD bodies, so that e.g.
9625 (DEFMETHOD FOO ((X SINGLE-FLOAT))
9627 is now basically equivalent to
9628 (DEFMETHOD FOO ((X SINGLE-FLOAT))
9629 (DECLARE (TYPE SINGLE-FLOAT X))
9631 and the compiler can compile (+ X 123.0) as a SINGLE-FLOAT-only
9632 operation, without having to do run-time type dispatch.
9633 * The macroexpansion of DEFMETHOD has been tweaked so that it has
9634 reasonable behavior when arguments are declared IGNORE or IGNORABLE.
9635 * Since I don't seem to be making big file reorganizations very often
9636 any more (and since my archive of sbcl-x.y.zv.tar.bz2 snapshots
9637 is overflowing my ability to conveniently back them up), I've finally
9638 checked the system into CVS. (The CVS repository is on my home system,
9639 not at SourceForge -- putting it on SourceForge might come later.)
9640 * SB-EXT:*GC-NOTIFY-STREAM* has been added, to control where the
9641 high-level GC-NOTIFY-FOO functions send their output. (There's
9642 still very little control of where low-level verbose GC functions
9643 send their output.) The SB-EXT:*GC-VERBOSE* variable now controls
9644 less than it used to -- the GC-NOTIFY-FOO functions are now under
9645 the control of *GC-NOTIFY-STREAM*, not *GC-VERBOSE*.
9646 * The system now stores the version string (LISP-IMPLEMENTATION-VERSION)
9647 in only one place in the source code, and propagates it automatically
9648 everywhere that it's needed. Thus e.g. when I bump the version from
9649 0.6.6 to 0.6.7, I'll only need to modify the sources in one place.
9650 * The C source files now include boilerplate legalese and documentation
9651 at the head of each file (just as the Lisp source files already did).
9652 * At Dan Barlow's suggestion, the hyperlink from the SBCL website
9653 to his page will be replaced with a link to his new CLiki service.
9655 changes in sbcl-0.6.5 relative to sbcl-0.6.4:
9657 * Raymond Wiker's patches to port the system to FreeBSD have been merged.
9658 * The build process now looks for GNU make under the default name "gmake",
9659 instead of "make" as it used to. If GNU make is not available as "gmake"
9660 on your system, you can change this default behavior by setting the
9661 GNUMAKE environment variable.
9662 * Replace #+SB-DOC with #!+SB-DOC in seq.lisp so that the system
9663 can build without error under CMU CL.
9665 changes in sbcl-0.6.4 relative to sbcl-0.6.3:
9667 * There is now a partial SBCL user manual (with some new text and some
9668 text cribbed from the CMU CL manual).
9669 * The beginnings of a profiler have been added (starting with the
9670 CMU CL profiler and simplifying and cleaning up). Eventually the
9671 main interface should be through the TRACE macro, but for now,
9672 it's still accessed through vaguely CMU-CL-style functions and macros
9673 exported from the package SB-PROFILE.
9674 * Some problems left over from porting CMU CL to the new
9675 cross-compilation bootstrap process have been cleaned up:
9676 ** DISASSEMBLE now works. (There was a problem in using DEFMACRO
9677 instead of SB!XC:DEFMACRO, compounded by an oversight on my
9678 part when getting rid of the compiler *BACKEND* stuff.)
9679 ** The value of *NULL-TYPE* was screwed up, because it was
9680 being initialized before the type system knew the final
9681 definition of the 'NULL type. This screwed up several key
9682 optimizations in the compiler, causing inefficiency in all sorts
9683 of places. (I found it because I wanted to understand why
9684 GET-INTERNAL-RUN-TIME was consing.)
9685 * fixed a bug in DEFGENERIC which was causing it to overwrite preexisting
9686 PROCLAIM FTYPE information. Unfortunately this broke binary
9687 compatibility again, since now the forms output by DEFGENERIC
9688 to refer to functions which didn't exist in 0.6.3.
9689 * added declarations so that SB-PCL::USE-CACHING-DFUN-P
9690 can use the new (as of 0.6.3) transform for SOME into MAP into
9692 * changed (MOD 1000000) type declarations for Linux timeval.tv_usec slot
9693 values to (INTEGER 0 1000000), so that the time code will no longer
9694 occasionally get blown up by Linux returning 1000000 microseconds
9695 * PRINT-UNREADABLE-OBJECT has been tweaked to make the spacing of
9696 its output conform to the ANSI spec. (Alas, this makes its output
9697 uglier in the :TYPE T :IDENTITY NIL case, but them's the breaks.)
9698 * A full call to MAP NIL with a single sequence argument no longer conses.
9699 * fixes to problems pointed out by Martin Atzmueller:
9700 * The manual page no longer talks about multiprocessing as though
9701 it were currently supported.
9702 * The ILISP support patches have been removed from the distribution,
9703 because as of version 5.10.1, ILISP now supports SBCL without us
9704 having to maintain patches.
9705 * added a modified version of Raymond Toy's recent CMU CL patch for
9706 EQUALP comparison of HASH-TABLE
9708 changes in sbcl-0.6.3 relative to sbcl-0.6.2:
9710 * The system still can't cross-compile itself with
9711 *TYPE-SYSTEM-INITIALIZED* (and all the consistency checks that
9712 entails), but at least it can compile more of itself that way
9713 than it used to be able to, and various buglets which were uncovered
9714 by trying to cross-compile itself that way have now been fixed.
9715 * This release breaks binary compatibility again. This time
9716 at least I've incremented the FASL file format version to 2, so that the
9717 problem can be detected reliably instead of just causing weird errors.
9718 * various new style warnings:
9719 ** using DEFUN, DEFMETHOD, or DEFGENERIC to overwrite an old definition
9720 ** using the deprecated EVAL/LOAD/COMPILE situation names in EVAL-WHEN
9721 ** using the lexical binding of a variable named in the *FOO* style
9722 * DESCRIBE has been substantially rewritten. It now calls DESCRIBE-OBJECT
9723 as specified by ANSI.
9724 * *RANDOM-STATE* is no longer automatically initialized from
9725 (GET-UNIVERSAL-TIME), but instead from a constant seed. Thus, the
9726 default behavior of the system is to repeat its behavior every time
9727 it's run. If you'd like to change this behavior, you can always
9728 explicitly set the seed from (GET-UNIVERSAL-TIME); whereas under the
9729 old convention there was no comparably easy way to get the system to
9730 repeat its behavior every time it was run.
9731 * Support for the pre-CLTL2 interpretation of FUNCTION declarations as
9732 FTYPE declarations has been removed, in favor of their ANSI
9733 interpretation as TYPE FUNCTION declarations. (See p. 228 of CLTL2.)
9734 * The quantifiers SOME, EVERY, NOTANY, and NOTEVERY no longer cons when
9735 the types of their sequence arguments can be determined at compile time.
9736 This is done through a new open code expansion for MAP which eliminates
9737 consing for (MAP NIL ..), and reduces consing otherwise, when sequence
9738 argument types can be determined at compile time.
9739 * The optimizer now transforms COERCE into an identity operation when it
9740 can prove that the coerced object is already of the correct type. (This
9741 can be a win for machine generated code, including the output of other
9742 optimization transforms, such as the MAP transform above.)
9743 * Credit information has been moved from source file headers into CREDITS.
9744 * Source file headers have been made more standard.
9745 * The CASE macro now compiles without complaining even when it has
9748 changes in sbcl-0.6.2 relative to sbcl-0.6.1:
9750 * (Note that the way that the PCL macroexpansions were rewritten
9751 to accommodate the change in DEFGENERIC below breaks binary
9752 compatibility. That is, fasl files compiled under sbcl-0.6.1 may
9753 not run under sbcl-0.6.2. Once we get out of alpha releases,
9754 i.e. hit release 1.0.0, we'll probably try to maintain binary
9755 compatibility between maintenance releases, e.g. between sbcl-1.4.3
9756 and sbcl-1.4.4. Until then, however, it might be fairly common
9757 for maintenance releases to break binary compatibility.)
9758 * A bug in the calculation of WARNINGS-P and FAILURE-P in COMPILE-FILE
9760 * The reporting of unhandled signals has been changed to print some
9761 explanatory text as well as the report form. (Previously only
9762 the report form was printed.)
9763 * The macroexpansion for DEFGENERIC now DECLAIMs the function that
9764 it defines, so that the compiler no longer issues undefined function
9765 warnings for compiled-but-not-yet-loaded generic functions.
9766 * The CLTL-style "LISP" and "USER" nicknames for the "COMMON-LISP"
9767 and "COMMON-LISP-USER" packages have been removed. Now only the "CL"
9768 and "CL-USER" standard nicknames from the "11.1.2 Standardized Packages"
9769 section of the ANSI spec are supported.
9770 * The "" nickname for the "KEYWORD" package has been removed.
9771 The reader still handles symbol tokens which begin with a package marker
9772 as keywords, but it doesn't expose its mechanism for doing so in the
9773 (PACKAGE-NICKNAMES (FIND-PACKAGE "KEYWORD")) list.
9774 * The system now issues STYLE-WARNINGs for contradictory TYPE
9775 proclamations. (Warnings for contradictory FTYPE proclamations would
9776 be nice too, but those can't be done usefully unless the type system
9777 is made smarter about FUNCTION types.)
9778 * The names of source files "*host-*.lisp" and "*target-*.lisp" have been
9779 systematized, so that "*target-*.lisp is supposed to exist only on the
9780 target and imply that there's a related file which exists on the
9781 host, and *host-*.lisp is supposed to exist only on the host and imply
9782 that there's a related file which exists on the target. This involves a
9783 lot of renaming. Hopefully the acute confusion caused by the renaming
9784 will be justified by the reduction in chronic confusion..
9785 ** runtime-type.lisp -> early-target-type.lisp
9786 ** target-type.lisp -> late-target-type.lisp
9787 ** early-host-format.lisp -> early-format.lisp
9788 ** late-host-format.lisp -> late-format.lisp
9789 ** host-error.lisp -> misc-error.lisp
9790 ** early-error.lisp -> early-target-error.lisp
9791 ** late-error.lisp -> late-target-error.lisp
9792 ** host-defboot.lisp -> early-defboot.lisp
9793 ** code/misc.lisp -> code/target-misc.lisp
9794 ** code/host-misc.lisp -> code/misc.lisp
9795 ** code/numbers.lisp -> code/target-numbers.lisp
9796 ** code/early-numbers.lisp -> numbers.lisp
9797 ** early-host-type.lisp -> early-type.lisp
9798 ** late-host-type.lisp -> late-type.lisp
9799 ** host-typep.lisp -> typep.lisp
9800 ** load.lisp -> target-load.lisp
9801 ** host-load.lisp -> load.lisp
9802 ** host-disassem.lisp -> disassem.lisp
9803 ** host-insts.lisp -> insts.lisp
9804 ** byte-comp.lisp -> target-byte-comp.lisp
9805 ** host-byte-comp.lisp -> byte-comp.lisp
9806 ** host-signal.lisp -> signal.lisp
9807 ** host-defstruct.lisp -> defstruct.lisp
9808 ** late-target-type.lisp -> deftypes-for-target.lisp
9809 Furthermore, several other previously target-only files foo.lisp (e.g.
9810 hash-table.lisp and random.lisp) have been split into a target-and-host
9811 foo.lisp file and a target-only target-foo.lisp file, with their key type
9812 definitions in the target-and-host part, so that the cross-compiler will
9813 know more about target types.
9814 * DEFSTRUCT BACKEND, and the BACKEND-valued *BACKEND* variable, have
9815 gone away. In their place are various *BACKEND-FOO* variables
9816 corresponding to the slots of the old structure.
9817 * A bug which caused the SB-COLD bootstrap-time package to be propagated
9818 into the target SBCL has been fixed.
9819 * The chill.lisp system for loading cold code into a running SBCL
9821 * Support for the CMU CL "scavenger hook" extension has been removed.
9822 (It was undocumented and unused in the CMU CL sources that SBCL was
9823 derived from, and stale in sbcl-0.6.1.)
9824 * Various errors in the cross-compiler type system were detected
9825 by running the cross-compiler with *TYPE-SYSTEM-INITIALIZED*
9826 (enabling various consistency checks). Many of them were fixed,
9827 but some hard problems remain, so the compiler is back to
9828 running without *TYPE-SYSTEM-INITIALIZED* for now.
9829 * As part of the cross-compiler type system cleanup, I implemented
9830 DEF!TYPE and got rid of early-ugly-duplicates.lisp.
9831 * I have started adding UNCROSS calls throughout the type system
9832 and the INFO database. (Thus perhaps eventually the blanket UNCROSS
9833 on cross-compiler input files will be able to go away, and various
9835 * CONSTANTP now returns true for quoted forms (as explicitly required
9838 changes in sbcl-0.6.1 relative to sbcl-0.6.0:
9840 * changed build optimization from (SAFETY 1) to (SAFETY 3) as a short-term
9841 fix for various type-unsafety bugs, e.g. failures with (LENGTH 123) and
9842 (MAKE-LIST -1). In the longer term, it ought to become true
9843 that declarations are assertions even at SAFETY 1. For now, it's not
9844 quite true even at SAFETY 3, but it's at least more nearly true..
9845 (Note that this change seems to increases the size of the system by
9846 O(5%) and to decrease the speed of the compiler by 20% or more.)
9847 * changed ALIEN printing to be much more abbreviated, as a short-term fix
9848 for the problem of printing dozens of lines of distracting information
9849 about low-level system machinery as part of the top stack frame
9850 on entry to the debugger when an undefined function was called.
9851 * tweaked the debugger's use of WITH-STANDARD-IO-SYNTAX so that *PACKAGE*
9852 is not reset to COMMON-LISP-USER.
9853 * Compilation of stuff related to dyncount.lisp has been made conditional
9854 on the :SB-DYNCOUNT target feature, so that the ordinary core system is
9855 smaller. The various dyncount-related symbols have been moved into
9856 a new "SB-DYNCOUNT" package.
9857 * tty-inspect.lisp has been renamed to inspect.lisp.
9858 * unix-glibc2.lisp has been renamed to unix.lisp, and the :GLIBC2
9859 feature has gone away. (When we eventually port to other flavors of
9860 libc and/or Unix, we'll try to make the differences between flavors
9861 invisible at the user level.)
9862 * Various other *FEATURES* tags, and/or their associated conditionals,
9863 have been removed if obsolescent, or given better documentation, or
9864 sometimes given more-mnemonic names.
9866 changes in sbcl-0.6.0 relative to sbcl-0.5.0:
9868 * tidied up "make.sh" script
9869 * tidied up system directory structure
9870 * better "clean.sh" behavior
9871 * added doc/FOR-CMUCL-DEVELOPERS
9872 * many many small tweaks to output format, e.g. removing possibly-confusing
9873 trailing #\. character in DESCRIBE-INSTANCE
9874 * (EQUALP #\A 'A) no longer signals an error.
9875 * new hashing code, including EQUALP hashing
9876 * tidied up Lisp initialization and toplevel
9877 * initialization files (e.g. /etc/sbclrc and $HOME/.sbclrc)
9878 * command line argument processing
9879 * added POSIX-GETENV function to deal with Unix-ish environment variables
9880 * more-Unixy handling of *STANDARD-INPUT* and other Lisp streams, e.g.
9881 terminating SBCL on EOF
9882 * non-verbose GC by default
9883 * There is no more "sbcl" shell script; the sbcl file is now the C
9884 runtime executable (just like CMU CL).
9885 * removed some unused fops, e.g. FOP-UNIFORM-VECTOR, FOP-CHARACTER, and
9887 * tweaked debug-info.lisp and debug-int.lisp to make the debugger store
9888 symbol and package information as Lisp native symbol and package objects
9889 instead of strings naming symbols and strings naming packages. This way,
9890 whenever packages are renamed (as in warm init), debug information is
9891 transformed along with everything else.
9892 * tweaked the optimization policy declarations which control the building
9893 of SBCL itself. Now, among other things, the system no longer saves
9894 source location debugging information. (This helps two problems at once
9895 by reducing SBCL size and by keeping SBCL from trying to look for its
9896 sources -- which may not exist -- when reporting errors.)
9897 * added src/cold/chill.lisp, to let SBCL read its own cold sources for
9898 debugging and testing purposes
9899 * cleaned up printing, making the printer call PRINT-OBJECT for
9900 instances, and using PRINT-UNREADABLE-OBJECT for most PRINT-OBJECT
9901 methods, giving nearly-ANSI behavior
9902 * converted almost all special variables to use *FOO* naming convention
9903 * deleted PARSE-TIME functionality, since it can be done portably
9904 * moved some files out of cold init into warm init
9905 * deleted DEFUN UNDEFINED-VALUE, replaced (UNDEFINED-VALUE) forms
9907 * regularized formatting of source files
9908 * added an install.sh script
9909 * fixed ridiculous memory usage of cross-compiler by making
9910 compiler/alloc.lisp not try to do pooling unless it can hook
9911 itself into the GC of the cross-compilation host. Now the system
9912 builds nicely on my old laptop.
9913 * added :SB-ALLOC in target-features.lisp-expr
9914 * deleted mention of :ANSI-DOC from target-features.lisp-expr (since it
9915 was not implemented)
9916 * re-did condition handling and note reporting in the compiler. Notes
9917 are no longer handled by signalling conditions. Style warnings
9918 and warnings are handled more correctly and reported in such a way
9919 that it's easy to find one or the other in your output (so that you
9920 can e.g. figure out which of many problems caused COMPILE-FILE to
9922 * changed the severity of several compiler warnings from full WARNING
9923 to STYLE-WARNING in order to conform with the ANSI spec; also changed
9924 compiler note reporting so that it doesn't use the condition system
9925 at all (and hence affects neither FAILURE-P nor WARNINGS-P in the
9926 COMPILE-FILE command)
9927 * made PROCLAIM and DECLAIM conform to ANSI. PROCLAIM is now an ordinary
9928 function. As a consequence, START-BLOCK and END-BLOCK declarations are
9929 no longer supported, since their implementation was deeply intertwingled
9930 with the magical, non-ANSI treatment that PROCLAIM received in CMU CL.
9931 * removed bogus "support" for compiler macros named (SETF FOO), and
9932 removed the compiler macro for SETF INFO (but only after making a fool
9933 of myself on the cmucl-imp mailing list by posting a bogus patch for
9934 DEFINE-COMPILER-MACRO..)
9935 * Compiled files containing forms which have side effects on the Lisp
9936 reader (such as DEFPACKAGE forms) are now handled more correctly.
9937 (Compiler queuing of top level lambdas has been suppressed by setting
9938 *TOP-LEVEL-LAMBDA-MAX* to 0. )
9939 * deleted various currently-unused source files, e.g. gengc.lisp. They
9940 may be added back at some point e.g. when porting to other architectures,
9941 but until they are it's distracting to distribute them and to try to
9943 * deleted "UNCROSS couldn't recurse through.." style warnings, since
9944 there were so many of them they're just distractions, and UNCROSS is
9945 known to be able to handle the current sources
9946 * moved PROFILE functionality into TRACE, so that it will be clear
9947 how the wrapping and unwrapping of functions when you profile them
9948 interacts with the wrapping and unwrapping of functions when you
9949 trace them. (Actually, the functionality isn't there yet, but at least
9950 the interface specification is there. Hopefully, the functionality will
9951 arrive with some future maintenance release.)
9952 * removed host-oops.lisp
9953 * changed signature of QUIT function to allow UNIX-CODE argument
9954 * fixed READ-SEQUENCE bug
9955 * tweaked verbose GC output so that it looks more like the progress
9956 output that ANSI specifies for functions like LOAD
9957 * set up the system on sourceforge.com, with home pages, mailing lists, etc.
9958 * added <http://sbcl.sourceforge.com> to the banner information printed by