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