1 ;;;; -*- coding: utf-8; -*-
2 changes in sbcl-0.9.15 relative to sbcl-0.9.14:
3 * minor incompatible change: pretty printing of objects of type
4 (cons symbol) is, in the default pprint-dispatch-table, now
5 sensitive to whether the symbol satisfies FBOUNDP. (thanks to
8 changes in sbcl-0.9.14 relative to sbcl-0.9.13:
9 * feature: thread support on Solaris/x86, and experimental thread support
11 * feature: SBCL now tries to signal a STORAGE-CONDITION when running out
13 * feature: SBCL now provides USE-VALUE and STORE-VALUE restarts in the
14 default method for SLOT-UNBOUND.
15 * minor incompatible change: prevent the user from specializing the
16 new-value argument to SB-MOP:SLOT-VALUE-USING-CLASS. It's
17 somewhat counter to the intent of the protocol, I (CSR) think, and
18 additionally it just doesn't work in SBCL as currently
19 implemented, thanks to optimizations (that are always valid for
20 the other three SLOT-VALUEish functions, but not for the setter).
21 * minor incompatible change: the :SB-LDB feature is now enabled by
22 default, and DISABLE-DEBUGGER and ENABLE-DEBUGGER also affect
23 the low-level debugger.
24 * enchancement: RUN-PROGRAM is now able to extract the file-descriptor
25 from SYNONYM-STREAM and TWO-WAY-STEAMS provided they can be decomposed
26 down to an SB-SYS:FD-STREAM, allowing direct communication in
27 more cases. Temporary files and pipes are still used as a fallback
29 * thread-safety: DECODE-UNIVERSAL-TIME & GET-DECODED-TIME depended
30 on the non-reentrant C functions localtime(3) and gmtime(3).
31 * bug fix: global optimization policy was not visible in LOCALLY and
33 * bug fix: class objects can be used as specializers in methods.
34 (reported by Pascal Costanza)
35 * bug fix: native unparsing of pathnames with :DIRECTORY NIL failed
36 with a type error. (reported by blitz_ on #lisp)
37 * bug fix: unparsing logical pathnames with :NAME :WILD :TYPE NIL
38 failed with a type error. (reported by Pascal Bourguignon)
39 * bug fix: merging pathnames against defaults with :DIRECTORY
40 starting with '(:RELATIVE :BACK) should preserve the :BACK.
41 (reported by James Y Knight)
42 * bug fix: saving large (>2GB) cores on x86-64 now works
43 * bug fix: a x86-64 backend bug when compiling (setf aref) with a
44 constant index and a (simple-array (signed-byte 32)) array
45 * bug fix: NAME-CHAR on an invalid symbol no longer signals an
46 error (patch by Robert J. Macomber)
47 * feature: TIME now displays the amount of run-time spent in GC
48 * bug fix: The debugger now does a better job of respecting
49 (PUSH '(*PRINT-CIRCLE* . T) SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*)
50 when printing SB-DEBUG:*DEBUG-CONDITION*. (This is a debugger-only
51 workaround for bug 403.)
52 * bug fix: floating point exception handling now works on FreeBSD
53 (thanks to NIIMI Satoshi)
54 * fixed some bugs revealed by Paul Dietz' test suite:
55 ** MISC.641: LET-conversion were not supposed to work in late
57 * improvements to the Win32/x86 port:
58 ** GET-INTERNAL-RUN-TIME implemented, thanks to Frank Buss.
59 ** improved SB-BSD-SOCKETS support, thanks to Timothy Ritchey.
61 changes in sbcl-0.9.13 relative to sbcl-0.9.12:
62 * new feature: source path information is generated for macro-expansion
63 errors for use in IDE's like Slime (thanks to Helmut Eller)
64 * bug fix: calls to the compiler no longer modify *RANDOM-STATE*
65 * bug fix: compiler does not loop forever on an invalid type in
67 * improvement: compilation of most CLOS applications is significantly
69 * optimization: added a limited bytecode compiler for simple toplevel
70 forms, speeding up compilation and FASL loading
72 changes in sbcl-0.9.12 relative to sbcl-0.9.11:
73 * minor incompatible change: in sbcl-0.9.11 (but not earlier
74 versions) SB-MOP:FINALIZE-INHERITANCE would recursively descend
75 into subclasses of the finalized class. Now user calls to
76 FINALIZE-INHERITANCE finalize just the one class, and calls by the
77 system return before any subclasses are finalized.
78 * minor incompatible change: The reader no longer ignores errors
79 regarding non-existent packages in #+ and #- feature tests.
80 * new feature: command line options --no-sysinit, --no-userinit to
81 inhibit loading the corresponding init files
82 * new feature: add a generic function SOCKET-SEND to SB-BSD-SOCKETS,
83 for sending data through UDP sockets (thanks to François-René Rideau)
84 * minor incompatible change: SIGPIPE is ignored and "Broken pipe"
85 error is signalled instead (thanks to François-René Rideau)
86 * minor incompatible change: Error signalling behaviour of lexical
87 operations violating package locks has changed slightly. Refer to
88 documentation on package locks for details.
89 * enhancement: EVAL can process IF-expressions without resorting to the
91 * bug fix: Some operations involving SIN, COS, or TAN weren't being
92 constant-folded properly due to missing out-of-line functions.
93 (reported by Mika Pihlajamäki)
94 * bug fix: LISTEN sometimes returned T even in cases where no data was
95 immediately available from the stream
96 * fixed bug: types of the last two arguments to SET-SYNTAX-FROM-CHAR
97 were reversed. (reported by Levente Mészáros)
98 * fixed bug: Tests for the (VECTOR T) type gave the wrong answer
99 when given a vector displaced to an adjustable array. (reported
101 * bug fix: derivation of float boundaries from numbers outside the
102 appropriate float range (reported by John Wiseman)
103 * bug fix: MAKE-LOAD-FORM-SAVING-SLOTS accepts en empty slot name
105 * bug fix: precomputing cache entries for generic functions with
106 some subclasses of specializers as yet invalid does not attempt to
107 fill a cache line with a negative offset. (reported by Levente
109 * improvements to DOCUMENTATION for TYPE and STRUCTURE doc-types:
110 allow condition class objects as arguments to DOCUMENTATION and
111 (SETF DOCUMENTATION); only find and set documentation for
112 structure names for the STRUCTURE doc-type. (suggested by Gary
114 * improvements to the Win32/x86 port:
115 ** (user-homedir-pathname) and default initialization file
116 locations now know about the user's "Documents and Settings"
117 directory (thanks to Yaroslav Kavenchuk)
118 ** run-program is implemented (thanks to Mike Thomas)
119 ** sockets support (thanks to Timothy Ritchey)
120 ** better backtrace support (thanks to Alastair Bridgewater)
121 ** sb-grovel supported
122 ** asdf-install and sb-posix work somewhat
123 ** capable of running Slime using SWANK:*COMMUNICATION-STYLE* NIL
124 * improvements to the Solaris/x86 port:
125 ** works on Solaris 11/Solaris Express
126 ** floating-point exception handling support
127 ** support for the breakpoint-based TRACE :ENCAPSULATE NIL facility
128 * fixed some bugs revealed by Paul Dietz' test suite:
129 ** REMOVE-METHOD returns its generic function argument even when
130 the method is not one of the generic functions' methods.
131 ** objects declared as MEMBER types can be admissible arguments to
133 ** printing characters should simply be printed by the FORMAT ~:C
135 ** compiler failure when compiling functions with hairy constant
136 defaults for optional parameters.
137 ** compiler produces wrong code when MAYBE-INLINE-expanding a
138 function, which is already optimized.
140 changes in sbcl-0.9.11 relative to sbcl-0.9.10:
141 * new platform: experimental support for SBCL x86/Darwin, including
142 MacOS X 10.4.5 on Intel.
143 * new feature: Unicode character names are now known to the system
144 (through CHAR-NAME and NAME-CHAR).
145 * new feature: the filesystem location of SBCL's core file is
146 exposed to lisp through the variable SB-EXT:*CORE-PATHNAME*.
147 * minor incompatible change: the contrib modules SB-POSIX and
148 SB-BSD-SOCKETS no longer depend on stub C libraries; the intent of
149 this change is to make it easier to distribute
150 location-independent binaries.
151 * bug fix: as implied by AMOP, standardized classes no longer have
152 slots named by external symbols of public packages. (reported by
154 * optimization: calling functions via constant symbols -- as in
155 (FUNCALL 'FOO) -- is now roughly as efficient as calling them
156 via the function object as in (FUNCALL #'FOO).
157 * optimization: on x86 and x86-64, the calling convention for the
158 case of dealing with an unknown number of values has been altered
159 to be friendlier to the prediction heuristics implemented,
160 particularly with reference to CALL and RET pairing. (thanks to
161 Alastair Bridgewater)
162 * optimization: on x86, the code for access to thread-local symbol
163 values and binding/unbinding of thread-local symbols is smaller.
164 (thanks to Alastair Bridgewater)
165 * enhancement: CONSTANTP is now able to determine constantness of
166 more complex forms, including calls to constant-foldable standardized
167 functions and some special forms beyond QUOTE.
168 * fixed bug: occasional GC crashes on Solaris/x86
169 * optimization: x86-64 supports stack allocation of results of simple
170 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT
171 * enchancement: the PROCESS-INPUT and -OUTPUT streams created by
172 SB-EXT:RUN-PROGRAM can be used for both character and byte IO
173 (thanks to James Knight)
174 * fixed bug: CL:LISTEN always returns NIL at end of file, as required
175 by the standard (thanks to Stephen Compall)
177 changes in sbcl-0.9.10 relative to sbcl-0.9.9:
178 * new feature: new SAVE-LISP-AND-DIE keyword argument :EXECUTABLE can
179 be used for bundling the runtime and the core file into one
180 executable binary. This feature is not currently supported on all SBCL
181 platforms. (thanks to James Bielman and NIIMI Satoshi)
182 * new feature: a generational or ephemeral garbage collector is now
183 the default on the PowerPC platform (both Linux and Darwin). The
184 old Cheney (stop and copy) collector is a build-time option.
185 (thanks to Cyrus Harmon, after Raymond Toy)
186 * minor incompatible change: the method by which SBCL finds its
187 contributed modules has changed; it no longer relies on symbolic
188 links from an $SBCL_HOME/systems directory, but searches directly
189 in the subdirectories of $SBCL_HOME.
190 * enhancement: the dynamic heap size on the Linux/PPC platform is
191 markedly larger, even using the older Cheney garbage collector.
192 * fixed bug #399: full call to DATA-VECTOR-REF in accesses to
193 certain complicated string types. (reported by Gary King)
194 * fixed bug: STRING-TO-OCTETS and OCTETS-TO-STRING did not convert
195 character codes. (thanks to Yaroslav Kavenchuk and Ivan Boldyrev)
196 * fixed bug: DOCUMENTATION on structures no longer signals an
197 error if no structure type of the right name exists. (reported by
199 * fixed bug: compiled calls to MAKE-INSTANCE where there is an
200 applicable non-standard primary or :AROUND method on
201 INITIALIZE-INSTANCE or SHARED-INITIALIZE and a non-keyword initarg
202 no longer cause unbound variable errors. (reported by Kevin Reid)
203 * fixed bug: metacircle resolution in cases where methods have slots
204 added before the slots from STANDARD-METHOD. (reported by Jean
206 * fixed bug: the Power PC assembly code for calling into lisp
207 sometimes computed its return address wrongly (depending on the
208 15th bit of the address, fixed at link time). This used to
209 manifest itself in a segmentation violation while building PCL.
210 (reported by Kevin Rosenberg, Eric Marsden, Lars Brinkhoff and
211 many others over the years)
212 * fixed bug: ROOM no longer reports silly numbers for stack usage if
213 the stack pointer (treated as a signed integer) is negative.
214 (thanks to Peter van Eynde)
216 changes in sbcl-0.9.9 relative to sbcl-0.9.8:
217 * new platform: experimental support for the Windows operating
218 system has been added. (thanks to Alastair Bridgewater)
219 * fixed several bugs in and robustified the PPC FFI (including
220 callbacks). (thanks to Cyrus Harmon and Heiner Schwarte)
221 * bug fix: allow non-simple string symbol names (reported by Paul
223 * bug fix: interrupt handling on NetBSD (thanks to Richard M
225 * bug fix: saving a core corrupted callbacks on x86/x86-64
226 * bug fix: closed a loophole in metacircularity detection and
227 grounding in the PCL implementation of CLOS.
228 * bug fix: TRUENAME on "/" no longer returns a relative pathname.
229 (reported by tomppa on #lisp)
230 * bug fix: clear the direction flag on Lisp -> C transitions, as
231 required by the x86-64 ABI. Fixes mysterious GC crashes on SuSE.
232 (reported by Andrej Grozin and Hendrik Maryns)
233 * optimization: major improvements to GC efficiency on GENCGC platforms
234 * optimization: faster implementation of EQUAL
235 * optimization: emit more efficient opcodes for some common
236 immediate->register MOV instructions on x86-64. (thanks to Lutz Euler)
237 * optimization: several other minor code-generation improvements on x86-64
238 * fixed segfaults on x86 FreeBSD 7-current. (thanks to NIIMI Satoshi)
240 changes in sbcl-0.9.8 relative to sbcl-0.9.7:
241 * minor incompatible change: (SETF CLASS-NAME) and (SETF
242 GENERIC-FUNCTION-NAME) are generic functions once more (reverting
243 the change in the 0.9.7 release). (SETF CLASS-NAME) is specified
244 by ANSI as a generic function, and for consistency (SETF
245 GENERIC-FUNCTION-NAME) is treated likewise.
246 * fixed bug #233.b: make constraint propagation notice when a variable
247 value is changed after it is referenced but before it is used
248 * fixed bug #296: no more arbitrary behaviour from filenames with
249 odd characters as --load arguments. (reported by Adam Warner)
250 * fixed bug #390: :CHARACTER-SET pathname components now work as
251 expected. (reported by Tim Daly Jr)
252 * fixed bug #391: complicated :TYPE intersections in slot
253 definitions no longer cause an error in PCL internals.
254 * fixed bug #392: plugged a hole in the obsolete-instance protocol.
255 * bug fix: FILE-STRING-LENGTH is now external-format sensitive,
256 returning the number of octets which would be written to the
257 file-stream. (thanks to Robert J. Macomber)
258 * bug fix: the SB-SIMPLE-STREAMS contrib passes external-format
259 arguments to the internal stream functions. (thanks to David
261 * bug fix: stack exhaustion is now handled on the x86/SunOS
262 platform. (thanks to Daisuke Homma)
263 * bug fix: more accurate ROOM results on GENCGC platforms
264 * optimization: improved type inference for arithmetic-for
265 index variables in LOOP
266 * optimization: faster floating-point SQRT on x86-64
267 * fixed some bugs revealed by Paul Dietz' test suite:
268 ** DOCUMENTATION returns NIL instead of "" for method combinations
269 that don't have a docstring
271 changes in sbcl-0.9.7 relative to sbcl-0.9.6:
272 * minor incompatible change: (SETF CLASS-NAME) and (SETF
273 GENERIC-FUNCTION-NAME) are no longer generic functions, and
274 therefore are not customizeable by user code (as seems to be at
275 least permitted and maybe required by AMOP). As a consolation,
276 however, the SBCL implementation of these functions now calls
277 REINITIALIZE-INSTANCE as specified by AMOP.
278 * bug fix: slot-definition documentation is propagated as per ANSI
279 7.6.2 to EFFECTIVE-SLOT-DEFINITIONS.
280 COMPUTE-EFFECTIVE-SLOT-DEFINITION now receives a :DOCUMENTATION
281 argument, as do eslotd initialization methods. (from Pascal
282 Costanza's "Closer" project)
283 * bug fix: REINITIALIZE-INSTANCE on generic functions calls
284 COMPUTE-DISCRIMINATING-FUNCTION (almost) unconditionally, as
286 * bug fix: it is now possible to have more than one subclass of
287 STANDARD-GENERIC-FUNCTION without causing stack overflow.
288 (reported by Bruno Haible, Pascal Costanza and others)
289 * bug fix: the dependent update protocol now works for generic
290 functions. (thanks to Gerd Moellmann; reported by Bruno Haible
292 * bug fix: condition-class instances corresponding to
293 DEFINE-CONDITION forms are now created eagerly. (reported by
294 Kalle Olavi Niemitalo on comp.lang.lisp)
295 * bug fix: floating point printing is more accurate in some
296 circumstances. (thanks to Simon Alexander)
297 * bug fix: *COMPILE-FILE-PATHNAME* now contains the user's pathname
298 merged with *DEFAULT-PATHNAME-DEFAULTS*.
299 * bug fix: callbacks on OS X now preserve stack-alignment.
300 (thanks to Cyrus Harmon)
301 * enhancement: the x86-64 disassembler is much better at
302 disassembling SSE instructions. (thanks to Lutz Euler)
303 * enhancement: CHECK-TYPE on a variable now allows type-inference
304 (thanks to Vincent Arkesteijn)
305 * optimization: improved performance of EUC-JP external format.
306 (thanks to NIIMI Satoshi)
307 * optimization: performance improvements to IO on file streams of
308 :ELEMENT-TYPE CHARACTER
309 * optimization: much faster memory allocation on x86-64
310 * optimization: faster garbage collections (latency and throughput)
312 * optimization: faster bignum subtraction and division on x86 and x86-64
313 (thanks to Lutz Euler)
314 * optimization: more accurate type-inference for loops that use a
315 floating point index variable or a negative step.
317 changes in sbcl-0.9.6 relative to sbcl-0.9.5:
318 * bug fix: add a workaround to SBCL looping infinitely at startup on
319 Linux kernels with apparently buggy implementations of personality().
320 (thanks to Svein Ove Aas)
321 * bug fix: Unicode symbols are correctly printed in LDB backtraces
322 (thanks to David Lichteblau)
323 * bug fix: local bindings shadow global symbol macros for
324 macroexpansion. (reported by Matthew D Swank on comp.lang.lisp)
325 * optimization: non-open coded uses of numeric comparison operators
326 (e.g. >) no longer cons when called with more than one parameter
327 on platforms supporting dynamic-extent allocation.
328 * enhancement: saving cores with foreign code loaded is now supported
329 on MIPS/Linux in addition to the previously supported platforms.
330 * bug fix: FIND-RESTART now tests for activity, not applicability when given
331 a restart object as identifier. (reported by Helmut Eller for CMUCL)
332 * bug fix: division by zero in sb-sprof when no samples were collected
333 * bug fix: a race when a slow to arrive sigprof signal killed sbcl
334 * bug fix: asdf-install uses CRLF as required by the HTTP spec.
335 (thanks to Alexander Kjeldaas)
336 * new feature: ignoring the return values of destructive functions
337 like NREVERSE signals a compile-time style-warning.
338 (thanks to Kevin Reid)
339 * new feature: the alignment of alien structure fields can be
340 explicitly specified. (thanks to Cyrus Harmon)
341 * bug fix: run cleanup forms (in all threads) when receiving a SIGTERM
342 and dump core on SIGQUIT
344 ** incompatible change: threads do not inherit values of specials
345 from their parents (see manual)
346 ** bug fix: threads stacks belonging to dead threads are freed by the
347 next exiting thread, no need to gc to collect thread stacks anymore
348 ** minor incompatible change: INTERRUPT-THREAD-ERROR-ERRNO removed
349 ** WITH-RECURSIVE-LOCK can be nested in a WITH-MUTEX for the same lock
350 ** bug fix: dynamic variable and thread start related gc lossage
351 ** bug fix: job control (SIGSTOP/SIGCONT) no longer confuses threads
353 * fixed some bugs revealed by Paul Dietz' test suite:
354 ** SUBTYPEP is slightly more accurate on heinously complicated
355 CONS types where some of the members have uncertain (in the
356 NIL, NIL sense) type relationships to each other.
358 ** Cores produced by SAVE-LISP-AND-DIE on GENCGC platforms are
359 no longer purified unless :PURIFY T is explicitly specified.
360 ** Non-purified cores are significantly smaller than before
362 changes in sbcl-0.9.5 relative to sbcl-0.9.4:
363 * new feature: timers based on Zach Beane's excellent timer package
364 * added support for the following external formats: koi8-u,
365 x-mac-cyrillic, cp437, cp850, cp852, cp855, cp857, cp860, cp861,
366 cp862, cp863, cp864, cp865, cp866, cp869, cp874, iso-8859-2,
367 iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7,
368 iso-8859-8, iso-8859-9, iso-8859-10, iso-8859-11, iso-8859-13,
369 iso-8859-14, cp1250, cp1251, cp1252, cp1253, cp1254,
370 cp1255,cp1256, cp1257, cp1258 (contributed by Ivan Boldyrev)
371 * incompatible change: a threaded SBCL will no longer revert to
372 non-threaded mode on non-NPTL systems, but refuse to start entirely.
373 * bug fix: interrupts are disabled until startup is complete; no
374 more sigsegvs when receiving a signal to soon
375 * optimization: faster 32-bit SB-ROTATE-BYTE:ROTATE-BYTE on non-x86/ppc
377 * bug fix: add a workaround for the memory randomization features in
378 Linux kernels >= 2.6.12 that interfere with SBCL's memory maps. This
379 workaround will only be in effect on systems with the proc filesystem
381 * bug fix: printing objects of type HASH-TABLE signals a
382 PRINT-NOT-READABLE error when *READ-EVAL* is NIL. (reported by
384 * bug fix: GET-INTERNAL-REAL-TIME now works even for processes that
385 have been running for over 50 days. (reported by Gilbert Baumann)
386 * bug fix: the logic for getting names of functions gets less
387 confused when confronded with alternate-metaclass
388 funcallable-instances. (reported by Cyrus Harmon)
389 * bug fix: FUNCTIONP and (LAMBDA (X) (TYPEP X 'FUNCTION)) are now
390 consistent, even on internal alternate-metaclass objects.
391 * bug fix: flush closure information collected by physical
392 environment analysis prepass before the main pass. (bug reported
394 * bug fix: compiler pack phase does not modify a hashtable, which is
395 iterated. (reported by Bryan O'Connor, fixed by Rob MacLachlan)
396 * bug fix: backquote does not optimize (LIST* x y) to CONS when x
397 may be expanded. (reported by Alexander <malishev> on c.l.l)
398 * bug fix: no more style-warnings when compiling code using LAST
399 under high-SPEED low-SPACE settings. (reported by David Wallin
401 * fixed some incompatibilities between SBCL's MOP and the MOP
403 ** the METAOBJECT class is now implemented;
404 ** FUNCALLABLE-STANDARD-OBJECT is now a subclass of
405 STANDARD-OBJECT, as required;
406 ** the classes STANDARD-CLASS and FUNCALLABLE-STANDARD-CLASS are
407 now compatible (as required by VALIDATE-SUPERCLASS); there
408 remains a consistency requirement over the presence or absence
409 of the FUNCTION class in the superclass list of finalized
410 classes; see the manual for more details;
411 ** the :AROUND method for COMPUTE-SLOTS on
412 FUNCALLABLE-STANDARD-CLASS now honours the primary method's
413 requested slot ordering.
415 ** bug fix: parent thread now can be gc'ed even with a live
417 ** bug fix: binding a special with PROGV to no value is not
418 the same as that symbol not having been bound (thanks to
420 ** bug fix: binding specials is thread safe (thanks to
422 ** bug fix: interrupt handlers are now per-process, RUN-PROGRAM
423 and SB-SPROF do not die with 'no handler for signal XX in
424 interrupt_handle_now(..)' anymore
425 ** bug fix: WITH-TIMEOUT works with multiple running threads
426 * fixed some bugs revealed by Paul Dietz' test suite:
427 ** ENSURE-GENERIC-FUNCTION should take a method class object for
428 the :method-class keyword argument.
430 changes in sbcl-0.9.4 relative to sbcl-0.9.3:
431 * new port: the Solaris operating system on x86 processors is now
432 mostly supported, though some rough edges in the environment
433 remain. (thanks to Daisuke Homma)
434 * enhancement: SBCL on MIPS platforms now has a much larger dynamic
435 space for its heap. (thanks to Thiemo Seufer)
436 * optimization: SBCL on MIPS platforms now supports dynamic-extent
437 closures. (thanks to Thiemo Seufer)
438 * minor incompatible change: eof selects abort in the debugger.
439 * minor incompatible change: *INVOKE-DEBUGGER-HOOK* is run before
440 *DEBUGGER-HOOK* => *DEBUGGER-HOOK* is not run when the debugger
442 * minor incompatible change: SB-KERNEL:INSTANCE-LAMBDA is
443 deprecated, and will go away in a future revision of SBCL.
444 * minor incompatible change: GC-ON and GC-OFF are no longer
445 implemented with a counter, it does not matter how many times gc
446 is switched on or off
447 * bug fix: discriminating functions for generic function classes
448 with non-standard methods for COMPUTE-APPLICABLE-METHODS no longer
449 make invalid assumptions about method precedence order. (reported
451 * bug fix: TRUNCATE now correctly signals division by zero on MIPS
452 platforms. (thanks to Thiemo Seufer)
453 * bug fix: degree sign (<U00B0>) could not be encoded in KOI8-R.
454 * bug fix: correct pathname printing with printer escaping is on.
455 (thanks to Kevin Reid)
456 * bug fix: complex VOP definitions in "user-space" no longer trigger
457 package locks. (reported by Zach Beane)
458 * fixed bug 343: SB-KERNEL:INSTANCE-LAMBDA is no longer necessary
459 for funcallable-instance functions, and is no different from
461 * bug fix: PARSE-INTEGER no longer depends on the whitespaceness of
462 characters in the current readtable. (reported by Nicholas Neuss)
463 * bug fix: SUBTYPEP on various CONS types returns more a more
464 accurate acknowledgment of its certainty.
465 * optimizations: REMOVE-DUPLICATES now runs in linear time on
466 lists in some cases. This partially fixes bug 384.
467 * flush all standard streams before prompting in the REPL and the
469 * bug fix: signal handling and triggering gc do not conflict
470 directly anymore, in particular a high frequency sb-sprof does
471 not prevent gc from running
472 * bug fix: DECODE-UNIVERSAL-TIME now uses a more reasonable
473 approximation for timezone and DST information between the
474 universal time epoch and the smallest negative 32-bit time_t.
475 * bug fix: ENCODE-UNIVERSAL-TIME no longer errors when passed the
476 year 1899 so long as the encoded time is non-negative.
477 * bug fix: on the x86 platform, SB-ROTATE-BYTE:ROTATE-BYTE returns
478 the correct answer for non-constant rotate amounts when performing
479 an inline 32-bit rotation.
481 ** bug fix: RELEASE-FOREGROUND doesn't choke on session lock if
482 there is only one thread in the session
483 ** bug fix: memory leak for streams created in one thread and
484 written to in another
485 ** bug fix: lockup when compiled with gcc4
486 ** bug fix: race that allows the gc to be triggered when gc is
488 ** bug fix: one less memory fault in INTERRUPT-THREAD, again
489 ** bug fix: gc and INTERRUPT-THREAD don't hang when the RT signal
491 ** bug fix: finished threads are gc'ed properly
492 * fixed some bugs revealed by Paul Dietz' test suite:
493 ** CALL-NEXT-METHOD signals an error (in safe code) when the call
494 has arguments with a different set of applicable methods from
495 the orignal arguments.
496 ** The type error thrown by MAP now has a correct expected-type
498 ** DISASSEMBLE now throws a TYPE-ERROR when its argument does not
499 name a compiled function.
500 ** Three MISC tests where a large bignum was improperly coerced to
501 a float that couldn't represent that bignum during type
502 derivation were fixed.
503 ** SUBTYPEP can now handle types involving the negation of a
504 list-form FUNCTION type.
505 ** SUBTYPEP also now handles certain COMPLEX type specifiers such
506 as (COMPLEX (AND RATIO (NOT FIXNUM))).
507 ** READ-BYTE and WRITE-BYTE no longer take stream designators.
509 changes in sbcl-0.9.3 relative to sbcl-0.9.2:
510 * New feature: Experimental support for bivalent streams: streams
511 opened with :element-type :default now allow character and binary
512 (unsigned-byte 8) I/O
513 * Support for the koi8-r external format. (thanks to Ivan Boldyrev)
514 * Bug fix: OPEN no longer fails when *PRINT-READABLY* is T. (thanks
516 * bug fix: no more highly sporadic "couldn't check whether ~S is
517 readable" when reading a stream and an interrupt hits in the middle
518 of a select system call
519 * compiler better recognizes complex arrays (reported by Eduardo
521 * bug fix: out-of-line SB-SYS:FOREIGN-SYMBOL-ADDRESS did not work
522 for variables on SBCL built with linkage-tables. (reported by Luis
524 * various error reporting improvements.
525 * optimizations: LOGNOR on fixnums is improved in the MIPS backend.
526 (Thanks to Thiemo Seufer)
527 * bug fix: nested reader invokations work correctly
528 * bug fix: it is possible to have simultaneous references to foreign
529 code and foreign data with the same name.
531 ** added x86-64 support
532 ** incompatible change: the threading api now works with thread
533 objects instead of thread ids
534 ** bug fix: threads are protected from signals and interruption when
535 starting up or going down
536 ** bug fix: a race where an exiting thread could lose its stack to gc
537 ** bug fix: don't halt on infinite error in threads if possible
538 ** fixed numerous gc deadlocks introduced in the pthread merge
539 ** bug fix: fixed thread safety issues in read and print
540 ** bug fix: debugger doesn't hang on session lock if interrupted at
541 an inappropriate moment
542 ** bug fix: run-program is now thread safe(r)
543 ** bug fix: inner with-recursive-lock no longer releases the mutex
544 * fixed a bug in (DECODE-UNIVERSAL-TIME 0) (reported by Paul Dietz)
545 * fixed some bugs revealed by Paul Dietz' test suite:
546 ** TYPE-ERRORs from signalled by COERCE now have DATUM and
547 EXPECTED-TYPE slots filled.
548 ** MULTIPLE-VALUE-SETQ always returns the primary value of the
550 ** MAKE-CONDITION accepts classes as type-designators.
551 ** COMPILE may never return NIL.
552 ** ENCODE-UNIVERSAL-TIME now guards against times out of Unix's
553 range before calling Unix time functions
555 changes in sbcl-0.9.2 relative to sbcl-0.9.1:
556 * numerous signal handling fixes to increase stability
557 * Support for EUC-JP external format. (thanks to NIIMI Satoshi)
558 * minor incompatible change: we now correctly canonize default
559 initargs, making them be a list of (INITARG INITFORM INITFUNCTION)
560 as per the MOP, rather than the historical (INITARG INITFUNCTION
561 INITFORM). (reported by Bruno Haible)
562 * new feature: WITH-COMPILATION-UNIT now accepts a non-standard
563 :SOURCE-PLIST option. See (DOCUMENTATION #'WITH-COMPILATION-UNIT T)
564 for more information.
565 * TRUENAME and PROBE-FILE now correctly resolve symlinks even if the
566 pathname is a directory pathname.
567 * SB-SPROF now works (more) reliably on non-GENCGC platforms.
568 * dynamic space size on PPC has been increased to 768Mb. (thanks to
570 * SB-MOP:ENSURE-CLASS-USING-CLASS now accepts a class as the
571 :METACLASS argument in addition to a class name. (reported by
572 Bruno Haible for CMUCL, patch for CMUCL by Gerd Moellmann)
573 * RESTART-CASE can now be wrapped around CALL-METHOD forms.
574 (reported by Bruno Haible; patch from Gerd Moellmann)
575 * bug fix: sbcl runtime can now be compiled with gcc4 (thanks to
577 * bug fix: more cleanups to the floating point exception handling on
578 x86-64 (thanks to James Knight)
579 * bug fix: the compiler does not try to constant fold calls of
580 COERCE and BIT-* functions when they return freshly constructed
581 objects. (reported by Nikodemus Siivola and Paul Dietz)
582 * optimization: improved the MIPS versions of generic (in the
583 generic sense) arithmetic routines. (thanks to Thiemo Seufer)
584 * optimization: direct conversion of (unsigned-byte 32) to floats on
585 the PowerPC platform.
586 * optimization: structure instances with raw slots now use less
587 memory, and probably show better memory locality. (thanks to
589 * optimization: DYNAMIC-EXTENT declarations for lists and closures
590 are treated as requests for stack allocation on the x86-64,
591 Alpha-32, PPC and SPARC platforms.
592 * contrib improvement: it's harder to cause SOCKET-CLOSE to close()
593 the wrong file descriptor; implementation of SOCKET-OPEN-P.
594 (thanks to Tony Martinez)
596 ** gcing a dead thread can no longer lead to lockups
597 ** threads block signals until they are set up properly
598 ** errno is no longer shared by threads
599 ** interrupt-thread restores the eflags register on x86
600 ** fixed some lockups due to gc/thread interaction
601 * fixed some bugs revealed by Paul Dietz' test suite:
602 ** invalid dotted lists no longer raise a read error when
604 ** signal an error if a symbol that names a declaration is used
605 as the name of a type, or vice versa
606 ** allow using the (declare (typespec var*)) abbreviation for
607 (declare (type typespec var*)) with all type specifiers
608 ** circularity detection works properly with PPRINT-LOGICAL-BLOCK
609 ** always return NIL from PPRINT-POP when OBJECT is NIL
610 ** don't signal errors when pretty-printing malformed LABELS,
611 FLET or MACROLET forms
612 ** declarations in a DOLIST body are also in scope for the
614 ** COMPILE-FILE accepts all pathname designators as INPUT-FILE
616 ** the ELEMENT-TYPE keyword argument to WITH-OUTPUT-STREAM is
619 changes in sbcl-0.9.1 relative to sbcl-0.9.0:
620 * fixed cross-compiler leakages that prevented building a 32-bit
621 target with a 64-bit host compiler.
622 * fixed a bug in CLOSE :ABORT T: no longer attempts to remove files
623 opened with :IF-EXISTS :OVERWRITE.
624 * fixed bug 281: error for an invalid qualifier in a short-form method
625 combination method is not signalled until the faulty method is called.
626 * bug fix: iteration variable type inferrer failed to deal with open
627 intervals. (reported by Alan Shields)
628 * bug fix: dynamically loading (via LOAD-SHARED-OBJECT or similar)
629 "frameworks" on Mac OS X no longer causes an EXC_BAD_ACCESS if two
630 or more runtime options were provided to the sbcl binary.
631 * compiled code is not steppable if COMPILATION-SPEED >= DEBUG.
632 * contrib improvement: implement SB-POSIX:MKSTEMP (Yannick Gingras)
633 * optimization: there's now a fast-path for fixnum arguments in the
634 generic subtraction routines on x86/x86-64. (Thanks to Lutz Euler)
635 * optimization: the code generated on x86-64 is more compact thanks
636 to not outputting unneccessary prefix bytes. (Thanks to Lutz Euler)
637 * bug fix: floating-point exception handling now partly works on
638 x86-64. (Thanks to James Knight)
639 * improvement to the MIPS backend from Thiemo Seufer: C-style
640 64-bit long long arguments and return values to alien functions
642 * fixed some bugs revealed by Paul Dietz' test suite:
643 ** the type-error signalled from WARN has a filled-in DATUM slot.
644 ** the type-error required when a stream is not associated with
645 a file has the stream as its datum.
646 ** type-errors on single-floats on x86-64 no longer have
647 :INVALID-OBJECT as the datum
648 ** the type-errors signalled for invalid function names now have
649 a correct expected type
650 ** (SETF (DOCUMENTATION ... 'STRUCTURE)) no longer signals an error
651 for structures defined with a :TYPE. Documentation strings for
652 typed structures are no longer immediately discarded
653 ** FILE-STRING-LENGTH and STREAM-EXTERNAL-FORMAT now work on
654 broadcast streams and synonym streams. FILE-LENGTH now also works
655 on broadcast streams.
657 changes in sbcl-0.9.0 relative to sbcl-0.8.21:
658 * incompatible change: the --noprogrammer option, deprecated since
659 version 0.7.5, has been removed. Please use the equivalent
660 --disable-debugger option instead.
661 * incompatible change: finalizers and *AFTER-GC-HOOKS* are now run with
663 * incompatible change: support for *BEFORE-GC-HOOKS* (that have been
664 inoperational for a while now) has been completely removed.
665 * null lexical environments are now printed as #<NULL-LEXENV>,
666 significantly reducing the amount of clutter in typical backtraces.
667 * documentation on weak pointers, finalization, and after GC hooks
668 has been added to the manual.
669 * optimization: REPLACE on declared (UNSIGNED-BYTE 8) vectors, as well
670 as other specialized array types, is much faster. SUBSEQ and
671 COPY-SEQ on such arrays have also been sped up.
672 * optimization: EQL is now more efficient when at least other argument
673 is known to be of type (OR FIXNUM (NOT NUMBER)).
674 * fixed bug: the runtime is now less vulnerable to changes in the
675 size of the SBCL object on OS X, and virtual memory is reserved for
676 all spaces that need to be at a fixed address.
677 * fixed bug: finalizers are now thread-safe. (thanks to Gabor Mellis)
678 * fixed bug: finalizers and after GC hooks that cause consing are now
680 * fixed bug: compiler error messages and summaries are now printed to
681 *ERROR-OUTPUT*, not *STANDARD-OUTPUT*.
682 * fixed inference of the upper bound of an iteration variable.
683 (reported by Rajat Datta).
684 * fixed bug 211e: calling local functions with duplicated constant
685 keyword argument no longer causes a bogus style warning about an
687 * fixed bug 305: INLINE/NOTINLINE declaration no longer causes local
688 ftype declaration to be disregarded. (reported by Dave Roberts)
689 * fixed bug 373: caused by erronous compilation of references to alien
690 variables in the runtime on ppc/darwin.
691 * fixed bug 376: CONJUGATE type deriver.
692 * fixed infinite looping of ALIEN-FUNCALL, compiled with high DEBUG.
693 (reported by Baughn on #lisp)
694 * a cross-compiler bug on non-x86 platforms has been identified and
695 fixed. (thanks to Bruno Haible)
696 * improvements to the MIPS runtime code for increased stability.
697 (thanks to Thiemo Seufer)
698 * increased the maximimum compact environment size to allow
699 purify on images with large amounts of functions. (thanks to Cyrus Harmon)
700 * partial workaround for bug 135: don't name the function we're
701 calling for hairy cases of EVAL, so as not to accumulate one environment
702 entry per call to EVAL. (reported by Kevin Reid)
703 * improvements to the x86-64 disassembler. (thanks to Lutz Euler)
704 * optimization: type testing for non-vector arrays should be faster.
705 * fixed TRACE :ENCAPSULATE NIL, added support for :ENCAPSULATE NIL
707 * bug fix: setting 31st element of a bit vector to zero did not work
709 * bug fix: redefining a class definition which failed due to a
710 previous accessor / function clash now works (but see BUGS entry
711 #380 for more problems in this area). (thanks to Zach Beane)
712 * the long form of DEFINE-METHOD-COMBINATION disables method group
713 checking when given a single method group with pattern *. (thanks
715 * on x86 compiler supports stack allocation of results of simple
716 calls of MAKE-ARRAY, bound to variables, declared DYNAMIC-EXTENT.
717 * support for building and running on Mac OS X 10.4 "Tiger" has been added
718 ** Binaries built on Tiger will not run on 10.2 "Jaguar" currently
719 * fixed some bugs related to Unicode integration:
720 ** the restarts for recovering from input and output encoding
721 errors only appear when there is in fact such an error to
723 * fixed some bugs revealed by Paul Dietz' test suite:
724 ** MISC.549 and similar: late transformation of unsafe type
725 assertions into derived types caused unexpected code
727 ** SCALE-FLOAT type deriver is less wrong.
728 ** type derivers for EXP, LOG and similar functions compute result
729 types for complex arguments better.
730 ** (MISC.563) CONJUGATE type deriver works for very restricted
732 ** out-of-line type testers for character strings are available.
733 ** EQUAL compiler transform understands specialness of objects
735 ** accessing double-floats stored on the stack now works on x86-64.
736 ** debugger internals could sometimes create invalid lispobjs,
737 resulting in GC crashes.
738 ** MISC.548: type check weakening can convert required type into
740 ** initialization forms for bindings are not in scope of free special
743 changes in sbcl-0.8.21 (0.9alpha.1?) relative to sbcl-0.8.20:
744 * incompatible change: thread support for non-NPTL systems has
745 been removed - locking is buggy and unreliable. A threaded
746 SBCL build will now warn at startup and refuse to create
747 new threads, unless futex support is detected in the kernel
748 * incompatible change: the top level REPL now has only an ABORT
749 restart associated with it, not TOPLEVEL and ABORT as it used to.
750 TOP and TOPLEVEL are now available as debugger commands for
751 returning to the top level.
752 * incompatible change: forms evaluated in the REPL now use the
753 global optimization policy.
754 * incompatible change: user- and system-initialization files are
755 no longer processed with LOAD, but by READ and EVAL; hence the
756 global optimization policy, startup package, readtable, etc,
758 * The .fasl file format number has been incremented because of
759 various incompatible changes.
760 * internal entry point details and argument counts no longer appear
761 in backtraces unless explicitly requested by setting
762 SB-DEBUG:*SHOW-ENTRY-POINT-DETAILS*.
763 * built-in and standard functions no longer have names like "top
764 level local call to FOO".
765 * fixed bug 32: functions defined in non-null lexical environments
766 now have more legible printed representation
767 * fixed bug 33: functions defined in non-null lexical environemnts
768 are now more amenable to inspection by INSPECT.
769 * workaround for bug 354: XEPs no longer appear in backtraces unless
770 explicitly requested.
771 * fixed bug: receiving the signal which results from attempting to
772 write to mprotect()ed memory (SIGSEGV on Linux and some *BSDs,
773 SIGBUS on other *BSDs) on architectures where the C stack is also
774 the Lisp stack (x86 and x86-64) from foreign code no longer leads
775 to debugger confusion or wild instability. (reported by Cheuksan
777 * fixed bug: COUNT and EQUAL no longer issue compiler efficiency
778 notes when operating on objects known to be SIMPLE-BIT-VECTORs.
779 (reported by Lutz Euler)
780 * fixed bug: (TYPEP X '(MEMBER ...)) no longer returns a list in
781 compiled code. (reported by Paul Dietz)
782 * fixed bug 276b: mutating with MULTIPLE-VALUE-SETQ a binding of a
783 specialized parameter to a method to something that is not TYPEP
784 the specializer is now possible.
785 * fixed bug: the MAKE-INSTANCE optimization is now correct in the
786 face of package deletion.
787 * fixed bug: LOAD should bind *LOAD-PATHNAME* to the merged
788 pathname. (reported by David Tolpin on c.l.l)
789 * contrib improvement: the SB-SIMPLE-STREAMS contrib now defines
790 STRING-SIMPLE-STREAM and FILE-SIMPLE-STREAM as subclasses of
791 STRING-STREAM and FILE-STREAM, respectively.
792 * contrib improvement: SB-INTROSPECT handles more of SLIME's needs
793 than previously; in addition, its test suite is now run on build.
794 (thanks to Luke Gorrie)
795 * a more robust x86-64 disassembler. (thanks to Lutz Euler)
796 * optimization: added a immediate representation for single-floats
798 * fixed some bugs revealed by Paul Dietz' test suite:
799 ** MISC.564: defined out-of-line version of %ATAN2 on x86.
800 ** attempting to create a package with a colliding nickname causes
801 correctable errors to be signalled.
802 ** MISC.572-574: :START1 and :START2 broken for simple-base-strings.
803 ** several x86-64 backend bugs related to sign-extension of immediate
806 changes in sbcl-0.8.20 (0.9alpha.0?) relative to sbcl-0.8.19:
807 * fixed inspection of specialized arrays. (thanks to Simon Alexander)
808 * fixed disassembly of SHLD and SHRD on x86. (thanks to David
810 * fixed loading of multiply forward-referenced layouts.
811 (thanks to Cheuksan Wang)
812 * fixed bug 7: less verbose COMPILE-FILE output. Additionally, the
813 output is now directed to *STANDARD-OUTPUT* as specified by ANSI.
814 (see COMPILE-FILE documentation for details of :PRINT option)
815 * fixed bugs 19 and 317: fixed-format floating point printing is
816 more accurate. This also fixes a bug reported by Adam Warner
817 related to the ~@F format directive.
818 * fixed bug 371: bignum print/read inconsistency. (thanks to Harald
820 * fixed bug: SET-SYNTAX-FROM-CHAR correctly shallow-copies a
821 dispatch table if the from-char is a dispatch macro character.
822 * fixed bug: COUNT and EQUAL on bit vectors with lengths divisible
823 by the wordsize no longer ignore the last word. (reported by Lutz
825 * fixed bug in type checking of dynamic-extent variables. (reported
827 * optimization: sequence traversal functions use their freedom to
828 coerce function designators to functions.
829 * optimization: code with many calls to CLOS methods specialized on
830 CLOS classes has had redundant type checks removed.
831 * optimization: added declarations to speed up operations that access
832 the internal character database (for example STRING-UPCASE)
833 * optimization: comparison operations between floats and sufficiently small
834 fixnums no longer create extra rationals
835 * fixed some bugs related to Unicode integration:
836 ** portions of multibyte characters at the end of buffers for
837 character-based file input are correctly transferred to the
838 start of the buffer at the next read.
839 ** COMPILE-FILE now respects any EXTERNAL-FORMAT argument given,
840 passing it through to OPEN.
841 ** LOAD on source files likewise passes any EXTERNAL-FORMAT
842 argument given to internal calls to OPEN.
843 ** the built-in comment readers (introduced by character sequences
844 ";" and "#|") are more forgiving to encoding errors; they will
845 STYLE-WARN and then attempt to resync the stream at a character
846 boundary. (thanks to Teemu Kalvas)
847 * fixed some bugs in the x86-64 port:
848 ** Negative short int return values from c-calls are sign-extended
850 ** The stack is aligned to 16-bytes for c-calls, as required by
851 the ABI. (thanks to Cheuksan Wang)
852 ** The disassembler understands more x86-64. (thanks to Cheuksan Wang)
853 ** The regression tests use SB-ALIEN:INT instead of SB-ALIEN:INTEGER
854 for enums. (thanks to Vincent Arkesteijn)
855 ** Multiple small optimizations and bugfixes for floating point
857 * fixed some bugs revealed by Paul Dietz' test suite:
858 ** Space, Tab, Linefeed, Return and Page have the invalid
859 secondary constituent character trait.
860 ** SET-SYNTAX-FROM-CHAR correctly copies multiple-escape character
862 ** WITH-INPUT-FROM-STRING should only update the index place on
864 ** Pretty-printing backquoted forms when *PRINT-CIRCLE* is true
866 ** Bit-array operations (BIT-AND and similar) worked incorrectly
867 with one-dimensional arrays with fill pointers.
868 ** TYPE-OF failed on a complex with an integer realpart and a
870 ** compiler failure during type inference for the code of form
871 (IF (EQL X (THE ...)) ...) (MISC.535).
873 changes in sbcl-0.8.19 relative to sbcl-0.8.18:
874 * new port: SBCL now works in native 64-bit mode on x86-64/Linux
875 platform. The port supports 61-bit fixnums, large memory spaces
876 and reloading shared object files.
877 * enhancement: saving cores with foreign code loaded is now
878 supported on ppc/Darwin in addition to the previously supported
880 * enhancement: the statistical profiler now walks deeper into the
881 call stack for more meaningful call-graphs and accrued time
882 reports (x86/x86-64 only). It also now reports time spent in
884 * enhancement: it is now possible to trace most individual methods
885 of a generic function in addition to tracing the generic function
887 * bug fix: invalid :DEFAULT-INITARGS are detected in compiled calls
889 * bug fix: defaulted initargs are passed to INITIALIZE-INSTANCE and
890 SHARED-INITIALIZE methods from compiled calls to MAKE-INSTANCE.
891 * bug fix: COERCE to (COMPLEX FLOAT) of a complex number no longer
892 produces an error. (thanks to Vincent Arkesteijn)
893 * bug fix: NAMESTRING on pathnames with :WILD components in their
894 directories works correctly. (thanks to Artem V. Andreev)
895 * fixed bug 125: compiler preserves identity of closures. (reported
897 * bug fixed: functions with &REST arguments sometimes failed with
898 "Undefined function" when compiled with (DEBUG 3). (reported by
900 * bug fix: overflow during compiling of setting element of a bit
901 vector with constant index and value. (reported by Timmy Douglas)
902 * build fix: fixed the dependence on *LOAD-PATHNAME* and
903 *COMPILE-FILE-PATHNAME* being absolute pathnames.
904 * on x86 compiler partially supports stack allocation of dynamic-extent
906 * GO and RETURN-FROM do not check the extent of their exit points
907 when compiled with SAFETY 0.
908 * fixed some bugs related to Unicode integration:
909 ** encoding and decoding errors are now much more robustly
910 handled; it should now be possible to recover even from invalid
911 input or output to the terminal. (thanks to Teemu Kalvas)
912 ** provided a first cut at implementing STRING-TO-OCTETS and
913 OCTETS-TO-STRING. (thanks to Robert J. Macomber)
914 ** altered the SB-MD5 contributed module slightly, changing the
915 interface just enough for it to be supportable for builds where
916 lisp characters are not eight bits.
917 * fixed some bugs revealed by Paul Dietz' test suite:
918 ** the FORMATTER-generated functions for ~V[ conditionals require
919 the correct number of arguments.
920 ** READ-FROM-STRING returns the mandated second value when applied
921 to displaced strings.
922 ** the #\Rubout and #\Backspace characters are treated as invalid
923 constituent characters by the tokenizer.
925 changes in sbcl-0.8.18 relative to sbcl-0.8.17:
926 * new feature: reloading changed shared object files with
927 LOAD-SHARED-OBJECT now causes the new definitions to take effect.
928 * new feature: references to foreign variables and functions
929 can now be compiled and loaded before the corresponding shared
930 object file is loaded, as long as the foreign definitions are
931 available at runtime.
932 * Solaris 10 (aka SunOS 5.10) on the SPARC platform is now
933 supported. (thanks to Dan Debertin)
934 * SB-ALIEN enums can now be represented in Lisp by any symbols, not
935 just keywords. (thanks to Vincent Arkesteijn)
936 * fixed bug #331: structure-class instances corresponding to
937 DEFSTRUCT forms are now created eagerly.
938 * fixed bug #345: backtraces from calls to undefined functions work
939 on x86 as well. Related bug #61 is now also partially fixed on x86
940 (backtraces from throws to unknown catch tags.)
941 * bug fix: lambda-list parsing is now stricter vrt. order and number
942 of lambda-list keywords.
943 * bug fix: as specified by AMOP, an error is signalled if a
944 class-option appears multiple times in a DEFCLASS form. (reported
946 * bug fix: RANDOM can be compiled when the compiler derives the type
947 of its numeric argument as a disjoint set of small integers.
948 (reported by Paul Dietz)
949 * bug fix: starting a core saved with shared objects loaded when
950 those objects are not available no longer causes threaded SBCL to
951 hang. (reported by Sean Ross)
952 * bug fix: evaluated FUNCTION no longer bypasses encapsulation (eg.
954 * bug fix: (SETF MACRO-FUNCTION) now accepts an optional environment
955 argument, which must always be NIL. (reported by Kalle Niemitalo)
956 * bug fix: printing 1.0d+23 no longer results in an error.
957 (reported by Rolf Wester for CMUCL; bug fix from Raymond Toy)
958 * bug fix: structure slot setters preserve evaluation order. (thanks
960 * fixed some bugs related to Unicode integration:
961 ** RUN-PROGRAM can allow its child to take input from a Lisp
962 stream. (reported by Stefan Scholl)
963 ** ASDF-INSTALL successfully downloads .tar.gz files in all
964 locales. (reported by Ken Causey)
965 * fixed some bugs revealed by Paul Dietz' test suite:
966 ** INCF, DECF and REMF evaluate their place form as specified in
968 ** FORMATTER expands ~{ ~} iteration directives with V or #
969 parameters correctly.
970 ** FORMATTER deals with the ~@[ ~] conditional directive where the
971 consequent uses no arguments correctly.
972 ** the system has a partial understanding of the (COMPLEX RATIO)
974 ** UPGRADED-COMPLEX-PART-TYPE obeys the lattice upgrading rules
977 changes in sbcl-0.8.17 relative to sbcl-0.8.16:
978 * new feature: a build-time option (controlled by the :SB-UNICODE
979 keyword feature, enabled by default) for building the system with
980 support for the entire 21-bit character space defined by the
982 * new feature: the system now has rudimentary external-format
983 support; the primary user-visible change at this time is that
984 characters with the high bit set (such as lower-case-e-acute) will
985 print correctly to a terminal in a UTF-8 environment.
986 * minor incompatible change: BASE-CHAR no longer names a class;
987 however, CHARACTER continues to do so, as required by ANSI.
988 * minor incompatible change: SB-DEBUG:*DEBUG-PRINT-FOO* variables
989 are no longer supported, and SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST*
990 has been moved to the SB-EXT package (temporarily re-exported from
992 * minor incompatible change: SB-C::*COMPILER-ERROR-PRINT-FOO* variables
993 are no longer supported: use SB-EXT:*COMPILER-PRINT-VARIABLE-ALIST*
995 * fixed bug #351: better error-handlind and reporting for malformed
997 * fixed bug #350: bignum-printing is now more memory-efficient,
998 allowing printing of very large bignums, eg. (expt 2 10000000).
999 (reported by Bruno Haible)
1000 * fixed bug #302: better primitive-type selection for intersection
1002 * fixed bug #308: non-graphic characters now all have names, as
1003 required. (reported by Bruno Haible)
1004 * bug fix: redefining a class with different superclasses now correctly
1005 removes it from the direct-subclasses of its previous superclasses.
1006 (reported by David Morse)
1007 * bug fix: (SETF FIND-CLASS) using a FORWARD-REFERENCED-CLASS as the
1008 new value now works. (reported by Bruno Haible)
1009 * bug fix: correct canonicalization of multiple non-standard slot
1010 options in DEFCLASS as per AMOP 5.4.2. (reported by Bruno Haible)
1011 * bug fix: SB-MOP:CLASS-PROTOTYPE now signals an error if the class
1012 is not yet finalized, as required by AMOP. (reported by Bruno Haible)
1013 * bug fix: SB-MOP:ALLOCATE-INSTANCE method for instances of BUILT-IN-CLASS
1014 now exists, an signals an error.
1015 * bug fix: duplicate LOOP variable bindings now signal PROGRAM-ERROR
1016 during macroexpansion for non-iteration variables as well. (reported
1017 by Bruno Haible for CMUCL)
1018 * bug fix: Cyclic structures and unprintable objects in compiler
1019 messages no longer cause errors. (reported by Bruno Haible)
1020 * bug fix: READ, READ-PRESERVING-WHITESPACE, READ-DELIMITED-LIST,
1021 and READ-FROM-STRING all now return a primary value of NIL if
1022 *READ-SUPPRESS* is true. (reported by Bruno Haible for CMUCL)
1023 * bug fix: Default value of EOF-ERROR-P in READ-FROM-STRING is true.
1024 (reported by Bruno Haible for CMUCL)
1025 * bug fix: ERROR now signals a TYPE-ERROR if the arguments to ERROR
1026 do not designate a condition. (reported by Bruno Haible for
1028 * bug fix: UNINTERN, USE-PACKAGE, IMPORT and EXPORT all signal an
1029 SB-EXT:NAME-CONFLICT condition (subtype of PACKAGE-ERROR) in the
1030 name conflict situations in CLHS 11.1.1.2.5, and provide a restart
1031 permitting resolution in favour of any of the conflicting symbols.
1032 (reported by Bruno Haible for CMUCL)
1033 * bug fix: EQUAL compiler optimizations is less aggressive on
1034 strings which can potentially compare true despite having distinct
1035 specialized array element types.
1036 * bug fix: unit enumerations can be defined without dividing by
1037 zero. (thanks to Vincent Arkesteijn)
1038 * FORMAT compile-time argument count checking has been enhanced.
1039 (report from Bruno Haible for CMUCL)
1040 * a partial workaround for the bug 262: the compiler does not try to
1041 inline-expand a local function doing RETURN-FROM from a deleted
1042 BLOCK. (thanks to Peter Denno for the bug report and to David
1043 Wragg for the simple test case)
1044 * fixed some bugs revealed by Paul Dietz' test suite:
1045 ** RENAME-PACKAGE allows all package designators as new package
1047 ** constraint propagation and lambda variable substitution are
1048 more cautious in dealing with partially deleted code.
1049 ** compiler sometimes lost reoptimization passes.
1050 ** CERROR, given a condition as condition designator, passes its
1051 remaining arguments to the continue format control without
1053 ** Case-altering FORMAT directives work correctly on non-ASCII
1055 ** The REAL type specifier handles bounds outside the floating
1056 point ranges without signalling FLOATING-POINT-OVERFLOW.
1057 ** Functions with IR1-transformations can create intercomponent
1058 references to global functions.
1059 ** NIL parameter to the FORMAT directive ~^ means `unsupplied
1061 ** FORMAT ~R treats a nil value for its first parameter correctly.
1063 changes in sbcl-0.8.16 relative to sbcl-0.8.15:
1064 * enhancement: saving cores with foreign code loaded is now
1065 supported on x86/NetBSD and sparc/Linux in addition to the previously
1066 supported platforms.
1067 * bug fix: on some platforms repeated installations caused multiple
1068 copies of HTML documentation to be installed -- should not happen
1069 any more. (reported by Stefan Scholl)
1070 * bug fix: parsing self-recursive alien record types multiple times
1071 no longer causes infinite recursion. (reported by Thomas F. Burdick,
1072 original patch by Helmut Eller for CMUCL)
1073 * bug fix: stack-exhaustion detection works now on NetBSD as well.
1074 (thanks to Richard Kreuter)
1075 * bug fix: defining classes whose accessors are methods on existing
1076 generic functions in other (locked) packages no longer signals
1077 bogus package lock violations. (reported by François-René Rideau)
1078 * bug fix: special variables as DEFMETHOD parameters no longer have
1079 associated bogus type declarations. (reported by David Wragg and
1081 * bug fix: read-write consistency on streams of element-type
1082 (SIGNED-BYTE N) for N > 32. (reported by Bruno Haible for CMUCL)
1083 * bug fix: redefiniton of the only method of a generic function with
1084 no DEFGENERIC no longer emits a full WARNING. In addition,
1085 redefinition of generic functions with no DEFGENERIC to an
1086 incompatible lambda list now signals an error. (thanks to Zach
1088 * bug fix: DEFGENERIC now works even when there's a function of the
1089 same name in an enclosing lexical environment. (thanks to Zach
1091 * fixed compiler failure, caused by instrumenting code during
1092 IR1-optimization. (Debian bug report #273606 by Gabor Melis)
1093 * optimization: added loop analysis and improved register allocation
1094 * fixed some bugs revealed by Paul Dietz' test suite:
1095 ** POSITION on displaced vectors with non-zero displacement
1096 returns the right answer.
1097 ** (SIMPLE-STRING) is a valid type specifier for sequence
1099 ** *PRINT-LEVEL* handling for slotless structures is pedantically
1101 ** PPRINT-INDENT accepts a request for an indentation of any REAL.
1102 ** PPRINT-TAB (and the FORMAT ~T directive) now indent by the
1104 ** The justification version of the FORMAT ~< directive treats
1105 non-zero minpad parameter correctly.
1107 changes in sbcl-0.8.15 relative to sbcl-0.8.14:
1108 * incompatible change: SB-INT:*BEFORE-SAVE-INITIALIZATIONS* and
1109 SB-INT:*AFTER-SAVE-INITIALIZATIONS* have been renamed
1110 SB-EXT:*SAVE-HOOKS* and SB-EXT:*INIT-HOOKS*, and are now part of
1111 the supported interface.
1112 * new feature: Single-stepping of code compiled with DEBUG 2 or
1113 higher and (> DEBUG (MAX SPACE SPEED)) is now possible.
1114 * new feature: saving cores with foreign code loaded is now
1115 supported on x86/FreeBSD, x86/Linux, and sparc/SunOS. (based on
1116 Timothy Moore's work for CMUCL)
1117 * bug fix: DEFTYPE lambda-list parsing now binds unsupplied keyword
1118 parameters to * instead of NIL if no initform is supplied.
1119 (reported by Johan Bockgaard)
1120 * bug fix: DEFINE-COMPILER-MACRO lambda-list parsing now binds
1121 correctly when FUNCALL appears as the car of the form. Note:
1122 despite this FUNCALL forms are not currently subject to
1123 compiler-macro expansion. (port of Raymond Toy's fix for the
1124 same from CMUCL, reported by Johan Bockgaard)
1125 * bug fix: FOR ... ON ... -clauses in LOOP now work on dotted lists
1126 (thanks for Teemu Kalvas)
1127 * bug fix: in FORMAT ~^ inside ~:{ now correctly steps to the next
1128 case instead of terminating the iteration (thanks for Julian
1129 Squires, Sean Champ and Raymond Toy)
1130 * bug fix: incorrect expansion of defgeneric that caused a style
1131 warning. (thanks for Zach Beane)
1132 * bug fix: slot accessor effective method computation works properly
1133 for classes with multiple non-standard applicable methods on
1134 SB-MOP:SLOT-VALUE-USING-CLASS. (reported by Ralf Mattes)
1135 * on x86 compiler supports stack allocation of results of LIST and
1136 LIST*, bound to variables, declared DYNAMIC-EXTENT. (based on
1137 CMUCL implementation by Gerd Moellmann)
1138 * fixed some bugs revealed by Paul Dietz' test suite:
1139 ** FORMAT strings with both the ~<~:;~> form of the justification
1140 directive and pretty-printing directives cause an error.
1142 changes in sbcl-0.8.14 relative to sbcl-0.8.13:
1143 * incompatible change: the internal functions
1144 SB-KERNEL:32BIT-LOGICAL-FOO, intended for providing efficient
1145 logical operations on (UNSIGNED-BYTE 32) values, have been renamed
1146 to SB-KERNEL:WORD-LOGICAL-FOO. Modular arithmetic should be used
1147 instead of the old functions.
1148 * new feature: on platforms where "dladdr" is available foreign
1149 function names now appear in backtraces. (based on Helmut Eller's
1151 * documentation: documentation for SB-BSD-SOCKETS, SB-GRAY,
1152 SB-SIMPLE-STREAMS, and SB-PROFILE have been integrated into the user
1154 * documentation: ASDF manual is now distributed with SBCL.
1155 * bug fix: SBCL can now load its contributed modules with REQUIRE
1156 even if the system-provided entries have been removed from
1157 ASDF:*CENTRAL-REGISTRY*. Infinite recursion in REQUIRE is also
1159 * bug fix: backtraces involving undefined functions or assembly
1160 routines are more informative. (thanks to Brian Downing)
1161 * bug fix: mutually referent alien structures now work correctly.
1162 (reported by Rick Taube)
1163 * bug fix: structures defined by WITH-ALIEN can be referred to
1164 within other definitions in the same WITH-ALIEN.
1165 * bug fix: division operators (MOD, TRUNCATE and the like) with
1166 constant zero divisors and integer dividends no longer generate
1168 * bug fix: provide default methods for INPUT-STREAM-P and
1169 OUTPUT-STREAM-P specialized on SB-GRAY:FUNDAMENTAL-STREAM.
1170 * bug fix: improve the detection and resolution of MOP metacycles
1171 (where effective method computation depends on the generic function
1172 having its effective method computed). (reported by Bruno Haible)
1173 * bug fix: pass the right initargs to :BEFORE or :AFTER methods on
1174 SHARED-INITIALIZE or INITIALIZE-INSTANCE in optimized
1175 MAKE-INSTANCE constructors. (reported by Axel Schairer for cmucl)
1176 * bug fix: pathnames with relative directory components can be
1177 represented relative to default pathnames.
1178 * optimization: in taking the GCD of bignums, reduce the two bignums
1179 to approximately the same size (using Euclid's algorithm) before
1180 applying the more sophisticated binary GCD. (thanks to Juho
1182 * optimization: COUNT on bitvectors now operates word-at-a-time.
1183 * optimization: ASH with a positive, but not necessarily constant,
1184 (leftwards) shift, when in a modular context, is compiled to a
1186 * fixed some bugs revealed by Paul Dietz' test suite:
1187 ** FORMAT variable parameters ("~V<char>") are defaulted properly
1188 if the corresponding argument is NIL.
1189 ** FORMAT directives accepting a minpad parameter treat negative
1191 ** literal commas as character parameters to FORMAT directives are
1193 ** literal spaces directly after ~<Newline> directives within a
1194 format-logical-block (~:< ~@:>) do not induce :FILL-style
1195 conditional newlines.
1196 ** PRINT-UNREADABLE-OBJECT inserts spaces as specified (and only
1197 as specified: it no longer includes conditional newlines).
1198 ** PRINC-TO-STRING binds *PRINT-READABLY* to NIL (as well as
1200 ** PPRINT-LOGICAL-BLOCK signals a TYPE-ERROR if its :PREFIX or
1201 :PER-LINE-PREFIX argument does not evaluate to a string.
1203 changes in sbcl-0.8.13 relative to sbcl-0.8.12:
1204 * new feature: SB-PACKAGE-LOCKS. See the "Package Locks" section of
1205 the manual for details; for now, package locks can be disabled by
1206 removing :SB-PACKAGE-LOCKS in customize-target-features.lisp, but
1207 if no major problems are found then it is likely that they will be
1208 compiled in unconditionally.
1209 * major incompatible change: LOAD-FOREIGN and LOAD-1-FOREIGN are now
1210 unsupported operators on all platforms. To load a shared library
1211 into SBCL, use SB-ALIEN:LOAD-SHARED-OBJECT. To load a non-shared
1212 object file, link it into a shared library outside of SBCL and
1213 load it using SB-ALIEN:LOAD-SHARED-OBJECT. (incidentally fixes
1215 * bug workaround: ROOM T and the GC were not working together
1216 reliably, because invariants expected by the SB!VM:INSTANCE-USAGE
1217 reporting facility aren't preserved. That reporting has been
1218 disabled, so now until and unless someone figures out how to make it
1219 work reliably with the current GC, (ROOM T) is equivalent to (ROOM).
1220 * minor incompatible change: as threatened around sbcl-0.8.0, the
1221 home package of MOP-related symbols is now SB-MOP, not SB-PCL.
1222 The symbols are also exported from SB-PCL for backwards
1223 compatibility, but more so than before SB-PCL should be treated as
1224 an implementation-internal package.
1225 * fasl format changed: SBCL 0.8.13 fasls are incompatible with those
1227 * the SB-SPROF contrib now works on (most) non-x86 architectures.
1228 It is known as of this release not to work on the Alpha, however.
1229 * fixed bug #167: errors signalled due to illegal syntax in method
1230 bodies are now more legible.
1231 * fixed bug #338: instances of EQL-SPECIFIER are now valid type
1232 designators and can hence be used with TYPEP.
1233 * fixed bug #333: CHECK-TYPE now ensures that the type error
1234 signalled, if any, has the right object to be accessed by
1235 TYPE-ERROR-DATUM. (reported by Tony Martinez)
1236 * fixed bug #340: SETF of VALUES obeys the specification in ANSI
1237 5.1.2.3 for multiple-value place subforms. (reported by Kalle
1239 * fixed bug #334: programmatic addition of slots using specialized
1240 methods on SB-MOP:COMPUTE-SLOTS works for :ALLOCATION :INSTANCE
1241 and :ALLOCATION :CLASS slots.
1242 * fixed bug #269: SCALE-FLOAT scales floats by any integer, not just
1243 float exponents. (rereported by Peter Seibel)
1244 * fixed a bug: #\Space (and other whitespace characters) are no
1245 longer considered to be macro characters in standard syntax by
1246 GET-MACRO-CHARACTER.
1247 * fixed bug: initialization of condition class metaobjects no longer
1248 causes an instance of the condition to be created. (reported by
1250 * fixed bug: it is now possible to have slots such that
1251 SB-MOP:SLOT-DEFINITION-ALLOCATION of the effective slot
1252 description is neither :INSTANCE nor :CLASS.
1253 * fixed bug: the ctor optimization of MAKE-INSTANCE now respects
1254 user-defined methods on SLOT-BOUNDP-USING-CLASS and (SETF
1255 SLOT-VALUE-USING-CLASS), and no longer causes errors with
1256 non-standard SLOT-DEFINITION-ALLOCATION values.
1257 * fixed bugs: various race conditions handling exiting threads.
1258 CL-PPCRE's thread torture test now passes.
1259 * fixed arguably-a-bug: GC time proportional to number of threads in
1260 system even when most of them are idle
1261 * optimization: improved performance of BIT and SBIT on bit-vectors.
1262 * .fasl file incompatibility: The fasl file version number has
1263 been incremented because of changes associated with package locks.
1265 changes in sbcl-0.8.12 relative to sbcl-0.8.11:
1266 * minor incompatible change: the system no longer provides
1267 optimization hints (conditions which are TYPEP
1268 SB-EXT:COMPILER-NOTE) for conforming code in default compilation
1269 mode; these hints are still emitted when higher SPEED optimization
1271 * new contrib module: a sampling profiler (profiling by statistical
1272 sampling, rather than by instrumenting functions) is available as
1273 the SB-SPROF contrib. (thanks to Gerd Moellmann and Juho Snellman)
1274 * the behaviour of the standard function ED is now customizeable by
1275 third parties through a hook variable: see ED's documentation
1276 string for information on the protocol.
1277 * the compiler no longer emits efficiency notes for (FUNCALL X)
1278 when the type of X is uncertain under default optimization
1280 * fixed bug 276: mutating a binding of a specialized parameter to a
1281 method to something that is not TYPEP the specializer is now
1283 * fixed bugs 45d and 118: DOUBLE-FLOAT[-NEGATIVE]-EPSILON now
1284 exhibit the required behaviour on the x86 platform. (thanks to
1285 Peter van Eynde, Eric Marsden and Bruno Haible)
1286 * fixed bug 335: ATANH now computes the inverse hyperbolic tangent
1287 even for difficult arguments. (reported by Peter Graves)
1288 * fixed bug 141a: the backquote printer now descends quoted
1290 * fixed another bug in backquote printing: no more destructive
1291 modification of the form's list structure. (reported by Brian
1293 * fixed bug in INTERRUPT-THREAD: pin the function, so that it cannot
1294 move between its address being taken and the call to
1295 interrupt_thread, fixing a crashing race condition.
1296 * the SB-POSIX contrib implementation has been adjusted so that it
1297 no longer exhibits ridiculously poor performance when constructing
1298 instances corresponding to C structs.
1300 changes in sbcl-0.8.11 relative to sbcl-0.8.10:
1301 * minor incompatible change: the sb-grovel contrib now treats C
1302 structures as alien (in the sense of SB-ALIEN) objects rather than
1303 as undistinguished (simple-array (unsigned-byte 8) (*))s. This
1304 has implications for memory management of client code
1305 (sb-grovel-returned objects must now be manually managed) and for
1306 type safety (alien objects now have full types).
1307 * new feature: the SB-EXT:MUFFLE-CONDITIONS declaration should be
1308 used to control emission of compiler diagnostics, rather than the
1309 SB-EXT:INHIBIT-WARNINGS OPTIMIZE quality. See the manual for
1310 documentation on this feature. The SB-EXT:INHIBIT-WARNINGS
1311 quality should be considered deprecated.
1312 * install.sh now installs the user manual as well
1313 * (not quite a new documentable feature, but worth considering in
1314 the light of the new SB-EXT:MUFFLE-CONDITIONS declaration): the
1315 beginnings of a semantically meaningful condition hierarchy is
1316 under development, for use in SB-EXT:MUFFLE-CONDITIONS and by
1318 * fixed bug: PARSE-NAMESTRING now accepts any valid pathaname
1319 designator as the defaults argument.
1320 * fixed bug: Displaced arrays whose displaced-to array has become
1321 too small now cause ARRAY-DIMENSION to signal an error, providing
1322 for safer bounds-checking. (reported by Bruno Haible)
1323 * fixed bug: DEFCLASS slot definitions with identical :READER and
1324 :WRITER names now signal a reasonable error. (reported by Thomas
1326 * fixed bug: CLOSE :ABORT T on appending stream no longer causes
1328 * fixed bug: Invalid slot specification errors now print correctly.
1329 (thanks to Zach Beane)
1330 * fixed bug 320: Shared to local slot value transfers in class
1331 redefinitions now happen corrently from superclasses as
1332 well. (reported by Bruno Haible)
1333 * fixed bug 316: SHIFTF now accepts VALUES forms. (reported by Bruno
1335 * fixed bug 322: DEFSTRUCT :TYPE LIST type predicates now handle
1336 improper lists correctly. (reported by Bruno Haible)
1337 * fixed bug 313: source-transform for <fun-name> was erroneously
1338 applied to a call of a value of a variable with name <fun-name>.
1339 (reported by Antonio Menezes Leitao)
1340 * fixed bug 307: The obsolete instance protocol ensures that
1341 subclasses are properly obsoleted. (thanks to Nikodemus Siivola)
1342 * fixed bug 298, revealed by Paul F. Dietz' test suite: SBCL can
1343 remove dead unknown-values globs from the middle of the stack.
1344 * added a new restart to *BREAK-ON-SIGNALS* handling to make it
1345 easier to resume long computations after using *BREAK-ON-SIGNALS*
1346 to diagnose and fix failures. (thanks to Nikodemus Siivola)
1347 * fixed bug reported by PFD in lisppaste #747 (and Bruno Haible from
1348 CLISP test suite): WRITE-TO-STRING is not constant-foldable.
1349 * fixed bugs in COMPLEX type specifier: UPGRADED-COMPLEX-PART-TYPE
1350 is now consistent with (COMPLEX <x>); bugs in treatment of COMPLEX
1351 MEMBER and UNION types have likewise been fixed. (thanks to Bruno
1353 * fixed a (fairly theoretical) bug in string printing: if
1354 *PRINT-READABLY* is true, signal PRINT-NOT-READABLE if the string
1355 does not have array-element-type equal to the most general string
1357 * fixed bug: SET-PPRINT-DISPATCH does not immediately resolve
1358 function name. (thanks to Nikodemus Siivola)
1359 * fixed bug: compile-time format string checker failed on
1360 non-closed ~{. (reported by Thomas F Burdick)
1361 * fixed bug: as reported by Kalle Olavi Niemitalo on #lisp IRC,
1362 don't warn on legal loop code involving more than one aggregate
1363 boolean. (thanks to Nikodemus Siivola)
1364 * fixed bug: as reported by Peter Graves on #lisp IRC, passing a NIL
1365 in keyword position to MAKE-PACKAGE was not being reported as
1367 * fixed bug: as reported by Juan Ripoll on cmucl-imp,
1368 MULTIPLE-VALUE-BIND should be able to lexically bind lambda list
1370 * fixed bugs 280 and 312: the checking for multiple definitions in a
1371 file is less likely to become confused by uses of inline
1373 * fixed bug: the #S reader macro performs the keyword coercion
1374 specified for slot names. (reported by Kalle Niemitalo)
1375 * fixed bug: lambda lists may contain symbols whose names start with
1376 & but are not lambda-list-keywords; their occurrence triggers a
1378 * fixed bug 321: define-method-combination argument lambda lists do
1379 not cause invalid code to be generated when &optional or &aux
1380 variables have default values. (reported by Bruno Haible)
1381 * fixed bug 327: system subclasses of STRUCTURE-OBJECT or CONDITION
1382 have CLOS classes; this appears also to have fixed reported
1383 instability in stack exhaustion detection.
1384 * fixed bug: the CONTROL-ERROR from ABORT, CONTINUE and
1385 MUFFLE-WARNING when no associated restart is present is now
1387 * optimization: rearranged the expansion of various defining macros
1388 so that each expands into only one top-level form in a
1389 :LOAD-TOPLEVEL context; this appears to decrease fasl sizes by
1391 * optimization: used a previously little-used slot in symbols to
1392 cache SXHASH values, yielding a 5-10% compiler speedup. (thanks
1394 * fixed some bugs revealed by Paul Dietz' test suite:
1395 ** MAKE-INSTANCES-OBSOLETE returns the class name when called with
1397 ** Fixed an optimization bug related to inheritance of initforms
1398 from local to shared slots.
1399 ** FILE-POSITION works as specified on BROADCAST-STREAMs.
1400 ** CAST optimizer forgot to flush argument derived type.
1401 ** print/read consistency on floats is now orders of magnitude
1402 more likely. (thanks also to Bruno Haible for a similar report
1404 ** removed stack cleaning in the cleanup part of UNWIND-PROTECT.
1405 ** IMAGPART is specified (infelicitously) to return (* 0 <thing>)
1406 for objects of type REAL. Make it so.
1407 ** SXHASH is specified (infelicitously) to respect similarity,
1408 which means that (SXHASH 0.0) must equal (SXHASH -0.0). Make
1409 it so. (thanks to Markus Ziegler)
1410 ** on the Alpha, the compiler succeeds in compiling functions
1411 returning a known number of arguments greater than 63.
1412 ** fixed handling of invalid NIL arguments in keyword position
1414 ** fixed non-pretty printing of arrays with *PRINT-RADIX* being
1416 ** provided a readably-printable representation for RANDOM-STATE
1418 ** ensured that pathnames, where they have a namestring, always
1419 print using #P"..." syntax.
1421 changes in sbcl-0.8.10 relative to sbcl-0.8.9:
1422 * Support for the forthcoming 2.0 version of the NetBSD kernel
1423 running on x86 hardware has been added. (thanks to Perry
1424 E. Metzger most immediately, and others for their past work)
1425 * SBCL now runs on OpenBSD 3.4. (Thanks to Scott Parish; 3.4 is the
1426 current release version; SBCL's OpenBSD support had been broken
1427 since about the time of OpenBSD's switch to ELF binary format.)
1428 * [placeholder for DX summary]
1429 ** user code with &REST lists declared dynamic-extent, under high
1430 speed or space and low safety and debug optimization policy.
1431 * The manual has been converted to Texinfo format and the debugger
1432 chapter from the cmucl manual has been added.
1433 * A facility has been added to extract documentation strings from
1434 sbcl and store them as Texinfo-formatted snippets for inclusion in
1435 the manual (via Texinfo's @include directive)
1436 * bug fix: compiler emitted division in optimized DEREF. (thanks for
1437 the test case to Dave Roberts)
1438 * bug fix: multidimensional simple arrays loaded from FASLs had fill
1439 pointers. (reported by Sean Ross)
1440 * bug fix: PROFILE output is printed nicely even for large numerical
1441 values. (thanks to Zach Beane)
1442 * bug fix: streams with element-type (SIGNED-BYTE <N>) for <N>
1443 greater than 32 handle EOF correctly.
1444 * bug fix: on X86 an immediate argument of the IMUL instruction is
1445 correctly printed in disassembly. (thanks to Lutz Euler)
1446 * bug fix: class slots in redefined classes preserve their old
1447 values. (thanks to Bruno Haible and Nikodemus Siivola)
1448 * bug fix: compilation of funcalls of CXX+R (e.g. CDDR) now
1449 succeeds. (reported by Marco Baringer)
1450 * fixed some bugs revealed by Paul Dietz' test suite:
1451 ** READ-SEQUENCE now works on ECHO-STREAMs.
1452 ** RATIONALIZE works more according to its specification. (thanks
1455 changes in sbcl-0.8.9 relative to sbcl-0.8.8:
1456 * deprecation of old extension: *DEBUG-PRINT-LEVEL* and
1457 *DEBUG-PRINT-LENGTH* are now deprecated in favor of the new, more
1458 general SB-DEBUG:*DEBUG-PRINT-VARIABLE-ALIST* mechanism. (This
1459 should matter to you only if you rebind the printer control
1460 variables and then find you want different bindings in the
1461 debugger than in the ordinary execution of your program.)
1462 * The runtime build system has been tweaked to support building
1463 (on SPARC/SunOS) using a C compiler which invokes Sun's own
1464 assembler and linker. (thanks to Nikodemus Siivola)
1465 * Unbound, undefined, undeclared variables now trigger full
1466 WARNINGs, not just STYLE-WARNINGs, on the assumption that this is
1467 more often programmer error than deliberate exploitation of undefined
1469 * optimization: the hash algorithm for strings has changed to one
1470 that is less vulnerable to spurious collisions. (thanks to Juho
1472 * optimization: VECTOR-POP, VECTOR-PUSH-EXTEND and REPLACE do less
1473 needless bounds checking. (thanks to Juho Snellman)
1474 * optimization: implemented multiplication as a modular
1475 (UNSIGNED-BYTE 32) operation on the PPC backend.
1476 * fixed some bugs revealed by Paul Dietz' test suite:
1477 ** ADJUST-ARRAY now copies the datum in a zero rank array if
1479 ** ADJUST-ARRAY no longer adjusts non-adjustable arrays.
1480 ** MAKE-STRING-INPUT-STREAM accepts NIL as a value for :END.
1481 ** MAKE-STRING-INPUT-STREAM functions correctly for strings with
1483 ** CLEAR-INPUT accepts NIL and T for its (optional) stream
1485 ** Ratios can now be printed correctly with *PRINT-BASE* bound to
1487 ** ECHO-STREAMs no longer attempt to echo the end of file value to
1488 their output stream on EOF from read.
1489 ** CONCATENATED-STREAM-STREAMS discards constituent streams which
1490 have been read to end-of-file.
1491 ** CLOSE works as expected on the null CONCATENATED-STREAM, and on
1493 ** Printing symbols with *PRINT-CASE* :CAPITALIZE respects the
1494 description of determination of which consecutive characters
1496 ** Printing the "Space" character with escaping on now yields "#\\ ",
1497 rather than "#\\Space", as mandated by ANSI 22.1.3.2.
1498 ** Reading floating-point numbers with *READ-BASE* set to a number
1499 less than 10 works correctly.
1500 ** Reading floating-point numbers with *READ-BASE* set to a number
1501 more than 10 works correctly.
1502 ** Printing with *PRINT-READABLY* targets the standard readtable, not
1503 the readtable currently in effect.
1505 changes in sbcl-0.8.8 relative to sbcl-0.8.7:
1506 * minor incompatible change: parsing of namestrings on a physical
1507 (Unix) host has changed; numbers after the final #\. in a
1508 namestring are no longer interpreted as a version field. This is
1509 intented to be largely invisible to the user, except that the
1510 meaning of the namestring "*.*.*" has changed: it now refers to a
1511 pathname with :TYPE :WILD :NAME #<pattern "*.*">. This namestring
1512 should usually be replaced by
1513 (make-pathname :name :wild :type :wild :version :wild)
1514 with the added benefit that this is more likely to be portable.
1515 As a consequence of this change, the :IF-EXISTS :NEW-VERSION
1516 option to OPEN now signals an error if the file being opened
1517 exists; this may have an impact on existing code.
1518 * fixed bug 190: RUN-PROGRAM should now work properly, respecting
1519 signals received, on the PowerPC platforms (both Linux and
1520 Darwin). (thanks to Pierre Mai for pointing out the location of
1522 * several fixes on OS X: The system now builds and runs cleanly on
1523 Panther (10.3), and works around sigreturn bug (no more SIGFPEs).
1524 (thanks to Brian Mastenbrook)
1525 * bug fix: DECODE-UNIVERSAL-TIME now accepts timezone arguments with
1526 second-resolution: integer multiples of 1/3600 between -24 and 24.
1527 (thanks to Vincent Arkesteijn)
1528 * bug fix: functions =, /=, <, <=, >, >= did not check the argument
1529 type when called with 1 argument; PEEK-CHAR checked type of
1530 PEEK-TYPE only after having read first character from a
1531 stream. (reported by Peter Graves)
1532 * bug fix: the garbage collector now has much better locality
1533 behaviour, and in particular no longer treats all memory as being
1534 exhausted when many small objects point to each other in a deeply
1536 * bug fix: arrays specialized on (UNSIGNED-BYTE 15) are now
1537 recognized as being TYPEP their class.
1538 * bug fix: the PUSHNEW documentation string has been corrected.
1539 (thanks to Vincent Arkesteijn)
1540 * bug fix: defaulting of the value for the last of an atypically
1541 large number of multiple values being bound was not being
1542 performed correctly on the Alpha or PPC platforms
1543 * optimization: implemented multiplication as a modular
1544 (UNSIGNED-BYTE 32) operation on the x86 backend.
1545 * optimization: SEARCH on simple-base-strings can now be open-coded.
1546 (see also contrib/compiler-extras.lisp for inspiration for
1547 teaching the compiler about the Boyer-Moore algorithm).
1548 * value, returned by MAX (and MIN) called with several EQUALP, but
1549 not EQL, arguments now does not depend on compiler settings.
1550 * fixed some bugs revealed by Paul Dietz' test suite:
1551 ** in stack analysis liveness information is propagated from
1552 non-local entry points.
1553 ** pathwise CAST removing failed when the CAST node did not start
1555 ** INPUT-STREAM-P, OUTPUT-STREAM-P, STREAM-ELEMENT-TYPE and
1556 OPEN-STREAM-P signal a TYPE-ERROR if their argument is not a
1558 ** LOAD-LOGICAL-PATHNAME-TRANSLATIONS returns NIL if the logical
1559 host is already defined.
1560 ** RENAME-FILE works on streams instead of signalling an internal
1562 ** PEEK-CHAR uses the current readtable when determining whether
1563 or not a character is whitespace.
1564 ** MERGE-PATHNAMES handles the case when the pathname does not
1565 specify a name while the default-pathname specifies a version.
1566 ** Pathnames now stand a better chance of respecting print/read
1568 ** Attempting to use standardized file system operators with a
1569 pathname with invalid :DIRECTORY components signals a
1571 ** OPEN :DIRECTION :IO no longer fails to work on non-existent
1573 ** DIRECTORY on logical pathnames is more correct.
1574 ** CLEAR-INPUT, CLEAR-OUTPUT, FINISH-OUTPUT and FORCE-OUTPUT
1575 signal a TYPE-ERROR if their argument is not a stream.
1576 ** READ-BYTE and WRITE-BYTE signal a TYPE-ERROR if their stream
1577 designator argument does not designate a stream.
1578 ** OPEN-STREAM-P and INPUT-STREAM-P on synonym streams work by
1579 examining the synonym.
1580 ** STREAM-ELEMENT-TYPE and FRESH-LINE on broadcast-streams now
1582 ** OPEN and WITH-OPEN-STREAM allow opening streams with
1583 element-type larger than ([UN]SIGNED-BYTE 32).
1585 changes in sbcl-0.8.7 relative to sbcl-0.8.6:
1586 * When built with the :SB-FUTEX feature, threaded builds now take
1587 advantage of the "fast userspace mutex" facility in Linux kernel 2.6
1588 for faster/more reliable mutex and condition variable support.
1589 * Incompatible change (but one you probably shouldn't have been using
1590 anyway): the interface and code for arbitrating between multiple
1591 threads in the same user session has been redesigned.
1592 * bug fix: GET-SETF-EXPANSION no longer throws an internal type
1593 error when called without an explicit environment argument.
1594 (thanks to Nikodemus Siivola)
1595 * bug fix: buffered :DIRECTION :IO streams are less likely to become
1596 confused about their position. (thanks to Adam Warner and Gerd
1598 * bug fix: Pretty printing backquoted forms with unquotations in the
1599 argument list position of various code constructs such as LAMBDA
1600 now works correctly. (reported by Paul Dietz)
1601 * bug fix: Pretty printing unquotations no longer loses all
1602 stream position information.
1603 * optimization: performance of string output streams is now less
1604 poor for multiple small sequence writes.
1605 * optimization: performance of CSUBTYPEP in the presence of complex
1606 expressions involving CONS and NOT many times has been improved.
1607 (reported by Paul Dietz)
1608 * ASDF-INSTALL bug fix: now parses *PROXY* properly. (thanks to
1610 * SB-SIMPLE-STREAMS enhancement: simple-streams can now be used as
1611 streams for the REPL, for the debugger, and so on. (thanks to
1613 * DEFINE-CODITION is more efficient. (thanks to Brian Mastenbrook)
1614 * fixed some bugs revealed by Paul Dietz' test suite:
1615 ** the value of the :REHASH-THRESHOLD argument to MAKE-HASH-TABLE
1616 is ignored if it is too small, rather than propagating through
1617 to cause DIVIDE-BY-ZERO or FLOATING-POINT-OVERFLOW errors.
1618 ** extremely complex negations of CONS types were not being
1619 sufficiently canonicalized, leading to inconsistencies in
1621 ** VALUES tranformer lost derived type.
1623 changes in sbcl-0.8.6 relative to sbcl-0.8.5:
1624 * fixed a bootstrapping bug: the build process no longer assumes
1625 that the various BOOLE-related constants have the same value in
1626 host and target lisps. (noted by Paul Dietz' test suite on an
1627 SBCL binary built from CLISP)
1628 * The system can now be dynamically linked on the MIPS platform,
1629 which enables dynamic loading of foreign code from Lisp. (thanks
1630 to Ralf Baechle for discussions on the MIPS ABI)
1631 * The system now records debugging information for its own source
1632 files in a filesystem-position-independent manner, relative to
1633 the "SYS" logical host.
1634 * fixed a compiler bug: MV-LET convertion did not check references
1635 to the "max args" entry point. (reported by Brian Downing)
1636 * tweaked disassembly notes to be less confident about proclaiming
1637 some instruction as an LRA. (thanks to Brian Downing)
1638 * contrib update: SB-ACLREPL is now threadsafe; multiple listeners
1639 now each have their own history, command character, and other
1640 characteristics. (thanks to David Lichteblau)
1641 * fixed some bugs revealed by Paul Dietz' test suite:
1642 ** compiler failure in compiling LOGAND expressions including a
1644 ** Implementation of ASH-MOD32 on X86 and PPC did not work for the
1645 shift greater than 32.
1646 ** FLUSH-DEST did not mark blocks for type check regeneration.
1647 ** HANDLER-CASE failed to accept declarations in handler clauses
1648 in some circumstances.
1650 changes in sbcl-0.8.5 relative to sbcl-0.8.4:
1651 * New code in contrib/sb-introspect (still probably not entirely
1652 stable yet) provides some support for smart Lisp development
1653 environments like SLIME.
1654 * The conditions signalled for errors occurring when loading .fasl
1655 files have been systematized (inheriting from SB-EXT:INVALID-FASL)
1656 in a way which should help ASDF recover gracefully.
1657 * The REQUIRE/PROVIDE behavior of *MODULE-PROVIDER-FUNCTIONS*
1658 stuff has been cleaned up. If you code contrib/ stuff, this might
1659 affect you, and you can look at contrib/README, contrib/STANDARDS,
1660 and/or the 0.8.4.27 diff to check.
1661 * In full calls the compiler now does not generate checks for declared
1662 argument types for all arguments.
1663 * various threading fixes
1664 ** and some experimental patches which didn't make it into
1665 the main tree for this release, but which are shipped in
1666 contrib/experimental-thread.patch as a possible fix for some
1667 failures (deadlock, spinning...) in GC-intensive multithreaded
1669 * fixed PPC build problem (source code incompatibility of different
1670 library versions): added offsetof() hackery which attempts to divine
1671 where glibc maintainers put uc_mcontext today
1672 * fixed bug 282: compiler does not trust type assertions while passing
1673 arguments to a full call.
1674 * fixed bug 261: compiler allows NIL or "no value" to be accepted for
1675 &OPTIONAL VALUES type parameter.
1676 * fix bug 214: algorithm for noting rejected templates is now more
1677 similar to that of template seletion. (also reported by rydis on
1679 * fixed bug 141b: printing backquoted information readably and prettily
1680 inserts a space where necessary.
1681 * bug fix: obviously wrong type specifiers such as (FIXNUM 1) or
1682 (CHARACTER 10) are now reported as errors, rather than propagated
1683 as unknown types. (reported by piso on #lisp)
1684 * bug fix: the :IF-EXISTS argument to OPEN now behaves correctly
1685 with values NIL and :ERROR. (thanks to Milan Zamazal)
1686 * fixed bug 191c: CLOS now does proper keyword argument checking as
1687 described in CLHS 7.6.5 and 7.6.5.1.
1688 * bug fix: LOOP forms using NIL as a for-as-arithmetic counter no
1689 longer raise an error; further, using a list as a for-as-arithmetic
1690 counter now raises a meaningful error.
1691 * fixed bug 213a: even fairly unreasonable CONS type specifiers are
1692 now understood by sequence creation functions such as MAKE-SEQUENCE
1694 * fixed bug 46k: READ-BYTE now signals an error when asked to read from
1695 a STRING-INPUT-STREAM.
1696 * compiler enhancement: SIGNUM is now better able to derive the type
1698 * type declarations inside WITH-SLOTS are checked. (reported by
1700 * fixed some bugs revealed by Paul Dietz' test suite:
1701 ** incorrect optimization of TRUNCATE for a positive first
1702 argument and negative second.
1703 ** compiler failure in let-convertion during flushing dead code.
1704 ** compiler failure while deriving type of TRUNCATE on an
1705 interval, containing 0.
1706 ** ASH of a negative bignum by a negative bignum count now returns
1708 ** intersection of CONS types now canonicalizes properly, fixing
1709 inconsistencies in SUBTYPEP.
1711 changes in sbcl-0.8.4 relative to sbcl-0.8.3:
1712 * incompatible change: The --disable-debugger command line
1713 option now clobbers the debugger at a more fundamental
1714 level, by redefining #'INVOKE-DEBUGGER instead of by
1715 rebinding *DEBUGGER-HOOK*. The main difference is that BREAK
1716 is specified by ANSI to ignore *DEBUGGER-HOOK* and
1717 INVOKE-DEBUGGER regardless. Under the old system, BREAK would
1718 enter the debugger REPL and then suffer recursive errors
1719 because *DEBUG-IO* is also messed up in --disable-debugger mode;
1720 while under the new system, BREAK in --disable-debugger mode
1721 terminates the system just as an unhandled error would.
1722 * fixed compiler performance when processing loops with a step >1;
1723 * bug fix: DOCUMENTATION now retrieves generic function
1724 documentation. Also, DOCUMENTATION and (SETF DOCUMENTATION)
1725 support has been systematized, and now supports the methods
1726 specified by ANSI, along with a default method and a method for
1727 slot documentation. (reported by Nathan Froyd)
1728 * bug fix: effective methods associated with a generic function are
1729 no longer cached over a change of that generic function's method
1730 combination. (reported by Andreas Fuchs)
1731 * bug fix: RUN-PROGRAM now does not fail if some element in $PATH
1732 names a non-existent directory. (thanks to Andreas Fuchs)
1733 * bug fix: ROUND and TRUNCATE could, under certain circumstances on
1734 the PPC platform, lead to stack corruption; this has been fixed.
1735 (reported by Rainer Joswig)
1736 * bug fix: ASH on an (UNSIGNED-BYTE 32) with a shift of -32 or lower
1737 no longer ever returns 1 instead of 0. (thanks to Lars Brinkhoff)
1738 * fixed bug 285: TRUNCATE on bignum arguments, and indeed bignum
1739 arithmetic in general, is now much more reliable on the PPC
1741 * bug fix: LOGCOUNT on (UNSIGNED-BYTE 64) objects on the Alpha
1742 platform now returns the right answer.
1743 * optimization: restored some effective method precomputation in
1744 CLOS (turned off by an ANSI fix in sbcl-0.8.3); the amount of
1745 precomputation is now tunable.
1746 * optimization: compiler-internal data structure use has been
1747 reviewed, and changes have been made that should improve the
1748 performance of the compiler by about 20%.
1749 * optimization: performance of FILL (and :INITIAL-ELEMENT) on
1750 simple-base-strings and simple-bit-vectors is improved.
1751 * optimization: the optimization of 32-bit logical and arithmetic
1752 functions introduced in version 0.8.3 on the x86 has been
1753 implemented on the mips, ppc and sparc platforms; an
1754 implementation of the same facility, but for 64-bit arithmetic,
1755 has been added for the alpha.
1756 * microoptimization: the compiler is better able to make use of the
1757 x86 LEA instruction for multiplication by constants.
1758 * bug fix: in some situations compiler did not report usage of
1759 generic arithmetic in (SPEED 3) policy.
1760 * bug 145b fix: compiler used wrong type specifier while converting
1761 MEMBER-types to numeric.
1762 * bug fix: COMPILE-FILE must bind *READTABLE*. (reported by Doug
1764 * bug fix: (SETF AREF) on byte-sized-element arrays with constant
1765 index argument now works properly on the Alpha platform.
1766 * bug fix: floating point exception treatment on the Alpha platform
1768 * bug fix: FILE-POSITION works much better on string input and
1769 output streams. (thanks to Nikodemus Siivola)
1770 * bug fix: many threading/garbage collection symptoms sorted.
1771 SB-THREAD:INTERRUPT-THREAD now safe to call on a thread that
1772 might be pseudo-atomic.
1773 * internal change: Stopping for GC is now done with signals not
1774 ptrace. GC is now done in whichever thread wanted it, instead of
1776 * bug fix: GC hooks (missing since 0.8) reinstated, so finalizers
1778 * bug fix: result form in DO is not contained in the implicit
1780 * incompatible change: ICR structure is changed; the value part of
1781 CONTINUATION is now called LVAR; corresponding functions are
1782 renamed (e.g. SB-C::CONTINUATION-TYPE has become SB-C::LVAR-TYPE).
1783 * added type deriver for ISQRT (thanks to Robert E. Brown).
1784 * bug fix: better support for loading from the command line when an
1785 initialization file sets (READTABLE-CASE *READTABLE*). (thanks
1787 * fixed some bugs revealed by Paul Dietz' test suite:
1788 ** the RETURN clause in LOOP is now equivalent to DO (RETURN ...).
1789 ** ROUND and FROUND now give the right answer when given very
1790 small float arguments.
1791 ** (FLOAT X) for X of type DOUBLE-FLOAT now returns X in all
1793 ** optimizer for (EXPT X 0) did not work for X not of type FLOAT.
1794 ** (GCD 0 <negative-integer>) returned <negative-integer>.
1795 ** LCM should return a non-negative integer.
1796 ** PARSE-INTEGER returned the index of a terminator instead of the
1797 upper bounding index of a substring in case :JUNK-ALLOWED NIL.
1798 ** PARSE-INTEGER returned an incorrect index being applied to a
1800 ** LCM with two arguments of 0 returns 0 rather than signalling
1802 ** unsigned addition of a 32-bit constant with the high bit set no
1803 longer causes an internal compiler error on the x86.
1804 ** LOGBITP accepts a non-negative bignum as its INDEX argument.
1805 ** compiler incorrectly derived types of DPB and DEPOSIT-FIELD
1806 with negative last argument.
1807 ** byte specifiers with zero size and position no longer cause
1808 an error during type derivation.
1809 ** bignum multiplication on the Alpha platform now returns the
1811 * porting: The system now builds on SuSE AMD64, although it still
1812 generates a 32-bit binary.
1813 * .fasl file incompatibility: The fasl file version number has
1814 been incremented (because of the changes to internal compiler
1815 data structures referred to above).
1817 changes in sbcl-0.8.3 relative to sbcl-0.8.2:
1818 * SBCL now builds and runs on MacOS X (version 10.2), or perhaps
1819 more accurately, on the Darwin kernel running on PowerPC hardware.
1820 (thanks to Brian Mastenbrook, Pierre Mai and Patrik Nordebo)
1821 * Compiler code deletion notes now signal a condition of type
1822 SB-EXT:CODE-DELETION-NOTE (a subtype of SB-EXT:COMPILER-NOTE) with
1823 an associated MUFFLE-WARNING restart.
1824 * The compiler now performs limited argument count validation of
1825 constant format strings in FORMAT, and where appropriate in ERROR,
1826 CERROR and WARN. (thanks to Gerd Moellmann)
1827 * New ASDF-INSTALL contrib can be used for automatic download and
1828 installation of third-party Lisp code from CCLAN or other sites
1830 * Threaded builds (:SB-THREAD) now support SB-THREAD:INTERRUPT-THREAD,
1831 which forces another thread to execute a function supplied by the
1833 * bug 75 fix: WITH-OUTPUT-TO-STRING (and MAKE-STRING-OUTPUT-STREAM)
1834 now accept and act upon their :ELEMENT-TYPE keyword argument.
1835 (reported by Martin Atzmueller, Edi Weitz)
1836 * bug fix: FILE-POSITION now accepts position designators up to
1837 ARRAY-DIMENSION-LIMIT or the extreme of the off_t range, whichever
1838 is the greater. (thanks to Patrik Nordebo)
1839 * bug fix: MAKE-ARRAY ignored :INITIAL-CONTENTS NIL. (reported by
1840 Kalle Olavi Niemitalo)
1841 * bug fix: the CLASS-PROTOTYPE of the GENERIC-FUNCTION class is now
1842 printable. (reported by Eric Marsden)
1843 * bug fix in sb-posix: mmap() now works on systems with a 64-bit
1844 off_t, including Darwin and FreeBSD. (thanks to Andreas Fuchs)
1845 * x86 bug fix in control stack exhaustion checking: now shows backtrace
1846 * bug fix in WITH-TIMEOUT: now the body can have more than one form.
1847 (thanks to Stig Sandoe)
1848 * bug fix in READ-SEQUENCE: READ-SEQUENCE following PEEK-CHAR or
1849 UNREAD-CHAR now correctly includes the unread character in the
1850 target sequence. (thanks to Gerd Moellmann)
1851 * bug fix in threaded builds: the system can now be suspended and
1852 resumed by shell job control with minimal disruption.
1853 * bug fixes in times and timezones >2038AD
1854 * better handling of "where is GNU make?" problem in build scripts
1855 (thanks to Nikodemus Siivola)
1856 * new optimization: inside a named function any reference to a
1857 function with the same name is considered to be a self-reference;
1858 this behaviour is controlled with SB-C::RECOGNIZE-SELF-CALLS
1859 optimization quality.
1860 * new optimization on x86: logical functions and + now have
1861 optimized (UNSIGNED-BYTE 32) versions, which are automatically
1862 used when the result is truncated to 32 bits.
1863 * VALUES declaration is partially enabled.
1864 * fixes in SB-GROVEL (thanks to Andreas Fuchs)
1865 * fixed some bugs revealed by Paul Dietz' test suite:
1866 ** The system now obeys the constraint imposed by
1867 UPGRADED-ARRAY-ELEMENT-TYPE that the upgraded array element
1868 types form a lattice under type intersection.
1869 ** FFLOOR, FTRUNCATE, FCEILING and FROUND work with integers.
1870 ** ASSOC now ignores NIL elements in an alist.
1871 ** CEILING now gives the right answer with MOST-NEGATIVE-FIXNUM
1872 and (1+ MOST-POSITIVE-FIXNUM) answers.
1873 ** The addition of a method with invalid qualifiers to a generic
1874 function does not cause an error to be signalled immediately;
1875 a warning is signalled, and the error is generated only on
1876 calling the generic function.
1877 * changed .fasl file version number, in part to add type codes for
1878 new array subtypes UNSIGNED-BYTE 7, 15, 29, and 31 mandated by
1879 obscure ANSI requirements
1881 changes in sbcl-0.8.2 relative to sbcl-0.8.1:
1882 * fixed bug 148: failure to inline-expand a local function left
1883 garbage, confusing the compiler.
1884 * fixed bugs 3cd: structure slot readers perform type check if the
1885 slot can have an invalid value (i.e. it is either not initialized
1886 or can be written with a less specific slot writer).
1887 * bug fix: the compiler now traps array references to elements off
1888 the end of an array; previously, the bounds checking in some
1889 circumstances could go off-by-one.
1890 * improved MACHINE-VERSION, especially on Linux (thanks to Lars
1892 * type declarations for array element types now obey the description
1893 on the CLHS page "Declaration TYPE", as per discussions on
1894 sbcl-help around 2003-05-08. This means that a declaration
1895 (TYPE (ARRAY FOO) BAR) means that, within the scope of the
1896 declaration, all references to BAR will be asserted or assumed
1897 (with THE, so dependent on compiler policy) to involve objects of
1898 type FOO. Note that no such declaration is implied in
1899 (MAKE-ARRAY .. :ELEMENT-TYPE 'FOO).
1900 * declared types of functions from the "Conditions"
1901 chapter. (reported by Paul Dietz)
1902 * bug fix: CERROR accepts a function as its first argument.
1903 * bug fix: NTH an NTHCDR accept a bignum as index
1904 arguments. (reported by Adam Warner)
1905 * optimization: character compare routines now optimize comparing
1906 against a constant character. (reported by Gilbert Baumann)
1907 * bug fix: (SETF AREF) on byte-sized-element arrays with constant index
1908 argument now works properly on the MIPS platform.
1909 * fixed compiler failure on (TYPEP x '(NOT (MEMBER 0d0))).
1910 * repeated evaluation of the same DEFSTRUCT, a slot of which is
1911 declared to have a functional type, does not cause an error
1913 * fixed bug: sometimes MAKE-INSTANCE did not work with classes with
1914 many :DEFAULT-INITARGS. (reported by Istvan Marko)
1915 * fixed bug: if last continuation of a deleted block has a
1916 destination, this destination should be deleted too. (reported by
1918 * fixed a bug in the bootstrap process: the host compiler's values
1919 of ARRAY-DIMENSION-LIMIT and ARRAY-TOTAL-SIZE-LIMIT no longer leak
1920 into the newly-built SBCL. (reported by Eric Marsden on #lisp,
1921 test case from Patrik Nordebo)
1922 * improved the ability of the disassembler on the PPC platform to
1923 provide helpful disassembly notes.
1924 * SB-MOP:CLASS-PROTOTYPE on built-in-classes returns an instance of
1925 the class in more cases than previously.
1926 * bug fix: FILE-POSITION now understands :START and :END for
1927 STRING-INPUT-STREAMs. (thanks to Nikodemus Siivola)
1928 * bug fix: (SIGNED-BYTE 8) streams no longer return (UNSIGNED-BYTE
1929 8) data. (thanks to David Lichteblau)
1930 * bug fix: it is possible to add a method to a generic function
1931 without lambda list.
1932 * bug fix: reader failed to signal END-OF-FILE inside an
1933 object representation. (reported by Nikodemus Siivola)
1934 * fixed some bugs revealed by Paul Dietz' test suite:
1935 ** LAST and [N]BUTLAST should accept a bignum.
1936 ** condition slot accessors are methods.
1937 ** (VECTOR NIL) is a subtype of STRING.
1939 changes in sbcl-0.8.1 relative to sbcl-0.8.0:
1940 * minor incompatible change: some nonsensical specialized lambda
1941 lists (used in DEFMETHOD) which were previously ignored now signal
1943 * minor incompatible change: the system is now aware of the types of
1944 variables in the COMMON-LISP package, and will signal errors for
1945 most violations of these type constraints (where previously they
1946 were silently accepted).
1947 * minor incompatible change: COMPILE-FILE now uses the freedom
1948 afforded (ANSI 3.2.2.3) to use derived function types for
1949 functions defined in the same file. This also permits the system
1950 to warn on static type mismatches and function
1951 redefinition. (Currently it does not work with high DEBUG level.)
1952 * minor incompatible change: VALUES declaration is disabled.
1953 * When issuing notes, the compiler now signals a condition of type
1954 SB-EXT:COMPILER-NOTE, and provides an associated MUFFLE-WARNING
1955 restart for use in user handlers. It is expected that the
1956 COMPILER-NOTE condition will eventually become a condition
1957 supertype to a hierarchy of note types, which will then be
1958 handleable in a similar fashion. However, at the moment, no such
1959 note subtypes yet exist. (SB-INT:SIMPLE-COMPILER-NOTE exists,
1960 but it's an implementation detail, not a classification for the
1962 * Changes in type checking closed the following bugs:
1963 ** type checking of unused values (192b, 194d, 203);
1964 ** template selection based on unsafe type assertions (192c, 236);
1965 ** type checking in branches (194bc).
1966 * A short form of VALUES type specifier has ANSI meaning (it has
1967 increased the number of situations when SBCL cannot perform type
1969 * fixed bug in DEFSTRUCT: once again, naming structure slots with
1970 keywords or constants is permissible.
1971 * STREAM-READ-SEQUENCE and STREAM-WRITE-SEQUENCE now have methods
1972 defined on the relevant FUNDAMENTAL-BINARY-{INPUT,OUTPUT}-STREAM
1973 classes. (thanks to Antonio Martinez)
1974 * improved ANSIness in DESCRIBE: The DESCRIBE function no longer
1975 outputs FRESH-LINE or TERPRI, and no longer converts its stream
1976 argument to a pretty-print stream. Instead, it leaves any such
1977 operations to DESCRIBE-OBJECT methods.
1978 * bug fix: APROPOS now respects the EXTERNAL-ONLY flag. (reported
1980 * bug fix: NIL is now a valid destructuring argument in DEFMACRO
1981 lambda lists. (thanks to David Lichteblau)
1982 * bug fix: Defining a generic function with a :METHOD-CLASS being a
1983 subclass of STANDARD-METHOD no longer causes stack exhaustion.
1984 (thanks to Gerd Moellmann)
1985 * fixed bug 246: increased compilation speed of long
1986 MULTIPLE-VALUE-BIND (and likewise of NTH-VALUE with a constant
1988 * a contributed module implementing COMPILER-LET and MACROEXPAND-ALL
1990 * DEFCONSTANT now throws a condition of type
1991 SB-EXT:DEFCONSTANT-UNEQL if it is being asked to redefine a
1992 constant to a non-EQL value; CONTINUE and ABORT restarts
1993 respectively change and preserve the value.
1994 * fixed bug 63: The code walker, part of the implementation of CLOS,
1995 is now better at handling symbol macros.
1996 * bug fix: There is no longer an internal implementation type named
1997 CL:LENGTH. (reported by Raymond Toy)
1998 * bug fix: In macro-like defining macros/special operators the
1999 implicit block does not enclose the lambda list.
2000 * fixed bugs 10 and 43: Bare VALUES, AND, OR and MEMBER symbols (not
2001 enclosed in parentheses) are not suitable as type specifiers, and
2002 their use properly signals an error now.
2003 * bug fix: An argument count mismatch for a type specifier in code
2004 being compiled no longer causes an unhandled error at compile
2005 time, but signals a compile-time warning.
2006 * fixed simple vector readable printing
2007 * bug fix: DESCRIBE takes more care over whether the class
2008 precedence list slot of a class is bound before accessing it.
2009 (reported by Markus Krummenacker)
2010 * bug fix: FORMATTER can successfully compile pretty-printer format
2011 strings which use variants of the ~* directive inside.
2012 * bug fix: SEARCH now applies its TEST predicate to the elements of
2013 the arguments in the correct order. (thanks to Wolfhard Buss)
2014 * fixed bug 235b: The compiler uses return types of MAPCAR and friends
2015 in type inference. (thanks to Robert E. Brown)
2016 * bug fix: Reading in symbols with an explicit package name of ""
2017 (e.g. '||::FOO) now works correctly. (reported by Henrik Motakef)
2018 * fixed some bugs revealed by Paul Dietz' test suite:
2019 ** NIL is now allowed as a structure slot name.
2020 ** Arbitrary numbers, not just REALs, are allowed in certain
2021 circumstances in LOOP for-as-arithmetic clauses.
2022 ** Multiple class redefinitions before slot access no longer
2023 causes a type error.
2024 ** (SETF FIND-CLASS) now accepts NIL as an argument to remove the
2025 association between the name and a class.
2026 ** Generic functions with non-standard method-combination and over
2027 five methods all of which return constants no longer return NIL
2028 after the first few invocations. (thanks to Gerd Moellmann)
2029 ** CALL-NEXT-METHOD with no arguments now passes the original
2030 values of the arguments, even in the presence of assignment.
2031 ** Functions [N]SUBST*, LAST, NRECONC, [N]SUBLIS may return any
2033 ** DISASSEMBLE works with closures and funcallable instances.
2034 ** ADD-METHOD now returns the generic function, not the new method.
2035 ** FIND-METHOD signals an error if the lengths of the specializers
2036 is incompatible with the generic function, even if the ERRORP
2038 ** TYPE-OF returns recognizeable subtypes of all built-in-types of
2039 which its argument is a member.
2040 ** DEFCLASS only redefines the class named by its class-name
2041 argument if that name is the proper name of the class;
2042 otherwise, it creates a new class.
2043 ** SLOT-UNBOUND now correctly initalizes the CELL-ERROR-NAME slot
2044 of the UNBOUND-SLOT condition to the name of the slot.
2045 ** (SETF (AREF bv 0) ...) did not work for bit vectors.
2046 ** SLOT-UNBOUND and SLOT-MISSING now have their return values
2047 treated by SLOT-BOUNDP, SLOT-VALUE, (SETF SLOT-VALUE) and
2048 SLOT-MAKUNBOUND in the specified fashion.
2050 changes in sbcl-0.8.0 relative to sbcl-0.8alpha.0
2051 * SBCL now builds using CLISP (version of late April 2003 from CVS) as
2052 cross-compilation host. As a consequence, we can now bootstrap our
2053 way up to SBCL starting with a bare gcc toolchain and human-readable
2054 source code (first the source to CLISP, then the source to SBCL).
2055 * A contributed module containing a partial implementation of the
2056 simple-streams interface has been included. (thanks to Rudi
2058 * A contributed module implementing the RFC1321 Message Digest
2059 Algorithm, known as MD5, has been included.
2060 * minor incompatible change: The :NEGATIVE-ZERO-IS-NOT-ZERO feature
2061 no longer has any effect, as the code controlled by this feature
2062 has been deleted. (As far as we know, no-one has ever built using
2063 this feature, and its semantics were confused in any case).
2064 * minor incompatible change: As a consequence of making SLOT-EXISTS-P
2065 work on conditions (as required by the ANSI specification),
2066 SLOT-VALUE, (SETF SLOT-VALUE) and SLOT-BOUNDP likewise have the
2067 expected behaviour on conditions. Users should note, however,
2068 that such behaviour is not required by the ANSI specification,
2069 and so use of this behaviour may render their code unportable.
2070 * fixed some bugs revealed by Paul Dietz' test suite:
2071 ** the GENERIC-FUNCTION type is no longer disjoint from FUNCTION
2073 ** &ENVIRONMENT parameter in macro lambda list is bound first.
2074 ** SXHASH on condition objects no longer returns NIL.
2075 ** :ALLOCATION :CLASS slots are better treated; their values are
2076 updated on class redefinition, and initforms inherited from
2077 superclasses are applied.
2078 ** REMOVE-METHOD returns its generic function argument even when
2079 no method was removed.
2080 ** SHARED-INITIALIZE now initializes the values of the requested
2081 slots, including those with :ALLOCATION :CLASS.
2082 ** ALLOCATE-INSTANCE now works on structure classes defined via
2083 DEFSTRUCT (and not just by those from DEFCLASS :METACLASS
2085 ** SLOT-EXISTS-P now works on conditions, as well as structures
2087 ** MAKE-LOAD-FORM now has the required methods on
2088 STRUCTURE-OBJECT, CONDITION and STANDARD-OBJECT.
2089 ** MAKE-LOAD-FORM-SAVING-SLOTS no longer returns a special
2090 keyword, and now implements the SLOT-NAMES argument.
2091 ** methods with &OPTIONAL arguments no longer allow too many
2092 arguments to be passed in the call without error.
2093 ** DEFGENERIC now checks that the :ARGUMENT-PRECEDENCE-ORDER
2094 option is consistent with the required arguments of the generic
2095 function lambda list.
2096 * bug fix: REQUIRE accepts a string designator. (Thanks to
2098 * bug fix: SB-MOP:DIRECT-SLOT-DEFINITION-CLASS and
2099 SB-MOP:EFFECTIVE-SLOT-DEFINITION-CLASS now have the
2100 specified-by-AMOP lambda list of (CLASS &REST INITARGS).
2101 * bug fix: The compiler now checks for duplicated variables in macro
2103 * bug fix: SETQ on globals returns the correct value.
2104 * fixed bug 47.d: (DEFGENERIC IF (X)) now signals a PROGRAM-ERROR,
2105 not a COMPILER-ERROR (followed by some other strange error on
2106 choosing the CONTINUE restart).
2107 * bug fix: make.sh and friends are now more consistent in the way that
2108 they look for GNU "make".
2110 changes in sbcl-0.8alpha.0 relative to sbcl-0.7.14
2111 * experimental native threads support (on x86 Linux >=2.4 only).
2112 This is not compiled in by default: you need to add :SB-THREAD to
2113 the target features. See the "Beyond ANSI" chapter of the manual
2115 * fix for longstanding nonANSIism: The old distinction between
2116 CL:CLASS objects and SB-PCL:CLASS objects has been eliminated.
2117 The return value from CL:FIND-CLASS is now a CLOS class, and
2118 likewise that of CL:CLASS-OF; CL:BUILT-IN-CLASS,
2119 CL:STRUCTURE-CLASS and CL:STANDARD-CLASS name CLOS classes.
2120 * An interface to the MetaObject Protocol, as described in Kiczales,
2121 des Rivieres and Bobrow's "The Art of the Metaobject Protocol",
2122 MIT Press, 1991, is available from the SB-MOP package.
2123 * incompatible change: the SB-PCL package should now be considered
2124 a private implementation detail, and no longer a semi-private MOP
2126 * minor incompatible change: due to rearrangement for threads, the
2127 control stack and binding stack are now allocated at arbitrary
2128 addresses instead of being hardcoded per-port. Users affected by
2129 this probably have to be doing advanced things with shared
2130 libraries, and will know who they are.
2131 * minor incompatible change: Previously, all --eval forms used were
2132 processed with READ before any of them were processed with EVAL.
2133 Now each --eval form is processed with both READ and EVAL before
2134 the next --eval form is processed. (Thus package operations like
2135 sbcl --eval "(defpackage :foo)" --eval "(print 'foo::bar)" now
2136 work as the user might reasonably expect.)
2137 * minor incompatible change: *STANDARD-INPUT* is now only an
2138 INPUT-STREAM, not a BIDIRECTIONAL-STREAM. (thanks to Antonio
2140 * minor incompatible change: Y-OR-N-P is now character-oriented,
2141 not line oriented. Also, YES-OR-NO-P now works without errors.
2142 (thanks to Antonio Martinez)
2143 * sb-aclrepl module improvements: an integrated inspector, added
2144 repl features, and a bug fix to :trace command.
2145 * Known functions, which cannot be open coded by the backend, are
2146 considered to be able to check types of their arguments. (fixing
2147 a bug report by Nathan J. Froyd)
2148 * fixed a bug in computing method discriminating functions: It is
2149 now possible to define methods specialized on classes which have
2150 forward-referenced superclasses. (thanks to Gerd Moellmann)
2151 * fixed evaluation order in optional entries (reported by Gilbert
2153 * SB-MOP:ENSURE-CLASS-USING-CLASS now takes its arguments in the
2154 specified-by-AMOP order of (CLASS NAME &REST ARGS &KEY).
2155 * SB-MOP:COMPUTE-EFFECTIVE-SLOT-DEFINITION now takes the
2156 required-by-AMOP NAME argument, as well as CLASS and
2157 DIRECT-SLOT-DEFINITIONS. (thanks to Kevin Rosenberg)
2158 * fixed bug 20: DEFMETHOD can define methods using names that are
2159 not the proper names of classes to designate class specializers.
2160 * bug fix: INTERACTIVE-STREAM-P now works on streams associated with
2161 Unix file descriptors, instead of blowing up. (thanks to Antonio
2163 * Garbage collection refactoring: user-visible change is that a
2164 call to the GC function during WITHOUT-GCING will not do garbage
2165 collection until the end of the WITHOUT-GCING. If you were doing
2166 this you were probably losing anyway.
2167 * fixed bug in MEMBER type: (MEMBER 0.0) is not the same as
2168 (SINGLE-FLOAT 0.0 0.0), because of the existence of -0.0 which is
2169 TYPEP the latter but not the former.
2170 * The compiler issues a full WARNING for calls to undefined functions
2171 with names from the CL package.
2172 * MAP-INTO for a vector destination is open coded. (reported by
2173 Brian Downing on c.l.l)
2174 * bug fix: the long form of DEFINE-METHOD-COMBINATION now accepts a
2175 documentation string.
2176 * fixed some bugs revealed by Paul Dietz' test suite:
2177 ** COPY-ALIST now signals an error if its argument is a dotted
2179 ** Condition slots are now accessed more correctly in the presence
2180 of multiple initargs for a given slot.
2181 ** The USE-VALUE, CONTINUE and STORE-VALUE functions now correctly
2182 exclude restarts of the same name associated with a different
2184 ** DEFCLASS of forward-referenced classes with another
2185 forward-referenced class in the superclasses list no longer
2187 ** Condition slots are now initialized once each, not multiple
2188 times. (thanks to Gerd Moellmann)
2189 ** CONVERT-MORE-CALL failed on a lambda list (&KEY). (thanks to
2191 ** &WHOLE and &REST arguments in macro lambda lists are patterns.
2192 ** NSET-EXCLUSIVE-OR does not return extra elements when its
2193 arguments contain duplicated elements.
2194 ** RESTART-CASE understands local macros.
2195 ** RESTART-CASE associates exactly its own restarts with a condition.
2196 ** ENDP in safe mode checks its argument to be of type LIST.
2197 ** COPY-SYMBOL in a threaded build no longer fails when the symbol
2198 in question is unbound.
2199 ** Optimized MAKE-INSTANCE functions no longer cause internal
2200 assertion failures in the presence of duplicate initargs.
2201 ** SLOT-MAKUNBOUND returns the instance acted upon, not NIL.
2202 ** Side-effectful :DEFAULT-INITARGS have their side-effects
2203 propagated even in the ctor optimized implementation of
2205 ** :ALLOW-OTHER-KEYS NIL is now accepted in an initarg list.
2207 changes in sbcl-0.7.14 relative to sbcl-0.7.13:
2208 * a better implementation of SXHASH on (simple) bit vectors,
2209 measured both in execution speed and in distribution of results
2210 over the positive fixnums, has been installed. Likewise, a better
2211 implementation of EQUAL for simple bit vectors is now available.
2212 * fixed CEILING optimization for a divisor of form 2^k.
2213 * fixed bug 240 (emitting extra style warnings "using the lexical
2214 binding of the symbol *XXX*" for &OPTIONAL arguments). (reported
2215 by Antonio Martinez)
2216 * fixed SXHASH, giving different results for NIL depending on type
2217 declarations (SYMBOL or LIST). (thanks to Gerd Moellmann)
2218 * fixed bug in DEFPARAMETER and DEFVAR: they could assign a lexical
2219 variable. (found by Rolf Wester)
2220 * SBCL does not ignore type declarations for special
2221 variables. (reported by rif on c.l.l 2003-03-05)
2222 * some bug fixes in contrib/sb-aclrepl/
2223 * fixed some bugs revealed by Paul Dietz' test suite:
2224 ** a bug in the CONS type specifier, whereby the CAR and CDR
2225 types got intertwined, has been fixed;
2226 ** the type system is now able to reason about the interaction
2227 between INTEGER and RATIO types more completely;
2228 ** APPEND, [N]REVERSE and NRECONC check that those their
2229 arguments, which must be proper lists, are really so;
2230 ** An array specialized to be unable to hold elements has been
2231 implemented, as required -- yes, really -- by ANSI;
2232 ** GETF and GET-PROPERTIES throw a TYPE-ERROR, not a SIMPLE-ERROR,
2233 on malformed property lists;
2235 changes in sbcl-0.7.13 relative to sbcl-0.7.12:
2236 * incompatible packaging change: in line with Unix convention,
2237 SBCL now looks for its core file in /usr/{local/,}lib/sbcl/sbcl.core
2238 if it's not in $SBCL_HOME. It also sets SBCL_HOME to match.
2239 * REQUIRE and PROVIDE are now optionally capable of doing something
2240 useful. See the documentation string for REQUIRE.
2241 * infrastructure for a managed SBCL contrib system: contributed
2242 modules in this release include:
2243 ** the ASDF system definition facility;
2244 ** an interface to the BSD Sockets API;
2245 ** an ACL-like convenience interface to the repl;
2246 (thanks to Kevin Rosenberg)
2247 ** an implementation of ROTATE-BYTE, with efficient implementation
2249 * fixed a bug in LOG, so that LOG of a rational argument near 1 now
2250 gives a closer approximation to the right answer than previously.
2251 (thanks to Raymond Toy)
2252 * fixed bug 157: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE and
2253 UPGRADED-COMPLEX-PART-TYPE now take (ignored, in all situations)
2254 optional environment arguments, as required by ANSI.
2255 * fixed bugs in other functions taking environment objects, allowing
2256 calls with an explicit NIL environment argument to be compiled
2258 * fixed bug 228: primary return values from
2259 FUNCTION-LAMBDA-EXPRESSION are either NIL or suitable for input to
2260 COMPILE or FUNCTION.
2261 * fixed a bug in DEFSTRUCT: predicates for :NAMED structures with
2262 :TYPE will no longer signal errors on innocuous objects.
2263 * fixed bug 231b: SETQ is better at respecting type declarations in
2264 the lexical environment.
2265 * fixed a bug in DEFCLASS: classes named by symbols with no or
2266 unprintable packages can now be defined.
2267 * fixed a bug in RESTART-BIND: The :TEST-FUNCTION option had been
2268 carelessly renamed to :TEST-FUN. (thanks to Robert E. Brown)
2269 * fixed compiler failure related to checking types of functions.
2270 (reported by Robert E. Brown)
2271 * the compiler is now much more consistent in its error-checking
2272 treatment of bounding index arguments to sequence functions: in
2273 (SAFETY 3) code, errors will be signalled in almost all cases if
2274 invalid sequence bounding indices are passed to functions defined
2275 by ANSI to operate on sequences.
2276 * fixed a bug in the build procedure: documentation of SBCL-specific
2277 packages is now preserved and available in the final Lisp image.
2278 * lifted FDEFINITION lookup out of loops in the implementation of
2279 many list operations. (thanks to Robert E. Brown)
2280 * fixed a bug in the reader: the #n# reader macro now works for
2281 objects of type STANDARD-OBJECT. (reported by Tony Martinez)
2282 * the compiler is now aware that SYMBOL-FUNCTION returns a FUNCTION
2283 and that READ-DELIMITED-LIST returns a LIST. (thanks to Robert
2284 E. Brown and Tony Martinez respectively)
2285 * PCL is now smarter about SLOT-VALUE, (SETF SLOT-VALUE) and
2286 SLOT-BOUNDP: in particular, it is now able to optimize them much
2287 better, and is now not vulnerable to having packages renamed.
2288 Furthermore, a compliance bug has been fixed: SLOT-MISSING is now
2289 always called when a slot is not present in an instance. (thanks
2291 * fixed a bug related to CONCATENATED-STREAMs: PEEK-CHAR will no
2292 longer signal an error on unreading a character following EOF on
2293 the previous constituent stream. (thanks to Tony Martinez)
2294 * fixed some bugs revealed by Paul Dietz' test suite:
2295 ** ARRAY-IN-BOUNDS-P now allows arbitrary integers as arguments,
2296 not just nonnegative fixnums;
2297 ** the logical bit-array operators such as BIT-AND now accept an
2298 explicit NIL for their "opt-arg" argument (to indicate a
2299 freshly-consed result bit-array);
2300 ** ELT now signals an error on an invalid sequence index in safe
2302 ** the type system is now cleverer about negations of numeric
2303 types, and consequently understands the BIGNUM and RATIO types
2305 ** the type system is now cleverer about the interaction between
2306 INTEGER and RATIO types: while bugs still remain, many more
2307 cases are accurately computed;
2308 ** in TYPECASE, OTHERWISE now only introduces an otherwise-clause
2309 if it is in the last clause;
2310 ** CONSTANTLY now correctly returns a side-effect-free function in
2312 ** DECLARE is no longer treated as a special-operator; in
2313 particular, SPECIAL-OPERATOR-P no longer returns T for DECLARE;
2314 * incremented fasl file version number due to the change in the
2315 DEFSTRUCT-SLOT-DESCRIPTION structure.
2317 changes in sbcl-0.7.12 relative to sbcl-0.7.11:
2318 * minor incompatible change: code processed by the "interpreter" or
2319 EVAL now has a compilation optimization policy of (DEBUG 2)
2320 (changed from (DEBUG 1)) to improve debuggability of interactive
2321 development, and to allow the use of the debug RETURN command in
2323 * an experimental implementation of the RETURN command for the
2324 debugger has been included. (thanks to Frederik Kuivinen)
2325 * fixed bug 62: constraints were not propagated into a loop.
2326 * fixed bug in embedded calls of SORT (reported and investigated by
2328 * fixed some bugs revealed by Paul Dietz' test suite:
2329 ** printing and reading of arrays with some dimensions having
2330 length 0 (thanks to Gerd Moellmann);
2331 ** BOA constructor with &AUX argument without a default value does
2332 not cause a type error;
2333 ** CONSTANTP now returns true for all self-evaluating objects.
2335 changes in sbcl-0.7.11 relative to sbcl-0.7.10:
2336 * fixed bug 127: DEFSTRUCT now does not clobber old structure
2337 accessors that are related by inheritance, as specified in the
2338 :CONC-NAME section of the specification of DEFSTRUCT. (thanks to
2339 Valtteri Vuorikoski)
2340 * The compiler is now able to inline functions that were defined in
2341 a complex lexical environment (e.g. inside a MACROLET).
2342 * fixed bug in DESCRIBE, which now works on rank-0 arrays. (thanks
2344 * Support for the upcoming FreeBSD-5.0 release has been included.
2345 (thanks to Dag-Erling Smorgrav)
2346 * fixed bug 219: DEFINE-COMPILER-MACRO no longer has compile-time
2347 effect when it is not in a toplevel context.
2348 * fixed bug 222: DEFMETHOD and SYMBOL-MACROLET interactions now
2349 stand a better chance of being correct. (thanks to Gerd
2351 * fixed bug in COERCE, which now signals an error on coercing a
2352 rational to a bounded real type which excludes the expected
2354 * The compiler is now able to derive types more accurately from the
2355 COERCE and COMPILE functions.
2356 * fixed bug 223: functional binding is considered to be constant
2357 only for symbols in the CL package.
2358 * fixed bug 231: SETQ did not check the type of a variable being set
2359 (reported by Robert E. Brown)
2360 * A new optimization for MAKE-INSTANCE has been included, fixing
2361 various bugs (including relating to :ALLOCATION :CLASS slots and
2362 :DEFAULT-INITARGS over-eager evalueation). (thanks to Gerd
2364 * fixed some LOOP bugs revealed by Paul Dietz' test suite:
2365 ** As required by ANSI, LOOP now disallows anonymous collection
2366 clauses such as COLLECT I in conjunction with aggregate boolean
2367 clauses such as THEREIS (= I 1);
2368 ** LOOP now signals an error when any variable is reused in the
2369 same loop (including the potentially useful construct analogous
2370 to WITH A = 1 WITH A = (1+ A);
2371 ** IT is only a special loop symbol within the first clause of a
2372 conditional loop clause;
2373 ** LOOP with a typed iteration variable over a hashtable now
2374 signals a type error iff it should.
2375 * fixed some other bugs revealed by Paul Dietz' test suite:
2376 ** FILE-STREAM now names the class previously known as FD-STREAM;
2377 ** in DEFSTRUCT, a bare :CONC-NAME (or a :CONC-NAME with no
2378 argument) no longer signals an error;
2379 ** likewise in DEFSTRUCT, :CONC-NAME NIL now respects the package
2380 of the slot symbol, rather than using the current package
2381 ((:CONC-NAME "") continues to intern the slot's name in the
2383 * incremented fasl file version number, because of the incompatible
2384 change to the DEFSTRUCT-DESCRIPTION structure, and again because
2385 of the new implementation of DEFINE-COMPILER-MACRO.
2387 changes in sbcl-0.7.10 relative to sbcl-0.7.9:
2388 * Support for building SBCL for MIPS platforms running in
2389 little-endian mode has now been checked in, and basic
2390 functionality on said platforms verified.
2391 * minor incompatible change: PCL now records the pathname of a file
2392 in which methods and the like are defined, rather than its
2394 * minor incompatible change: TRUENAME now considers the truename of
2395 a file naming a directory to be the pathname with :DIRECTORY
2396 component indicating that directory.
2397 * minor incompatible change: a NAMED clause in the extended form of
2398 LOOP no longer causes a BLOCK named NIL to surround the LOOP. The
2399 reason for the previous behaviour is unclear.
2400 * more systematization and improvement of CLOS and MOP conformance
2401 in PCL (thanks to Gerd Moellman and Pierre Mai):
2402 ** the standard ANSI CL generic function NO-NEXT-METHOD is now
2404 ** DEFINE-METHOD-COMBINATION no longer signals an error for
2405 primary methods with no specializers;
2406 ** the MOP generic function GENERIC-FUNCTION-DECLARATIONS is now
2408 ** the Readers for Class Metaobjects methods CLASS-DIRECT-SLOTS
2409 and CLASS-DIRECT-DEFAULT-INITARGS have been implemented for
2410 FORWARD-REFERENCED-CLASSes; error reporting on
2411 CLASS-DEFAULT-INITARGS, CLASS-PRECEDENCE-LIST and CLASS-SLOTS
2413 ** SXHASH on CLOS instances now uses a slot internal to the
2414 instance to return different numbers on distinct instances,
2415 while preserving the same return value through invocations of
2417 ** DEFMETHOD signals errors when methods with longer incongruent
2418 lambda lists are added to generic functions;
2419 ** COMPUTE-CLASS-PRECEDENCE-LIST now has a method specialized on
2420 CLASS, as specified in AMOP;
2421 ** COMPUTE-SLOTS :AROUND now assigns locations sequentially based
2422 on the order returned by the primary method for classes of
2423 class STANDARD-CLASS;
2424 ** DEFINE-METHOD-COMBINATION now works with the :ARGUMENTS option.
2425 * fixed some bugs shown by Paul Dietz' test suite:
2426 ** DOLIST puts its body in TAGBODY;
2427 ** SET-EXCLUSIVE-OR sends arguments to :TEST function in the
2429 ** MULTIPLE-VALUE-SETQ evaluates side-effectful places before
2430 value producing form;
2431 ** if more variables are given to PROGV than values, extra
2432 variables are bound and made to have no value;
2433 ** NSUBSTITUTE on list arguments gets the right answer with
2435 ** ELT signals an error of type TYPE-ERROR when the index argument
2436 is not a valid sequence index;
2437 ** LOOP signals (at macroexpansion time) an error of type
2438 PROGRAM-ERROR when duplicate variable names are found;
2439 ** LOOP supports DOWNTO and ABOVE properly; (thanks to Matthew Danish)
2440 ** FUNCALL of special-operators now cause an error of type
2442 ** PSETQ now works as required in the presence of side-effecting
2443 symbol-macro places;
2444 ** NCONC accepts any object as its last argument;
2445 ** :COUNT argument to sequence functions may be BIGNUM; (thanks to
2447 ** loop-for-as-package does not require a package to be explicitely
2449 ** LOOP WITH now treats NIL in the d-var-spec correctly as an
2451 * fixed bug 166: compiler preserves "there is a way to go"
2452 invariant when deleting code.
2453 * fixed bug 172: macro lambda lists with required arguments after
2454 &REST arguments now cause an error to be signalled. (thanks to
2456 * fixed Entomotomy PEEK-CHAR-WRONGLY-ECHOS-TO-ECHO-STREAM
2457 bug. (thanks to Matthew Danish)
2458 * fixed bug 225: STRING-STREAM is now a class. (reported by Gilbert
2460 * fixed bug 136: CALL-NEXT-METHOD no longer gets confused when
2461 arguments are lexically rebound. (thanks to Gerd Moellmann and
2463 * fixed bug 194: error messages are now more informative when there
2464 is no primary method applicable in a call to a generic
2465 function. (thanks to Gerd Moellmann)
2466 * fixed bug in command line argument checking (thanks to Julian
2468 * fixed bug in COUNT-IF, making it handle :FROM-END correctly
2469 (thanks to Matthew Danish)
2470 * incremented fasl file version number, because of the
2471 SXHASH-related changes in the layout of CLOS data structures
2473 changes in sbcl-0.7.9 relative to sbcl-0.7.8:
2474 * minor incompatible change: The runtime (the Unix executable named
2475 "sbcl") is now much pickier about the .core files it will load.
2476 Essentially it now requires .core files to descend from the same
2477 build (not just the same sources or LISP-IMPLEMENTATION-VERSION)
2478 as the runtime does. (The intent is to prevent the crashes which
2479 can occur, and which can even be reported as mysterious failures,
2480 when people patch the sources or change the build parameters
2481 without changing LISP-IMPLEMENTATION-VERSION, then mix and match
2482 sbcl and .core files.)
2483 * fixed bug: VALUES-LIST is no longer optimized away.
2484 * fixed bug 142: The FFI conversion of C string values to Lisp
2485 string values no longer conses excessively. (thanks to Nathan
2486 Froyd porting Raymond Toy's fix to CMU CL)
2487 * began to systematize and improve MOP conformance in PCL (thanks to
2488 Nathan Froyd, Gerd Moellman and Pierre Mai):
2489 ** SLOT-DEFINITION-ALLOCATION now returns :CLASS, not the class
2491 ** GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER is now implemented;
2492 ** FINALIZE-INHERITANCE is now called on class finalization;
2493 ** DOCUMENTATION and (SETF DOCUMENTATION) now have the correct
2494 argument precedence order.
2495 * fixed bug 202: The compiler no longer fails on functions whose
2496 derived types contradict their declared type.
2497 * DEFMACRO is implemented via EVAL-WHEN instead of IR1 translation,
2498 so it can be non-toplevel.
2499 * The fasl file version number has changed (because of the new
2500 implementation of DEFMACRO).
2501 * (mostly) fixed bugs 46b and 46c: sequence functions now check, in
2502 safe code, that any length requirement by their type-specifier
2503 argument is valid. The exceptions to this are described in bug
2505 * fixed bugs 46h and 46i: TWO-WAY- and CONCATENATED-STREAM creation
2506 functions now check the types of their inputs as required by ANSI.
2507 * fixed bug 48c: SYMBOL-MACROLET signals PROGRAM-ERROR when an
2508 introduced symbol is DECLAREd to be SPECIAL.
2509 * fixed reading of (COMPLEX DOUBLE-FLOAT) literals from fasl files
2510 * fixed bug: :COUNT argument to sequence functions may be negative
2511 * fixed bug: body of DO-SYMBOLS may contain declarations
2512 * fixed bug: PUSHNEW now evaluates its arguments from left to right
2513 (reported by Paul F. Dietz, fixed by Gerd Moellman)
2514 * fixed bug: PUSH, PUSHNEW and POP now evaluate a place given by a
2515 symbol macro only once
2516 * fixed printing of call frame when argument list is unavailable
2517 * fixed bug: :ALLOW-OTHER-KEYS is an allowed keyword name
2518 * compiler no longer signals WARNING on unknown keyword
2521 changes in sbcl-0.7.8 relative to sbcl-0.7.7:
2522 * A beta-quality port to the mips architecture running Linux,
2523 based on the old CMUCL backend, has been made. It has been tested
2524 on a big-endian kernel, and works sufficiently well to be able to
2525 rebuild itself; it has not been tested in little-endian mode.
2526 * fixed an inconsistency between gencgc.c and purify.c which made
2527 dumping/loading .core files unreliable
2528 * fixed bug 120a: The compiler now deals correctly with IFs where
2529 the consequent is the same as the alternative, instead of
2530 misderiving the return type. (thanks to Alexey Dejneka)
2531 * fixed bug 113: Logical pathnames are now dumpable (the logical
2532 host is resolved at load-time, throwing an error if it is not
2534 * fixed bug 174: FORMAT's error message is slightly clearer when a
2535 non-printing character is used in a format directive.
2536 * fixed several bugs in compiler checking of type declarations, i.e.
2537 violations of the Python "declarations are assertions" principle
2538 (thanks to Alexey Dejneka)
2539 * fixed several bugs in PCL's error checking (thanks to Gerd
2541 * fixed bug: printing of FILE-ERROR (thanks to Antonio
2543 * fixed bug in compilation of functions as first class values
2544 (thanks to Antonio Martinez-Shotton)
2545 * The compiler's handling TYPE-ERRORs which it can prove will
2546 inevitably happen at runtime has been cleaned up and corrected
2547 in several ways. (thanks to Alexey Dejneka)
2548 * improved argument type checking for various basic arithmetic
2549 operations (MAX, +, LOGXOR, etc.) which have had so much TLC
2550 lavished on them in the past that they can be compiled in many
2551 ways in different special cases
2552 * fixed bug 181: compiler checks validity of user supplied type
2554 * cleaned up code flushing in optimization: Function calls which
2555 should signal errors for safety purposes (e.g. which ANSI says
2556 should signal errors when their arguments are of incorrect type)
2557 are no longer optimized away.
2558 * added new extension: SB-DEBUG:BACKTRACE-AS-LIST
2559 * incremented fasl file version number, because changes in the
2560 implementation of sequence functions like COERCE caused
2561 internal utility functions like COERCE-TO-SIMPLE-VECTOR (used
2562 in old inline expansions) to become undefined. (Actually these
2563 changes were later undone, so we might very well be binary
2564 compatible with 0.7.7 after all, but leaving the version number
2565 incremented seemed like the simplest and most conservative
2568 changes in sbcl-0.7.7 relative to sbcl-0.7.6:
2569 * An alpha-quality port to the parisc architecture running Linux,
2570 based on the old CMUCL backend, has been made. This, even more so
2571 than the other backends, should be considered still a work in
2572 progress; known problems include that the Linux kernel in 64-bit
2573 mode does not propagate the correct sigcontext structure to
2574 userspace, and consequently SBCL on a parisc64 kernel will not
2576 * fixed bug 189: The compiler now respects NOTINLINE declarations for
2577 functions declared in FLET and LABELS. (I.e. "LET conversion" is
2578 suppressed.) Also now that the compiler is looking at declarations
2579 in the environment, it checks optimization declarations as well,
2580 and suppresses inlining when (> DEBUG SPEED).
2581 * More fixes have been made to treatment of floating point exception
2582 treatment and other Unix signals. In particular, floating point
2583 exceptions no longer cause Bus errors on the SPARC/Linux platform.
2584 * The detection and handling of control stack exhaustion (infinite
2585 or very deeply nested recursion) has changed. Stack exhaustion
2586 detection is now done by write-protecting pages at the OS level
2587 and applies at all optimization settings; when found, a
2588 SB-KERNEL:CONTROL-STACK-EXHAUSTED condition (subclass of
2589 STORAGE-CONDITION) is signalled, so stack exhaustion can no longer
2590 be caught using IGNORE-ERRORS.
2591 * Bugs 65, 70, and 109 fixed: The compiler now preserves invariants
2592 correctly when transforming recursive LABELS functions to LETs.
2593 (thanks to Alexey Dejneka)
2594 * Bug 48a./b. fixed: SYMBOL-MACROLET now refuses to bind symbols
2595 that are names of constants or global variables.
2596 * Bug fix: DEFINE-ALIEN-ROUTINE now declaims the correct FTYPE for
2597 alien routines with docstrings.
2598 * Bug 184 fixed: Division of ratios by the integer 0 now signals an
2599 error of type DIVISION-BY-ZERO. (thanks to Wolfhard Buss and
2601 * Bug fix: Errors in PARSE-INTEGER are now of type PARSE-ERROR.
2602 (thanks to Eric Marsden)
2603 * Bug fix: COERCE to (COMPLEX FLOAT) of rationals now returns an
2604 object of type (COMPLEX FLOAT). (thanks to Wolfhard Buss)
2605 * Bug fix: The SPARC backend can now compile functions involving
2606 LOGAND and stack-allocated arguments. (thanks to Raymond Toy)
2607 * Bug fix: We no longer segfault on passing a non-FILE-STREAM stream
2608 to a functions expecting a PATHNAME-DESIGNATOR.
2609 * Bug fix: DEFGENERIC now enforces the ANSI restrictions on its
2610 lambda lists. (thanks to Alexey Dejneka)
2611 * Bug fix: changed encoding of PCL's internal MAKE-INSTANCE
2612 functions so that EXPORTing the name of the class doesn't cause
2613 MAKE-INSTANCE functions from earlier DEFCLASSes to get lost (thanks
2614 to Antonio Martinez for reporting this)
2615 * Bug 192 fixed: The internal primitive DATA-VECTOR-REF can now be
2616 constant-folded without failing an assertion. (thanks to Einar
2617 Floystad Dorum for reporting this)
2618 * Bugs 123 and 165 fixed: array specializations on as-yet-undefined
2619 types are now dealt with more correctly by the compiler.
2620 * Minor incompatible change: COMPILE-FILE-PATHNAME now merges its
2621 OUTPUT-FILE argument with its INPUT-FILE argument, resulting in
2622 behaviour analogous to RENAME-FILE. This puts its behaviour more
2623 in line with ANSI's wording on COMPILE-FILE-PATHNAME. (thanks to
2625 * The fasl file version number has changed again. (because of the
2626 bug fix involving the names of PCL MAKE-INSTANCE functions)
2628 changes in sbcl-0.7.6 relative to sbcl-0.7.5:
2629 * bug fix: Floating point exceptions are treated much more
2630 consistently on the x86/Linux and PPC/Linux platforms.
2631 * Array initialization with :INITIAL-ELEMENT is now much faster for
2632 cases when the compiler cannot open code the array creation, but
2633 does know what the UPGRADED-ARRAY-ELEMENT-TYPE will be. General
2634 array accesses have also seen a speed increase.
2635 * bug fix: LOAD :IF-DOES-NOT-EXIST NIL now works when file type is
2636 specified. (This was at the root of some bad interactions between
2637 SBCL and ILISP: thanks to Gregory Wright for diagnosing this and
2639 * bug fix: Internal error arguments for undefined functions are now
2640 computed correctly on the PPC/Linux platform.
2641 * bug fix: Bad &REST syntax is now checked correctly. (thanks to
2642 Raymond Toy's patch for CMU CL)
2643 * Support for the Solaris 9 operating environment has been included
2644 (thanks to Daniel Merritt)
2645 * A very ugly but hopefully complete draft of the missing FFI chapter
2646 of the manual has been created by reformatting the corresponding
2647 CMU CL manual chapter into (currently very ugly and incoherent)
2648 DocBook and bringing it up to date for SBCL behavior. Thus, the
2649 manual is now essentially complete, at least by my extreme
2650 once-and-only-once standards, whereby it's acceptable to refer to
2651 the doc strings of SB-EXT functions as the primary documentation.
2652 * The fasl file version number has changed again, due to cleanup of
2653 (user-invisible) bitrotted stuff. (E.g. *!INITIAL-FDEFN-OBJECTS*
2654 is no longer a static symbol.)
2656 changes in sbcl-0.7.5 relative to sbcl-0.7.4:
2657 * SBCL now builds with OpenMCL (version 0.12) as the
2658 cross-compilation host; also, more progress has been made toward
2659 bootstrapping under CLISP.
2660 * SBCL now runs on the Tru64 (aka OSF/1) operating system on the
2662 * bug 158 fixed: The compiler can now deal with integer loop
2663 increments different from 1; fixing this turned out also to fix
2665 * bug 169 fixed: no more bogus warnings about using lexical bindings
2666 despite the presence of perfectly good SPECIAL declarations (thanks
2667 to David Lichteblau)
2668 * bug 175 fixed: CHANGE-CLASS is now more ANSI-conforming,
2669 accepting initargs. (thanks to Espen Johnsen and Pierre Mai)
2670 * bug 179 fixed: DIRECTORY can now deal with filenames with pattern
2672 * bug 180 fixed: Method combination specifications no longer ignore
2673 the :MOST-SPECIFIC-LAST option. (thanks to Pierre Mai)
2674 * bug fix: Structure type predicate functions now check their argument
2675 count as they should.
2676 * bug fix: Classes with :METACLASS STRUCTURE-CLASS now print
2677 correctly. (thanks to Pierre Mai)
2678 * minor incompatible change: The --noprogrammer option is deprecated
2679 in favor of the new --disable-debugger option, which is very similar.
2680 (The major difference is that it takes effect at a slightly different
2681 time at startup, causing handling of errors in --sysinit and
2682 --userinit files will be affected differently.) The
2683 SB-EXT:DISABLE-DEBUGGER and SB-EXT:ENABLE-DEBUGGER functions have
2684 been added to allow this functionality to be controlled from ordinary
2685 Lisp code. (ENABLE-DEBUGGER should help people like the Debian
2686 maintainers, who might want to run non-interactive scripts to
2687 build SBCL cores which will later be used interactively.)
2688 * minor incompatible change: The LOAD function no longer, when given
2689 a wild pathname to load, loads all files matching that pathname.
2690 Instead, an error of type FILE-ERROR is signalled.
2692 changes in sbcl-0.7.4 relative to sbcl-0.7.3:
2693 * bug 147 fixed: The compiler preserves its block link/count
2694 invariants more correctly now so that it doesn't crash. (thanks
2696 * Dynamic loading of object files in OpenBSD is now supported. (thanks
2698 * COMPILE now works correctly on macros. (thanks to Matthias Hoelzl)
2699 * GET-MACRO-CHARACTER and SET-MACRO-CHARACTER now represent
2700 no-value-for-this-character as NIL (as specified by ANSI).
2701 * HOST-NAMESTRING on physical pathnames now returns a string that is
2702 valid as a host argument to MERGE-PATHNAMES and to MAKE-PATHNAME.
2703 (thanks to Christophe Rhodes)
2704 * The Alpha port handles icache flushing more correctly. (thanks to
2706 * More progress has been made toward bootstrapping under CLISP. (thanks
2707 to Christophe Rhodes)
2708 * The fasl file format has changed again, because dynamic loading
2709 on OpenBSD (which has non-ELF object files) motivated some cleanups
2710 in the way that foreign symbols are transformed and passed around.
2711 * minor incompatible change: The ASCII RUBOUT character, (CHAR-CODE 127),
2712 is no longer treated as whitespace by the reader, but instead as
2713 an ordinary character. Thus e.g. (READ-FROM-STRING "A
\7fB") returns
2714 |A
\7fB|, instead of A as it used to.
2716 changes in sbcl-0.7.3 relative to sbcl-0.7.2:
2717 * ANSI's DEFINE-SYMBOL-MACRO is now supported. (thanks to Nathan
2718 Froyd porting CMU CL code originally by Douglas Thomas Crosher)
2719 * SBCL now runs on the PPC archtiecture under Linux. It actually did
2720 this as of 0.7.1.45, but was left out of the previous news section
2721 (thanks to Dan Barlow)
2722 * SBCL now runs on the Solaris operating system on SPARC architectures
2723 (thanks to Christophe Rhodes's port of the CMUCL runtime)
2724 * cleanups to the runtime on SPARC, both Linux and Solaris, and for
2725 gcc>=3 (thanks to Nathan Froyd and Ingvar Mattsson)
2726 * SPARC backend cleanups, allowing builds of cores optimized for V8
2727 and V9 SPARCS, and also emission of code targeted to a particular
2728 backend chosen at runtime (thanks to Christophe Rhodes and Raymond
2730 * SBCL is closer to bootstrapping under CLISP, thanks to various
2731 fixes by Christophe Rhodes.
2732 * The fasl file format has changed again, to allow the compiler's
2733 INFO database to support symbol macros.
2734 * The user manual (in doc/) is formatted into HTML more nicely.
2735 (thanks to coreythomas)
2736 * The system is smarter about SUBTYPEP relationships, especially
2737 those involving NOT types (including types such as ATOM which are
2738 represented internally using NOT types). Thus SUBTYPEP is less
2739 likely to return (VALUES NIL NIL) in general, and in particular
2740 bugs 58 and (the remaining bits of) bug 50 are fixed. (thanks to
2742 * The fasl file format has changed again, because the internal
2743 representation of types now includes a new slot to support the new
2744 SUBTYPEP-of-NOT-types logic.
2745 * (not a change in the main branch of SBCL, but a related prototype
2746 which can hopefully be merged into the main branch of SBCL in the
2747 future:) Brian Spilsbury has produced a Unicode-enabled variant of
2748 sbcl-0.7.0, available as a patch against sbcl-0.7.0 at
2749 <http://designix.com.au/brian/SBCL/sbcl-0.7.0-unicode.p0.gz>.
2750 * Bug 151 fixed: GET-DISPATCH-MACRO-CHAR now returns NIL for undefined
2751 dispatch macro character combinations. (thanks to Alexey Dejneka)
2752 * Bugfix in PARSE-NAMESTRING: we now correctly parse unix namestrings
2753 that superficially look like logical namestrings correctly.
2754 * USER-HOMEDIR-PATHNAME now returns a (physical) pathname that SBCL
2756 * Bugfix in DEFSTRUCT: BOA constructor lambda lists now accept (name
2757 default supplied-p) for &optional and &key arguments. (thanks to
2760 changes in sbcl-0.7.2 relative to sbcl-0.7.1:
2761 * incompatible change: The compiler is now less aggressive about
2762 tail call optimization, doing it only when (> SPACE DEBUG) or
2763 (> SPEED DEBUG). (This is an incompatible change because there are
2764 programs which relied on the old CMU-CL-style behavior to optimize
2765 away their unbounded recursion which will now die of stack overflow.)
2766 * minor incompatible change: The default BYTES-CONSED-BETWEEN-GCS
2767 for non-GENCGC systems has been increased to 20M (since that
2768 seems much closer to the likely performance optimum for modern
2769 systems than the old 4M value was)
2770 * minor incompatible change: new larger values for *DEBUG-PRINT-LENGTH*
2771 and *DEBUG-PRINT-LEVEL*
2772 * SBCL runs on SPARC systems now. (thanks to Christophe Rhodes' port
2773 of CMU CL's support for SPARC, and various endianness and other
2774 SBCL portability fixes due to Christophe Rhodes and Dan Barlow)
2775 * new syntactic sugar for the Unix command line: --load foo.bar is now
2776 an alternate notation for --eval '(load "foo.bar")'.
2778 ** The system now detects stack overflow and handles it gracefully,
2779 at least for (OR (> SAFETY (MAX SPEED SPACE)) (= SAFETY 3))
2780 optimization settings. (This is a good thing in general, and
2781 its introduction in this version should be particularly timely
2782 for anyone whose code fails because of suppression of tail
2784 ** The system now hunts for the C variable "environ" in a more
2785 devious way, to avoid segfaults when the C library version differs
2786 between compile time and run time. (thanks to Christophe Rhodes)
2787 ** INTEGER-valued CATCH tags now work. (thanks to Alexey Dejneka,
2788 and also to Christophe Rhodes for porting the fix to non-X86 CPUs)
2789 ** The compiler no longer issues bogus style warnings for undefined
2790 classes in the same source file as the DEFCLASSes which defined
2791 them. (thanks to Stig E Sandoe for reporting and Martin Atzmueller
2793 ** fixes in CONDITION class precedence list for undefined function
2794 errors (thanks to Alexei Dejneka)
2795 ** *DEFAULT-PATHNAME-DEFAULTS* is used more consistently and
2796 correctly. (thanks to Dan Barlow)
2797 ** portability fixes aiming at bootstrapping under CLISP (thanks
2798 to Dave McDonald and Christophe Rhodes)
2799 ** FORMAT fixes (thanks to Robert Strandh and Dan Barlow)
2800 ** fixes in type translation and and type inference (thanks to
2802 ** fixes to optimizer internal errors (thanks to Alexei Dejneka)
2803 ** various fixes in the new ports (thanks to Dan Barlow)
2804 * several changes related to debugging:
2805 ** suppression of tail recursion, as noted above
2806 ** stack overflow detection, as noted above
2807 ** The default implementation of TRACE has changed. :ENCAPSULATE T
2808 is now the default. (For some time encapsulation has been more
2809 reliable than the breakpoint-based :ENCAPSULATE NIL
2810 implementation, at least on X86 systems; and I just noticed that
2811 encapsulation also seems closer to the spirit of the ANSI
2814 changes in sbcl-0.7.1 relative to sbcl-0.7.0:
2816 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are set
2817 up properly again. (There was a packaging bug in 0.7.0 which
2818 left their definitions in SB-SYS::LOAD-FOREIGN and
2819 SB-SYS::LOAD-1-FOREIGN. LOAD-FOREIGN and LOAD-1-FOREIGN are
2820 vital for most things which interface to C-level interfaces,
2821 like extensions working with sockets or databases or
2822 Perl-compatible regexes or whatever, and the need to fix
2823 this bug is the main reason that 0.7.1 was released so
2825 ** DEFGENERIC is now choosier about the methods it redefines, so that
2826 reLOADing a previously-LOADed file containing DEFGENERICs does
2827 the right thing now. Thus, the Lispy edit/reLOAD-a-little/test
2828 cycle now works as it should. (thanks to Alexey Dejneka)
2829 ** Bug 106 (types (COMPLEX FOO) where FOO is an obscure type) was
2830 fixed by Christophe Rhodes. (He actually submitted this patch
2831 months ago, and I delayed until after 0.7.0.)
2832 ** Bug 111 (internal compiler confusion about runtime checks on
2833 FUNCTION types) was fixed by Alexey Dejneka.
2834 * Some internal cleanups (getting rid of variables which aren't
2835 needed now that the byte interpreter is gone) caused the fasl
2836 file format number to change again.
2838 changes in sbcl-0.7.0 relative to sbcl-0.6.13:
2839 * major incompatible change: The default fasl file extension, i.e. the
2840 default extension for files produced by COMPILE-FILE, has changed
2841 to ".fasl", for all architectures. (No longer ".x86f" and ".axpf".)
2843 ** There are many changes in the implementation of the compiler.
2844 SBCL is now essentially a compiler-only implementation of ANSI
2845 Common Lisp. EVAL still "interprets" a few special cases, but
2846 almost all the interesting cases are handled by creating
2847 a LAMBDA expression, calling COMPILE on it, then calling
2848 FUNCALL on the result.
2849 ** The EVAL-WHEN code has been rewritten to be ANSI-compliant, and
2850 various related bugs (IR1-1, IR1-2, IR1-3, IR1-3a) have gone away.
2851 Since the code is newer, there might still be some new bugs
2852 (though not as many as before Martin Atzmueller's fixes:-). But
2853 the new code is substantially simpler and clearer, and hopefully
2854 any remaining bugs will be simpler, less fundamental, and more
2855 fixable then the bugs in the old code.
2856 ** The revised compiler is still a little unsteady on its feet.
2858 *** The debugging information it produces (particularly the names
2859 of FUNCTION objects) is sometimes much less useful than what
2860 the old compiler produced.
2861 *** The support for inlining FOO when you (DECLAIM (INLINE FOO))
2862 then do (DEFUN FOO ..) in a non-null lexical environment (e.g.
2863 within a MACROLET) has been temporarily weakened.
2864 ** There are new compiler optimizations for various functions:
2865 *** the sequence functions FIND, POSITION, FIND-IF, POSITION-IF,
2866 FIND-IF-NOT, POSITION-IF-NOT, and FILL
2867 *** the math functions TRUNCATE, FLOOR, and CEILING
2868 *** the function-of-all-trades COERCE
2869 Mostly these should be transparent, but there's one
2870 potentially-annoying problem (bug 117): when the compiler
2871 inline-expands a function and does type analysis on the result,
2872 it can create control paths which have type mismatches, and
2873 when it can't prove that those control paths aren't taken,
2874 it will issue WARNINGs about the type mismatches. This is
2875 a particular problem in practice for the new sequence functions.
2876 It's not clear how this should be fixed, and for now, a
2877 workaround is given in the entry for 117 in the BUGS file.
2878 ** (Because of the interaction between the two previous items --
2879 occasional inlining problems and new inline expansions -- some
2880 of the new sequence function optimizations won't really kick in
2881 completely until debugging information, and then inlining, are
2882 straightened out in some future version.)
2883 * minor incompatible changes:
2884 ** As part of a bug fix by Christophe Rhodes to DIRECTORY behavior,
2885 DIRECTORY no longer implicitly promotes NIL slots of its
2886 pathname argument to :WILD. In particular, when you ask for the
2887 contents of a directory (which you used to be able to do without
2888 explicit wildcards, e.g. (DIRECTORY "/tmp/")) you now need to use
2889 explicit wildcards, e.g. (DIRECTORY "/tmp/*.*").
2890 ** changes in behavior that ANSI explicitly defines to be
2891 implementation dependent:
2892 *** The new compiler-only implementation still conforms with ANSI,
2893 but acts a little different than before. Besides the obvious
2894 changes in performance tradeoffs (that the cost per form passed
2895 to EVAL has gone up, and the cost per form executed by EVAL
2896 has gone down), the behavior of the system changes a little
2897 because there are no longer any interpreted function objects.
2898 COMPILED-FUNCTION-P is now synonymous with FUNCTIONP, and
2899 e.g. doing COMPILE on the output of interactive DEFUN is
2901 *** The value of INTERNAL-TIME-UNITS-PER-SECOND has been increased
2903 *** The default for the USE list in MAKE-PACKAGE and DEFPACKAGE
2904 has changed from (:CL) to NIL.
2905 *** The CHAR-NAME of unprintable ASCII characters which, unlike
2906 e.g. #\Newline and #\Tab, don't have names specified in the
2907 ANSI Common Lisp standard, is now based on their ASCII symbolic
2908 names (#\Nul, #\Soh, #\Stx, etc.) The old CMU-CL-style names
2909 (#\Null, #\^a, #\^b, etc.) are still accepted by NAME-CHAR, but
2910 are no longer used for output.
2911 ** changes in internal implementation constants:
2912 *** The default value of *BYTES-CONSED-BETWEEN-GCS* has doubled, to
2913 4 million. (If your application spends a lot of time GCing and
2914 you have a lot of RAM, you might want to experiment with
2915 increasing it even more.)
2916 ** The SB-C-CALL package has been merged into the SB-ALIEN package.
2917 However, almost all old code should still continue to work without
2918 immediate update, as SB-C-CALL is now a (deprecated) nickname
2920 ** Old operator names in the style DEF-FOO are now deprecated in
2921 favor of new corresponding names DEFINE-FOO, for consistency with
2922 the naming convention used in the ANSI standard (DEFSTRUCT, DEFVAR,
2923 DEFINE-CONDITION, DEFINE-MODIFY-MACRO..). This mostly affects
2924 internal symbols, but a few supported extensions like
2925 SB-ALIEN:DEF-ALIEN-FUNCTION are also affected. (So e.g.
2926 DEF-ALIEN-FUNCTION becomes DEFINE-ALIEN-FUNCTION.)
2927 ** The debugger prompt sequence now goes "5]", "5[2]", "5[3]",
2928 etc. as you get deeper into recursive calls to the debugger
2929 command loop, instead of the old "5]", "5]]", "5]]]"
2930 sequence. (I was motivated to do this when squabbles between
2931 ILISP and SBCL left me very deeply nested in the debugger. In the
2932 short term, this change will probably provoke more ILISP/SBCL
2933 squabbles, but hopefully it will be an improvement in the long run.)
2934 ** SB-ALIEN:DEFINE-ALIEN-FUNCTION (also known by the old deprecated
2935 name DEF-ALIEN-FUNCTION) now does DECLAIM FTYPE for the defined
2936 function, since declaiming return types involving aliens is
2937 (1) annoyingly messy to do by hand and (2) vital to efficient
2938 compilation of code which calls such functions.
2939 ** SB-ALIEN:LOAD-FOREIGN and SB-ALIEN:LOAD-1-FOREIGN are no
2940 longer reexported by the SB-EXT package. They're solely useful
2941 for alien code, so it seems more logical that you should get
2942 them from the SB-ALIEN package, not in SB-EXT.
2943 ** :SB-CONSTRAIN-FLOAT-TYPE, :SB-PROPAGATE-FLOAT-TYPE, and
2944 :SB-PROPAGATE-FUN-TYPE are no longer considered to be optional
2945 features. Instead, the code that they used to control is always
2946 built into the system.
2947 * many other bug fixes
2948 ** DEFSTRUCT and DEFCLASS have been substantially updated to take
2949 advantage of the new EVAL-WHEN stuff and to clean them up in
2950 general, and they are now more ANSI-compliant in a number of
2951 ways. Martin Atzmueller is responsible for a lot of this.
2952 ** Besides the cleanups discussed above, Martin Atzmueller fixed
2954 *** fixes in READ-SEQUENCE and WRITE-SEQUENCE
2955 *** correct ERROR type for various file operations
2956 *** some fixes for Lisp streams
2957 *** DEFMETHOD syntax checking
2958 *** changing old weird representation of debug information as
2959 strings (which, among their other deficiencies, don't transform
2960 correctly when you rename packages, and don't change their
2961 print representation when you change things like *PACKAGE*
2962 and *PRINT-LENGTH*) to symbols and lists of symbols
2963 He also made several improvements and fixed several bugs in DESCRIBE.
2964 ** Alexey Dejneka fixed many bugs, including classic bugs and bugs he
2966 *** misbehavior of WRITE-STRING/WRITE-LINE
2967 *** LOOP over keys of a hash table, LOOP bugs 49b and 81 and 103,
2968 and several other LOOP problems as well
2969 *** DIRECTORY when similar filenames are present
2970 *** DEFGENERIC with :METHOD options
2971 *** bug 126, in (MAKE-STRING N :INITIAL-ELEMENT #\SPACE))
2972 *** bug in the optimization of ARRAY-ELEMENT-TYPE
2973 *** argument ordering in FIND with :TEST option
2974 *** mishandled package designator argument in APROPOS-LIST
2975 *** various problems in the backquote readmacro
2976 *** a bug in APROPOS
2977 *** probably some others that I'm not describing very well here,
2978 since the CVS log documents them by reference to sbcl-devel
2979 messages, and the SourceForge archives aren't working well.:-(
2980 ** Dan Barlow improved the Alpha port (and is making progress on the
2981 PPC port, for those of you who think different).
2982 ** Besides the DIRECTORY fixes and changes mentioned elsewhere,
2983 Christophe Rhodes cleaned up the system self-test scripts (in tests/*),
2984 contributed the optimization of FIND-IF-NOT and POSITION-IF-NOT, and
2985 continues to work on the SPARC port (for those of you in a position
2986 to look down upon our little PC-compatible boxes from a great height).
2987 ** PPRINT-LOGICAL-BLOCK now copies the *PRINT-LINES* value on entry
2988 and uses that copy, rather than the current dynamic value, when
2989 it's trying to decide whether to truncate output. Thus e.g.
2990 (let ((*print-lines* 50))
2991 (pprint-logical-block (stream nil)
2993 (let ((*print-lines* 8))
2994 (print (aref possiblybigthings i) stream)))))
2995 should now truncate the logical block only at 50 lines, instead of
2996 often truncating it at 8 lines, as it did before.
2997 * The doc/cmucl/ directory, containing old CMU CL documentation
2998 from the time of the fork, is no longer part of the base system.
2999 SourceForge has shut down its anonymous FTP service, and with it
3000 my original plan for distributing the old CMU CL documentation
3001 there. For now, if you need these files you can download an old
3002 SBCL source release and extract them from it.
3003 * The fasl file version number changed again, for dozens of reasons,
3004 some of which are apparent above.
3006 changes in sbcl-0.6.13 relative to sbcl-0.6.12:
3007 * a port to the Compaq/DEC Alpha CPU, thanks to Dan Barlow
3008 * Martin Atzmueller ported Tim Moore's marvellous CMU CL DISASSEMBLE
3009 patch, so that DISASSEMBLE output is much nicer.
3010 * The code in the SB-PROFILE package now seems reasonably stable.
3011 I still haven't decided what the final interface should look like
3012 (I'd like PROFILE to interact cleanly with TRACE, since both
3013 facilities use function encapsulation) but if you have a need
3014 for profiling now, you can probably use it successfully with
3015 the current CMU-CL-style interface.
3016 * Pathnames and *DEFAULT-DIRECTORY-DEFAULTS* are much more
3017 ANSI-compliant, thanks to various fixes and tests from Dan Barlow.
3018 Also, at Dan Barlow's suggestion, TRUENAME on a dangling symbolic
3019 link now returns the dangling link itself, and for similar
3020 reasons, TRUENAME on a cyclic symbolic link returns the cyclic
3021 link itself. (In these cases the old code signalled an error and
3022 looped endlessly, respectively.) Thus, DIRECTORY now works even
3023 in the presence of dangling and cyclic symbolic links.
3024 * Compiler trace output (the :TRACE-FILE option to COMPILE-FILE)
3025 is now a supported extension again, since the consensus on
3026 sbcl-devel was that it can be useful for ordinary development
3027 work, not just for debugging SBCL itself.
3028 * The default for SB-EXT:*DERIVE-FUNCTION-TYPES* has changed to
3029 NIL, i.e. ANSI behavior, i.e. the compiler now recognizes
3030 that currently-defined functions might be redefined later with
3031 different return types.
3032 * Hash tables can be printed readably, as inspired by CMU CL code
3033 of Eric Marsden and SBCL code of Martin Atzmueller.
3034 * better error handling in CLOS method combination, thanks to
3035 Martin Atzmueller porting Pierre Mai's CMU CL patches
3036 * more overflow fixes for >16Mbyte I/O buffers
3037 * A bug in READ has been fixed, so that now a single Ctrl-D
3038 character suffices to cause end-of-file on character streams.
3039 In particular, now you only need one Ctrl-D at the command
3040 line (not two) to exit SBCL.
3041 * fixed bug 26: ARRAY-DISPLACEMENT now returns (VALUES NIL 0) for
3043 * fixed bug 107 (reported as a CMU CL bug by Erik Naggum on
3044 comp.lang.lisp 2001-06-11): (WRITE #*101 :RADIX T :BASE 36) now
3045 does the right thing.
3046 * The implementation of some type tests, especially for CONDITION
3047 types, is now tidier and maybe faster, due to CMU CL code
3048 originally by Douglas Crosher, ported by Martin Atzmueller.
3049 * Some math functions have been fixed, and there are new
3050 optimizers for deriving the types of COERCE and ARRAY-ELEMENT-TYPE,
3051 thanks to Raymond Toy's work on CMU CL, ported by Martin Atzmueller.
3052 * (There are also some new optimizers in contrib/*-extras.lisp. Those
3053 aren't built into sbcl-0.6.13, but are a sneak preview of what's
3054 likely to be built into sbcl-0.7.0.)
3055 * A bug in COPY-READTABLE was fixed. (Joao Cachopo's patch to CMU
3056 CL, ported to SBCL by Martin Atzmueller)
3057 * DESCRIBE now gives more information in some cases. (Pierre Mai's
3058 patch to CMU CL, ported to SBCL by Martin Atzmueller)
3059 * Martin Atzmueller and Bill Newman fixed some bugs in INSPECT.
3060 * There's a new slam.sh hack to shorten the edit/compile/debug
3061 cycle for low-level changes to SBCL itself, and a new
3062 :SB-AFTER-XC-CORE target feature to control the generation of
3063 the after-xc.core file needed by slam.sh.
3064 * minor incompatible change: The ENTRY-POINTS &KEY argument to
3065 COMPILE-FILE is no longer supported, so that now every function
3066 gets an entry point, so that block compilation looks a little
3067 more like the plain vanilla ANSI section 3.2.2.3 scheme.
3068 * minor incompatible change: SB-EXT:GET-BYTES-CONSED now
3069 returns the number of bytes consed since the system started,
3070 rather than the number consed since the first time the function
3071 was called. (The new definition parallels ANSI functions like
3072 CL:GET-INTERNAL-RUN-TIME.)
3073 * minor incompatible change: The old CMU-CL-style DIRECTORY options,
3074 i.e. :ALL, :FOLLOW-LINKS, and :CHECK-FOR-SUBDIRS, are no longer
3075 supported. Now DIRECTORY always does the abstract Common-Lisp-y
3076 thing, i.e. :ALL T :FOLLOW-LINKS T :CHECK-FOR-SUBDIRS T.
3077 * Fasl file version numbers are now independent of the target CPU,
3078 since historically most system changes which required version
3079 number changes have affected all CPUs equally. Similarly,
3080 the byte fasl file version is now equal to the ordinary
3083 changes in sbcl-0.6.12 relative to sbcl-0.6.11:
3084 * incompatible change: The old SB-EXT:OPTIMIZE-INTERFACE declaration
3085 is no longer recognized. I apologize for this, because it was
3086 listed in SB-EXT as a supported extension, but I found that
3087 its existing behavior was poorly specified, as well as incorrectly
3088 specified, and it looked like too much of a mess to straighten it
3089 out. I have enough on my hands trying to get ANSI stuff to work..
3090 * many patches ported from CMU CL by Martin Atzmueller, with
3091 half a dozen bug fixes in pretty-printing and the debugger, and
3092 half a dozen others elsewhere
3093 * fixed bug 13: Floating point infinities are now supported again.
3094 They might still be a little bit flaky, but thanks to bug reports
3095 from Nathan Froyd and CMU CL patches from Raymond Toy they're not
3096 as flaky as they were.
3097 * The --noprogrammer command line option is now supported. (Its
3098 behavior is slightly different in detail from what the old man
3099 page claimed it would do, but it's still appropriate under the
3100 same circumstances that the man page talks about.)
3101 * The :SB-PROPAGATE-FLOAT-TYPE and :SB-PROPAGATE-FUN-TYPE features
3102 are now supported, and enabled by default. Thus, the compiler can
3103 handle many floating point and complex operations much less
3104 inefficiently. (Thus e.g. you can implement a complex FFT
3106 * The compiler now detects type mismatches between DECLAIM FTYPE
3107 and DEFUN better, and implements CHECK-TYPE more correctly, and
3108 SBCL builds under CMU CL again despite its non-ANSI EVAL-WHEN,
3109 thanks to patches from Martin Atzmueller.
3110 * various fixes to make the cross-compiler more portable to
3111 ANSI-conforming-but-different cross-compilation hosts (notably
3112 Lispworks for Windows, following bug reports from Arthur Lemmens)
3113 * A bug in READ-SEQUENCE for CONCATENATED-STREAM, and a gross
3114 ANSI noncompliance in DEFMACRO &KEY argument parsing, have been
3115 fixed thanks to Pierre Mai's CMU CL patches.
3116 * fixes to keep the system from overflowing internal counters when
3117 it tries to use i/o buffers larger than 16M bytes
3118 * fixed bug 45a: Various internal functions required to support
3119 complex special functions have been merged from CMU CL sources.
3120 (When I was first setting up SBCL, I misunderstood a compile-time
3121 conditional #-OLD-SPECFUN, and so accidentally deleted them.)
3122 * improved support for type intersection and union, fixing bug 12
3123 (e.g., now (SUBTYPEP 'KEYWORD 'SYMBOL)=>T,T) and some other
3124 more obscure bugs as well
3125 * some steps toward byte-compiling non-performance-critical
3126 parts of the system, courtesy of patches from Martin Atzmueller
3127 * Christophe Rhodes has made some debian packages of sbcl at
3128 <http://www-jcsu.jesus.cam.ac.uk/ftp/pub/debian/lisp>.
3129 From his sbcl-devel e-mail of 2001-04-08 they're not completely
3130 stable, but are nonetheless usable. When he's ready, I'd be happy
3131 to add them to the SourceForge "File Releases" section. (And if
3132 anyone wants to do RPMs or *BSD packages, they'd be welcome too.)
3133 * new fasl file format version number (because of changes in
3134 internal representation of (OR ..) types to accommodate the new
3135 support for (AND ..) types, among other things)
3137 changes in sbcl-0.6.11 relative to sbcl-0.6.10:
3138 * Martin Atzmueller pointed out that bugs #9 and #25 are gone in
3140 * bug 34 fixed by Martin Atzmueller: dumping/loading instances works
3142 * fixed bug 40: TYPEP, SUBTYPEP, UPGRADED-ARRAY-ELEMENT-TYPE,
3143 and UPGRADED-COMPLEX-PART-TYPE now work better with of compound
3144 types built from undefined types, e.g. '(VECTOR SOME-UNDEF-TYPE).
3145 * DESCRIBE now works on structure objects again.
3146 * Most function call argument type mismatches are now handled as
3147 STYLE-WARNINGs instead of full WARNINGs, since the compiler doesn't
3148 know whether the function will be redefined before the call is
3149 executed. (The compiler could flag local calls with full WARNINGs,
3150 as per the ANSI spec "3.2.2.3 Semantic Constraints", but right now
3151 it doesn't keep track of enough information to know whether calls
3152 are local in this sense.)
3153 * Compiler output is now more verbose, with messages truncated
3154 later than before. (There should be some supported way for users
3155 to override the default verbosity, but I haven't decided how to
3156 provide it yet, so this behavior is still controlled by the internal
3157 SB-C::*COMPILER-ERROR-PRINT-FOO* variables in
3158 src/compiler/ir1util.lisp.)
3159 * Fasl file format version numbers have increased again, because
3160 support for the Gray streams extension changes the layout of the
3161 system's STREAM objects.
3162 * The Gray subclassable streams extension now works, thanks to a
3163 patch from Martin Atzmueller.
3164 * The full LOAD-FOREIGN extension (not just the primitive
3165 LOAD-FOREIGN-1) now works, thanks to a patch from Martin Atzmueller.
3166 * The default behavior of RUN-PROGRAM has changed. Now, unlike CMU CL
3167 but like most other programs, it defaults to copying the Unix
3168 environment from the original process instead of starting the
3169 new process in an empty environment.
3170 * Extensions which manipulate the Unix environment now support
3171 an :ENVIRONMENT keyword option which doesn't smash case or
3172 do other bad things. The CMU-CL-style :ENV option is retained
3173 for porting convenience.
3174 * LOAD-FOREIGN (and LOAD-1-FOREIGN) now support logical pathnames,
3175 as per Daniel Barlow's suggestion and Martin Atzmueller's patch
3177 changes in sbcl-0.6.10 relative to sbcl-0.6.9:
3179 * A patch from Martin Atzmueller seems to have solved the SIGINT
3180 problem, and as far as we know, signal-handling now works cleanly.
3181 (If you find any new bugs, please report them!)
3182 * The system no longer defaults Lisp source file names to types
3183 ".l", ".cl", or ".lsp", but only to ".lisp".
3184 * The compiler no longer uses special default file extensions for
3185 byte-compiled code. (The ANSI definition of COMPILE-FILE-PATHNAME
3186 seems to expect a single default extension for all compiled code,
3187 and there's no compelling reason to try to stretch the standard
3188 to allow two different extensions.) Instead, byte-compiled files
3189 default to the same extension as native-compiled files.
3190 * Fasl file format version numbers have increased again, because
3191 a rearrangement of internal implementation packages made some
3192 dumped symbols in old fasl files unreadable in new cores.
3193 * DECLARE/DECLAIM/PROCLAIM logic is more nearly ANSI in general, with
3194 many fewer weird special cases.
3195 * Bug #17 (differing COMPILE-FILE behavior between logical and
3196 physical pathnames) has been fixed, and some related misbehavior too,
3197 thanks to a patch from Martin Atzmueller.
3198 * Bug #30 (reader problems) is gone, thanks to a CMU CL patch
3199 by Tim Moore, ported to SBCL by Martin Atzmueller.
3200 * Martin Atzmueller fixed several filesystem-related problems,
3201 including bug #36, in part by porting CMU CL patches, which were
3202 written in part by Paul Werkowski.
3203 * More compiler warnings in src/runtime/ are gone, thanks to
3204 more patches from Martin Atzmueller.
3205 * Martin Atzmueller pointed out that bug 37 was fixed by his patches
3208 changes in sbcl-0.6.9 relative to sbcl-0.6.8:
3210 * DESCRIBE now works on CONDITION objects.
3211 * The debugger now handles errors which arise when trying to print
3212 *DEBUG-CONDITION*, so that it's less likely to fall into infinite
3214 * The build system now uses an additional file, customize-target-features.lisp,
3215 to allow local modifications to the target *FEATURES* list. (The point of
3216 this is that now I can set up a custom configuration, e.g. with :SB-SHOW
3217 debugging features enabled, without having to worry about propagating it
3218 into everyone's system when I do a "cvs update".) When no
3219 customize-target-features.lisp file exists, the target *FEATURES* list
3220 should be constructed the same way as before.
3221 * fixed bugs in DEFCONSTANT ANSI-compatibility:
3222 ** DEFCONSTANT now tests reassignments using EQL, not EQUAL, in order to
3223 warn about behavior which is undefined under the ANSI spec. Note: This
3224 is specified by ANSI, but it's not very popular with programmers.
3225 If it causes you problems, take a look at the new SB-INT:DEFCONSTANT-EQX
3226 macro in the SBCL sources for an example of a workaround which you
3227 might use to make portable ANSI-standard code which does what you want.
3228 ** DEFCONSTANT's implementation is now based on EVAL-WHEN instead of on
3229 pre-ANSI IR1 translation magic, so it does the ANSI-specified thing
3230 when it's used as a non-toplevel form. (This is required in order
3231 to implement the DEFCONSTANT-EQX macro.)
3232 ** (DEFCONSTANT X 1) (DEFVAR X) (SETF X 2) no longer "works".
3233 ** Unfortunately, non-toplevel DEFCONSTANT forms can still do some
3234 funny things, due to bugs in the implementation of EVAL-WHEN
3235 (bug #IR1-3). This probably won't be fixed until 0.7.x. (Fortunately,
3236 non-toplevel DEFCONSTANTs are uncommon.)
3237 * The core file version number and fasl file version number have been
3238 incremented, because the old noncompliant DEFCONSTANT behavior involved
3239 calling functions which no longer exist, and because I also took the
3240 opportunity to chop an unsupported slot out of the DEBUG-SOURCE structure.
3241 * fixed bug 1 (error handling before read-eval-print loop starts), and
3242 redid debugger restarts and related debugger commands somewhat while
3244 ** The QUIT debugger command is gone, since it did something
3245 rather different than the SB-EXT:QUIT command, and since it never
3246 worked properly outside the main toplevel read/eval/print loop.
3247 Invoking the new TOPLEVEL restart provides the same functionality.
3248 ** The GO debugger command is also gone, since you can just invoke
3249 the CONTINUE restart directly instead.
3250 ** The TOP debugger command is also gone, since it's redundant with the
3251 FRAME 0 command, and since it interfered with abbreviations for the
3253 * The system now recovers better from non-PACKAGE values of the *PACKAGE*
3255 * The system now understands compound CONS types (e.g. (CONS FIXNUM T))
3256 as required by ANSI. (thanks to Douglas Crosher's CMU CL patches, with
3257 some porting work by Martin Atzmueller)
3258 * Martin Atzmueller reviewed the CMU CL mailing lists and came back
3259 with a boatload of patches which he ported to SBCL. Now that those
3261 ** The system tries to make sure that its low-priority messages
3262 are prefixed by semicolons, to help people who like to use
3263 syntax highlighting in their ILISP buffer. (This patch
3264 was originally due to Raymond Toy.)
3265 ** The system now optimizes INTEGER-LENGTH better, thanks to more
3266 patches originally written by Raymond Toy.
3267 ** The compiler understands coercion between single-value and
3268 multiple-VALUES type expressions better, getting rid of some very
3269 weird behavior, thanks to patches originally by Robert MacLachlan
3270 and Douglas Crosher.
3271 ** The system understands ANSI-style non-KEYWORD &KEY arguments in
3272 lambda lists, thanks to a patch originally by Pierre Mai.
3273 ** The system no longer bogusly warns about "abbreviated type
3275 ** The compiler gets less confused by inlining and RETURN-FROM,
3276 thanks to some patches originally by Tim Moore.
3277 ** The system no longer hangs when dumping circular lists to fasl
3278 files, thanks to a patch originally from Douglas Crosher.
3279 * Martin Atzmueller also fixed ROOM, so that it no longer fails with an
3280 undefined function error.
3281 * gave up on fixing bug 3 (forbidden-by-ANSI warning for type mismatch
3282 in structure slot initforms) for now, documented workaround instead:-|
3283 * fixed bug 4 (no WARNING for DECLAIM FTYPE of slot accessor function)
3284 * fixed bug 5: added stubs for various Gray stream functions called
3285 in the not-a-CL:STREAM case, so that even when Gray streams aren't
3286 installed, at least appropriate type errors are generated
3287 * fixed bug 8: better reporting of various PROGRAM-ERRORs
3288 * fixed bug 9: IGNORE and IGNORABLE now work reasonably and more
3289 consistently in DEFMETHOD forms.
3290 * removed bug 21 from BUGS, since Martin Atzmueller points out that
3291 it doesn't seem to affect SBCL after all
3292 * The C runtime system now builds with better optimization and many
3293 fewer warnings, thanks to lots of cleanups by Martin Atzmueller.
3295 changes in sbcl-0.6.8 relative to sbcl-0.6.7:
3297 * The system is now under CVS at SourceForge (instead of the
3298 CVS repository on my home machine).
3299 * The new signal handling code has been tweaked to treat register
3300 contents as (UNSIGNED-BYTE 32), as the old CMU CL code did,
3301 instead of (SIGNED-BYTE 32), as the C header files have it. (Code
3302 downstream, e.g. in debug-int.lisp, has implicit dependencies
3303 on the unsignedness of integer representation of machine words,
3304 and that caused the system to bomb out with infinite regress
3305 when trying to recover from type errors involving signed values,
3306 e.g. (BUTLAST '(1 2 3) -1).)
3307 * (BUTLAST NIL) and (NBUTLAST NIL) now return NIL as they should.
3308 (This was one of the bugs Peter Van Eynde reported back in July.)
3309 * The system now uses code inspired by Colin Walters' O(N)
3310 implementation of MAP (from the cmucl-imp@cons.org mailing
3311 list, 2 September 2000) when it can't use a DEFTRANSFORM to
3312 inline the MAP operation, and there is more than one
3313 sequence argument to the MAP call (so that it can't just
3314 do ETYPECASE once and for all based on the type of the
3315 single sequence argument). (The old non-inline implementation
3316 of the general M-argument sequence-of-length-N case required
3317 O(M*N*N) time when any of the sequence arguments were LISTs.)
3318 * The QUIT :UNIX-CODE keyword argument has been renamed to
3319 QUIT :UNIX-STATUS. (The old name still works, but is deprecated.)
3320 * Raymond Wiker's patches to port RUN-PROGRAM from CMU CL to SBCL
3322 * Raymond Wiker's patches to port dynamic loading from Linux to
3323 FreeBSD have been added.
3324 * The BUGS file is now more nearly up to date, thanks in large part
3325 to Martin Atzmueller's review of it.
3326 * The debugger now flushes standard output streams before it begins
3327 its output ("debugger invoked" and so forth).
3328 * The core version number and fasl file version number have both
3329 been incremented, because of incompatible changes in the layout
3331 * FINISH-OUTPUT is now called more consistently on QUIT. (It
3332 used to not be called for a saved Lisp image.)
3333 * Martin Atzmueller's version of a patch to fix a compiler crash,
3334 as posted on sbcl-devel 13 September 2000, has been installed.
3335 * Instead of installing Martin Atzmueller's patch for the
3336 compiler transform for SUBSEQ, I deleted the compiler transform,
3337 and transforms for some similar consing operations.
3338 * A bug in signal handling which kept TRACE from working on OpenBSD
3340 * added enough DEFTRANSFORMs to allow (SXHASH 'FOO) to be optimized
3341 away by constant folding
3342 * The system now defines its address space constants in one place
3343 (in the Lisp sources), and propagates them automatically elsewhere
3344 (through GENESIS and the sbcl.h file). Therefore, patching the
3345 address map is less unnecessarily tedious and error-prone. The
3346 Lisp names of address space constants have also been systematized.
3347 * CVS tags like dollar-Header-dollar have been removed from
3348 the sources, because they have never saved me trouble and
3349 they've been source of trouble working with patches and other
3350 diff-related operations.
3351 * fixed the PROG1-vs.-PROGN bug in HANDLER-BIND (reported by
3352 ole.rohne@cern.ch on cmucl-help@cons.org 2000-10-25)
3354 changes in sbcl-0.6.7 relative to sbcl-0.6.6:
3356 * The system has been ported to OpenBSD.
3357 * The system now compiles with a simple "sh make.sh" on the systems
3358 that it's supported on. I.e., now you no longer need to tweak
3359 text in the target-features.lisp-expr and symlinks in src/runtime/
3360 by hand, the make.sh takes care of it for you.
3361 * The system is no longer so grossly inefficient when compiling code
3362 involving vectors implemented as general (not simple) vectors (VECTOR T),
3363 so code which dares to use VECTOR-PUSH-EXTEND and FILL-POINTER, or
3364 which dares to use the various sequence functions on non-simple
3365 vectors, takes less of a performance hit.
3366 * There is now a primitive type predicate VECTOR-T-P
3367 to test for the (VECTOR T) type, so that e.g.
3368 (DEFUN FOO (V) (DECLARE (TYPE (VECTOR T) V)) (AREF V 3))
3369 can now be compiled with some semblance of efficiency. (The old code
3370 turned the type declaration into a full call to %TYPEP at runtime!)
3371 * AREF on (VECTOR T) is still not fast, since it's still compiled
3372 as a full call to SB-KERNEL:DATA-VECTOR-REF, but at least the
3373 ETYPECASE used in DATA-VECTOR-REF is now compiled reasonably
3374 efficiently. (The old version made full calls to SUBTYPEP at runtime!)
3375 * (MAKE-ARRAY 12 :FILL-POINTER T) is now executed less inefficiently,
3376 without making full calls to SUBTYPEP at runtime.
3377 (Some analogous efficiency issues for non-simple vectors specialized to
3378 element types other than T, or for non-simple multidimensional arrays,
3379 have not been addressed. They could almost certainly be handled the
3380 same way if anyone is motivated to do so.)
3381 * The changes in array handling break binary compatibility, so
3382 *BACKEND-FASL-FILE-VERSION* has been bumped to 4.
3383 * (TYPEP (MAKE-ARRAY 12 :FILL-POINTER 4) 'VECTOR) now returns (VALUES T)
3384 instead of (VALUES T T).
3385 * By following the instructions that Dan Barlow posted to sbcl-devel
3386 on 2 July 2000, I was able to enable primitive dynamic object
3387 file loading code for Linux. The full-blown CMU CL LOAD-FOREIGN
3388 functionality is not implemented (since it calls ld to resolve
3389 library references automatically, requiring RUN-PROGRAM for its
3390 implementation), but a simpler SB-EXT:LOAD-1-FOREIGN (which doesn't
3391 try to resolve library references) is now supported.
3392 * The system now flushes the standard output streams when it terminates,
3393 unless QUIT is used with the RECKLESSLY-P option set. It also flushes
3394 them at several other probably-convenient times, e.g. in each pass of
3395 the toplevel read-eval-print loop, and after evaluating a form given
3396 as an "--eval" command-line option. (These changes were motivated by a
3397 discussion of stream flushing issues on cmucl-imp in August 2000.)
3398 * The source transform for TYPEP of array types no longer assumes
3399 that an array whose element type is a not-yet-defined type
3400 is implemented as an array of T, but instead punts, so that the
3401 type will be interpreted at runtime.
3402 * There is now some support for cross-compiling in make.sh: each of
3403 the phases of make.sh has its own script. (This should be transparent
3404 to people doing ordinary, non-cross-compile builds.)
3405 * Since my laptop doesn't have hundreds of megabytes of memory like
3406 my desktop machine, I became more motivated to do some items on
3407 my to-do list in order to reduce the size of the system a little:
3408 ** Arrange for various needed-only-at-cold-init things to be
3409 uninterned after cold init. To support this, those things have
3410 been renamed from FOO and *FOO* to !FOO and *!FOO* (i.e., all
3411 symbols with such names are now uninterned after cold init).
3412 ** Bind SB!C::*TOP-LEVEL-LAMBDA-MAX* to a nonzero value when building
3413 fasl files for cold load.
3414 ** Remove the old compiler structure pooling code (which used to
3415 be conditional on the target feature :SB-ALLOC) completely.
3416 ** Redo the representation of some data in cold init to be more compact.
3417 (I also looked into supporting byte compiled code at bootstrap time,
3418 which would probably reduce the size of the system a lot, but that
3419 looked too complicated, so I punted for now.)
3420 * The maximum signal nesting depth in the src/runtime/ support code has
3421 been reduced from 4096 to 256. (I don't know any reason for the very
3422 large old value. If the new smaller value turns out to break something,
3423 I'll probably just bump it back up.)
3424 * PPRINT-LOGICAL-BLOCK is now pickier about the types of its arguments,
3426 * Many, many bugs reported by Peter Van Eynde have been added to
3427 the BUGS list; some have even been fixed.
3428 * While enabling dynamic object file loading, I tried to make the
3429 code easier to understand, renaming various functions and variables
3430 with less ambiguous names, and changing some function calling
3431 conventions to be Lispier (e.g. returning NIL instead of 0 for failure).
3432 * While trying to figure out how to do the OpenBSD port, I tried to
3433 clean up some of the code in src/runtime/. In particular, I dropped
3434 support for non-POSIX signal handling, added various comments,
3435 tweaked the code to reduce the number of compilation warnings, and
3436 renamed some files to increase consistency.
3437 * To support the new automatic configuration functionality in make.sh,
3438 the source file target-features.lisp-expr has been replaced with the
3439 source file base-target-features.lisp-expr and the machine-generated
3440 file local-target-features.lisp-expr.
3441 * fixed a stupid quoting error in make.sh so that using CMU CL
3442 "lisp -batch" as cross-compilation host works again
3444 changes in sbcl-0.6.6 relative to sbcl-0.6.5:
3446 * DESCRIBE no longer tries to call itself recursively to describe
3447 bound/fbound values, so that it no longer fails on symbols which are
3448 bound to themselves (like keywords, T, and NIL).
3449 * DESCRIBE now works on generic functions.
3450 * The printer now prints less-screwed-up representations of closures
3451 (not naively trying to bogusly use the %FUNCTION-NAME accessor on them).
3452 * A private symbol is used instead of the :EMPTY keyword previously
3453 used to mark empty slots in hash tables. Thus
3454 (DEFVAR *HT* (MAKE-HASH-TABLE))
3455 (SETF (GETHASH :EMPTY *HT*) :EMPTY)
3456 (MAPHASH (LAMBDA (K V) (FORMAT T "~&~S ~S~%" K V)))
3457 now does what ANSI says that it should. (You can still get
3458 similar noncompliant behavior if bang on the hash table
3459 implementation with all the symbols you get back from
3460 DO-ALL-SYMBOLS, but at least that's a little harder to do.)
3461 This breaks binary compatibility, since tests for equality to
3462 :EMPTY are wired into things like the macroexpansion of
3463 WITH-HASH-TABLE-ITERATOR in FASL files produced by earlier
3465 * There's now a minimal placeholder implementation for CL:STEP,
3466 as required by ANSI.
3467 * An obscure bug in the interaction of the normal compiler, the byte
3468 compiler, inlining, and structure predicates has been patched
3469 by setting the flags for the DEFTRANSFORM of %INSTANCE-TYPEP as
3470 :WHEN :BOTH (as per Raymond Toy's suggestion on the cmucl-imp@cons.org
3472 * Missing ordinary arguments in a macro call are now detected even
3473 when the macro lambda list contains &KEY or &REST.
3474 * The debugger no longer complains about encountering the top of the
3475 stack when you type "FRAME 0" to explicitly instruct it to go to
3476 the top of the stack. And it now prints the frame you request even
3477 if it's the current frame (instead of saying "You are here.").
3478 * As specified by ANSI, the system now always prints keywords
3479 as #\: followed by SYMBOL-NAME, even when *PACKAGE* is the
3481 * The default initial SIZE of HASH-TABLEs is now smaller.
3482 * Type information from CLOS class dispatch is now propagated
3483 into DEFMETHOD bodies, so that e.g.
3484 (DEFMETHOD FOO ((X SINGLE-FLOAT))
3486 is now basically equivalent to
3487 (DEFMETHOD FOO ((X SINGLE-FLOAT))
3488 (DECLARE (TYPE SINGLE-FLOAT X))
3490 and the compiler can compile (+ X 123.0) as a SINGLE-FLOAT-only
3491 operation, without having to do run-time type dispatch.
3492 * The macroexpansion of DEFMETHOD has been tweaked so that it has
3493 reasonable behavior when arguments are declared IGNORE or IGNORABLE.
3494 * Since I don't seem to be making big file reorganizations very often
3495 any more (and since my archive of sbcl-x.y.zv.tar.bz2 snapshots
3496 is overflowing my ability to conveniently back them up), I've finally
3497 checked the system into CVS. (The CVS repository is on my home system,
3498 not at SourceForge -- putting it on SourceForge might come later.)
3499 * SB-EXT:*GC-NOTIFY-STREAM* has been added, to control where the
3500 high-level GC-NOTIFY-FOO functions send their output. (There's
3501 still very little control of where low-level verbose GC functions
3502 send their output.) The SB-EXT:*GC-VERBOSE* variable now controls
3503 less than it used to -- the GC-NOTIFY-FOO functions are now under
3504 the control of *GC-NOTIFY-STREAM*, not *GC-VERBOSE*.
3505 * The system now stores the version string (LISP-IMPLEMENTATION-VERSION)
3506 in only one place in the source code, and propagates it automatically
3507 everywhere that it's needed. Thus e.g. when I bump the version from
3508 0.6.6 to 0.6.7, I'll only need to modify the sources in one place.
3509 * The C source files now include boilerplate legalese and documentation
3510 at the head of each file (just as the Lisp source files already did).
3511 * At Dan Barlow's suggestion, the hyperlink from the SBCL website
3512 to his page will be replaced with a link to his new CLiki service.
3514 changes in sbcl-0.6.5 relative to sbcl-0.6.4:
3516 * Raymond Wiker's patches to port the system to FreeBSD have been merged.
3517 * The build process now looks for GNU make under the default name "gmake",
3518 instead of "make" as it used to. If GNU make is not available as "gmake"
3519 on your system, you can change this default behavior by setting the
3520 GNUMAKE environment variable.
3521 * Replace #+SB-DOC with #!+SB-DOC in seq.lisp so that the system
3522 can build without error under CMU CL.
3524 changes in sbcl-0.6.4 relative to sbcl-0.6.3:
3526 * There is now a partial SBCL user manual (with some new text and some
3527 text cribbed from the CMU CL manual).
3528 * The beginnings of a profiler have been added (starting with the
3529 CMU CL profiler and simplifying and cleaning up). Eventually the
3530 main interface should be through the TRACE macro, but for now,
3531 it's still accessed through vaguely CMU-CL-style functions and macros
3532 exported from the package SB-PROFILE.
3533 * Some problems left over from porting CMU CL to the new
3534 cross-compilation bootstrap process have been cleaned up:
3535 ** DISASSEMBLE now works. (There was a problem in using DEFMACRO
3536 instead of SB!XC:DEFMACRO, compounded by an oversight on my
3537 part when getting rid of the compiler *BACKEND* stuff.)
3538 ** The value of *NULL-TYPE* was screwed up, because it was
3539 being initialized before the type system knew the final
3540 definition of the 'NULL type. This screwed up several key
3541 optimizations in the compiler, causing inefficiency in all sorts
3542 of places. (I found it because I wanted to understand why
3543 GET-INTERNAL-RUN-TIME was consing.)
3544 * fixed a bug in DEFGENERIC which was causing it to overwrite preexisting
3545 PROCLAIM FTYPE information. Unfortunately this broke binary
3546 compatibility again, since now the forms output by DEFGENERIC
3547 to refer to functions which didn't exist in 0.6.3.
3548 * added declarations so that SB-PCL::USE-CACHING-DFUN-P
3549 can use the new (as of 0.6.3) transform for SOME into MAP into
3551 * changed (MOD 1000000) type declarations for Linux timeval.tv_usec slot
3552 values to (INTEGER 0 1000000), so that the time code will no longer
3553 occasionally get blown up by Linux returning 1000000 microseconds
3554 * PRINT-UNREADABLE-OBJECT has been tweaked to make the spacing of
3555 its output conform to the ANSI spec. (Alas, this makes its output
3556 uglier in the :TYPE T :IDENTITY NIL case, but them's the breaks.)
3557 * A full call to MAP NIL with a single sequence argument no longer conses.
3558 * fixes to problems pointed out by Martin Atzmueller:
3559 * The manual page no longer talks about multiprocessing as though
3560 it were currently supported.
3561 * The ILISP support patches have been removed from the distribution,
3562 because as of version 5.10.1, ILISP now supports SBCL without us
3563 having to maintain patches.
3564 * added a modified version of Raymond Toy's recent CMU CL patch for
3565 EQUALP comparison of HASH-TABLE
3567 changes in sbcl-0.6.3 relative to sbcl-0.6.2:
3569 * The system still can't cross-compile itself with
3570 *TYPE-SYSTEM-INITIALIZED* (and all the consistency checks that
3571 entails), but at least it can compile more of itself that way
3572 than it used to be able to, and various buglets which were uncovered
3573 by trying to cross-compile itself that way have now been fixed.
3574 * This release breaks binary compatibility again. This time
3575 at least I've incremented the FASL file format version to 2, so that the
3576 problem can be detected reliably instead of just causing weird errors.
3577 * various new style warnings:
3578 ** using DEFUN, DEFMETHOD, or DEFGENERIC to overwrite an old definition
3579 ** using the deprecated EVAL/LOAD/COMPILE situation names in EVAL-WHEN
3580 ** using the lexical binding of a variable named in the *FOO* style
3581 * DESCRIBE has been substantially rewritten. It now calls DESCRIBE-OBJECT
3582 as specified by ANSI.
3583 * *RANDOM-STATE* is no longer automatically initialized from
3584 (GET-UNIVERSAL-TIME), but instead from a constant seed. Thus, the
3585 default behavior of the system is to repeat its behavior every time
3586 it's run. If you'd like to change this behavior, you can always
3587 explicitly set the seed from (GET-UNIVERSAL-TIME); whereas under the
3588 old convention there was no comparably easy way to get the system to
3589 repeat its behavior every time it was run.
3590 * Support for the pre-CLTL2 interpretation of FUNCTION declarations as
3591 FTYPE declarations has been removed, in favor of their ANSI
3592 interpretation as TYPE FUNCTION declarations. (See p. 228 of CLTL2.)
3593 * The quantifiers SOME, EVERY, NOTANY, and NOTEVERY no longer cons when
3594 the types of their sequence arguments can be determined at compile time.
3595 This is done through a new open code expansion for MAP which eliminates
3596 consing for (MAP NIL ..), and reduces consing otherwise, when sequence
3597 argument types can be determined at compile time.
3598 * The optimizer now transforms COERCE into an identity operation when it
3599 can prove that the coerced object is already of the correct type. (This
3600 can be a win for machine generated code, including the output of other
3601 optimization transforms, such as the MAP transform above.)
3602 * Credit information has been moved from source file headers into CREDITS.
3603 * Source file headers have been made more standard.
3604 * The CASE macro now compiles without complaining even when it has
3607 changes in sbcl-0.6.2 relative to sbcl-0.6.1:
3609 * (Note that the way that the PCL macroexpansions were rewritten
3610 to accommodate the change in DEFGENERIC below breaks binary
3611 compatibility. That is, fasl files compiled under sbcl-0.6.1 may
3612 not run under sbcl-0.6.2. Once we get out of alpha releases,
3613 i.e. hit release 1.0.0, we'll probably try to maintain binary
3614 compatibility between maintenance releases, e.g. between sbcl-1.4.3
3615 and sbcl-1.4.4. Until then, however, it might be fairly common
3616 for maintenance releases to break binary compatibility.)
3617 * A bug in the calculation of WARNINGS-P and FAILURE-P in COMPILE-FILE
3619 * The reporting of unhandled signals has been changed to print some
3620 explanatory text as well as the report form. (Previously only
3621 the report form was printed.)
3622 * The macroexpansion for DEFGENERIC now DECLAIMs the function that
3623 it defines, so that the compiler no longer issues undefined function
3624 warnings for compiled-but-not-yet-loaded generic functions.
3625 * The CLTL-style "LISP" and "USER" nicknames for the "COMMON-LISP"
3626 and "COMMON-LISP-USER" packages have been removed. Now only the "CL"
3627 and "CL-USER" standard nicknames from the "11.1.2 Standardized Packages"
3628 section of the ANSI spec are supported.
3629 * The "" nickname for the "KEYWORD" package has been removed.
3630 The reader still handles symbol tokens which begin with a package marker
3631 as keywords, but it doesn't expose its mechanism for doing so in the
3632 (PACKAGE-NICKNAMES (FIND-PACKAGE "KEYWORD")) list.
3633 * The system now issues STYLE-WARNINGs for contradictory TYPE
3634 proclamations. (Warnings for contradictory FTYPE proclamations would
3635 be nice too, but those can't be done usefully unless the type system
3636 is made smarter about FUNCTION types.)
3637 * The names of source files "*host-*.lisp" and "*target-*.lisp" have been
3638 systematized, so that "*target-*.lisp is supposed to exist only on the
3639 target and imply that there's a related file which exists on the
3640 host, and *host-*.lisp is supposed to exist only on the host and imply
3641 that there's a related file which exists on the target. This involves a
3642 lot of renaming. Hopefully the acute confusion caused by the renaming
3643 will be justified by the reduction in chronic confusion..
3644 ** runtime-type.lisp -> early-target-type.lisp
3645 ** target-type.lisp -> late-target-type.lisp
3646 ** early-host-format.lisp -> early-format.lisp
3647 ** late-host-format.lisp -> late-format.lisp
3648 ** host-error.lisp -> misc-error.lisp
3649 ** early-error.lisp -> early-target-error.lisp
3650 ** late-error.lisp -> late-target-error.lisp
3651 ** host-defboot.lisp -> early-defboot.lisp
3652 ** code/misc.lisp -> code/target-misc.lisp
3653 ** code/host-misc.lisp -> code/misc.lisp
3654 ** code/numbers.lisp -> code/target-numbers.lisp
3655 ** code/early-numbers.lisp -> numbers.lisp
3656 ** early-host-type.lisp -> early-type.lisp
3657 ** late-host-type.lisp -> late-type.lisp
3658 ** host-typep.lisp -> typep.lisp
3659 ** load.lisp -> target-load.lisp
3660 ** host-load.lisp -> load.lisp
3661 ** host-disassem.lisp -> disassem.lisp
3662 ** host-insts.lisp -> insts.lisp
3663 ** byte-comp.lisp -> target-byte-comp.lisp
3664 ** host-byte-comp.lisp -> byte-comp.lisp
3665 ** host-signal.lisp -> signal.lisp
3666 ** host-defstruct.lisp -> defstruct.lisp
3667 ** late-target-type.lisp -> deftypes-for-target.lisp
3668 Furthermore, several other previously target-only files foo.lisp (e.g.
3669 hash-table.lisp and random.lisp) have been split into a target-and-host
3670 foo.lisp file and a target-only target-foo.lisp file, with their key type
3671 definitions in the target-and-host part, so that the cross-compiler will
3672 know more about target types.
3673 * DEFSTRUCT BACKEND, and the BACKEND-valued *BACKEND* variable, have
3674 gone away. In their place are various *BACKEND-FOO* variables
3675 corresponding to the slots of the old structure.
3676 * A bug which caused the SB-COLD bootstrap-time package to be propagated
3677 into the target SBCL has been fixed.
3678 * The chill.lisp system for loading cold code into a running SBCL
3680 * Support for the CMU CL "scavenger hook" extension has been removed.
3681 (It was undocumented and unused in the CMU CL sources that SBCL was
3682 derived from, and stale in sbcl-0.6.1.)
3683 * Various errors in the cross-compiler type system were detected
3684 by running the cross-compiler with *TYPE-SYSTEM-INITIALIZED*
3685 (enabling various consistency checks). Many of them were fixed,
3686 but some hard problems remain, so the compiler is back to
3687 running without *TYPE-SYSTEM-INITIALIZED* for now.
3688 * As part of the cross-compiler type system cleanup, I implemented
3689 DEF!TYPE and got rid of early-ugly-duplicates.lisp.
3690 * I have started adding UNCROSS calls throughout the type system
3691 and the INFO database. (Thus perhaps eventually the blanket UNCROSS
3692 on cross-compiler input files will be able to go away, and various
3694 * CONSTANTP now returns true for quoted forms (as explicitly required
3697 changes in sbcl-0.6.1 relative to sbcl-0.6.0:
3699 * changed build optimization from (SAFETY 1) to (SAFETY 3) as a short-term
3700 fix for various type-unsafety bugs, e.g. failures with (LENGTH 123) and
3701 (MAKE-LIST -1). In the longer term, it ought to become true
3702 that declarations are assertions even at SAFETY 1. For now, it's not
3703 quite true even at SAFETY 3, but it's at least more nearly true..
3704 (Note that this change seems to increases the size of the system by
3705 O(5%) and to decrease the speed of the compiler by 20% or more.)
3706 * changed ALIEN printing to be much more abbreviated, as a short-term fix
3707 for the problem of printing dozens of lines of distracting information
3708 about low-level system machinery as part of the top stack frame
3709 on entry to the debugger when an undefined function was called.
3710 * tweaked the debugger's use of WITH-STANDARD-IO-SYNTAX so that *PACKAGE*
3711 is not reset to COMMON-LISP-USER.
3712 * Compilation of stuff related to dyncount.lisp has been made conditional
3713 on the :SB-DYNCOUNT target feature, so that the ordinary core system is
3714 smaller. The various dyncount-related symbols have been moved into
3715 a new "SB-DYNCOUNT" package.
3716 * tty-inspect.lisp has been renamed to inspect.lisp.
3717 * unix-glibc2.lisp has been renamed to unix.lisp, and the :GLIBC2
3718 feature has gone away. (When we eventually port to other flavors of
3719 libc and/or Unix, we'll try to make the differences between flavors
3720 invisible at the user level.)
3721 * Various other *FEATURES* tags, and/or their associated conditionals,
3722 have been removed if obsolescent, or given better documentation, or
3723 sometimes given more-mnemonic names.
3725 changes in sbcl-0.6.0 relative to sbcl-0.5.0:
3727 * tidied up "make.sh" script
3728 * tidied up system directory structure
3729 * better "clean.sh" behavior
3730 * added doc/FOR-CMUCL-DEVELOPERS
3731 * many many small tweaks to output format, e.g. removing possibly-confusing
3732 trailing #\. character in DESCRIBE-INSTANCE
3733 * (EQUALP #\A 'A) no longer signals an error.
3734 * new hashing code, including EQUALP hashing
3735 * tidied up Lisp initialization and toplevel
3736 * initialization files (e.g. /etc/sbclrc and $HOME/.sbclrc)
3737 * command line argument processing
3738 * added POSIX-GETENV function to deal with Unix-ish environment variables
3739 * more-Unixy handling of *STANDARD-INPUT* and other Lisp streams, e.g.
3740 terminating SBCL on EOF
3741 * non-verbose GC by default
3742 * There is no more "sbcl" shell script; the sbcl file is now the C
3743 runtime executable (just like CMU CL).
3744 * removed some unused fops, e.g. FOP-UNIFORM-VECTOR, FOP-CHARACTER, and
3746 * tweaked debug-info.lisp and debug-int.lisp to make the debugger store
3747 symbol and package information as Lisp native symbol and package objects
3748 instead of strings naming symbols and strings naming packages. This way,
3749 whenever packages are renamed (as in warm init), debug information is
3750 transformed along with everything else.
3751 * tweaked the optimization policy declarations which control the building
3752 of SBCL itself. Now, among other things, the system no longer saves
3753 source location debugging information. (This helps two problems at once
3754 by reducing SBCL size and by keeping SBCL from trying to look for its
3755 sources -- which may not exist -- when reporting errors.)
3756 * added src/cold/chill.lisp, to let SBCL read its own cold sources for
3757 debugging and testing purposes
3758 * cleaned up printing, making the printer call PRINT-OBJECT for
3759 instances, and using PRINT-UNREADABLE-OBJECT for most PRINT-OBJECT
3760 methods, giving nearly-ANSI behavior
3761 * converted almost all special variables to use *FOO* naming convention
3762 * deleted PARSE-TIME functionality, since it can be done portably
3763 * moved some files out of cold init into warm init
3764 * deleted DEFUN UNDEFINED-VALUE, replaced (UNDEFINED-VALUE) forms
3766 * regularized formatting of source files
3767 * added an install.sh script
3768 * fixed ridiculous memory usage of cross-compiler by making
3769 compiler/alloc.lisp not try to do pooling unless it can hook
3770 itself into the GC of the cross-compilation host. Now the system
3771 builds nicely on my old laptop.
3772 * added :SB-ALLOC in target-features.lisp-expr
3773 * deleted mention of :ANSI-DOC from target-features.lisp-expr (since it
3774 was not implemented)
3775 * re-did condition handling and note reporting in the compiler. Notes
3776 are no longer handled by signalling conditions. Style warnings
3777 and warnings are handled more correctly and reported in such a way
3778 that it's easy to find one or the other in your output (so that you
3779 can e.g. figure out which of many problems caused COMPILE-FILE to
3781 * changed the severity of several compiler warnings from full WARNING
3782 to STYLE-WARNING in order to conform with the ANSI spec; also changed
3783 compiler note reporting so that it doesn't use the condition system
3784 at all (and hence affects neither FAILURE-P nor WARNINGS-P in the
3785 COMPILE-FILE command)
3786 * made PROCLAIM and DECLAIM conform to ANSI. PROCLAIM is now an ordinary
3787 function. As a consequence, START-BLOCK and END-BLOCK declarations are
3788 no longer supported, since their implementation was deeply intertwingled
3789 with the magical, non-ANSI treatment that PROCLAIM received in CMU CL.
3790 * removed bogus "support" for compiler macros named (SETF FOO), and
3791 removed the compiler macro for SETF INFO (but only after making a fool
3792 of myself on the cmucl-imp mailing list by posting a bogus patch for
3793 DEFINE-COMPILER-MACRO..)
3794 * Compiled files containing forms which have side effects on the Lisp
3795 reader (such as DEFPACKAGE forms) are now handled more correctly.
3796 (Compiler queuing of top level lambdas has been suppressed by setting
3797 *TOP-LEVEL-LAMBDA-MAX* to 0. )
3798 * deleted various currently-unused source files, e.g. gengc.lisp. They
3799 may be added back at some point e.g. when porting to other architectures,
3800 but until they are it's distracting to distribute them and to try to
3802 * deleted "UNCROSS couldn't recurse through.." style warnings, since
3803 there were so many of them they're just distractions, and UNCROSS is
3804 known to be able to handle the current sources
3805 * moved PROFILE functionality into TRACE, so that it will be clear
3806 how the wrapping and unwrapping of functions when you profile them
3807 interacts with the wrapping and unwrapping of functions when you
3808 trace them. (Actually, the functionality isn't there yet, but at least
3809 the interface specification is there. Hopefully, the functionality will
3810 arrive with some future maintenance release.)
3811 * removed host-oops.lisp
3812 * changed signature of QUIT function to allow UNIX-CODE argument
3813 * fixed READ-SEQUENCE bug
3814 * tweaked verbose GC output so that it looks more like the progress
3815 output that ANSI specifies for functions like LOAD
3816 * set up the system on sourceforge.com, with home pages, mailing lists, etc.
3817 * added <http://sbcl.sourceforge.com> to the banner information printed by