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