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