1 changes in sbcl-0.8.16 relative to sbcl-0.8.15:
2 * bug fix: read-write consistency on streams of element-type
3 (SIGNED-BYTE N) for N > 32. (reported by Bruno Haible for CMUCL)
4 * bug fix: redefiniton of the only method of a generic function with
5 no DEFGENERIC no longer emits a full WARNING. In addition,
6 redefinition of generic functions with no DEFGENERIC to an
7 incompatible lambda list now signals an error. (thanks to Zach
9 * bug fix: DEFGENERIC now works even when there's a function of the
10 same name in an enclosing lexical environment. (thanks to Zach
12 * fixed compiler failure, caused by instrumenting code during
13 IR1-optimization. (Debian bug report #273606 by Gabor Melis)
14 * fixed some bugs revealed by Paul Dietz' test suite:
15 ** POSITION on displaced vectors with non-zero displacement
16 returns the right answer.
17 ** (SIMPLE-STRING) is a valid type specifier for sequence
19 ** *PRINT-LEVEL* handling for slotless structures is pedantically
21 ** PPRINT-INDENT accepts a request for an indentation of any REAL.
22 ** PPRINT-TAB (and the FORMAT ~T directive) now indent by the
24 ** The justification version of the FORMAT ~< directive treats
25 non-zero minpad parameter correctly.
27 changes in sbcl-0.8.15 relative to sbcl-0.8.14:
28 * incompatible change: SB-INT:*BEFORE-SAVE-INITIALIZATIONS* and
29 SB-INT:*AFTER-SAVE-INITIALIZATIONS* have been renamed
30 SB-EXT:*SAVE-HOOKS* and SB-EXT:*INIT-HOOKS*, and are now part of
31 the supported interface.
32 * new feature: Single-stepping of code compiled with DEBUG 2 or
33 higher and (> DEBUG (MAX SPACE SPEED)) is now possible.
34 * new feature: saving cores with foreign code loaded is now
35 supported on x86/FreeBSD, x86/Linux, and sparc/SunOS. (based on
36 Timothy Moore's work for CMUCL)
37 * bug fix: DEFTYPE lambda-list parsing now binds unsupplied keyword
38 parameters to * instead of NIL if no initform is supplied.
39 (reported by Johan Bockgaard)
40 * bug fix: DEFINE-COMPILER-MACRO lambda-list parsing now binds
41 correctly when FUNCALL appears as the car of the form. Note:
42 despite this FUNCALL forms are not currently subject to
43 compiler-macro expansion. (port of Raymond Toy's fix for the
44 same from CMUCL, reported by Johan Bockgaard)
45 * bug fix: FOR ... ON ... -clauses in LOOP now work on dotted lists
46 (thanks for Teemu Kalvas)
47 * bug fix: in FORMAT ~^ inside ~:{ now correctly steps to the next
48 case instead of terminating the iteration (thanks for Julian
49 Squires, Sean Champ and Raymond Toy)
50 * bug fix: incorrect expansion of defgeneric that caused a style
51 warning. (thanks for Zach Beane)
52 * bug fix: slot accessor effective method computation works properly
53 for classes with multiple non-standard applicable methods on
54 SB-MOP:SLOT-VALUE-USING-CLASS. (reported by Ralf Mattes)
55 * on x86 compiler supports stack allocation of results of LIST and
56 LIST*, bound to variables, declared DYNAMIC-EXTENT. (based on
57 CMUCL implementation by Gerd Moellmann)
58 * fixed some bugs revealed by Paul Dietz' test suite:
59 ** FORMAT strings with both the ~<~:;~> form of the justification
60 directive and pretty-printing directives cause an error.
62 changes in sbcl-0.8.14 relative to sbcl-0.8.13:
63 * incompatible change: the internal functions
64 SB-KERNEL:32BIT-LOGICAL-FOO, intended for providing efficient
65 logical operations on (UNSIGNED-BYTE 32) values, have been renamed
66 to SB-KERNEL:WORD-LOGICAL-FOO. Modular arithmetic should be used
67 instead of the old functions.
68 * new feature: on platforms where "dladdr" is available foreign
69 function names now appear in backtraces. (based on Helmut Eller's
71 * documentation: documentation for SB-BSD-SOCKETS, SB-GRAY,
72 SB-SIMPLE-STREAMS, and SB-PROFILE have been integrated into the user
74 * documentation: ASDF manual is now distributed with SBCL.
75 * bug fix: SBCL can now load its contributed modules with REQUIRE
76 even if the system-provided entries have been removed from
77 ASDF:*CENTRAL-REGISTRY*. Infinite recursion in REQUIRE is also
79 * bug fix: backtraces involving undefined functions or assembly
80 routines are more informative. (thanks to Brian Downing)
81 * bug fix: mutually referent alien structures now work correctly.
82 (reported by Rick Taube)
83 * bug fix: structures defined by WITH-ALIEN can be referred to
84 within other definitions in the same WITH-ALIEN.
85 * bug fix: division operators (MOD, TRUNCATE and the like) with
86 constant zero divisors and integer dividends no longer generate
88 * bug fix: provide default methods for INPUT-STREAM-P and
89 OUTPUT-STREAM-P specialized on SB-GRAY:FUNDAMENTAL-STREAM.
90 * bug fix: improve the detection and resolution of MOP metacycles
91 (where effective method computation depends on the generic function
92 having its effective method computed). (reported by Bruno Haible)
93 * bug fix: pass the right initargs to :BEFORE or :AFTER methods on
94 SHARED-INITIALIZE or INITIALIZE-INSTANCE in optimized
95 MAKE-INSTANCE constructors. (reported by Axel Schairer for cmucl)
96 * bug fix: pathnames with relative directory components can be
97 represented relative to default pathnames.
98 * optimization: in taking the GCD of bignums, reduce the two bignums
99 to approximately the same size (using Euclid's algorithm) before
100 applying the more sophisticated binary GCD. (thanks to Juho
102 * optimization: COUNT on bitvectors now operates word-at-a-time.
103 * optimization: ASH with a positive, but not necessarily constant,
104 (leftwards) shift, when in a modular context, is compiled to a
106 * fixed some bugs revealed by Paul Dietz' test suite:
107 ** FORMAT variable parameters ("~V<char>") are defaulted properly
108 if the corresponding argument is NIL.
109 ** FORMAT directives accepting a minpad parameter treat negative
111 ** literal commas as character parameters to FORMAT directives are
113 ** literal spaces directly after ~<Newline> directives within a
114 format-logical-block (~:< ~@:>) do not induce :FILL-style
115 conditional newlines.
116 ** PRINT-UNREADABLE-OBJECT inserts spaces as specified (and only
117 as specified: it no longer includes conditional newlines).
118 ** PRINC-TO-STRING binds *PRINT-READABLY* to NIL (as well as
120 ** PPRINT-LOGICAL-BLOCK signals a TYPE-ERROR if its :PREFIX or
121 :PER-LINE-PREFIX argument does not evaluate to a string.
123 changes in sbcl-0.8.13 relative to sbcl-0.8.12:
124 * new feature: SB-PACKAGE-LOCKS. See the "Package Locks" section of
125 the manual for details; for now, package locks can be disabled by
126 removing :SB-PACKAGE-LOCKS in customize-target-features.lisp, but
127 if no major problems are found then it is likely that they will be
128 compiled in unconditionally.
129 * major incompatible change: LOAD-FOREIGN and LOAD-1-FOREIGN are now
130 unsupported operators on all platforms. To load a shared library
131 into SBCL, use SB-ALIEN:LOAD-SHARED-OBJECT. To load a non-shared
132 object file, link it into a shared library outside of SBCL and
133 load it using SB-ALIEN:LOAD-SHARED-OBJECT. (incidentally fixes
135 * bug workaround: ROOM T and the GC were not working together
136 reliably, because invariants expected by the SB!VM:INSTANCE-USAGE
137 reporting facility aren't preserved. That reporting has been
138 disabled, so now until and unless someone figures out how to make it
139 work reliably with the current GC, (ROOM T) is equivalent to (ROOM).
140 * minor incompatible change: as threatened around sbcl-0.8.0, the
141 home package of MOP-related symbols is now SB-MOP, not SB-PCL.
142 The symbols are also exported from SB-PCL for backwards
143 compatibility, but more so than before SB-PCL should be treated as
144 an implementation-internal package.
145 * fasl format changed: SBCL 0.8.13 fasls are incompatible with those
147 * the SB-SPROF contrib now works on (most) non-x86 architectures.
148 It is known as of this release not to work on the Alpha, however.
149 * fixed bug #167: errors signalled due to illegal syntax in method
150 bodies are now more legible.
151 * fixed bug #338: instances of EQL-SPECIFIER are now valid type
152 designators and can hence be used with TYPEP.
153 * fixed bug #333: CHECK-TYPE now ensures that the type error
154 signalled, if any, has the right object to be accessed by
155 TYPE-ERROR-DATUM. (reported by Tony Martinez)
156 * fixed bug #340: SETF of VALUES obeys the specification in ANSI
157 5.1.2.3 for multiple-value place subforms. (reported by Kalle
159 * fixed bug #334: programmatic addition of slots using specialized
160 methods on SB-MOP:COMPUTE-SLOTS works for :ALLOCATION :INSTANCE
161 and :ALLOCATION :CLASS slots.
162 * fixed bug #269: SCALE-FLOAT scales floats by any integer, not just
163 float exponents. (rereported by Peter Seibel)
164 * fixed a bug: #\Space (and other whitespace characters) are no
165 longer considered to be macro characters in standard syntax by
167 * fixed bug: initialization of condition class metaobjects no longer
168 causes an instance of the condition to be created. (reported by
170 * fixed bug: it is now possible to have slots such that
171 SB-MOP:SLOT-DEFINITION-ALLOCATION of the effective slot
172 description is neither :INSTANCE nor :CLASS.
173 * fixed bug: the ctor optimization of MAKE-INSTANCE now respects
174 user-defined methods on SLOT-BOUNDP-USING-CLASS and (SETF
175 SLOT-VALUE-USING-CLASS), and no longer causes errors with
176 non-standard SLOT-DEFINITION-ALLOCATION values.
177 * fixed bugs: various race conditions handling exiting threads.
178 CL-PPCRE's thread torture test now passes.
179 * fixed arguably-a-bug: GC time proportional to number of threads in
180 system even when most of them are idle
181 * optimization: improved performance of BIT and SBIT on bit-vectors.
182 * .fasl file incompatibility: The fasl file version number has
183 been incremented because of changes associated with package locks.
185 changes in sbcl-0.8.12 relative to sbcl-0.8.11:
186 * minor incompatible change: the system no longer provides
187 optimization hints (conditions which are TYPEP
188 SB-EXT:COMPILER-NOTE) for conforming code in default compilation
189 mode; these hints are still emitted when higher SPEED optimization
191 * new contrib module: a sampling profiler (profiling by statistical
192 sampling, rather than by instrumenting functions) is available as
193 the SB-SPROF contrib. (thanks to Gerd Moellmann and Juho Snellman)
194 * the behaviour of the standard function ED is now customizeable by
195 third parties through a hook variable: see ED's documentation
196 string for information on the protocol.
197 * the compiler no longer emits efficiency notes for (FUNCALL X)
198 when the type of X is uncertain under default optimization
200 * fixed bug 276: mutating a binding of a specialized parameter to a
201 method to something that is not TYPEP the specializer is now
203 * fixed bugs 45d and 118: DOUBLE-FLOAT[-NEGATIVE]-EPSILON now
204 exhibit the required behaviour on the x86 platform. (thanks to
205 Peter van Eynde, Eric Marsden and Bruno Haible)
206 * fixed bug 335: ATANH now computes the inverse hyperbolic tangent
207 even for difficult arguments. (reported by Peter Graves)
208 * fixed bug 141a: the backquote printer now descends quoted
210 * fixed another bug in backquote printing: no more destructive
211 modification of the form's list structure. (reported by Brian
213 * fixed bug in INTERRUPT-THREAD: pin the function, so that it cannot
214 move between its address being taken and the call to
215 interrupt_thread, fixing a crashing race condition.
216 * the SB-POSIX contrib implementation has been adjusted so that it
217 no longer exhibits ridiculously poor performance when constructing
218 instances corresponding to C structs.
220 changes in sbcl-0.8.11 relative to sbcl-0.8.10:
221 * minor incompatible change: the sb-grovel contrib now treats C
222 structures as alien (in the sense of SB-ALIEN) objects rather than
223 as undistinguished (simple-array (unsigned-byte 8) (*))s. This
224 has implications for memory management of client code
225 (sb-grovel-returned objects must now be manually managed) and for
226 type safety (alien objects now have full types).
227 * new feature: the SB-EXT:MUFFLE-CONDITIONS declaration should be
228 used to control emission of compiler diagnostics, rather than the
229 SB-EXT:INHIBIT-WARNINGS OPTIMIZE quality. See the manual for
230 documentation on this feature. The SB-EXT:INHIBIT-WARNINGS
231 quality should be considered deprecated.
232 * install.sh now installs the user manual as well
233 * (not quite a new documentable feature, but worth considering in
234 the light of the new SB-EXT:MUFFLE-CONDITIONS declaration): the
235 beginnings of a semantically meaningful condition hierarchy is
236 under development, for use in SB-EXT:MUFFLE-CONDITIONS and by
238 * fixed bug: PARSE-NAMESTRING now accepts any valid pathaname
239 designator as the defaults argument.
240 * fixed bug: Displaced arrays whose displaced-to array has become
241 too small now cause ARRAY-DIMENSION to signal an error, providing
242 for safer bounds-checking. (reported by Bruno Haible)
243 * fixed bug: DEFCLASS slot definitions with identical :READER and
244 :WRITER names now signal a reasonable error. (reported by Thomas
246 * fixed bug: CLOSE :ABORT T on appending stream no longer causes
248 * fixed bug: Invalid slot specification errors now print correctly.
249 (thanks to Zach Beane)
250 * fixed bug 320: Shared to local slot value transfers in class
251 redefinitions now happen corrently from superclasses as
252 well. (reported by Bruno Haible)
253 * fixed bug 316: SHIFTF now accepts VALUES forms. (reported by Bruno
255 * fixed bug 322: DEFSTRUCT :TYPE LIST type predicates now handle
256 improper lists correctly. (reported by Bruno Haible)
257 * fixed bug 313: source-transform for <fun-name> was erroneously
258 applied to a call of a value of a variable with name <fun-name>.
259 (reported by Antonio Menezes Leitao)
260 * fixed bug 307: The obsolete instance protocol ensures that
261 subclasses are properly obsoleted. (thanks to Nikodemus Siivola)
262 * fixed bug 298, revealed by Paul F. Dietz' test suite: SBCL can
263 remove dead unknown-values globs from the middle of the stack.
264 * added a new restart to *BREAK-ON-SIGNALS* handling to make it
265 easier to resume long computations after using *BREAK-ON-SIGNALS*
266 to diagnose and fix failures. (thanks to Nikodemus Siivola)
267 * fixed bug reported by PFD in lisppaste #747 (and Bruno Haible from
268 CLISP test suite): WRITE-TO-STRING is not constant-foldable.
269 * fixed bugs in COMPLEX type specifier: UPGRADED-COMPLEX-PART-TYPE
270 is now consistent with (COMPLEX <x>); bugs in treatment of COMPLEX
271 MEMBER and UNION types have likewise been fixed. (thanks to Bruno
273 * fixed a (fairly theoretical) bug in string printing: if
274 *PRINT-READABLY* is true, signal PRINT-NOT-READABLE if the string
275 does not have array-element-type equal to the most general string
277 * fixed bug: SET-PPRINT-DISPATCH does not immediately resolve
278 function name. (thanks to Nikodemus Siivola)
279 * fixed bug: compile-time format string checker failed on
280 non-closed ~{. (reported by Thomas F Burdick)
281 * fixed bug: as reported by Kalle Olavi Niemitalo on #lisp IRC,
282 don't warn on legal loop code involving more than one aggregate
283 boolean. (thanks to Nikodemus Siivola)
284 * fixed bug: as reported by Peter Graves on #lisp IRC, passing a NIL
285 in keyword position to MAKE-PACKAGE was not being reported as
287 * fixed bug: as reported by Juan Ripoll on cmucl-imp,
288 MULTIPLE-VALUE-BIND should be able to lexically bind lambda list
290 * fixed bugs 280 and 312: the checking for multiple definitions in a
291 file is less likely to become confused by uses of inline
293 * fixed bug: the #S reader macro performs the keyword coercion
294 specified for slot names. (reported by Kalle Niemitalo)
295 * fixed bug: lambda lists may contain symbols whose names start with
296 & but are not lambda-list-keywords; their occurrence triggers a
298 * fixed bug 321: define-method-combination argument lambda lists do
299 not cause invalid code to be generated when &optional or &aux
300 variables have default values. (reported by Bruno Haible)
301 * fixed bug 327: system subclasses of STRUCTURE-OBJECT or CONDITION
302 have CLOS classes; this appears also to have fixed reported
303 instability in stack exhaustion detection.
304 * fixed bug: the CONTROL-ERROR from ABORT, CONTINUE and
305 MUFFLE-WARNING when no associated restart is present is now
307 * optimization: rearranged the expansion of various defining macros
308 so that each expands into only one top-level form in a
309 :LOAD-TOPLEVEL context; this appears to decrease fasl sizes by
311 * optimization: used a previously little-used slot in symbols to
312 cache SXHASH values, yielding a 5-10% compiler speedup. (thanks
314 * fixed some bugs revealed by Paul Dietz' test suite:
315 ** MAKE-INSTANCES-OBSOLETE returns the class name when called with
317 ** Fixed an optimization bug related to inheritance of initforms
318 from local to shared slots.
319 ** FILE-POSITION works as specified on BROADCAST-STREAMs.
320 ** CAST optimizer forgot to flush argument derived type.
321 ** print/read consistency on floats is now orders of magnitude
322 more likely. (thanks also to Bruno Haible for a similar report
324 ** removed stack cleaning in the cleanup part of UNWIND-PROTECT.
325 ** IMAGPART is specified (infelicitously) to return (* 0 <thing>)
326 for objects of type REAL. Make it so.
327 ** SXHASH is specified (infelicitously) to respect similarity,
328 which means that (SXHASH 0.0) must equal (SXHASH -0.0). Make
329 it so. (thanks to Markus Ziegler)
330 ** on the Alpha, the compiler succeeds in compiling functions
331 returning a known number of arguments greater than 63.
332 ** fixed handling of invalid NIL arguments in keyword position
334 ** fixed non-pretty printing of arrays with *PRINT-RADIX* being
336 ** provided a readably-printable representation for RANDOM-STATE
338 ** ensured that pathnames, where they have a namestring, always
339 print using #P"..." syntax.
341 changes in sbcl-0.8.10 relative to sbcl-0.8.9:
342 * Support for the forthcoming 2.0 version of the NetBSD kernel
343 running on x86 hardware has been added. (thanks to Perry
344 E. Metzger most immediately, and others for their past work)
345 * SBCL now runs on OpenBSD 3.4. (Thanks to Scott Parish; 3.4 is the
346 current release version; SBCL's OpenBSD support had been broken
347 since about the time of OpenBSD's switch to ELF binary format.)
348 * [placeholder for DX summary]
349 ** user code with &REST lists declared dynamic-extent, under high
350 speed or space and low safety and debug optimization policy.
351 * The manual has been converted to Texinfo format and the debugger
352 chapter from the cmucl manual has been added.
353 * A facility has been added to extract documentation strings from
354 sbcl and store them as Texinfo-formatted snippets for inclusion in
355 the manual (via Texinfo's @include directive)
356 * bug fix: compiler emitted division in optimized DEREF. (thanks for
357 the test case to Dave Roberts)
358 * bug fix: multidimensional simple arrays loaded from FASLs had fill
359 pointers. (reported by Sean Ross)
360 * bug fix: PROFILE output is printed nicely even for large numerical
361 values. (thanks to Zach Beane)
362 * bug fix: streams with element-type (SIGNED-BYTE <N>) for <N>
363 greater than 32 handle EOF correctly.
364 * bug fix: on X86 an immediate argument of the IMUL instruction is
365 correctly printed in disassembly. (thanks to Lutz Euler)
366 * bug fix: class slots in redefined classes preserve their old
367 values. (thanks to Bruno Haible and Nikodemus Siivola)
368 * bug fix: compilation of funcalls of CXX+R (e.g. CDDR) now
369 succeeds. (reported by Marco Baringer)
370 * fixed some bugs revealed by Paul Dietz' test suite:
371 ** READ-SEQUENCE now works on ECHO-STREAMs.
372 ** RATIONALIZE works more according to its specification. (thanks
375 changes in sbcl-0.8.9 relative to sbcl-0.8.8:
376 * deprecation of old extension: *DEBUG-PRINT-LEVEL* and
377 *DEBUG-PRINT-LENGTH* are now deprecated in favor of the new, more
378 general SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* mechanism. (This
379 should matter to you only if you rebind the printer control
380 variables and then find you want different bindings in the
381 debugger than in the ordinary execution of your program.)
382 * The runtime build system has been tweaked to support building
383 (on SPARC/SunOS) using a C compiler which invokes Sun's own
384 assembler and linker. (thanks to Nikodemus Siivola)
385 * Unbound, undefined, undeclared variables now trigger full
386 WARNINGs, not just STYLE-WARNINGs, on the assumption that this is
387 more often programmer error than deliberate exploitation of undefined
389 * optimization: the hash algorithm for strings has changed to one
390 that is less vulnerable to spurious collisions. (thanks to Juho
392 * optimization: VECTOR-POP, VECTOR-PUSH-EXTEND and REPLACE do less
393 needless bounds checking. (thanks to Juho Snellman)
394 * optimization: implemented multiplication as a modular
395 (UNSIGNED-BYTE 32) operation on the PPC backend.
396 * fixed some bugs revealed by Paul Dietz' test suite:
397 ** ADJUST-ARRAY now copies the datum in a zero rank array if
399 ** ADJUST-ARRAY no longer adjusts non-adjustable arrays.
400 ** MAKE-STRING-INPUT-STREAM accepts NIL as a value for :END.
401 ** MAKE-STRING-INPUT-STREAM functions correctly for strings with
403 ** CLEAR-INPUT accepts NIL and T for its (optional) stream
405 ** Ratios can now be printed correctly with *PRINT-BASE* bound to
407 ** ECHO-STREAMs no longer attempt to echo the end of file value to
408 their output stream on EOF from read.
409 ** CONCATENATED-STREAM-STREAMS discards constituent streams which
410 have been read to end-of-file.
411 ** CLOSE works as expected on the null CONCATENATED-STREAM, and on
413 ** Printing symbols with *PRINT-CASE* :CAPITALIZE respects the
414 description of determination of which consecutive characters
416 ** Printing the "Space" character with escaping on now yields "#\\ ",
417 rather than "#\\Space", as mandated by ANSI 22.1.3.2.
418 ** Reading floating-point numbers with *READ-BASE* set to a number
419 less than 10 works correctly.
420 ** Reading floating-point numbers with *READ-BASE* set to a number
421 more than 10 works correctly.
422 ** Printing with *PRINT-READABLY* targets the standard readtable, not
423 the readtable currently in effect.
425 changes in sbcl-0.8.8 relative to sbcl-0.8.7:
426 * minor incompatible change: parsing of namestrings on a physical
427 (Unix) host has changed; numbers after the final #\. in a
428 namestring are no longer interpreted as a version field. This is
429 intented to be largely invisible to the user, except that the
430 meaning of the namestring "*.*.*" has changed: it now refers to a
431 pathname with :TYPE :WILD :NAME #<pattern "*.*">. This namestring
432 should usually be replaced by
433 (make-pathname :name :wild :type :wild :version :wild)
434 with the added benefit that this is more likely to be portable.
435 As a consequence of this change, the :IF-EXISTS :NEW-VERSION
436 option to OPEN now signals an error if the file being opened
437 exists; this may have an impact on existing code.
438 * fixed bug 190: RUN-PROGRAM should now work properly, respecting
439 signals received, on the PowerPC platforms (both Linux and
440 Darwin). (thanks to Pierre Mai for pointing out the location of
442 * several fixes on OS X: The system now builds and runs cleanly on
443 Panther (10.3), and works around sigreturn bug (no more SIGFPEs).
444 (thanks to Brian Mastenbrook)
445 * bug fix: DECODE-UNIVERSAL-TIME now accepts timezone arguments with
446 second-resolution: integer multiples of 1/3600 between -24 and 24.
447 (thanks to Vincent Arkesteijn)
448 * bug fix: functions =, /=, <, <=, >, >= did not check the argument
449 type when called with 1 argument; PEEK-CHAR checked type of
450 PEEK-TYPE only after having read first character from a
451 stream. (reported by Peter Graves)
452 * bug fix: the garbage collector now has much better locality
453 behaviour, and in particular no longer treats all memory as being
454 exhausted when many small objects point to each other in a deeply
456 * bug fix: arrays specialized on (UNSIGNED-BYTE 15) are now
457 recognized as being TYPEP their class.
458 * bug fix: the PUSHNEW documentation string has been corrected.
459 (thanks to Vincent Arkesteijn)
460 * bug fix: defaulting of the value for the last of an atypically
461 large number of multiple values being bound was not being
462 performed correctly on the Alpha or PPC platforms
463 * optimization: implemented multiplication as a modular
464 (UNSIGNED-BYTE 32) operation on the x86 backend.
465 * optimization: SEARCH on simple-base-strings can now be open-coded.
466 (see also contrib/compiler-extras.lisp for inspiration for
467 teaching the compiler about the Boyer-Moore algorithm).
468 * value, returned by MAX (and MIN) called with several EQUALP, but
469 not EQL, arguments now does not depend on compiler settings.
470 * fixed some bugs revealed by Paul Dietz' test suite:
471 ** in stack analysis liveness information is propagated from
472 non-local entry points.
473 ** pathwise CAST removing failed when the CAST node did not start
475 ** INPUT-STREAM-P, OUTPUT-STREAM-P, STREAM-ELEMENT-TYPE and
476 OPEN-STREAM-P signal a TYPE-ERROR if their argument is not a
478 ** LOAD-LOGICAL-PATHNAME-TRANSLATIONS returns NIL if the logical
479 host is already defined.
480 ** RENAME-FILE works on streams instead of signalling an internal
482 ** PEEK-CHAR uses the current readtable when determining whether
483 or not a character is whitespace.
484 ** MERGE-PATHNAMES handles the case when the pathname does not
485 specify a name while the default-pathname specifies a version.
486 ** Pathnames now stand a better chance of respecting print/read
488 ** Attempting to use standardized file system operators with a
489 pathname with invalid :DIRECTORY components signals a
491 ** OPEN :DIRECTION :IO no longer fails to work on non-existent
493 ** DIRECTORY on logical pathnames is more correct.
494 ** CLEAR-INPUT, CLEAR-OUTPUT, FINISH-OUTPUT and FORCE-OUTPUT
495 signal a TYPE-ERROR if their argument is not a stream.
496 ** READ-BYTE and WRITE-BYTE signal a TYPE-ERROR if their stream
497 designator argument does not designate a stream.
498 ** OPEN-STREAM-P and INPUT-STREAM-P on synonym streams work by
499 examining the synonym.
500 ** STREAM-ELEMENT-TYPE and FRESH-LINE on broadcast-streams now
502 ** OPEN and WITH-OPEN-STREAM allow opening streams with
503 element-type larger than ([UN]SIGNED-BYTE 32).
505 changes in sbcl-0.8.7 relative to sbcl-0.8.6:
506 * When built with the :SB-FUTEX feature, threaded builds now take
507 advantage of the "fast userspace mutex" facility in Linux kernel 2.6
508 for faster/more reliable mutex and condition variable support.
509 * Incompatible change (but one you probably shouldn't have been using
510 anyway): the interface and code for arbitrating between multiple
511 threads in the same user session has been redesigned.
512 * bug fix: GET-SETF-EXPANSION no longer throws an internal type
513 error when called without an explicit environment argument.
514 (thanks to Nikodemus Siivola)
515 * bug fix: buffered :DIRECTION :IO streams are less likely to become
516 confused about their position. (thanks to Adam Warner and Gerd
518 * bug fix: Pretty printing backquoted forms with unquotations in the
519 argument list position of various code constructs such as LAMBDA
520 now works correctly. (reported by Paul Dietz)
521 * bug fix: Pretty printing unquotations no longer loses all
522 stream position information.
523 * optimization: performance of string output streams is now less
524 poor for multiple small sequence writes.
525 * optimization: performance of CSUBTYPEP in the presence of complex
526 expressions involving CONS and NOT many times has been improved.
527 (reported by Paul Dietz)
528 * ASDF-INSTALL bug fix: now parses *PROXY* properly. (thanks to
530 * SB-SIMPLE-STREAMS enhancement: simple-streams can now be used as
531 streams for the REPL, for the debugger, and so on. (thanks to
533 * DEFINE-CODITION is more efficient. (thanks to Brian Mastenbrook)
534 * fixed some bugs revealed by Paul Dietz' test suite:
535 ** the value of the :REHASH-THRESHOLD argument to MAKE-HASH-TABLE
536 is ignored if it is too small, rather than propagating through
537 to cause DIVIDE-BY-ZERO or FLOATING-POINT-OVERFLOW errors.
538 ** extremely complex negations of CONS types were not being
539 sufficiently canonicalized, leading to inconsistencies in
541 ** VALUES tranformer lost derived type.
543 changes in sbcl-0.8.6 relative to sbcl-0.8.5:
544 * fixed a bootstrapping bug: the build process no longer assumes
545 that the various BOOLE-related constants have the same value in
546 host and target lisps. (noted by Paul Dietz' test suite on an
547 SBCL binary built from CLISP)
548 * The system can now be dynamically linked on the MIPS platform,
549 which enables dynamic loading of foreign code from Lisp. (thanks
550 to Ralf Baechle for discussions on the MIPS ABI)
551 * The system now records debugging information for its own source
552 files in a filesystem-position-independent manner, relative to
553 the "SYS" logical host.
554 * fixed a compiler bug: MV-LET convertion did not check references
555 to the "max args" entry point. (reported by Brian Downing)
556 * tweaked disassembly notes to be less confident about proclaiming
557 some instruction as an LRA. (thanks to Brian Downing)
558 * contrib update: SB-ACLREPL is now threadsafe; multiple listeners
559 now each have their own history, command character, and other
560 characteristics. (thanks to David Lichteblau)
561 * fixed some bugs revealed by Paul Dietz' test suite:
562 ** compiler failure in compiling LOGAND expressions including a
564 ** Implementation of ASH-MOD32 on X86 and PPC did not work for the
565 shift greater than 32.
566 ** FLUSH-DEST did not mark blocks for type check regeneration.
567 ** HANDLER-CASE failed to accept declarations in handler clauses
568 in some circumstances.
570 changes in sbcl-0.8.5 relative to sbcl-0.8.4:
571 * New code in contrib/sb-introspect (still probably not entirely
572 stable yet) provides some support for smart Lisp development
573 environments like SLIME.
574 * The conditions signalled for errors occurring when loading .fasl
575 files have been systematized (inheriting from SB-EXT:INVALID-FASL)
576 in a way which should help ASDF recover gracefully.
577 * The REQUIRE/PROVIDE behavior of *MODULE-PROVIDER-FUNCTIONS*
578 stuff has been cleaned up. If you code contrib/ stuff, this might
579 affect you, and you can look at contrib/README, contrib/STANDARDS,
580 and/or the 0.8.4.27 diff to check.
581 * In full calls the compiler now does not generate checks for declared
582 argument types for all arguments.
583 * various threading fixes
584 ** and some experimental patches which didn't make it into
585 the main tree for this release, but which are shipped in
586 contrib/experimental-thread.patch as a possible fix for some
587 failures (deadlock, spinning...) in GC-intensive multithreaded
589 * fixed PPC build problem (source code incompatibility of different
590 library versions): added offsetof() hackery which attempts to divine
591 where glibc maintainers put uc_mcontext today
592 * fixed bug 282: compiler does not trust type assertions while passing
593 arguments to a full call.
594 * fixed bug 261: compiler allows NIL or "no value" to be accepted for
595 &OPTIONAL VALUES type parameter.
596 * fix bug 214: algorithm for noting rejected templates is now more
597 similar to that of template seletion. (also reported by rydis on
599 * fixed bug 141b: printing backquoted information readably and prettily
600 inserts a space where necessary.
601 * bug fix: obviously wrong type specifiers such as (FIXNUM 1) or
602 (CHARACTER 10) are now reported as errors, rather than propagated
603 as unknown types. (reported by piso on #lisp)
604 * bug fix: the :IF-EXISTS argument to OPEN now behaves correctly
605 with values NIL and :ERROR. (thanks to Milan Zamazal)
606 * fixed bug 191c: CLOS now does proper keyword argument checking as
607 described in CLHS 7.6.5 and 7.6.5.1.
608 * bug fix: LOOP forms using NIL as a for-as-arithmetic counter no
609 longer raise an error; further, using a list as a for-as-arithmetic
610 counter now raises a meaningful error.
611 * fixed bug 213a: even fairly unreasonable CONS type specifiers are
612 now understood by sequence creation functions such as MAKE-SEQUENCE
614 * fixed bug 46k: READ-BYTE now signals an error when asked to read from
615 a STRING-INPUT-STREAM.
616 * compiler enhancement: SIGNUM is now better able to derive the type
618 * type declarations inside WITH-SLOTS are checked. (reported by
620 * fixed some bugs revealed by Paul Dietz' test suite:
621 ** incorrect optimization of TRUNCATE for a positive first
622 argument and negative second.
623 ** compiler failure in let-convertion during flushing dead code.
624 ** compiler failure while deriving type of TRUNCATE on an
625 interval, containing 0.
626 ** ASH of a negative bignum by a negative bignum count now returns
628 ** intersection of CONS types now canonicalizes properly, fixing
629 inconsistencies in SUBTYPEP.
631 changes in sbcl-0.8.4 relative to sbcl-0.8.3:
632 * incompatible change: The --disable-debugger command line
633 option now clobbers the debugger at a more fundamental
634 level, by redefining #'INVOKE-DEBUGGER instead of by
635 rebinding *DEBUGGER-HOOK*. The main difference is that BREAK
636 is specified by ANSI to ignore *DEBUGGER-HOOK* and
637 INVOKE-DEBUGGER regardless. Under the old system, BREAK would
638 enter the debugger REPL and then suffer recursive errors
639 because *DEBUG-IO* is also messed up in --disable-debugger mode;
640 while under the new system, BREAK in --disable-debugger mode
641 terminates the system just as an unhandled error would.
642 * fixed compiler performance when processing loops with a step >1;
643 * bug fix: DOCUMENTATION now retrieves generic function
644 documentation. Also, DOCUMENTATION and (SETF DOCUMENTATION)
645 support has been systematized, and now supports the methods
646 specified by ANSI, along with a default method and a method for
647 slot documentation. (reported by Nathan Froyd)
648 * bug fix: effective methods associated with a generic function are
649 no longer cached over a change of that generic function's method
650 combination. (reported by Andreas Fuchs)
651 * bug fix: RUN-PROGRAM now does not fail if some element in $PATH
652 names a non-existent directory. (thanks to Andreas Fuchs)
653 * bug fix: ROUND and TRUNCATE could, under certain circumstances on
654 the PPC platform, lead to stack corruption; this has been fixed.
655 (reported by Rainer Joswig)
656 * bug fix: ASH on an (UNSIGNED-BYTE 32) with a shift of -32 or lower
657 no longer ever returns 1 instead of 0. (thanks to Lars Brinkhoff)
658 * fixed bug 285: TRUNCATE on bignum arguments, and indeed bignum
659 arithmetic in general, is now much more reliable on the PPC
661 * bug fix: LOGCOUNT on (UNSIGNED-BYTE 64) objects on the Alpha
662 platform now returns the right answer.
663 * optimization: restored some effective method precomputation in
664 CLOS (turned off by an ANSI fix in sbcl-0.8.3); the amount of
665 precomputation is now tunable.
666 * optimization: compiler-internal data structure use has been
667 reviewed, and changes have been made that should improve the
668 performance of the compiler by about 20%.
669 * optimization: performance of FILL (and :INITIAL-ELEMENT) on
670 simple-base-strings and simple-bit-vectors is improved.
671 * optimization: the optimization of 32-bit logical and arithmetic
672 functions introduced in version 0.8.3 on the x86 has been
673 implemented on the mips, ppc and sparc platforms; an
674 implementation of the same facility, but for 64-bit arithmetic,
675 has been added for the alpha.
676 * microoptimization: the compiler is better able to make use of the
677 x86 LEA instruction for multiplication by constants.
678 * bug fix: in some situations compiler did not report usage of
679 generic arithmetic in (SPEED 3) policy.
680 * bug 145b fix: compiler used wrong type specifier while converting
681 MEMBER-types to numeric.
682 * bug fix: COMPILE-FILE must bind *READTABLE*. (reported by Doug
684 * bug fix: (SETF AREF) on byte-sized-element arrays with constant
685 index argument now works properly on the Alpha platform.
686 * bug fix: floating point exception treatment on the Alpha platform
688 * bug fix: FILE-POSITION works much better on string input and
689 output streams. (thanks to Nikodemus Siivola)
690 * bug fix: many threading/garbage collection symptoms sorted.
691 SB-THREAD:INTERRUPT-THREAD now safe to call on a thread that
692 might be pseudo-atomic.
693 * internal change: Stopping for GC is now done with signals not
694 ptrace. GC is now done in whichever thread wanted it, instead of
696 * bug fix: GC hooks (missing since 0.8) reinstated, so finalizers
698 * bug fix: result form in DO is not contained in the implicit
700 * incompatible change: ICR structure is changed; the value part of
701 CONTINUATION is now called LVAR; corresponding functions are
702 renamed (e.g. SB-C::CONTINUATION-TYPE has become SB-C::LVAR-TYPE).
703 * added type deriver for ISQRT (thanks to Robert E. Brown).
704 * bug fix: better support for loading from the command line when an
705 initialization file sets (READTABLE-CASE *READTABLE*). (thanks
707 * fixed some bugs revealed by Paul Dietz' test suite:
708 ** the RETURN clause in LOOP is now equivalent to DO (RETURN ...).
709 ** ROUND and FROUND now give the right answer when given very
710 small float arguments.
711 ** (FLOAT X) for X of type DOUBLE-FLOAT now returns X in all
713 ** optimizer for (EXPT X 0) did not work for X not of type FLOAT.
714 ** (GCD 0 <negative-integer>) returned <negative-integer>.
715 ** LCM should return a non-negative integer.
716 ** PARSE-INTEGER returned the index of a terminator instead of the
717 upper bounding index of a substring in case :JUNK-ALLOWED NIL.
718 ** PARSE-INTEGER returned an incorrect index being applied to a
720 ** LCM with two arguments of 0 returns 0 rather than signalling
722 ** unsigned addition of a 32-bit constant with the high bit set no
723 longer causes an internal compiler error on the x86.
724 ** LOGBITP accepts a non-negative bignum as its INDEX argument.
725 ** compiler incorrectly derived types of DPB and DEPOSIT-FIELD
726 with negative last argument.
727 ** byte specifiers with zero size and position no longer cause
728 an error during type derivation.
729 ** bignum multiplication on the Alpha platform now returns the
731 * porting: The system now builds on SuSE AMD64, although it still
732 generates a 32-bit binary.
733 * .fasl file incompatibility: The fasl file version number has
734 been incremented (because of the changes to internal compiler
735 data structures referred to above).
737 changes in sbcl-0.8.3 relative to sbcl-0.8.2:
738 * SBCL now builds and runs on MacOS X (version 10.2), or perhaps
739 more accurately, on the Darwin kernel running on PowerPC hardware.
740 (thanks to Brian Mastenbrook, Pierre Mai and Patrik Nordebo)
741 * Compiler code deletion notes now signal a condition of type
742 SB-EXT:CODE-DELETION-NOTE (a subtype of SB-EXT:COMPILER-NOTE) with
743 an associated MUFFLE-WARNING restart.
744 * The compiler now performs limited argument count validation of
745 constant format strings in FORMAT, and where appropriate in ERROR,
746 CERROR and WARN. (thanks to Gerd Moellmann)
747 * New ASDF-INSTALL contrib can be used for automatic download and
748 installation of third-party Lisp code from CCLAN or other sites
750 * Threaded builds (:SB-THREAD) now support SB-THREAD:INTERRUPT-THREAD,
751 which forces another thread to execute a function supplied by the
753 * bug 75 fix: WITH-OUTPUT-TO-STRING (and MAKE-STRING-OUTPUT-STREAM)
754 now accept and act upon their :ELEMENT-TYPE keyword argument.
755 (reported by Martin Atzmueller, Edi Weitz)
756 * bug fix: FILE-POSITION now accepts position designators up to
757 ARRAY-DIMENSION-LIMIT or the extreme of the off_t range, whichever
758 is the greater. (thanks to Patrik Nordebo)
759 * bug fix: MAKE-ARRAY ignored :INITIAL-CONTENTS NIL. (reported by
760 Kalle Olavi Niemitalo)
761 * bug fix: the CLASS-PROTOTYPE of the GENERIC-FUNCTION class is now
762 printable. (reported by Eric Marsden)
763 * bug fix in sb-posix: mmap() now works on systems with a 64-bit
764 off_t, including Darwin and FreeBSD. (thanks to Andreas Fuchs)
765 * x86 bug fix in control stack exhaustion checking: now shows backtrace
766 * bug fix in WITH-TIMEOUT: now the body can have more than one form.
767 (thanks to Stig Sandoe)
768 * bug fix in READ-SEQUENCE: READ-SEQUENCE following PEEK-CHAR or
769 UNREAD-CHAR now correctly includes the unread character in the
770 target sequence. (thanks to Gerd Moellmann)
771 * bug fix in threaded builds: the system can now be suspended and
772 resumed by shell job control with minimal disruption.
773 * bug fixes in times and timezones >2038AD
774 * better handling of "where is GNU make?" problem in build scripts
775 (thanks to Nikodemus Siivola)
776 * new optimization: inside a named function any reference to a
777 function with the same name is considered to be a self-reference;
778 this behaviour is controlled with SB-C::RECOGNIZE-SELF-CALLS
779 optimization quality.
780 * new optimization on x86: logical functions and + now have
781 optimized (UNSIGNED-BYTE 32) versions, which are automatically
782 used when the result is truncated to 32 bits.
783 * VALUES declaration is partially enabled.
784 * fixes in SB-GROVEL (thanks to Andreas Fuchs)
785 * fixed some bugs revealed by Paul Dietz' test suite:
786 ** The system now obeys the constraint imposed by
787 UPGRADED-ARRAY-ELEMENT-TYPE that the upgraded array element
788 types form a lattice under type intersection.
789 ** FFLOOR, FTRUNCATE, FCEILING and FROUND work with integers.
790 ** ASSOC now ignores NIL elements in an alist.
791 ** CEILING now gives the right answer with MOST-NEGATIVE-FIXNUM
792 and (1+ MOST-POSITIVE-FIXNUM) answers.
793 ** The addition of a method with invalid qualifiers to a generic
794 function does not cause an error to be signalled immediately;
795 a warning is signalled, and the error is generated only on
796 calling the generic function.
797 * changed .fasl file version number, in part to add type codes for
798 new array subtypes UNSIGNED-BYTE 7, 15, 29, and 31 mandated by
799 obscure ANSI requirements
801 changes in sbcl-0.8.2 relative to sbcl-0.8.1:
802 * fixed bug 148: failure to inline-expand a local function left
803 garbage, confusing the compiler.
804 * fixed bugs 3cd: structure slot readers perform type check if the
805 slot can have an invalid value (i.e. it is either not initialized
806 or can be written with a less specific slot writer).
807 * bug fix: the compiler now traps array references to elements off
808 the end of an array; previously, the bounds checking in some
809 circumstances could go off-by-one.
810 * improved MACHINE-VERSION, especially on Linux (thanks to Lars
812 * type declarations for array element types now obey the description
813 on the CLHS page "Declaration TYPE", as per discussions on
814 sbcl-help around 2003-05-08. This means that a declaration
815 (TYPE (ARRAY FOO) BAR) means that, within the scope of the
816 declaration, all references to BAR will be asserted or assumed
817 (with THE, so dependent on compiler policy) to involve objects of
818 type FOO. Note that no such declaration is implied in
819 (MAKE-ARRAY .. :ELEMENT-TYPE 'FOO).
820 * declared types of functions from the "Conditions"
821 chapter. (reported by Paul Dietz)
822 * bug fix: CERROR accepts a function as its first argument.
823 * bug fix: NTH an NTHCDR accept a bignum as index
824 arguments. (reported by Adam Warner)
825 * optimization: character compare routines now optimize comparing
826 against a constant character. (reported by Gilbert Baumann)
827 * bug fix: (SETF AREF) on byte-sized-element arrays with constant index
828 argument now works properly on the MIPS platform.
829 * fixed compiler failure on (TYPEP x '(NOT (MEMBER 0d0))).
830 * repeated evaluation of the same DEFSTRUCT, a slot of which is
831 declared to have a functional type, does not cause an error
833 * fixed bug: sometimes MAKE-INSTANCE did not work with classes with
834 many :DEFAULT-INITARGS. (reported by Istvan Marko)
835 * fixed bug: if last continuation of a deleted block has a
836 destination, this destination should be deleted too. (reported by
838 * fixed a bug in the bootstrap process: the host compiler's values
839 of ARRAY-DIMENSION-LIMIT and ARRAY-TOTAL-SIZE-LIMIT no longer leak
840 into the newly-built SBCL. (reported by Eric Marsden on #lisp,
841 test case from Patrik Nordebo)
842 * improved the ability of the disassembler on the PPC platform to
843 provide helpful disassembly notes.
844 * SB-MOP:CLASS-PROTOTYPE on built-in-classes returns an instance of
845 the class in more cases than previously.
846 * bug fix: FILE-POSITION now understands :START and :END for
847 STRING-INPUT-STREAMs. (thanks to Nikodemus Siivola)
848 * bug fix: (SIGNED-BYTE 8) streams no longer return (UNSIGNED-BYTE
849 8) data. (thanks to David Lichteblau)
850 * bug fix: it is possible to add a method to a generic function
852 * bug fix: reader failed to signal END-OF-FILE inside an
853 object representation. (reported by Nikodemus Siivola)
854 * fixed some bugs revealed by Paul Dietz' test suite:
855 ** LAST and [N]BUTLAST should accept a bignum.
856 ** condition slot accessors are methods.
857 ** (VECTOR NIL) is a subtype of STRING.
859 changes in sbcl-0.8.1 relative to sbcl-0.8.0:
860 * minor incompatible change: some nonsensical specialized lambda
861 lists (used in DEFMETHOD) which were previously ignored now signal
863 * minor incompatible change: the system is now aware of the types of
864 variables in the COMMON-LISP package, and will signal errors for
865 most violations of these type constraints (where previously they
866 were silently accepted).
867 * minor incompatible change: COMPILE-FILE now uses the freedom
868 afforded (ANSI 3.2.2.3) to use derived function types for
869 functions defined in the same file. This also permits the system
870 to warn on static type mismatches and function
871 redefinition. (Currently it does not work with high DEBUG level.)
872 * minor incompatible change: VALUES declaration is disabled.
873 * When issuing notes, the compiler now signals a condition of type
874 SB-EXT:COMPILER-NOTE, and provides an associated MUFFLE-WARNING
875 restart for use in user handlers. It is expected that the
876 COMPILER-NOTE condition will eventually become a condition
877 supertype to a hierarchy of note types, which will then be
878 handleable in a similar fashion. However, at the moment, no such
879 note subtypes yet exist. (SB-INT:SIMPLE-COMPILER-NOTE exists,
880 but it's an implementation detail, not a classification for the
882 * Changes in type checking closed the following bugs:
883 ** type checking of unused values (192b, 194d, 203);
884 ** template selection based on unsafe type assertions (192c, 236);
885 ** type checking in branches (194bc).
886 * A short form of VALUES type specifier has ANSI meaning (it has
887 increased the number of situations when SBCL cannot perform type
889 * fixed bug in DEFSTRUCT: once again, naming structure slots with
890 keywords or constants is permissible.
891 * STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE now have methods
892 defined on the relevant FUNDAMENTAL-BINARY-{INPUT,OUTPUT}-STREAM
893 classes. (thanks to Antonio Martinez)
894 * improved ANSIness in DESCRIBE: The DESCRIBE function no longer
895 outputs FRESH-LINE or TERPRI, and no longer converts its stream
896 argument to a pretty-print stream. Instead, it leaves any such
897 operations to DESCRIBE-OBJECT methods.
898 * bug fix: APROPOS now respects the EXTERNAL-ONLY flag. (reported
900 * bug fix: NIL is now a valid destructuring argument in DEFMACRO
901 lambda lists. (thanks to David Lichteblau)
902 * bug fix: Defining a generic function with a :METHOD-CLASS being a
903 subclass of STANDARD-METHOD no longer causes stack exhaustion.
904 (thanks to Gerd Moellmann)
905 * fixed bug 246: increased compilation speed of long
906 MULTIPLE-VALUE-BIND (and likewise of NTH-VALUE with a constant
908 * a contributed module implementing COMPILER-LET and MACROEXPAND-ALL
910 * DEFCONSTANT now throws a condition of type
911 SB-EXT:DEFCONSTANT-UNEQL if it is being asked to redefine a
912 constant to a non-EQL value; CONTINUE and ABORT restarts
913 respectively change and preserve the value.
914 * fixed bug 63: The code walker, part of the implementation of CLOS,
915 is now better at handling symbol macros.
916 * bug fix: There is no longer an internal implementation type named
917 CL:LENGTH. (reported by Raymond Toy)
918 * bug fix: In macro-like defining macros/special operators the
919 implicit block does not enclose the lambda list.
920 * fixed bugs 10 and 43: Bare VALUES, AND, OR and MEMBER symbols (not
921 enclosed in parentheses) are not suitable as type specifiers, and
922 their use properly signals an error now.
923 * bug fix: An argument count mismatch for a type specifier in code
924 being compiled no longer causes an unhandled error at compile
925 time, but signals a compile-time warning.
926 * fixed simple vector readable printing
927 * bug fix: DESCRIBE takes more care over whether the class
928 precedence list slot of a class is bound before accessing it.
929 (reported by Markus Krummenacker)
930 * bug fix: FORMATTER can successfully compile pretty-printer format
931 strings which use variants of the ~* directive inside.
932 * bug fix: SEARCH now applies its TEST predicate to the elements of
933 the arguments in the correct order. (thanks to Wolfhard Buss)
934 * fixed bug 235b: The compiler uses return types of MAPCAR and friends
935 in type inference. (thanks to Robert E. Brown)
936 * bug fix: Reading in symbols with an explicit package name of ""
937 (e.g. '||::FOO) now works correctly. (reported by Henrik Motakef)
938 * fixed some bugs revealed by Paul Dietz' test suite:
939 ** NIL is now allowed as a structure slot name.
940 ** Arbitrary numbers, not just REALs, are allowed in certain
941 circumstances in LOOP for-as-arithmetic clauses.
942 ** Multiple class redefinitions before slot access no longer
944 ** (SETF FIND-CLASS) now accepts NIL as an argument to remove the
945 association between the name and a class.
946 ** Generic functions with non-standard method-combination and over
947 five methods all of which return constants no longer return NIL
948 after the first few invocations. (thanks to Gerd Moellmann)
949 ** CALL-NEXT-METHOD with no arguments now passes the original
950 values of the arguments, even in the presence of assignment.
951 ** Functions [N]SUBST*, LAST, NRECONC, [N]SUBLIS may return any
953 ** DISASSEMBLE works with closures and funcallable instances.
954 ** ADD-METHOD now returns the generic function, not the new method.
955 ** FIND-METHOD signals an error if the lengths of the specializers
956 is incompatible with the generic function, even if the ERRORP
958 ** TYPE-OF returns recognizeable subtypes of all built-in-types of
959 which its argument is a member.
960 ** DEFCLASS only redefines the class named by its class-name
961 argument if that name is the proper name of the class;
962 otherwise, it creates a new class.
963 ** SLOT-UNBOUND now correctly initalizes the CELL-ERROR-NAME slot
964 of the UNBOUND-SLOT condition to the name of the slot.
965 ** (SETF (AREF bv 0) ...) did not work for bit vectors.
966 ** SLOT-UNBOUND and SLOT-MISSING now have their return values
967 treated by SLOT-BOUNDP, SLOT-VALUE, (SETF SLOT-VALUE) and
968 SLOT-MAKUNBOUND in the specified fashion.
970 changes in sbcl-0.8.0 relative to sbcl-0.8alpha.0
971 * SBCL now builds using CLISP (version of late April 2003 from CVS) as
972 cross-compilation host. As a consequence, we can now bootstrap our
973 way up to SBCL starting with a bare gcc toolchain and human-readable
974 source code (first the source to CLISP, then the source to SBCL).
975 * A contributed module containing a partial implementation of the
976 simple-streams interface has been included. (thanks to Rudi
978 * A contributed module implementing the RFC1321 Message Digest
979 Algorithm, known as MD5, has been included.
980 * minor incompatible change: The :NEGATIVE-ZERO-IS-NOT-ZERO feature
981 no longer has any effect, as the code controlled by this feature
982 has been deleted. (As far as we know, no-one has ever built using
983 this feature, and its semantics were confused in any case).
984 * minor incompatible change: As a consequence of making SLOT-EXISTS-P
985 work on conditions (as required by the ANSI specification),
986 SLOT-VALUE, (SETF SLOT-VALUE) and SLOT-BOUNDP likewise have the
987 expected behaviour on conditions. Users should note, however,
988 that such behaviour is not required by the ANSI specification,
989 and so use of this behaviour may render their code unportable.
990 * fixed some bugs revealed by Paul Dietz' test suite:
991 ** the GENERIC-FUNCTION type is no longer disjoint from FUNCTION
993 ** &ENVIRONMENT parameter in macro lambda list is bound first.
994 ** SXHASH on condition objects no longer returns NIL.
995 ** :ALLOCATION :CLASS slots are better treated; their values are
996 updated on class redefinition, and initforms inherited from
997 superclasses are applied.
998 ** REMOVE-METHOD returns its generic function argument even when
999 no method was removed.
1000 ** SHARED-INITIALIZE now initializes the values of the requested
1001 slots, including those with :ALLOCATION :CLASS.
1002 ** ALLOCATE-INSTANCE now works on structure classes defined via
1003 DEFSTRUCT (and not just by those from DEFCLASS :METACLASS
1005 ** SLOT-EXISTS-P now works on conditions, as well as structures
1007 ** MAKE-LOAD-FORM now has the required methods on
1008 STRUCTURE-OBJECT, CONDITION and STANDARD-OBJECT.
1009 ** MAKE-LOAD-FORM-SAVING-SLOTS no longer returns a special
1010 keyword, and now implements the SLOT-NAMES argument.
1011 ** methods with &OPTIONAL arguments no longer allow too many
1012 arguments to be passed in the call without error.
1013 ** DEFGENERIC now checks that the :ARGUMENT-PRECEDENCE-ORDER
1014 option is consistent with the required arguments of the generic
1015 function lambda list.
1016 * bug fix: REQUIRE accepts a string designator. (Thanks to
1018 * bug fix: SB-MOP:DIRECT-SLOT-DEFINITION-CLASS and
1019 SB-MOP:EFFECTIVE-SLOT-DEFINITION-CLASS now have the
1020 specified-by-AMOP lambda list of (CLASS &REST INITARGS).
1021 * bug fix: The compiler now checks for duplicated variables in macro
1023 * bug fix: SETQ on globals returns the correct value.
1024 * fixed bug 47.d: (DEFGENERIC IF (X)) now signals a PROGRAM-ERROR,
1025 not a COMPILER-ERROR (followed by some other strange error on
1026 choosing the CONTINUE restart).
1027 * bug fix: make.sh and friends are now more consistent in the way that
1028 they look for GNU "make".
1030 changes in sbcl-0.8alpha.0 relative to sbcl-0.7.14
1031 * experimental native threads support (on x86 Linux >=2.4 only).
1032 This is not compiled in by default: you need to add :SB-THREAD to
1033 the target features. See the "Beyond ANSI" chapter of the manual
1035 * fix for longstanding nonANSIism: The old distinction between
1036 CL:CLASS objects and SB-PCL:CLASS objects has been eliminated.
1037 The return value from CL:FIND-CLASS is now a CLOS class, and
1038 likewise that of CL:CLASS-OF; CL:BUILT-IN-CLASS,
1039 CL:STRUCTURE-CLASS and CL:STANDARD-CLASS name CLOS classes.
1040 * An interface to the MetaObject Protocol, as described in Kiczales,
1041 des Rivieres and Bobrow's "The Art of the Metaobject Protocol",
1042 MIT Press, 1991, is available from the SB-MOP package.
1043 * incompatible change: the SB-PCL package should now be considered
1044 a private implementation detail, and no longer a semi-private MOP
1046 * minor incompatible change: due to rearrangement for threads, the
1047 control stack and binding stack are now allocated at arbitrary
1048 addresses instead of being hardcoded per-port. Users affected by
1049 this probably have to be doing advanced things with shared
1050 libraries, and will know who they are.
1051 * minor incompatible change: Previously, all --eval forms used were
1052 processed with READ before any of them were processed with EVAL.
1053 Now each --eval form is processed with both READ and EVAL before
1054 the next --eval form is processed. (Thus package operations like
1055 sbcl --eval "(defpackage :foo)" --eval "(print 'foo::bar)" now
1056 work as the user might reasonably expect.)
1057 * minor incompatible change: *STANDARD-INPUT* is now only an
1058 INPUT-STREAM, not a BIDIRECTIONAL-STREAM. (thanks to Antonio
1060 * minor incompatible change: Y-OR-N-P is now character-oriented,
1061 not line oriented. Also, YES-OR-NO-P now works without errors.
1062 (thanks to Antonio Martinez)
1063 * sb-aclrepl module improvements: an integrated inspector, added
1064 repl features, and a bug fix to :trace command.
1065 * Known functions, which cannot be open coded by the backend, are
1066 considered to be able to check types of their arguments. (fixing
1067 a bug report by Nathan J. Froyd)
1068 * fixed a bug in computing method discriminating functions: It is
1069 now possible to define methods specialized on classes which have
1070 forward-referenced superclasses. (thanks to Gerd Moellmann)
1071 * fixed evaluation order in optional entries (reported by Gilbert
1073 * SB-MOP:ENSURE-CLASS-USING-CLASS now takes its arguments in the
1074 specified-by-AMOP order of (CLASS NAME &REST ARGS &KEY).
1075 * SB-MOP:COMPUTE-EFFECTIVE-SLOT-DEFINITION now takes the
1076 required-by-AMOP NAME argument, as well as CLASS and
1077 DIRECT-SLOT-DEFINITIONS. (thanks to Kevin Rosenberg)
1078 * fixed bug 20: DEFMETHOD can define methods using names that are
1079 not the proper names of classes to designate class specializers.
1080 * bug fix: INTERACTIVE-STREAM-P now works on streams associated with
1081 Unix file descriptors, instead of blowing up. (thanks to Antonio
1083 * Garbage collection refactoring: user-visible change is that a
1084 call to the GC function during WITHOUT-GCING will not do garbage
1085 collection until the end of the WITHOUT-GCING. If you were doing
1086 this you were probably losing anyway.
1087 * fixed bug in MEMBER type: (MEMBER 0.0) is not the same as
1088 (SINGLE-FLOAT 0.0 0.0), because of the existence of -0.0 which is
1089 TYPEP the latter but not the former.
1090 * The compiler issues a full WARNING for calls to undefined functions
1091 with names from the CL package.
1092 * MAP-INTO for a vector destination is open coded. (reported by
1093 Brian Downing on c.l.l)
1094 * bug fix: the long form of DEFINE-METHOD-COMBINATION now accepts a
1095 documentation string.
1096 * fixed some bugs revealed by Paul Dietz' test suite:
1097 ** COPY-ALIST now signals an error if its argument is a dotted
1099 ** Condition slots are now accessed more correctly in the presence
1100 of multiple initargs for a given slot.
1101 ** The USE-VALUE, CONTINUE and STORE-VALUE functions now correctly
1102 exclude restarts of the same name associated with a different
1104 ** DEFCLASS of forward-referenced classes with another
1105 forward-referenced class in the superclasses list no longer
1107 ** Condition slots are now initialized once each, not multiple
1108 times. (thanks to Gerd Moellmann)
1109 ** CONVERT-MORE-CALL failed on a lambda list (&KEY). (thanks to
1111 ** &WHOLE and &REST arguments in macro lambda lists are patterns.
1112 ** NSET-EXCLUSIVE-OR does not return extra elements when its
1113 arguments contain duplicated elements.
1114 ** RESTART-CASE understands local macros.
1115 ** RESTART-CASE associates exactly its own restarts with a condition.
1116 ** ENDP in safe mode checks its argument to be of type LIST.
1117 ** COPY-SYMBOL in a threaded build no longer fails when the symbol
1118 in question is unbound.
1119 ** Optimized MAKE-INSTANCE functions no longer cause internal
1120 assertion failures in the presence of duplicate initargs.
1121 ** SLOT-MAKUNBOUND returns the instance acted upon, not NIL.
1122 ** Side-effectful :DEFAULT-INITARGS have their side-effects
1123 propagated even in the ctor optimized implementation of
1125 ** :ALLOW-OTHER-KEYS NIL is now accepted in an initarg list.
1127 changes in sbcl-0.7.14 relative to sbcl-0.7.13:
1128 * a better implementation of SXHASH on (simple) bit vectors,
1129 measured both in execution speed and in distribution of results
1130 over the positive fixnums, has been installed. Likewise, a better
1131 implementation of EQUAL for simple bit vectors is now available.
1132 * fixed CEILING optimization for a divisor of form 2^k.
1133 * fixed bug 240 (emitting extra style warnings "using the lexical
1134 binding of the symbol *XXX*" for &OPTIONAL arguments). (reported
1135 by Antonio Martinez)
1136 * fixed SXHASH, giving different results for NIL depending on type
1137 declarations (SYMBOL or LIST). (thanks to Gerd Moellmann)
1138 * fixed bug in DEFPARAMETER and DEFVAR: they could assign a lexical
1139 variable. (found by Rolf Wester)
1140 * SBCL does not ignore type declarations for special
1141 variables. (reported by rif on c.l.l 2003-03-05)
1142 * some bug fixes in contrib/sb-aclrepl/
1143 * fixed some bugs revealed by Paul Dietz' test suite:
1144 ** a bug in the CONS type specifier, whereby the CAR and CDR
1145 types got intertwined, has been fixed;
1146 ** the type system is now able to reason about the interaction
1147 between INTEGER and RATIO types more completely;
1148 ** APPEND, [N]REVERSE and NRECONC check that those their
1149 arguments, which must be proper lists, are really so;
1150 ** An array specialized to be unable to hold elements has been
1151 implemented, as required -- yes, really -- by ANSI;
1152 ** GETF and GET-PROPERTIES throw a TYPE-ERROR, not a SIMPLE-ERROR,
1153 on malformed property lists;
1155 changes in sbcl-0.7.13 relative to sbcl-0.7.12:
1156 * incompatible packaging change: in line with Unix convention,
1157 SBCL now looks for its core file in /usr/{local/,}lib/sbcl/sbcl.core
1158 if it's not in $SBCL_HOME. It also sets SBCL_HOME to match.
1159 * REQUIRE and PROVIDE are now optionally capable of doing something
1160 useful. See the documentation string for REQUIRE.
1161 * infrastructure for a managed SBCL contrib system: contributed
1162 modules in this release include:
1163 ** the ASDF system definition facility;
1164 ** an interface to the BSD Sockets API;
1165 ** an ACL-like convenience interface to the repl;
1166 (thanks to Kevin Rosenberg)
1167 ** an implementation of ROTATE-BYTE, with efficient implementation
1169 * fixed a bug in LOG, so that LOG of a rational argument near 1 now
1170 gives a closer approximation to the right answer than previously.
1171 (thanks to Raymond Toy)
1172 * fixed bug 157: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and
1173 UPGRADED-COMPLEX-PART-TYPE now take (ignored, in all situations)
1174 optional environment arguments, as required by ANSI.
1175 * fixed bugs in other functions taking environment objects, allowing
1176 calls with an explicit NIL environment argument to be compiled
1178 * fixed bug 228: primary return values from
1179 FUNCTION-LAMBDA-EXPRESSION are either NIL or suitable for input to
1180 COMPILE or FUNCTION.
1181 * fixed a bug in DEFSTRUCT: predicates for :NAMED structures with
1182 :TYPE will no longer signal errors on innocuous objects.
1183 * fixed bug 231b: SETQ is better at respecting type declarations in
1184 the lexical environment.
1185 * fixed a bug in DEFCLASS: classes named by symbols with no or
1186 unprintable packages can now be defined.
1187 * fixed a bug in RESTART-BIND: The :TEST-FUNCTION option had been
1188 carelessly renamed to :TEST-FUN. (thanks to Robert E. Brown)
1189 * fixed compiler failure related to checking types of functions.
1190 (reported by Robert E. Brown)
1191 * the compiler is now much more consistent in its error-checking
1192 treatment of bounding index arguments to sequence functions: in
1193 (SAFETY 3) code, errors will be signalled in almost all cases if
1194 invalid sequence bounding indices are passed to functions defined
1195 by ANSI to operate on sequences.
1196 * fixed a bug in the build procedure: documentation of SBCL-specific
1197 packages is now preserved and available in the final Lisp image.
1198 * lifted FDEFINITION lookup out of loops in the implementation of
1199 many list operations. (thanks to Robert E. Brown)
1200 * fixed a bug in the reader: the #n# reader macro now works for
1201 objects of type STANDARD-OBJECT. (reported by Tony Martinez)
1202 * the compiler is now aware that SYMBOL-FUNCTION returns a FUNCTION
1203 and that READ-DELIMITED-LIST returns a LIST. (thanks to Robert
1204 E. Brown and Tony Martinez respectively)
1205 * PCL is now smarter about SLOT-VALUE, (SETF SLOT-VALUE) and
1206 SLOT-BOUNDP: in particular, it is now able to optimize them much
1207 better, and is now not vulnerable to having packages renamed.
1208 Furthermore, a compliance bug has been fixed: SLOT-MISSING is now
1209 always called when a slot is not present in an instance. (thanks
1211 * fixed a bug related to CONCATENATED-STREAMs: PEEK-CHAR will no
1212 longer signal an error on unreading a character following EOF on
1213 the previous constituent stream. (thanks to Tony Martinez)
1214 * fixed some bugs revealed by Paul Dietz' test suite:
1215 ** ARRAY-IN-BOUNDS-P now allows arbitrary integers as arguments,
1216 not just nonnegative fixnums;
1217 ** the logical bit-array operators such as BIT-AND now accept an
1218 explicit NIL for their "opt-arg" argument (to indicate a
1219 freshly-consed result bit-array);
1220 ** ELT now signals an error on an invalid sequence index in safe
1222 ** the type system is now cleverer about negations of numeric
1223 types, and consequently understands the BIGNUM and RATIO types
1225 ** the type system is now cleverer about the interaction between
1226 INTEGER and RATIO types: while bugs still remain, many more
1227 cases are accurately computed;
1228 ** in TYPECASE, OTHERWISE now only introduces an otherwise-clause
1229 if it is in the last clause;
1230 ** CONSTANTLY now correctly returns a side-effect-free function in
1232 ** DECLARE is no longer treated as a special-operator; in
1233 particular, SPECIAL-OPERATOR-P no longer returns T for DECLARE;
1234 * incremented fasl file version number due to the change in the
1235 DEFSTRUCT-SLOT-DESCRIPTION structure.
1237 changes in sbcl-0.7.12 relative to sbcl-0.7.11:
1238 * minor incompatible change: code processed by the "interpreter" or
1239 EVAL now has a compilation optimization policy of (DEBUG 2)
1240 (changed from (DEBUG 1)) to improve debuggability of interactive
1241 development, and to allow the use of the debug RETURN command in
1243 * an experimental implementation of the RETURN command for the
1244 debugger has been included. (thanks to Frederik Kuivinen)
1245 * fixed bug 62: constraints were not propagated into a loop.
1246 * fixed bug in embedded calls of SORT (reported and investigated by
1248 * fixed some bugs revealed by Paul Dietz' test suite:
1249 ** printing and reading of arrays with some dimensions having
1250 length 0 (thanks to Gerd Moellmann);
1251 ** BOA constructor with &AUX argument without a default value does
1252 not cause a type error;
1253 ** CONSTANTP now returns true for all self-evaluating objects.
1255 changes in sbcl-0.7.11 relative to sbcl-0.7.10:
1256 * fixed bug 127: DEFSTRUCT now does not clobber old structure
1257 accessors that are related by inheritance, as specified in the
1258 :CONC-NAME section of the specification of DEFSTRUCT. (thanks to
1259 Valtteri Vuorikoski)
1260 * The compiler is now able to inline functions that were defined in
1261 a complex lexical environment (e.g. inside a MACROLET).
1262 * fixed bug in DESCRIBE, which now works on rank-0 arrays. (thanks
1264 * Support for the upcoming FreeBSD-5.0 release has been included.
1265 (thanks to Dag-Erling Smorgrav)
1266 * fixed bug 219: DEFINE-COMPILER-MACRO no longer has compile-time
1267 effect when it is not in a toplevel context.
1268 * fixed bug 222: DEFMETHOD and SYMBOL-MACROLET interactions now
1269 stand a better chance of being correct. (thanks to Gerd
1271 * fixed bug in COERCE, which now signals an error on coercing a
1272 rational to a bounded real type which excludes the expected
1274 * The compiler is now able to derive types more accurately from the
1275 COERCE and COMPILE functions.
1276 * fixed bug 223: functional binding is considered to be constant
1277 only for symbols in the CL package.
1278 * fixed bug 231: SETQ did not check the type of a variable being set
1279 (reported by Robert E. Brown)
1280 * A new optimization for MAKE-INSTANCE has been included, fixing
1281 various bugs (including relating to :ALLOCATION :CLASS slots and
1282 :DEFAULT-INITARGS over-eager evalueation). (thanks to Gerd
1284 * fixed some LOOP bugs revealed by Paul Dietz' test suite:
1285 ** As required by ANSI, LOOP now disallows anonymous collection
1286 clauses such as COLLECT I in conjunction with aggregate boolean
1287 clauses such as THEREIS (= I 1);
1288 ** LOOP now signals an error when any variable is reused in the
1289 same loop (including the potentially useful construct analogous
1290 to WITH A = 1 WITH A = (1+ A);
1291 ** IT is only a special loop symbol within the first clause of a
1292 conditional loop clause;
1293 ** LOOP with a typed iteration variable over a hashtable now
1294 signals a type error iff it should.
1295 * fixed some other bugs revealed by Paul Dietz' test suite:
1296 ** FILE-STREAM now names the class previously known as FD-STREAM;
1297 ** in DEFSTRUCT, a bare :CONC-NAME (or a :CONC-NAME with no
1298 argument) no longer signals an error;
1299 ** likewise in DEFSTRUCT, :CONC-NAME NIL now respects the package
1300 of the slot symbol, rather than using the current package
1301 ((:CONC-NAME "") continues to intern the slot's name in the
1303 * incremented fasl file version number, because of the incompatible
1304 change to the DEFSTRUCT-DESCRIPTION structure, and again because
1305 of the new implementation of DEFINE-COMPILER-MACRO.
1307 changes in sbcl-0.7.10 relative to sbcl-0.7.9:
1308 * Support for building SBCL for MIPS platforms running in
1309 little-endian mode has now been checked in, and basic
1310 functionality on said platforms verified.
1311 * minor incompatible change: PCL now records the pathname of a file
1312 in which methods and the like are defined, rather than its
1314 * minor incompatible change: TRUENAME now considers the truename of
1315 a file naming a directory to be the pathname with :DIRECTORY
1316 component indicating that directory.
1317 * minor incompatible change: a NAMED clause in the extended form of
1318 LOOP no longer causes a BLOCK named NIL to surround the LOOP. The
1319 reason for the previous behaviour is unclear.
1320 * more systematization and improvement of CLOS and MOP conformance
1321 in PCL (thanks to Gerd Moellman and Pierre Mai):
1322 ** the standard ANSI CL generic function NO-NEXT-METHOD is now
1324 ** DEFINE-METHOD-COMBINATION no longer signals an error for
1325 primary methods with no specializers;
1326 ** the MOP generic function GENERIC-FUNCTION-DECLARATIONS is now
1328 ** the Readers for Class Metaobjects methods CLASS-DIRECT-SLOTS
1329 and CLASS-DIRECT-DEFAULT-INITARGS have been implemented for
1330 FORWARD-REFERENCED-CLASSes; error reporting on
1331 CLASS-DEFAULT-INITARGS, CLASS-PRECEDENCE-LIST and CLASS-SLOTS
1333 ** SXHASH on CLOS instances now uses a slot internal to the
1334 instance to return different numbers on distinct instances,
1335 while preserving the same return value through invocations of
1337 ** DEFMETHOD signals errors when methods with longer incongruent
1338 lambda lists are added to generic functions;
1339 ** COMPUTE-CLASS-PRECEDENCE-LIST now has a method specialized on
1340 CLASS, as specified in AMOP;
1341 ** COMPUTE-SLOTS :AROUND now assigns locations sequentially based
1342 on the order returned by the primary method for classes of
1343 class STANDARD-CLASS;
1344 ** DEFINE-METHOD-COMBINATION now works with the :ARGUMENTS option.
1345 * fixed some bugs shown by Paul Dietz' test suite:
1346 ** DOLIST puts its body in TAGBODY;
1347 ** SET-EXCLUSIVE-OR sends arguments to :TEST function in the
1349 ** MULTIPLE-VALUE-SETQ evaluates side-effectful places before
1350 value producing form;
1351 ** if more variables are given to PROGV than values, extra
1352 variables are bound and made to have no value;
1353 ** NSUBSTITUTE on list arguments gets the right answer with
1355 ** ELT signals an error of type TYPE-ERROR when the index argument
1356 is not a valid sequence index;
1357 ** LOOP signals (at macroexpansion time) an error of type
1358 PROGRAM-ERROR when duplicate variable names are found;
1359 ** LOOP supports DOWNTO and ABOVE properly; (thanks to Matthew Danish)
1360 ** FUNCALL of special-operators now cause an error of type
1362 ** PSETQ now works as required in the presence of side-effecting
1363 symbol-macro places;
1364 ** NCONC accepts any object as its last argument;
1365 ** :COUNT argument to sequence functions may be BIGNUM; (thanks to
1367 ** loop-for-as-package does not require a package to be explicitely
1369 ** LOOP WITH now treats NIL in the d-var-spec correctly as an
1371 * fixed bug 166: compiler preserves "there is a way to go"
1372 invariant when deleting code.
1373 * fixed bug 172: macro lambda lists with required arguments after
1374 &REST arguments now cause an error to be signalled. (thanks to
1376 * fixed Entomotomy PEEK-CHAR-WRONGLY-ECHOS-TO-ECHO-STREAM
1377 bug. (thanks to Matthew Danish)
1378 * fixed bug 225: STRING-STREAM is now a class. (reported by Gilbert
1380 * fixed bug 136: CALL-NEXT-METHOD no longer gets confused when
1381 arguments are lexically rebound. (thanks to Gerd Moellmann and
1383 * fixed bug 194: error messages are now more informative when there
1384 is no primary method applicable in a call to a generic
1385 function. (thanks to Gerd Moellmann)
1386 * fixed bug in command line argument checking (thanks to Julian
1388 * fixed bug in COUNT-IF, making it handle :FROM-END correctly
1389 (thanks to Matthew Danish)
1390 * incremented fasl file version number, because of the
1391 SXHASH-related changes in the layout of CLOS data structures
1393 changes in sbcl-0.7.9 relative to sbcl-0.7.8:
1394 * minor incompatible change: The runtime (the Unix executable named
1395 "sbcl") is now much pickier about the .core files it will load.
1396 Essentially it now requires .core files to descend from the same
1397 build (not just the same sources or LISP-IMPLEMENTATION-VERSION)
1398 as the runtime does. (The intent is to prevent the crashes which
1399 can occur, and which can even be reported as mysterious failures,
1400 when people patch the sources or change the build parameters
1401 without changing LISP-IMPLEMENTATION-VERSION, then mix and match
1402 sbcl and .core files.)
1403 * fixed bug: VALUES-LIST is no longer optimized away.
1404 * fixed bug 142: The FFI conversion of C string values to Lisp
1405 string values no longer conses excessively. (thanks to Nathan
1406 Froyd porting Raymond Toy's fix to CMU CL)
1407 * began to systematize and improve MOP conformance in PCL (thanks to
1408 Nathan Froyd, Gerd Moellman and Pierre Mai):
1409 ** SLOT-DEFINITION-ALLOCATION now returns :CLASS, not the class
1411 ** GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER is now implemented;
1412 ** FINALIZE-INHERITANCE is now called on class finalization;
1413 ** DOCUMENTATION and (SETF DOCUMENTATION) now have the correct
1414 argument precedence order.
1415 * fixed bug 202: The compiler no longer fails on functions whose
1416 derived types contradict their declared type.
1417 * DEFMACRO is implemented via EVAL-WHEN instead of IR1 translation,
1418 so it can be non-toplevel.
1419 * The fasl file version number has changed (because of the new
1420 implementation of DEFMACRO).
1421 * (mostly) fixed bugs 46b and 46c: sequence functions now check, in
1422 safe code, that any length requirement by their type-specifier
1423 argument is valid. The exceptions to this are described in bug
1425 * fixed bugs 46h and 46i: TWO-WAY- and CONCATENATED-STREAM creation
1426 functions now check the types of their inputs as required by ANSI.
1427 * fixed bug 48c: SYMBOL-MACROLET signals PROGRAM-ERROR when an
1428 introduced symbol is DECLAREd to be SPECIAL.
1429 * fixed reading of (COMPLEX DOUBLE-FLOAT) literals from fasl files
1430 * fixed bug: :COUNT argument to sequence functions may be negative
1431 * fixed bug: body of DO-SYMBOLS may contain declarations
1432 * fixed bug: PUSHNEW now evaluates its arguments from left to right
1433 (reported by Paul F. Dietz, fixed by Gerd Moellman)
1434 * fixed bug: PUSH, PUSHNEW and POP now evaluate a place given by a
1435 symbol macro only once
1436 * fixed printing of call frame when argument list is unavailable
1437 * fixed bug: :ALLOW-OTHER-KEYS is an allowed keyword name
1438 * compiler no longer signals WARNING on unknown keyword
1441 changes in sbcl-0.7.8 relative to sbcl-0.7.7:
1442 * A beta-quality port to the mips architecture running Linux,
1443 based on the old CMUCL backend, has been made. It has been tested
1444 on a big-endian kernel, and works sufficiently well to be able to
1445 rebuild itself; it has not been tested in little-endian mode.
1446 * fixed an inconsistency between gencgc.c and purify.c which made
1447 dumping/loading .core files unreliable
1448 * fixed bug 120a: The compiler now deals correctly with IFs where
1449 the consequent is the same as the alternative, instead of
1450 misderiving the return type. (thanks to Alexey Dejneka)
1451 * fixed bug 113: Logical pathnames are now dumpable (the logical
1452 host is resolved at load-time, throwing an error if it is not
1454 * fixed bug 174: FORMAT's error message is slightly clearer when a
1455 non-printing character is used in a format directive.
1456 * fixed several bugs in compiler checking of type declarations, i.e.
1457 violations of the Python "declarations are assertions" principle
1458 (thanks to Alexey Dejneka)
1459 * fixed several bugs in PCL's error checking (thanks to Gerd
1461 * fixed bug: printing of FILE-ERROR (thanks to Antonio
1463 * fixed bug in compilation of functions as first class values
1464 (thanks to Antonio Martinez-Shotton)
1465 * The compiler's handling TYPE-ERRORs which it can prove will
1466 inevitably happen at runtime has been cleaned up and corrected
1467 in several ways. (thanks to Alexey Dejneka)
1468 * improved argument type checking for various basic arithmetic
1469 operations (MAX, +, LOGXOR, etc.) which have had so much TLC
1470 lavished on them in the past that they can be compiled in many
1471 ways in different special cases
1472 * fixed bug 181: compiler checks validity of user supplied type
1474 * cleaned up code flushing in optimization: Function calls which
1475 should signal errors for safety purposes (e.g. which ANSI says
1476 should signal errors when their arguments are of incorrect type)
1477 are no longer optimized away.
1478 * added new extension: SB-DEBUG:BACKTRACE-AS-LIST
1479 * incremented fasl file version number, because changes in the
1480 implementation of sequence functions like COERCE caused
1481 internal utility functions like COERCE-TO-SIMPLE-VECTOR (used
1482 in old inline expansions) to become undefined. (Actually these
1483 changes were later undone, so we might very well be binary
1484 compatible with 0.7.7 after all, but leaving the version number
1485 incremented seemed like the simplest and most conservative
1488 changes in sbcl-0.7.7 relative to sbcl-0.7.6:
1489 * An alpha-quality port to the parisc architecture running Linux,
1490 based on the old CMUCL backend, has been made. This, even more so
1491 than the other backends, should be considered still a work in
1492 progress; known problems include that the Linux kernel in 64-bit
1493 mode does not propagate the correct sigcontext structure to
1494 userspace, and consequently SBCL on a parisc64 kernel will not
1496 * fixed bug 189: The compiler now respects NOTINLINE declarations for
1497 functions declared in FLET and LABELS. (I.e. "LET conversion" is
1498 suppressed.) Also now that the compiler is looking at declarations
1499 in the environment, it checks optimization declarations as well,
1500 and suppresses inlining when (> DEBUG SPEED).
1501 * More fixes have been made to treatment of floating point exception
1502 treatment and other Unix signals. In particular, floating point
1503 exceptions no longer cause Bus errors on the SPARC/Linux platform.
1504 * The detection and handling of control stack exhaustion (infinite
1505 or very deeply nested recursion) has changed. Stack exhaustion
1506 detection is now done by write-protecting pages at the OS level
1507 and applies at all optimization settings; when found, a
1508 SB-KERNEL:CONTROL-STACK-EXHAUSTED condition (subclass of
1509 STORAGE-CONDITION) is signalled, so stack exhaustion can no longer
1510 be caught using IGNORE-ERRORS.
1511 * Bugs 65, 70, and 109 fixed: The compiler now preserves invariants
1512 correctly when transforming recursive LABELS functions to LETs.
1513 (thanks to Alexey Dejneka)
1514 * Bug 48a./b. fixed: SYMBOL-MACROLET now refuses to bind symbols
1515 that are names of constants or global variables.
1516 * Bug fix: DEFINE-ALIEN-ROUTINE now declaims the correct FTYPE for
1517 alien routines with docstrings.
1518 * Bug 184 fixed: Division of ratios by the integer 0 now signals an
1519 error of type DIVISION-BY-ZERO. (thanks to Wolfhard Buss and
1521 * Bug fix: Errors in PARSE-INTEGER are now of type PARSE-ERROR.
1522 (thanks to Eric Marsden)
1523 * Bug fix: COERCE to (COMPLEX FLOAT) of rationals now returns an
1524 object of type (COMPLEX FLOAT). (thanks to Wolfhard Buss)
1525 * Bug fix: The SPARC backend can now compile functions involving
1526 LOGAND and stack-allocated arguments. (thanks to Raymond Toy)
1527 * Bug fix: We no longer segfault on passing a non-FILE-STREAM stream
1528 to a functions expecting a PATHNAME-DESIGNATOR.
1529 * Bug fix: DEFGENERIC now enforces the ANSI restrictions on its
1530 lambda lists. (thanks to Alexey Dejneka)
1531 * Bug fix: changed encoding of PCL's internal MAKE-INSTANCE
1532 functions so that EXPORTing the name of the class doesn't cause
1533 MAKE-INSTANCE functions from earlier DEFCLASSes to get lost (thanks
1534 to Antonio Martinez for reporting this)
1535 * Bug 192 fixed: The internal primitive DATA-VECTOR-REF can now be
1536 constant-folded without failing an assertion. (thanks to Einar
1537 Floystad Dorum for reporting this)
1538 * Bugs 123 and 165 fixed: array specializations on as-yet-undefined
1539 types are now dealt with more correctly by the compiler.
1540 * Minor incompatible change: COMPILE-FILE-PATHNAME now merges its
1541 OUTPUT-FILE argument with its INPUT-FILE argument, resulting in
1542 behaviour analogous to RENAME-FILE. This puts its behaviour more
1543 in line with ANSI's wording on COMPILE-FILE-PATHNAME. (thanks to
1545 * The fasl file version number has changed again. (because of the
1546 bug fix involving the names of PCL MAKE-INSTANCE functions)
1548 changes in sbcl-0.7.6 relative to sbcl-0.7.5:
1549 * bug fix: Floating point exceptions are treated much more
1550 consistently on the x86/Linux and PPC/Linux platforms.
1551 * Array initialization with :INITIAL-ELEMENT is now much faster for
1552 cases when the compiler cannot open code the array creation, but
1553 does know what the UPGRADED-ARRAY-ELEMENT-TYPE will be. General
1554 array accesses have also seen a speed increase.
1555 * bug fix: LOAD :IF-DOES-NOT-EXIST NIL now works when file type is
1556 specified. (This was at the root of some bad interactions between
1557 SBCL and ILISP: thanks to Gregory Wright for diagnosing this and
1559 * bug fix: Internal error arguments for undefined functions are now
1560 computed correctly on the PPC/Linux platform.
1561 * bug fix: Bad &REST syntax is now checked correctly. (thanks to
1562 Raymond Toy's patch for CMU CL)
1563 * Support for the Solaris 9 operating environment has been included
1564 (thanks to Daniel Merritt)
1565 * A very ugly but hopefully complete draft of the missing FFI chapter
1566 of the manual has been created by reformatting the corresponding
1567 CMU CL manual chapter into (currently very ugly and incoherent)
1568 DocBook and bringing it up to date for SBCL behavior. Thus, the
1569 manual is now essentially complete, at least by my extreme
1570 once-and-only-once standards, whereby it's acceptable to refer to
1571 the doc strings of SB-EXT functions as the primary documentation.
1572 * The fasl file version number has changed again, due to cleanup of
1573 (user-invisible) bitrotted stuff. (E.g. *!INITIAL-FDEFN-OBJECTS*
1574 is no longer a static symbol.)
1576 changes in sbcl-0.7.5 relative to sbcl-0.7.4:
1577 * SBCL now builds with OpenMCL (version 0.12) as the
1578 cross-compilation host; also, more progress has been made toward
1579 bootstrapping under CLISP.
1580 * SBCL now runs on the Tru64 (aka OSF/1) operating system on the
1582 * bug 158 fixed: The compiler can now deal with integer loop
1583 increments different from 1; fixing this turned out also to fix
1585 * bug 169 fixed: no more bogus warnings about using lexical bindings
1586 despite the presence of perfectly good SPECIAL declarations (thanks
1587 to David Lichteblau)
1588 * bug 175 fixed: CHANGE-CLASS is now more ANSI-conforming,
1589 accepting initargs. (thanks to Espen Johnsen and Pierre Mai)
1590 * bug 179 fixed: DIRECTORY can now deal with filenames with pattern
1592 * bug 180 fixed: Method combination specifications no longer ignore
1593 the :MOST-SPECIFIC-LAST option. (thanks to Pierre Mai)
1594 * bug fix: Structure type predicate functions now check their argument
1595 count as they should.
1596 * bug fix: Classes with :METACLASS STRUCTURE-CLASS now print
1597 correctly. (thanks to Pierre Mai)
1598 * minor incompatible change: The --noprogrammer option is deprecated
1599 in favor of the new --disable-debugger option, which is very similar.
1600 (The major difference is that it takes effect at a slightly different
1601 time at startup, causing handling of errors in --sysinit and
1602 --userinit files will be affected differently.) The
1603 SB-EXT:DISABLE-DEBUGGER and SB-EXT:ENABLE-DEBUGGER functions have
1604 been added to allow this functionality to be controlled from ordinary
1605 Lisp code. (ENABLE-DEBUGGER should help people like the Debian
1606 maintainers, who might want to run non-interactive scripts to
1607 build SBCL cores which will later be used interactively.)
1608 * minor incompatible change: The LOAD function no longer, when given
1609 a wild pathname to load, loads all files matching that pathname.
1610 Instead, an error of type FILE-ERROR is signalled.
1612 changes in sbcl-0.7.4 relative to sbcl-0.7.3:
1613 * bug 147 fixed: The compiler preserves its block link/count
1614 invariants more correctly now so that it doesn't crash. (thanks
1616 * Dynamic loading of object files in OpenBSD is now supported. (thanks
1618 * COMPILE now works correctly on macros. (thanks to Matthias Hoelzl)
1619 * GET-MACRO-CHARACTER and SET-MACRO-CHARACTER now represent
1620 no-value-for-this-character as NIL (as specified by ANSI).
1621 * HOST-NAMESTRING on physical pathnames now returns a string that is
1622 valid as a host argument to MERGE-PATHNAMES and to MAKE-PATHNAME.
1623 (thanks to Christophe Rhodes)
1624 * The Alpha port handles icache flushing more correctly. (thanks to
1626 * More progress has been made toward bootstrapping under CLISP. (thanks
1627 to Christophe Rhodes)
1628 * The fasl file format has changed again, because dynamic loading
1629 on OpenBSD (which has non-ELF object files) motivated some cleanups
1630 in the way that foreign symbols are transformed and passed around.
1631 * minor incompatible change: The ASCII RUBOUT character, (CHAR-CODE 127),
1632 is no longer treated as whitespace by the reader, but instead as
1633 an ordinary character. Thus e.g. (READ-FROM-STRING "A
\7fB") returns
1634 |A
\7fB|, instead of A as it used to.
1636 changes in sbcl-0.7.3 relative to sbcl-0.7.2:
1637 * ANSI's DEFINE-SYMBOL-MACRO is now supported. (thanks to Nathan
1638 Froyd porting CMU CL code originally by Douglas Thomas Crosher)
1639 * SBCL now runs on the PPC archtiecture under Linux. It actually did
1640 this as of 0.7.1.45, but was left out of the previous news section
1641 (thanks to Dan Barlow)
1642 * SBCL now runs on the Solaris operating system on SPARC architectures
1643 (thanks to Christophe Rhodes's port of the CMUCL runtime)
1644 * cleanups to the runtime on SPARC, both Linux and Solaris, and for
1645 gcc>=3 (thanks to Nathan Froyd and Ingvar Mattsson)
1646 * SPARC backend cleanups, allowing builds of cores optimized for V8
1647 and V9 SPARCS, and also emission of code targeted to a particular
1648 backend chosen at runtime (thanks to Christophe Rhodes and Raymond
1650 * SBCL is closer to bootstrapping under CLISP, thanks to various
1651 fixes by Christophe Rhodes.
1652 * The fasl file format has changed again, to allow the compiler's
1653 INFO database to support symbol macros.
1654 * The user manual (in doc/) is formatted into HTML more nicely.
1655 (thanks to coreythomas)
1656 * The system is smarter about SUBTYPEP relationships, especially
1657 those involving NOT types (including types such as ATOM which are
1658 represented internally using NOT types). Thus SUBTYPEP is less
1659 likely to return (VALUES NIL NIL) in general, and in particular
1660 bugs 58 and (the remaining bits of) bug 50 are fixed. (thanks to
1662 * The fasl file format has changed again, because the internal
1663 representation of types now includes a new slot to support the new
1664 SUBTYPEP-of-NOT-types logic.
1665 * (not a change in the main branch of SBCL, but a related prototype
1666 which can hopefully be merged into the main branch of SBCL in the
1667 future:) Brian Spilsbury has produced a Unicode-enabled variant of
1668 sbcl-0.7.0, available as a patch against sbcl-0.7.0 at
1669 <http://designix.com.au/brian/SBCL/sbcl-0.7.0-unicode.p0.gz>.
1670 * Bug 151 fixed: GET-DISPATCH-MACRO-CHAR now returns NIL for undefined
1671 dispatch macro character combinations. (thanks to Alexey Dejneka)
1672 * Bugfix in PARSE-NAMESTRING: we now correctly parse unix namestrings
1673 that superficially look like logical namestrings correctly.
1674 * USER-HOMEDIR-PATHNAME now returns a (physical) pathname that SBCL
1676 * Bugfix in DEFSTRUCT: BOA constructor lambda lists now accept (name
1677 default supplied-p) for &optional and &key arguments. (thanks to
1680 changes in sbcl-0.7.2 relative to sbcl-0.7.1:
1681 * incompatible change: The compiler is now less aggressive about
1682 tail call optimization, doing it only when (> SPACE DEBUG) or
1683 (> SPEED DEBUG). (This is an incompatible change because there are
1684 programs which relied on the old CMU-CL-style behavior to optimize
1685 away their unbounded recursion which will now die of stack overflow.)
1686 * minor incompatible change: The default BYTES-CONSED-BETWEEN-GCS
1687 for non-GENCGC systems has been increased to 20M (since that
1688 seems much closer to the likely performance optimum for modern
1689 systems than the old 4M value was)
1690 * minor incompatible change: new larger values for *DEBUG-PRINT-LENGTH*
1691 and *DEBUG-PRINT-LEVEL*
1692 * SBCL runs on SPARC systems now. (thanks to Christophe Rhodes' port
1693 of CMU CL's support for SPARC, and various endianness and other
1694 SBCL portability fixes due to Christophe Rhodes and Dan Barlow)
1695 * new syntactic sugar for the Unix command line: --load foo.bar is now
1696 an alternate notation for --eval '(load "foo.bar")'.
1698 ** The system now detects stack overflow and handles it gracefully,
1699 at least for (OR (> SAFETY (MAX SPEED SPACE)) (= SAFETY 3))
1700 optimization settings. (This is a good thing in general, and
1701 its introduction in this version should be particularly timely
1702 for anyone whose code fails because of suppression of tail
1704 ** The system now hunts for the C variable "environ" in a more
1705 devious way, to avoid segfaults when the C library version differs
1706 between compile time and run time. (thanks to Christophe Rhodes)
1707 ** INTEGER-valued CATCH tags now work. (thanks to Alexey Dejneka,
1708 and also to Christophe Rhodes for porting the fix to non-X86 CPUs)
1709 ** The compiler no longer issues bogus style warnings for undefined
1710 classes in the same source file as the DEFCLASSes which defined
1711 them. (thanks to Stig E Sandoe for reporting and Martin Atzmueller
1713 ** fixes in CONDITION class precedence list for undefined function
1714 errors (thanks to Alexei Dejneka)
1715 ** *DEFAULT-PATHNAME-DEFAULTS* is used more consistently and
1716 correctly. (thanks to Dan Barlow)
1717 ** portability fixes aiming at bootstrapping under CLISP (thanks
1718 to Dave McDonald and Christophe Rhodes)
1719 ** FORMAT fixes (thanks to Robert Strandh and Dan Barlow)
1720 ** fixes in type translation and and type inference (thanks to
1722 ** fixes to optimizer internal errors (thanks to Alexei Dejneka)
1723 ** various fixes in the new ports (thanks to Dan Barlow)
1724 * several changes related to debugging:
1725 ** suppression of tail recursion, as noted above
1726 ** stack overflow detection, as noted above
1727 ** The default implementation of TRACE has changed. :ENCAPSULATE T
1728 is now the default. (For some time encapsulation has been more
1729 reliable than the breakpoint-based :ENCAPSULATE NIL
1730 implementation, at least on X86 systems; and I just noticed that
1731 encapsulation also seems closer to the spirit of the ANSI
1734 changes in sbcl-0.7.1 relative to sbcl-0.7.0:
1736 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are set
1737 up properly again. (There was a packaging bug in 0.7.0 which
1738 left their definitions in SB-SYS::LOAD-FOREIGN and
1739 SB-SYS::LOAD-1-FOREIGN. LOAD-FOREIGN and LOAD-1-FOREIGN are
1740 vital for most things which interface to C-level interfaces,
1741 like extensions working with sockets or databases or
1742 Perl-compatible regexes or whatever, and the need to fix
1743 this bug is the main reason that 0.7.1 was released so
1745 ** DEFGENERIC is now choosier about the methods it redefines, so that
1746 reLOADing a previously-LOADed file containing DEFGENERICs does
1747 the right thing now. Thus, the Lispy edit/reLOAD-a-little/test
1748 cycle now works as it should. (thanks to Alexey Dejneka)
1749 ** Bug 106 (types (COMPLEX FOO) where FOO is an obscure type) was
1750 fixed by Christophe Rhodes. (He actually submitted this patch
1751 months ago, and I delayed until after 0.7.0.)
1752 ** Bug 111 (internal compiler confusion about runtime checks on
1753 FUNCTION types) was fixed by Alexey Dejneka.
1754 * Some internal cleanups (getting rid of variables which aren't
1755 needed now that the byte interpreter is gone) caused the fasl
1756 file format number to change again.
1758 changes in sbcl-0.7.0 relative to sbcl-0.6.13:
1759 * major incompatible change: The default fasl file extension, i.e. the
1760 default extension for files produced by COMPILE-FILE, has changed
1761 to ".fasl", for all architectures. (No longer ".x86f" and ".axpf".)
1763 ** There are many changes in the implementation of the compiler.
1764 SBCL is now essentially a compiler-only implementation of ANSI
1765 Common Lisp. EVAL still "interprets" a few special cases, but
1766 almost all the interesting cases are handled by creating
1767 a LAMBDA expression, calling COMPILE on it, then calling
1768 FUNCALL on the result.
1769 ** The EVAL-WHEN code has been rewritten to be ANSI-compliant, and
1770 various related bugs (IR1-1, IR1-2, IR1-3, IR1-3a) have gone away.
1771 Since the code is newer, there might still be some new bugs
1772 (though not as many as before Martin Atzmueller's fixes:-). But
1773 the new code is substantially simpler and clearer, and hopefully
1774 any remaining bugs will be simpler, less fundamental, and more
1775 fixable then the bugs in the old code.
1776 ** The revised compiler is still a little unsteady on its feet.
1778 *** The debugging information it produces (particularly the names
1779 of FUNCTION objects) is sometimes much less useful than what
1780 the old compiler produced.
1781 *** The support for inlining FOO when you (DECLAIM (INLINE FOO))
1782 then do (DEFUN FOO ..) in a non-null lexical environment (e.g.
1783 within a MACROLET) has been temporarily weakened.
1784 ** There are new compiler optimizations for various functions:
1785 *** the sequence functions FIND, POSITION, FIND-IF, POSITION-IF,
1786 FIND-IF-NOT, POSITION-IF-NOT, and FILL
1787 *** the math functions TRUNCATE, FLOOR, and CEILING
1788 *** the function-of-all-trades COERCE
1789 Mostly these should be transparent, but there's one
1790 potentially-annoying problem (bug 117): when the compiler
1791 inline-expands a function and does type analysis on the result,
1792 it can create control paths which have type mismatches, and
1793 when it can't prove that those control paths aren't taken,
1794 it will issue WARNINGs about the type mismatches. This is
1795 a particular problem in practice for the new sequence functions.
1796 It's not clear how this should be fixed, and for now, a
1797 workaround is given in the entry for 117 in the BUGS file.
1798 ** (Because of the interaction between the two previous items --
1799 occasional inlining problems and new inline expansions -- some
1800 of the new sequence function optimizations won't really kick in
1801 completely until debugging information, and then inlining, are
1802 straightened out in some future version.)
1803 * minor incompatible changes:
1804 ** As part of a bug fix by Christophe Rhodes to DIRECTORY behavior,
1805 DIRECTORY no longer implicitly promotes NIL slots of its
1806 pathname argument to :WILD. In particular, when you ask for the
1807 contents of a directory (which you used to be able to do without
1808 explicit wildcards, e.g. (DIRECTORY "/tmp/")) you now need to use
1809 explicit wildcards, e.g. (DIRECTORY "/tmp/*.*").
1810 ** changes in behavior that ANSI explicitly defines to be
1811 implementation dependent:
1812 *** The new compiler-only implementation still conforms with ANSI,
1813 but acts a little different than before. Besides the obvious
1814 changes in performance tradeoffs (that the cost per form passed
1815 to EVAL has gone up, and the cost per form executed by EVAL
1816 has gone down), the behavior of the system changes a little
1817 because there are no longer any interpreted function objects.
1818 COMPILED-FUNCTION-P is now synonymous with FUNCTIONP, and
1819 e.g. doing COMPILE on the output of interactive DEFUN is
1821 *** The value of INTERNAL-TIME-UNITS-PER-SECOND has been increased
1823 *** The default for the USE list in MAKE-PACKAGE and DEFPACKAGE
1824 has changed from (:CL) to NIL.
1825 *** The CHAR-NAME of unprintable ASCII characters which, unlike
1826 e.g. #\Newline and #\Tab, don't have names specified in the
1827 ANSI Common Lisp standard, is now based on their ASCII symbolic
1828 names (#\Nul, #\Soh, #\Stx, etc.) The old CMU-CL-style names
1829 (#\Null, #\^a, #\^b, etc.) are still accepted by NAME-CHAR, but
1830 are no longer used for output.
1831 ** changes in internal implementation constants:
1832 *** The default value of *BYTES-CONSED-BETWEEN-GCS* has doubled, to
1833 4 million. (If your application spends a lot of time GCing and
1834 you have a lot of RAM, you might want to experiment with
1835 increasing it even more.)
1836 ** The SB-C-CALL package has been merged into the SB-ALIEN package.
1837 However, almost all old code should still continue to work without
1838 immediate update, as SB-C-CALL is now a (deprecated) nickname
1840 ** Old operator names in the style DEF-FOO are now deprecated in
1841 favor of new corresponding names DEFINE-FOO, for consistency with
1842 the naming convention used in the ANSI standard (DEFSTRUCT, DEFVAR,
1843 DEFINE-CONDITION, DEFINE-MODIFY-MACRO..). This mostly affects
1844 internal symbols, but a few supported extensions like
1845 SB-ALIEN:DEF-ALIEN-FUNCTION are also affected. (So e.g.
1846 DEF-ALIEN-FUNCTION becomes DEFINE-ALIEN-FUNCTION.)
1847 ** The debugger prompt sequence now goes "5]", "5[2]", "5[3]",
1848 etc. as you get deeper into recursive calls to the debugger
1849 command loop, instead of the old "5]", "5]]", "5]]]"
1850 sequence. (I was motivated to do this when squabbles between
1851 ILISP and SBCL left me very deeply nested in the debugger. In the
1852 short term, this change will probably provoke more ILISP/SBCL
1853 squabbles, but hopefully it will be an improvement in the long run.)
1854 ** SB-ALIEN:DEFINE-ALIEN-FUNCTION (also known by the old deprecated
1855 name DEF-ALIEN-FUNCTION) now does DECLAIM FTYPE for the defined
1856 function, since declaiming return types involving aliens is
1857 (1) annoyingly messy to do by hand and (2) vital to efficient
1858 compilation of code which calls such functions.
1859 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are no
1860 longer reexported by the SB-EXT package. They're solely useful
1861 for alien code, so it seems more logical that you should get
1862 them from the SB-ALIEN package, not in SB-EXT.
1863 ** :SB-CONSTRAIN-FLOAT-TYPE, :SB-PROPAGATE-FLOAT-TYPE, and
1864 :SB-PROPAGATE-FUN-TYPE are no longer considered to be optional
1865 features. Instead, the code that they used to control is always
1866 built into the system.
1867 * many other bug fixes
1868 ** DEFSTRUCT and DEFCLASS have been substantially updated to take
1869 advantage of the new EVAL-WHEN stuff and to clean them up in
1870 general, and they are now more ANSI-compliant in a number of
1871 ways. Martin Atzmueller is responsible for a lot of this.
1872 ** Besides the cleanups discussed above, Martin Atzmueller fixed
1874 *** fixes in READ-SEQUENCE and WRITE-SEQUENCE
1875 *** correct ERROR type for various file operations
1876 *** some fixes for Lisp streams
1877 *** DEFMETHOD syntax checking
1878 *** changing old weird representation of debug information as
1879 strings (which, among their other deficiencies, don't transform
1880 correctly when you rename packages, and don't change their
1881 print representation when you change things like *PACKAGE*
1882 and *PRINT-LENGTH*) to symbols and lists of symbols
1883 He also made several improvements and fixed several bugs in DESCRIBE.
1884 ** Alexey Dejneka fixed many bugs, including classic bugs and bugs he
1886 *** misbehavior of WRITE-STRING/WRITE-LINE
1887 *** LOOP over keys of a hash table, LOOP bugs 49b and 81 and 103,
1888 and several other LOOP problems as well
1889 *** DIRECTORY when similar filenames are present
1890 *** DEFGENERIC with :METHOD options
1891 *** bug 126, in (MAKE-STRING N :INITIAL-ELEMENT #\SPACE))
1892 *** bug in the optimization of ARRAY-ELEMENT-TYPE
1893 *** argument ordering in FIND with :TEST option
1894 *** mishandled package designator argument in APROPOS-LIST
1895 *** various problems in the backquote readmacro
1896 *** a bug in APROPOS
1897 *** probably some others that I'm not describing very well here,
1898 since the CVS log documents them by reference to sbcl-devel
1899 messages, and the SourceForge archives aren't working well.:-(
1900 ** Dan Barlow improved the Alpha port (and is making progress on the
1901 PPC port, for those of you who think different).
1902 ** Besides the DIRECTORY fixes and changes mentioned elsewhere,
1903 Christophe Rhodes cleaned up the system self-test scripts (in tests/*),
1904 contributed the optimization of FIND-IF-NOT and POSITION-IF-NOT, and
1905 continues to work on the SPARC port (for those of you in a position
1906 to look down upon our little PC-compatible boxes from a great height).
1907 ** PPRINT-LOGICAL-BLOCK now copies the *PRINT-LINES* value on entry
1908 and uses that copy, rather than the current dynamic value, when
1909 it's trying to decide whether to truncate output. Thus e.g.
1910 (let ((*print-lines* 50))
1911 (pprint-logical-block (stream nil)
1913 (let ((*print-lines* 8))
1914 (print (aref possiblybigthings i) stream)))))
1915 should now truncate the logical block only at 50 lines, instead of
1916 often truncating it at 8 lines, as it did before.
1917 * The doc/cmucl/ directory, containing old CMU CL documentation
1918 from the time of the fork, is no longer part of the base system.
1919 SourceForge has shut down its anonymous FTP service, and with it
1920 my original plan for distributing the old CMU CL documentation
1921 there. For now, if you need these files you can download an old
1922 SBCL source release and extract them from it.
1923 * The fasl file version number changed again, for dozens of reasons,
1924 some of which are apparent above.
1926 changes in sbcl-0.6.13 relative to sbcl-0.6.12:
1927 * a port to the Compaq/DEC Alpha CPU, thanks to Dan Barlow
1928 * Martin Atzmueller ported Tim Moore's marvellous CMU CL DISASSEMBLE
1929 patch, so that DISASSEMBLE output is much nicer.
1930 * The code in the SB-PROFILE package now seems reasonably stable.
1931 I still haven't decided what the final interface should look like
1932 (I'd like PROFILE to interact cleanly with TRACE, since both
1933 facilities use function encapsulation) but if you have a need
1934 for profiling now, you can probably use it successfully with
1935 the current CMU-CL-style interface.
1936 * Pathnames and *DEFAULT-DIRECTORY-DEFAULTS* are much more
1937 ANSI-compliant, thanks to various fixes and tests from Dan Barlow.
1938 Also, at Dan Barlow's suggestion, TRUENAME on a dangling symbolic
1939 link now returns the dangling link itself, and for similar
1940 reasons, TRUENAME on a cyclic symbolic link returns the cyclic
1941 link itself. (In these cases the old code signalled an error and
1942 looped endlessly, respectively.) Thus, DIRECTORY now works even
1943 in the presence of dangling and cyclic symbolic links.
1944 * Compiler trace output (the :TRACE-FILE option to COMPILE-FILE)
1945 is now a supported extension again, since the consensus on
1946 sbcl-devel was that it can be useful for ordinary development
1947 work, not just for debugging SBCL itself.
1948 * The default for SB-EXT:*DERIVE-FUNCTION-TYPES* has changed to
1949 NIL, i.e. ANSI behavior, i.e. the compiler now recognizes
1950 that currently-defined functions might be redefined later with
1951 different return types.
1952 * Hash tables can be printed readably, as inspired by CMU CL code
1953 of Eric Marsden and SBCL code of Martin Atzmueller.
1954 * better error handling in CLOS method combination, thanks to
1955 Martin Atzmueller porting Pierre Mai's CMU CL patches
1956 * more overflow fixes for >16Mbyte I/O buffers
1957 * A bug in READ has been fixed, so that now a single Ctrl-D
1958 character suffices to cause end-of-file on character streams.
1959 In particular, now you only need one Ctrl-D at the command
1960 line (not two) to exit SBCL.
1961 * fixed bug 26: ARRAY-DISPLACEMENT now returns (VALUES NIL 0) for
1963 * fixed bug 107 (reported as a CMU CL bug by Erik Naggum on
1964 comp.lang.lisp 2001-06-11): (WRITE #*101 :RADIX T :BASE 36) now
1965 does the right thing.
1966 * The implementation of some type tests, especially for CONDITION
1967 types, is now tidier and maybe faster, due to CMU CL code
1968 originally by Douglas Crosher, ported by Martin Atzmueller.
1969 * Some math functions have been fixed, and there are new
1970 optimizers for deriving the types of COERCE and ARRAY-ELEMENT-TYPE,
1971 thanks to Raymond Toy's work on CMU CL, ported by Martin Atzmueller.
1972 * (There are also some new optimizers in contrib/*-extras.lisp. Those
1973 aren't built into sbcl-0.6.13, but are a sneak preview of what's
1974 likely to be built into sbcl-0.7.0.)
1975 * A bug in COPY-READTABLE was fixed. (Joao Cachopo's patch to CMU
1976 CL, ported to SBCL by Martin Atzmueller)
1977 * DESCRIBE now gives more information in some cases. (Pierre Mai's
1978 patch to CMU CL, ported to SBCL by Martin Atzmueller)
1979 * Martin Atzmueller and Bill Newman fixed some bugs in INSPECT.
1980 * There's a new slam.sh hack to shorten the edit/compile/debug
1981 cycle for low-level changes to SBCL itself, and a new
1982 :SB-AFTER-XC-CORE target feature to control the generation of
1983 the after-xc.core file needed by slam.sh.
1984 * minor incompatible change: The ENTRY-POINTS &KEY argument to
1985 COMPILE-FILE is no longer supported, so that now every function
1986 gets an entry point, so that block compilation looks a little
1987 more like the plain vanilla ANSI section 3.2.2.3 scheme.
1988 * minor incompatible change: SB-EXT:GET-BYTES-CONSED now
1989 returns the number of bytes consed since the system started,
1990 rather than the number consed since the first time the function
1991 was called. (The new definition parallels ANSI functions like
1992 CL:GET-INTERNAL-RUN-TIME.)
1993 * minor incompatible change: The old CMU-CL-style DIRECTORY options,
1994 i.e. :ALL, :FOLLOW-LINKS, and :CHECK-FOR-SUBDIRS, are no longer
1995 supported. Now DIRECTORY always does the abstract Common-Lisp-y
1996 thing, i.e. :ALL T :FOLLOW-LINKS T :CHECK-FOR-SUBDIRS T.
1997 * Fasl file version numbers are now independent of the target CPU,
1998 since historically most system changes which required version
1999 number changes have affected all CPUs equally. Similarly,
2000 the byte fasl file version is now equal to the ordinary
2003 changes in sbcl-0.6.12 relative to sbcl-0.6.11:
2004 * incompatible change: The old SB-EXT:OPTIMIZE-INTERFACE declaration
2005 is no longer recognized. I apologize for this, because it was
2006 listed in SB-EXT as a supported extension, but I found that
2007 its existing behavior was poorly specified, as well as incorrectly
2008 specified, and it looked like too much of a mess to straighten it
2009 out. I have enough on my hands trying to get ANSI stuff to work..
2010 * many patches ported from CMU CL by Martin Atzmueller, with
2011 half a dozen bug fixes in pretty-printing and the debugger, and
2012 half a dozen others elsewhere
2013 * fixed bug 13: Floating point infinities are now supported again.
2014 They might still be a little bit flaky, but thanks to bug reports
2015 from Nathan Froyd and CMU CL patches from Raymond Toy they're not
2016 as flaky as they were.
2017 * The --noprogrammer command line option is now supported. (Its
2018 behavior is slightly different in detail from what the old man
2019 page claimed it would do, but it's still appropriate under the
2020 same circumstances that the man page talks about.)
2021 * The :SB-PROPAGATE-FLOAT-TYPE and :SB-PROPAGATE-FUN-TYPE features
2022 are now supported, and enabled by default. Thus, the compiler can
2023 handle many floating point and complex operations much less
2024 inefficiently. (Thus e.g. you can implement a complex FFT
2026 * The compiler now detects type mismatches between DECLAIM FTYPE
2027 and DEFUN better, and implements CHECK-TYPE more correctly, and
2028 SBCL builds under CMU CL again despite its non-ANSI EVAL-WHEN,
2029 thanks to patches from Martin Atzmueller.
2030 * various fixes to make the cross-compiler more portable to
2031 ANSI-conforming-but-different cross-compilation hosts (notably
2032 Lispworks for Windows, following bug reports from Arthur Lemmens)
2033 * A bug in READ-SEQUENCE for CONCATENATED-STREAM, and a gross
2034 ANSI noncompliance in DEFMACRO &KEY argument parsing, have been
2035 fixed thanks to Pierre Mai's CMU CL patches.
2036 * fixes to keep the system from overflowing internal counters when
2037 it tries to use i/o buffers larger than 16M bytes
2038 * fixed bug 45a: Various internal functions required to support
2039 complex special functions have been merged from CMU CL sources.
2040 (When I was first setting up SBCL, I misunderstood a compile-time
2041 conditional #-OLD-SPECFUN, and so accidentally deleted them.)
2042 * improved support for type intersection and union, fixing bug 12
2043 (e.g., now (SUBTYPEP 'KEYWORD 'SYMBOL)=>T,T) and some other
2044 more obscure bugs as well
2045 * some steps toward byte-compiling non-performance-critical
2046 parts of the system, courtesy of patches from Martin Atzmueller
2047 * Christophe Rhodes has made some debian packages of sbcl at
2048 <http://www-jcsu.jesus.cam.ac.uk/ftp/pub/debian/lisp>.
2049 From his sbcl-devel e-mail of 2001-04-08 they're not completely
2050 stable, but are nonetheless usable. When he's ready, I'd be happy
2051 to add them to the SourceForge "File Releases" section. (And if
2052 anyone wants to do RPMs or *BSD packages, they'd be welcome too.)
2053 * new fasl file format version number (because of changes in
2054 internal representation of (OR ..) types to accommodate the new
2055 support for (AND ..) types, among other things)
2057 changes in sbcl-0.6.11 relative to sbcl-0.6.10:
2058 * Martin Atzmueller pointed out that bugs #9 and #25 are gone in
2060 * bug 34 fixed by Martin Atzmueller: dumping/loading instances works
2062 * fixed bug 40: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE,
2063 and UPGRADED-COMPLEX-PART-TYPE now work better with of compound
2064 types built from undefined types, e.g. '(VECTOR SOME-UNDEF-TYPE).
2065 * DESCRIBE now works on structure objects again.
2066 * Most function call argument type mismatches are now handled as
2067 STYLE-WARNINGs instead of full WARNINGs, since the compiler doesn't
2068 know whether the function will be redefined before the call is
2069 executed. (The compiler could flag local calls with full WARNINGs,
2070 as per the ANSI spec "3.2.2.3 Semantic Constraints", but right now
2071 it doesn't keep track of enough information to know whether calls
2072 are local in this sense.)
2073 * Compiler output is now more verbose, with messages truncated
2074 later than before. (There should be some supported way for users
2075 to override the default verbosity, but I haven't decided how to
2076 provide it yet, so this behavior is still controlled by the internal
2077 SB-C::*COMPILER-ERROR-PRINT-FOO* variables in
2078 src/compiler/ir1util.lisp.)
2079 * Fasl file format version numbers have increased again, because
2080 support for the Gray streams extension changes the layout of the
2081 system's STREAM objects.
2082 * The Gray subclassable streams extension now works, thanks to a
2083 patch from Martin Atzmueller.
2084 * The full LOAD-FOREIGN extension (not just the primitive
2085 LOAD-FOREIGN-1) now works, thanks to a patch from Martin Atzmueller.
2086 * The default behavior of RUN-PROGRAM has changed. Now, unlike CMU CL
2087 but like most other programs, it defaults to copying the Unix
2088 environment from the original process instead of starting the
2089 new process in an empty environment.
2090 * Extensions which manipulate the Unix environment now support
2091 an :ENVIRONMENT keyword option which doesn't smash case or
2092 do other bad things. The CMU-CL-style :ENV option is retained
2093 for porting convenience.
2094 * LOAD-FOREIGN (and LOAD-1-FOREIGN) now support logical pathnames,
2095 as per Daniel Barlow's suggestion and Martin Atzmueller's patch
2097 changes in sbcl-0.6.10 relative to sbcl-0.6.9:
2099 * A patch from Martin Atzmueller seems to have solved the SIGINT
2100 problem, and as far as we know, signal-handling now works cleanly.
2101 (If you find any new bugs, please report them!)
2102 * The system no longer defaults Lisp source file names to types
2103 ".l", ".cl", or ".lsp", but only to ".lisp".
2104 * The compiler no longer uses special default file extensions for
2105 byte-compiled code. (The ANSI definition of COMPILE-FILE-PATHNAME
2106 seems to expect a single default extension for all compiled code,
2107 and there's no compelling reason to try to stretch the standard
2108 to allow two different extensions.) Instead, byte-compiled files
2109 default to the same extension as native-compiled files.
2110 * Fasl file format version numbers have increased again, because
2111 a rearrangement of internal implementation packages made some
2112 dumped symbols in old fasl files unreadable in new cores.
2113 * DECLARE/DECLAIM/PROCLAIM logic is more nearly ANSI in general, with
2114 many fewer weird special cases.
2115 * Bug #17 (differing COMPILE-FILE behavior between logical and
2116 physical pathnames) has been fixed, and some related misbehavior too,
2117 thanks to a patch from Martin Atzmueller.
2118 * Bug #30 (reader problems) is gone, thanks to a CMU CL patch
2119 by Tim Moore, ported to SBCL by Martin Atzmueller.
2120 * Martin Atzmueller fixed several filesystem-related problems,
2121 including bug #36, in part by porting CMU CL patches, which were
2122 written in part by Paul Werkowski.
2123 * More compiler warnings in src/runtime/ are gone, thanks to
2124 more patches from Martin Atzmueller.
2125 * Martin Atzmueller pointed out that bug 37 was fixed by his patches
2128 changes in sbcl-0.6.9 relative to sbcl-0.6.8:
2130 * DESCRIBE now works on CONDITION objects.
2131 * The debugger now handles errors which arise when trying to print
2132 *DEBUG-CONDITION*, so that it's less likely to fall into infinite
2134 * The build system now uses an additional file, customize-target-features.lisp,
2135 to allow local modifications to the target *FEATURES* list. (The point of
2136 this is that now I can set up a custom configuration, e.g. with :SB-SHOW
2137 debugging features enabled, without having to worry about propagating it
2138 into everyone's system when I do a "cvs update".) When no
2139 customize-target-features.lisp file exists, the target *FEATURES* list
2140 should be constructed the same way as before.
2141 * fixed bugs in DEFCONSTANT ANSI-compatibility:
2142 ** DEFCONSTANT now tests reassignments using EQL, not EQUAL, in order to
2143 warn about behavior which is undefined under the ANSI spec. Note: This
2144 is specified by ANSI, but it's not very popular with programmers.
2145 If it causes you problems, take a look at the new SB-INT:DEFCONSTANT-EQX
2146 macro in the SBCL sources for an example of a workaround which you
2147 might use to make portable ANSI-standard code which does what you want.
2148 ** DEFCONSTANT's implementation is now based on EVAL-WHEN instead of on
2149 pre-ANSI IR1 translation magic, so it does the ANSI-specified thing
2150 when it's used as a non-toplevel form. (This is required in order
2151 to implement the DEFCONSTANT-EQX macro.)
2152 ** (DEFCONSTANT X 1) (DEFVAR X) (SETF X 2) no longer "works".
2153 ** Unfortunately, non-toplevel DEFCONSTANT forms can still do some
2154 funny things, due to bugs in the implementation of EVAL-WHEN
2155 (bug #IR1-3). This probably won't be fixed until 0.7.x. (Fortunately,
2156 non-toplevel DEFCONSTANTs are uncommon.)
2157 * The core file version number and fasl file version number have been
2158 incremented, because the old noncompliant DEFCONSTANT behavior involved
2159 calling functions which no longer exist, and because I also took the
2160 opportunity to chop an unsupported slot out of the DEBUG-SOURCE structure.
2161 * fixed bug 1 (error handling before read-eval-print loop starts), and
2162 redid debugger restarts and related debugger commands somewhat while
2164 ** The QUIT debugger command is gone, since it did something
2165 rather different than the SB-EXT:QUIT command, and since it never
2166 worked properly outside the main toplevel read/eval/print loop.
2167 Invoking the new TOPLEVEL restart provides the same functionality.
2168 ** The GO debugger command is also gone, since you can just invoke
2169 the CONTINUE restart directly instead.
2170 ** The TOP debugger command is also gone, since it's redundant with the
2171 FRAME 0 command, and since it interfered with abbreviations for the
2173 * The system now recovers better from non-PACKAGE values of the *PACKAGE*
2175 * The system now understands compound CONS types (e.g. (CONS FIXNUM T))
2176 as required by ANSI. (thanks to Douglas Crosher's CMU CL patches, with
2177 some porting work by Martin Atzmueller)
2178 * Martin Atzmueller reviewed the CMU CL mailing lists and came back
2179 with a boatload of patches which he ported to SBCL. Now that those
2181 ** The system tries to make sure that its low-priority messages
2182 are prefixed by semicolons, to help people who like to use
2183 syntax highlighting in their ILISP buffer. (This patch
2184 was originally due to Raymond Toy.)
2185 ** The system now optimizes INTEGER-LENGTH better, thanks to more
2186 patches originally written by Raymond Toy.
2187 ** The compiler understands coercion between single-value and
2188 multiple-VALUES type expressions better, getting rid of some very
2189 weird behavior, thanks to patches originally by Robert MacLachlan
2190 and Douglas Crosher.
2191 ** The system understands ANSI-style non-KEYWORD &KEY arguments in
2192 lambda lists, thanks to a patch originally by Pierre Mai.
2193 ** The system no longer bogusly warns about "abbreviated type
2195 ** The compiler gets less confused by inlining and RETURN-FROM,
2196 thanks to some patches originally by Tim Moore.
2197 ** The system no longer hangs when dumping circular lists to fasl
2198 files, thanks to a patch originally from Douglas Crosher.
2199 * Martin Atzmueller also fixed ROOM, so that it no longer fails with an
2200 undefined function error.
2201 * gave up on fixing bug 3 (forbidden-by-ANSI warning for type mismatch
2202 in structure slot initforms) for now, documented workaround instead:-|
2203 * fixed bug 4 (no WARNING for DECLAIM FTYPE of slot accessor function)
2204 * fixed bug 5: added stubs for various Gray stream functions called
2205 in the not-a-CL:STREAM case, so that even when Gray streams aren't
2206 installed, at least appropriate type errors are generated
2207 * fixed bug 8: better reporting of various PROGRAM-ERRORs
2208 * fixed bug 9: IGNORE and IGNORABLE now work reasonably and more
2209 consistently in DEFMETHOD forms.
2210 * removed bug 21 from BUGS, since Martin Atzmueller points out that
2211 it doesn't seem to affect SBCL after all
2212 * The C runtime system now builds with better optimization and many
2213 fewer warnings, thanks to lots of cleanups by Martin Atzmueller.
2215 changes in sbcl-0.6.8 relative to sbcl-0.6.7:
2217 * The system is now under CVS at SourceForge (instead of the
2218 CVS repository on my home machine).
2219 * The new signal handling code has been tweaked to treat register
2220 contents as (UNSIGNED-BYTE 32), as the old CMU CL code did,
2221 instead of (SIGNED-BYTE 32), as the C header files have it. (Code
2222 downstream, e.g. in debug-int.lisp, has implicit dependencies
2223 on the unsignedness of integer representation of machine words,
2224 and that caused the system to bomb out with infinite regress
2225 when trying to recover from type errors involving signed values,
2226 e.g. (BUTLAST '(1 2 3) -1).)
2227 * (BUTLAST NIL) and (NBUTLAST NIL) now return NIL as they should.
2228 (This was one of the bugs Peter Van Eynde reported back in July.)
2229 * The system now uses code inspired by Colin Walters' O(N)
2230 implementation of MAP (from the cmucl-imp@cons.org mailing
2231 list, 2 September 2000) when it can't use a DEFTRANSFORM to
2232 inline the MAP operation, and there is more than one
2233 sequence argument to the MAP call (so that it can't just
2234 do ETYPECASE once and for all based on the type of the
2235 single sequence argument). (The old non-inline implementation
2236 of the general M-argument sequence-of-length-N case required
2237 O(M*N*N) time when any of the sequence arguments were LISTs.)
2238 * The QUIT :UNIX-CODE keyword argument has been renamed to
2239 QUIT :UNIX-STATUS. (The old name still works, but is deprecated.)
2240 * Raymond Wiker's patches to port RUN-PROGRAM from CMU CL to SBCL
2242 * Raymond Wiker's patches to port dynamic loading from Linux to
2243 FreeBSD have been added.
2244 * The BUGS file is now more nearly up to date, thanks in large part
2245 to Martin Atzmueller's review of it.
2246 * The debugger now flushes standard output streams before it begins
2247 its output ("debugger invoked" and so forth).
2248 * The core version number and fasl file version number have both
2249 been incremented, because of incompatible changes in the layout
2251 * FINISH-OUTPUT is now called more consistently on QUIT. (It
2252 used to not be called for a saved Lisp image.)
2253 * Martin Atzmueller's version of a patch to fix a compiler crash,
2254 as posted on sbcl-devel 13 September 2000, has been installed.
2255 * Instead of installing Martin Atzmueller's patch for the
2256 compiler transform for SUBSEQ, I deleted the compiler transform,
2257 and transforms for some similar consing operations.
2258 * A bug in signal handling which kept TRACE from working on OpenBSD
2260 * added enough DEFTRANSFORMs to allow (SXHASH 'FOO) to be optimized
2261 away by constant folding
2262 * The system now defines its address space constants in one place
2263 (in the Lisp sources), and propagates them automatically elsewhere
2264 (through GENESIS and the sbcl.h file). Therefore, patching the
2265 address map is less unnecessarily tedious and error-prone. The
2266 Lisp names of address space constants have also been systematized.
2267 * CVS tags like dollar-Header-dollar have been removed from
2268 the sources, because they have never saved me trouble and
2269 they've been source of trouble working with patches and other
2270 diff-related operations.
2271 * fixed the PROG1-vs.-PROGN bug in HANDLER-BIND (reported by
2272 ole.rohne@cern.ch on cmucl-help@cons.org 2000-10-25)
2274 changes in sbcl-0.6.7 relative to sbcl-0.6.6:
2276 * The system has been ported to OpenBSD.
2277 * The system now compiles with a simple "sh make.sh" on the systems
2278 that it's supported on. I.e., now you no longer need to tweak
2279 text in the target-features.lisp-expr and symlinks in src/runtime/
2280 by hand, the make.sh takes care of it for you.
2281 * The system is no longer so grossly inefficient when compiling code
2282 involving vectors implemented as general (not simple) vectors (VECTOR T),
2283 so code which dares to use VECTOR-PUSH-EXTEND and FILL-POINTER, or
2284 which dares to use the various sequence functions on non-simple
2285 vectors, takes less of a performance hit.
2286 * There is now a primitive type predicate VECTOR-T-P
2287 to test for the (VECTOR T) type, so that e.g.
2288 (DEFUN FOO (V) (DECLARE (TYPE (VECTOR T) V)) (AREF V 3))
2289 can now be compiled with some semblance of efficiency. (The old code
2290 turned the type declaration into a full call to %TYPEP at runtime!)
2291 * AREF on (VECTOR T) is still not fast, since it's still compiled
2292 as a full call to SB-KERNEL:DATA-VECTOR-REF, but at least the
2293 ETYPECASE used in DATA-VECTOR-REF is now compiled reasonably
2294 efficiently. (The old version made full calls to SUBTYPEP at runtime!)
2295 * (MAKE-ARRAY 12 :FILL-POINTER T) is now executed less inefficiently,
2296 without making full calls to SUBTYPEP at runtime.
2297 (Some analogous efficiency issues for non-simple vectors specialized to
2298 element types other than T, or for non-simple multidimensional arrays,
2299 have not been addressed. They could almost certainly be handled the
2300 same way if anyone is motivated to do so.)
2301 * The changes in array handling break binary compatibility, so
2302 *BACKEND-FASL-FILE-VERSION* has been bumped to 4.
2303 * (TYPEP (MAKE-ARRAY 12 :FILL-POINTER 4) 'VECTOR) now returns (VALUES T)
2304 instead of (VALUES T T).
2305 * By following the instructions that Dan Barlow posted to sbcl-devel
2306 on 2 July 2000, I was able to enable primitive dynamic object
2307 file loading code for Linux. The full-blown CMU CL LOAD-FOREIGN
2308 functionality is not implemented (since it calls ld to resolve
2309 library references automatically, requiring RUN-PROGRAM for its
2310 implementation), but a simpler SB-EXT:LOAD-1-FOREIGN (which doesn't
2311 try to resolve library references) is now supported.
2312 * The system now flushes the standard output streams when it terminates,
2313 unless QUIT is used with the RECKLESSLY-P option set. It also flushes
2314 them at several other probably-convenient times, e.g. in each pass of
2315 the toplevel read-eval-print loop, and after evaluating a form given
2316 as an "--eval" command-line option. (These changes were motivated by a
2317 discussion of stream flushing issues on cmucl-imp in August 2000.)
2318 * The source transform for TYPEP of array types no longer assumes
2319 that an array whose element type is a not-yet-defined type
2320 is implemented as an array of T, but instead punts, so that the
2321 type will be interpreted at runtime.
2322 * There is now some support for cross-compiling in make.sh: each of
2323 the phases of make.sh has its own script. (This should be transparent
2324 to people doing ordinary, non-cross-compile builds.)
2325 * Since my laptop doesn't have hundreds of megabytes of memory like
2326 my desktop machine, I became more motivated to do some items on
2327 my to-do list in order to reduce the size of the system a little:
2328 ** Arrange for various needed-only-at-cold-init things to be
2329 uninterned after cold init. To support this, those things have
2330 been renamed from FOO and *FOO* to !FOO and *!FOO* (i.e., all
2331 symbols with such names are now uninterned after cold init).
2332 ** Bind SB!C::*TOP-LEVEL-LAMBDA-MAX* to a nonzero value when building
2333 fasl files for cold load.
2334 ** Remove the old compiler structure pooling code (which used to
2335 be conditional on the target feature :SB-ALLOC) completely.
2336 ** Redo the representation of some data in cold init to be more compact.
2337 (I also looked into supporting byte compiled code at bootstrap time,
2338 which would probably reduce the size of the system a lot, but that
2339 looked too complicated, so I punted for now.)
2340 * The maximum signal nesting depth in the src/runtime/ support code has
2341 been reduced from 4096 to 256. (I don't know any reason for the very
2342 large old value. If the new smaller value turns out to break something,
2343 I'll probably just bump it back up.)
2344 * PPRINT-LOGICAL-BLOCK is now pickier about the types of its arguments,
2346 * Many, many bugs reported by Peter Van Eynde have been added to
2347 the BUGS list; some have even been fixed.
2348 * While enabling dynamic object file loading, I tried to make the
2349 code easier to understand, renaming various functions and variables
2350 with less ambiguous names, and changing some function calling
2351 conventions to be Lispier (e.g. returning NIL instead of 0 for failure).
2352 * While trying to figure out how to do the OpenBSD port, I tried to
2353 clean up some of the code in src/runtime/. In particular, I dropped
2354 support for non-POSIX signal handling, added various comments,
2355 tweaked the code to reduce the number of compilation warnings, and
2356 renamed some files to increase consistency.
2357 * To support the new automatic configuration functionality in make.sh,
2358 the source file target-features.lisp-expr has been replaced with the
2359 source file base-target-features.lisp-expr and the machine-generated
2360 file local-target-features.lisp-expr.
2361 * fixed a stupid quoting error in make.sh so that using CMU CL
2362 "lisp -batch" as cross-compilation host works again
2364 changes in sbcl-0.6.6 relative to sbcl-0.6.5:
2366 * DESCRIBE no longer tries to call itself recursively to describe
2367 bound/fbound values, so that it no longer fails on symbols which are
2368 bound to themselves (like keywords, T, and NIL).
2369 * DESCRIBE now works on generic functions.
2370 * The printer now prints less-screwed-up representations of closures
2371 (not naively trying to bogusly use the %FUNCTION-NAME accessor on them).
2372 * A private symbol is used instead of the :EMPTY keyword previously
2373 used to mark empty slots in hash tables. Thus
2374 (DEFVAR *HT* (MAKE-HASH-TABLE))
2375 (SETF (GETHASH :EMPTY *HT*) :EMPTY)
2376 (MAPHASH (LAMBDA (K V) (FORMAT T "~&~S ~S~%" K V)))
2377 now does what ANSI says that it should. (You can still get
2378 similar noncompliant behavior if bang on the hash table
2379 implementation with all the symbols you get back from
2380 DO-ALL-SYMBOLS, but at least that's a little harder to do.)
2381 This breaks binary compatibility, since tests for equality to
2382 :EMPTY are wired into things like the macroexpansion of
2383 WITH-HASH-TABLE-ITERATOR in FASL files produced by earlier
2385 * There's now a minimal placeholder implementation for CL:STEP,
2386 as required by ANSI.
2387 * An obscure bug in the interaction of the normal compiler, the byte
2388 compiler, inlining, and structure predicates has been patched
2389 by setting the flags for the DEFTRANSFORM of %INSTANCE-TYPEP as
2390 :WHEN :BOTH (as per Raymond Toy's suggestion on the cmucl-imp@cons.org
2392 * Missing ordinary arguments in a macro call are now detected even
2393 when the macro lambda list contains &KEY or &REST.
2394 * The debugger no longer complains about encountering the top of the
2395 stack when you type "FRAME 0" to explicitly instruct it to go to
2396 the top of the stack. And it now prints the frame you request even
2397 if it's the current frame (instead of saying "You are here.").
2398 * As specified by ANSI, the system now always prints keywords
2399 as #\: followed by SYMBOL-NAME, even when *PACKAGE* is the
2401 * The default initial SIZE of HASH-TABLEs is now smaller.
2402 * Type information from CLOS class dispatch is now propagated
2403 into DEFMETHOD bodies, so that e.g.
2404 (DEFMETHOD FOO ((X SINGLE-FLOAT))
2406 is now basically equivalent to
2407 (DEFMETHOD FOO ((X SINGLE-FLOAT))
2408 (DECLARE (TYPE SINGLE-FLOAT X))
2410 and the compiler can compile (+ X 123.0) as a SINGLE-FLOAT-only
2411 operation, without having to do run-time type dispatch.
2412 * The macroexpansion of DEFMETHOD has been tweaked so that it has
2413 reasonable behavior when arguments are declared IGNORE or IGNORABLE.
2414 * Since I don't seem to be making big file reorganizations very often
2415 any more (and since my archive of sbcl-x.y.zv.tar.bz2 snapshots
2416 is overflowing my ability to conveniently back them up), I've finally
2417 checked the system into CVS. (The CVS repository is on my home system,
2418 not at SourceForge -- putting it on SourceForge might come later.)
2419 * SB-EXT:*GC-NOTIFY-STREAM* has been added, to control where the
2420 high-level GC-NOTIFY-FOO functions send their output. (There's
2421 still very little control of where low-level verbose GC functions
2422 send their output.) The SB-EXT:*GC-VERBOSE* variable now controls
2423 less than it used to -- the GC-NOTIFY-FOO functions are now under
2424 the control of *GC-NOTIFY-STREAM*, not *GC-VERBOSE*.
2425 * The system now stores the version string (LISP-IMPLEMENTATION-VERSION)
2426 in only one place in the source code, and propagates it automatically
2427 everywhere that it's needed. Thus e.g. when I bump the version from
2428 0.6.6 to 0.6.7, I'll only need to modify the sources in one place.
2429 * The C source files now include boilerplate legalese and documentation
2430 at the head of each file (just as the Lisp source files already did).
2431 * At Dan Barlow's suggestion, the hyperlink from the SBCL website
2432 to his page will be replaced with a link to his new CLiki service.
2434 changes in sbcl-0.6.5 relative to sbcl-0.6.4:
2436 * Raymond Wiker's patches to port the system to FreeBSD have been merged.
2437 * The build process now looks for GNU make under the default name "gmake",
2438 instead of "make" as it used to. If GNU make is not available as "gmake"
2439 on your system, you can change this default behavior by setting the
2440 GNUMAKE environment variable.
2441 * Replace #+SB-DOC with #!+SB-DOC in seq.lisp so that the system
2442 can build without error under CMU CL.
2444 changes in sbcl-0.6.4 relative to sbcl-0.6.3:
2446 * There is now a partial SBCL user manual (with some new text and some
2447 text cribbed from the CMU CL manual).
2448 * The beginnings of a profiler have been added (starting with the
2449 CMU CL profiler and simplifying and cleaning up). Eventually the
2450 main interface should be through the TRACE macro, but for now,
2451 it's still accessed through vaguely CMU-CL-style functions and macros
2452 exported from the package SB-PROFILE.
2453 * Some problems left over from porting CMU CL to the new
2454 cross-compilation bootstrap process have been cleaned up:
2455 ** DISASSEMBLE now works. (There was a problem in using DEFMACRO
2456 instead of SB!XC:DEFMACRO, compounded by an oversight on my
2457 part when getting rid of the compiler *BACKEND* stuff.)
2458 ** The value of *NULL-TYPE* was screwed up, because it was
2459 being initialized before the type system knew the final
2460 definition of the 'NULL type. This screwed up several key
2461 optimizations in the compiler, causing inefficiency in all sorts
2462 of places. (I found it because I wanted to understand why
2463 GET-INTERNAL-RUN-TIME was consing.)
2464 * fixed a bug in DEFGENERIC which was causing it to overwrite preexisting
2465 PROCLAIM FTYPE information. Unfortunately this broke binary
2466 compatibility again, since now the forms output by DEFGENERIC
2467 to refer to functions which didn't exist in 0.6.3.
2468 * added declarations so that SB-PCL::USE-CACHING-DFUN-P
2469 can use the new (as of 0.6.3) transform for SOME into MAP into
2471 * changed (MOD 1000000) type declarations for Linux timeval.tv_usec slot
2472 values to (INTEGER 0 1000000), so that the time code will no longer
2473 occasionally get blown up by Linux returning 1000000 microseconds
2474 * PRINT-UNREADABLE-OBJECT has been tweaked to make the spacing of
2475 its output conform to the ANSI spec. (Alas, this makes its output
2476 uglier in the :TYPE T :IDENTITY NIL case, but them's the breaks.)
2477 * A full call to MAP NIL with a single sequence argument no longer conses.
2478 * fixes to problems pointed out by Martin Atzmueller:
2479 * The manual page no longer talks about multiprocessing as though
2480 it were currently supported.
2481 * The ILISP support patches have been removed from the distribution,
2482 because as of version 5.10.1, ILISP now supports SBCL without us
2483 having to maintain patches.
2484 * added a modified version of Raymond Toy's recent CMU CL patch for
2485 EQUALP comparison of HASH-TABLE
2487 changes in sbcl-0.6.3 relative to sbcl-0.6.2:
2489 * The system still can't cross-compile itself with
2490 *TYPE-SYSTEM-INITIALIZED* (and all the consistency checks that
2491 entails), but at least it can compile more of itself that way
2492 than it used to be able to, and various buglets which were uncovered
2493 by trying to cross-compile itself that way have now been fixed.
2494 * This release breaks binary compatibility again. This time
2495 at least I've incremented the FASL file format version to 2, so that the
2496 problem can be detected reliably instead of just causing weird errors.
2497 * various new style warnings:
2498 ** using DEFUN, DEFMETHOD, or DEFGENERIC to overwrite an old definition
2499 ** using the deprecated EVAL/LOAD/COMPILE situation names in EVAL-WHEN
2500 ** using the lexical binding of a variable named in the *FOO* style
2501 * DESCRIBE has been substantially rewritten. It now calls DESCRIBE-OBJECT
2502 as specified by ANSI.
2503 * *RANDOM-STATE* is no longer automatically initialized from
2504 (GET-UNIVERSAL-TIME), but instead from a constant seed. Thus, the
2505 default behavior of the system is to repeat its behavior every time
2506 it's run. If you'd like to change this behavior, you can always
2507 explicitly set the seed from (GET-UNIVERSAL-TIME); whereas under the
2508 old convention there was no comparably easy way to get the system to
2509 repeat its behavior every time it was run.
2510 * Support for the pre-CLTL2 interpretation of FUNCTION declarations as
2511 FTYPE declarations has been removed, in favor of their ANSI
2512 interpretation as TYPE FUNCTION declarations. (See p. 228 of CLTL2.)
2513 * The quantifiers SOME, EVERY, NOTANY, and NOTEVERY no longer cons when
2514 the types of their sequence arguments can be determined at compile time.
2515 This is done through a new open code expansion for MAP which eliminates
2516 consing for (MAP NIL ..), and reduces consing otherwise, when sequence
2517 argument types can be determined at compile time.
2518 * The optimizer now transforms COERCE into an identity operation when it
2519 can prove that the coerced object is already of the correct type. (This
2520 can be a win for machine generated code, including the output of other
2521 optimization transforms, such as the MAP transform above.)
2522 * Credit information has been moved from source file headers into CREDITS.
2523 * Source file headers have been made more standard.
2524 * The CASE macro now compiles without complaining even when it has
2527 changes in sbcl-0.6.2 relative to sbcl-0.6.1:
2529 * (Note that the way that the PCL macroexpansions were rewritten
2530 to accommodate the change in DEFGENERIC below breaks binary
2531 compatibility. That is, fasl files compiled under sbcl-0.6.1 may
2532 not run under sbcl-0.6.2. Once we get out of alpha releases,
2533 i.e. hit release 1.0.0, we'll probably try to maintain binary
2534 compatibility between maintenance releases, e.g. between sbcl-1.4.3
2535 and sbcl-1.4.4. Until then, however, it might be fairly common
2536 for maintenance releases to break binary compatibility.)
2537 * A bug in the calculation of WARNINGS-P and FAILURE-P in COMPILE-FILE
2539 * The reporting of unhandled signals has been changed to print some
2540 explanatory text as well as the report form. (Previously only
2541 the report form was printed.)
2542 * The macroexpansion for DEFGENERIC now DECLAIMs the function that
2543 it defines, so that the compiler no longer issues undefined function
2544 warnings for compiled-but-not-yet-loaded generic functions.
2545 * The CLTL-style "LISP" and "USER" nicknames for the "COMMON-LISP"
2546 and "COMMON-LISP-USER" packages have been removed. Now only the "CL"
2547 and "CL-USER" standard nicknames from the "11.1.2 Standardized Packages"
2548 section of the ANSI spec are supported.
2549 * The "" nickname for the "KEYWORD" package has been removed.
2550 The reader still handles symbol tokens which begin with a package marker
2551 as keywords, but it doesn't expose its mechanism for doing so in the
2552 (PACKAGE-NICKNAMES (FIND-PACKAGE "KEYWORD")) list.
2553 * The system now issues STYLE-WARNINGs for contradictory TYPE
2554 proclamations. (Warnings for contradictory FTYPE proclamations would
2555 be nice too, but those can't be done usefully unless the type system
2556 is made smarter about FUNCTION types.)
2557 * The names of source files "*host-*.lisp" and "*target-*.lisp" have been
2558 systematized, so that "*target-*.lisp is supposed to exist only on the
2559 target and imply that there's a related file which exists on the
2560 host, and *host-*.lisp is supposed to exist only on the host and imply
2561 that there's a related file which exists on the target. This involves a
2562 lot of renaming. Hopefully the acute confusion caused by the renaming
2563 will be justified by the reduction in chronic confusion..
2564 ** runtime-type.lisp -> early-target-type.lisp
2565 ** target-type.lisp -> late-target-type.lisp
2566 ** early-host-format.lisp -> early-format.lisp
2567 ** late-host-format.lisp -> late-format.lisp
2568 ** host-error.lisp -> misc-error.lisp
2569 ** early-error.lisp -> early-target-error.lisp
2570 ** late-error.lisp -> late-target-error.lisp
2571 ** host-defboot.lisp -> early-defboot.lisp
2572 ** code/misc.lisp -> code/target-misc.lisp
2573 ** code/host-misc.lisp -> code/misc.lisp
2574 ** code/numbers.lisp -> code/target-numbers.lisp
2575 ** code/early-numbers.lisp -> numbers.lisp
2576 ** early-host-type.lisp -> early-type.lisp
2577 ** late-host-type.lisp -> late-type.lisp
2578 ** host-typep.lisp -> typep.lisp
2579 ** load.lisp -> target-load.lisp
2580 ** host-load.lisp -> load.lisp
2581 ** host-disassem.lisp -> disassem.lisp
2582 ** host-insts.lisp -> insts.lisp
2583 ** byte-comp.lisp -> target-byte-comp.lisp
2584 ** host-byte-comp.lisp -> byte-comp.lisp
2585 ** host-signal.lisp -> signal.lisp
2586 ** host-defstruct.lisp -> defstruct.lisp
2587 ** late-target-type.lisp -> deftypes-for-target.lisp
2588 Furthermore, several other previously target-only files foo.lisp (e.g.
2589 hash-table.lisp and random.lisp) have been split into a target-and-host
2590 foo.lisp file and a target-only target-foo.lisp file, with their key type
2591 definitions in the target-and-host part, so that the cross-compiler will
2592 know more about target types.
2593 * DEFSTRUCT BACKEND, and the BACKEND-valued *BACKEND* variable, have
2594 gone away. In their place are various *BACKEND-FOO* variables
2595 corresponding to the slots of the old structure.
2596 * A bug which caused the SB-COLD bootstrap-time package to be propagated
2597 into the target SBCL has been fixed.
2598 * The chill.lisp system for loading cold code into a running SBCL
2600 * Support for the CMU CL "scavenger hook" extension has been removed.
2601 (It was undocumented and unused in the CMU CL sources that SBCL was
2602 derived from, and stale in sbcl-0.6.1.)
2603 * Various errors in the cross-compiler type system were detected
2604 by running the cross-compiler with *TYPE-SYSTEM-INITIALIZED*
2605 (enabling various consistency checks). Many of them were fixed,
2606 but some hard problems remain, so the compiler is back to
2607 running without *TYPE-SYSTEM-INITIALIZED* for now.
2608 * As part of the cross-compiler type system cleanup, I implemented
2609 DEF!TYPE and got rid of early-ugly-duplicates.lisp.
2610 * I have started adding UNCROSS calls throughout the type system
2611 and the INFO database. (Thus perhaps eventually the blanket UNCROSS
2612 on cross-compiler input files will be able to go away, and various
2614 * CONSTANTP now returns true for quoted forms (as explicitly required
2617 changes in sbcl-0.6.1 relative to sbcl-0.6.0:
2619 * changed build optimization from (SAFETY 1) to (SAFETY 3) as a short-term
2620 fix for various type-unsafety bugs, e.g. failures with (LENGTH 123) and
2621 (MAKE-LIST -1). In the longer term, it ought to become true
2622 that declarations are assertions even at SAFETY 1. For now, it's not
2623 quite true even at SAFETY 3, but it's at least more nearly true..
2624 (Note that this change seems to increases the size of the system by
2625 O(5%) and to decrease the speed of the compiler by 20% or more.)
2626 * changed ALIEN printing to be much more abbreviated, as a short-term fix
2627 for the problem of printing dozens of lines of distracting information
2628 about low-level system machinery as part of the top stack frame
2629 on entry to the debugger when an undefined function was called.
2630 * tweaked the debugger's use of WITH-STANDARD-IO-SYNTAX so that *PACKAGE*
2631 is not reset to COMMON-LISP-USER.
2632 * Compilation of stuff related to dyncount.lisp has been made conditional
2633 on the :SB-DYNCOUNT target feature, so that the ordinary core system is
2634 smaller. The various dyncount-related symbols have been moved into
2635 a new "SB-DYNCOUNT" package.
2636 * tty-inspect.lisp has been renamed to inspect.lisp.
2637 * unix-glibc2.lisp has been renamed to unix.lisp, and the :GLIBC2
2638 feature has gone away. (When we eventually port to other flavors of
2639 libc and/or Unix, we'll try to make the differences between flavors
2640 invisible at the user level.)
2641 * Various other *FEATURES* tags, and/or their associated conditionals,
2642 have been removed if obsolescent, or given better documentation, or
2643 sometimes given more-mnemonic names.
2645 changes in sbcl-0.6.0 relative to sbcl-0.5.0:
2647 * tidied up "make.sh" script
2648 * tidied up system directory structure
2649 * better "clean.sh" behavior
2650 * added doc/FOR-CMUCL-DEVELOPERS
2651 * many many small tweaks to output format, e.g. removing possibly-confusing
2652 trailing #\. character in DESCRIBE-INSTANCE
2653 * (EQUALP #\A 'A) no longer signals an error.
2654 * new hashing code, including EQUALP hashing
2655 * tidied up Lisp initialization and toplevel
2656 * initialization files (e.g. /etc/sbclrc and $HOME/.sbclrc)
2657 * command line argument processing
2658 * added POSIX-GETENV function to deal with Unix-ish environment variables
2659 * more-Unixy handling of *STANDARD-INPUT* and other Lisp streams, e.g.
2660 terminating SBCL on EOF
2661 * non-verbose GC by default
2662 * There is no more "sbcl" shell script; the sbcl file is now the C
2663 runtime executable (just like CMU CL).
2664 * removed some unused fops, e.g. FOP-UNIFORM-VECTOR, FOP-CHARACTER, and
2666 * tweaked debug-info.lisp and debug-int.lisp to make the debugger store
2667 symbol and package information as Lisp native symbol and package objects
2668 instead of strings naming symbols and strings naming packages. This way,
2669 whenever packages are renamed (as in warm init), debug information is
2670 transformed along with everything else.
2671 * tweaked the optimization policy declarations which control the building
2672 of SBCL itself. Now, among other things, the system no longer saves
2673 source location debugging information. (This helps two problems at once
2674 by reducing SBCL size and by keeping SBCL from trying to look for its
2675 sources -- which may not exist -- when reporting errors.)
2676 * added src/cold/chill.lisp, to let SBCL read its own cold sources for
2677 debugging and testing purposes
2678 * cleaned up printing, making the printer call PRINT-OBJECT for
2679 instances, and using PRINT-UNREADABLE-OBJECT for most PRINT-OBJECT
2680 methods, giving nearly-ANSI behavior
2681 * converted almost all special variables to use *FOO* naming convention
2682 * deleted PARSE-TIME functionality, since it can be done portably
2683 * moved some files out of cold init into warm init
2684 * deleted DEFUN UNDEFINED-VALUE, replaced (UNDEFINED-VALUE) forms
2686 * regularized formatting of source files
2687 * added an install.sh script
2688 * fixed ridiculous memory usage of cross-compiler by making
2689 compiler/alloc.lisp not try to do pooling unless it can hook
2690 itself into the GC of the cross-compilation host. Now the system
2691 builds nicely on my old laptop.
2692 * added :SB-ALLOC in target-features.lisp-expr
2693 * deleted mention of :ANSI-DOC from target-features.lisp-expr (since it
2694 was not implemented)
2695 * re-did condition handling and note reporting in the compiler. Notes
2696 are no longer handled by signalling conditions. Style warnings
2697 and warnings are handled more correctly and reported in such a way
2698 that it's easy to find one or the other in your output (so that you
2699 can e.g. figure out which of many problems caused COMPILE-FILE to
2701 * changed the severity of several compiler warnings from full WARNING
2702 to STYLE-WARNING in order to conform with the ANSI spec; also changed
2703 compiler note reporting so that it doesn't use the condition system
2704 at all (and hence affects neither FAILURE-P nor WARNINGS-P in the
2705 COMPILE-FILE command)
2706 * made PROCLAIM and DECLAIM conform to ANSI. PROCLAIM is now an ordinary
2707 function. As a consequence, START-BLOCK and END-BLOCK declarations are
2708 no longer supported, since their implementation was deeply intertwingled
2709 with the magical, non-ANSI treatment that PROCLAIM received in CMU CL.
2710 * removed bogus "support" for compiler macros named (SETF FOO), and
2711 removed the compiler macro for SETF INFO (but only after making a fool
2712 of myself on the cmucl-imp mailing list by posting a bogus patch for
2713 DEFINE-COMPILER-MACRO..)
2714 * Compiled files containing forms which have side effects on the Lisp
2715 reader (such as DEFPACKAGE forms) are now handled more correctly.
2716 (Compiler queuing of top level lambdas has been suppressed by setting
2717 *TOP-LEVEL-LAMBDA-MAX* to 0. )
2718 * deleted various currently-unused source files, e.g. gengc.lisp. They
2719 may be added back at some point e.g. when porting to other architectures,
2720 but until they are it's distracting to distribute them and to try to
2722 * deleted "UNCROSS couldn't recurse through.." style warnings, since
2723 there were so many of them they're just distractions, and UNCROSS is
2724 known to be able to handle the current sources
2725 * moved PROFILE functionality into TRACE, so that it will be clear
2726 how the wrapping and unwrapping of functions when you profile them
2727 interacts with the wrapping and unwrapping of functions when you
2728 trace them. (Actually, the functionality isn't there yet, but at least
2729 the interface specification is there. Hopefully, the functionality will
2730 arrive with some future maintenance release.)
2731 * removed host-oops.lisp
2732 * changed signature of QUIT function to allow UNIX-CODE argument
2733 * fixed READ-SEQUENCE bug
2734 * tweaked verbose GC output so that it looks more like the progress
2735 output that ANSI specifies for functions like LOAD
2736 * set up the system on sourceforge.com, with home pages, mailing lists, etc.
2737 * added <http://sbcl.sourceforge.com> to the banner information printed by