ViewVC logotype

Contents of /src/general-info/beta-release-notes.txt

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.15 - (show annotations)
Mon Feb 14 23:16:39 1994 UTC (20 years, 2 months ago) by ram
Branch: MAIN
Changes since 1.14: +122 -0 lines
File MIME type: text/plain
Lock status: Locked ram
Update for 17e
1 Release notes for CMU Common Lisp 17e, 19 September 93
3 17e is primarily a bug-fix release. This release also supports
4 Hewlett-Packard 700-series workstations running HP-UX version 9.x.
9 Enhancements:
10 -- The function EXT:PURIFY is now exported. This was formerly only
11 documented as usable via the :PURIFY argument to SAVE-LISP. Great
12 improvements in GC runtime and memory use can be obtained when PURIFY is
13 called after loading in large amounts of code or creating large
14 datastructures that are unlikely to become garbage.
15 -- EXT:PURIFY (and thus (EXT:SAVE-LISP ... :PURIFY T) now compact the
16 hashtables representing the global namespace. Formerly this feature was
17 undocumented and only used during the initial system build.
18 -- There is now a "runtime" version of the Lisp image which omits the
19 compiler and loads some other code byte compiled, giving a 60% size
20 reduction. See README file, "Runtime distribution" section.
21 -- Changed the byte-function and byte-closure funcallable-instances to use
22 &more args instead of a &rest arg (eliminating the main source of
23 grautitous consing in byte code.)
24 -- Allow pretty-printer to work without compiler loaded.
25 -- Improved (and thus changed) the SXHASH of lists and other composite
26 objects.
27 -- Added to *FEATURES* all of the ANSI CL features that seemed plausible.
28 Any non-ANSI compliance is now a bug, not a feature...
29 -- Picked up Miles' changes to apropos and apropos-list that allows one to
30 supply NIL for the package, meaning all packages.
32 Bug fixes:
33 -- Fix arg ordering for GETF in new condition support. Default the name
34 slot in DEFMACRO-LAMBDA-LIST-BIND-ERRORS to NIL (instead of leaving it
35 unbound.)
36 -- In READ-N-BYTES, only signal EOF when we read and got 0 bytes, not
37 whenever read returns less than we wanted. Also, fix the case of small
38 reads with an empty buffer not to leave garbled buffer pointers if we have
39 to do more than one read. These bugs mostly affect the X interface and
40 its users (Garnet was having problems.)
41 -- Changed YES-OR-NO-P and Y-OR-N-P to force output.
42 -- Fixed COUNT :TEST-NOT to actually negate the test.
43 -- Fixed COERCE to call type-expand so that people can coerce to deftypes.
44 -- Rename STEP to DEBUG::SET-STEP-BREAKPOINT because step is supposed to be
45 the exported step macro, not some internal routine.
46 -- Fixed DEFPACKAGE to combine multiple use, export, and import options
47 correctly. Fixed the warning about no longer using some packages to
48 actually work.
49 -- Fixed GCD to correctly handle MOST-NEGATIVE-FIXNUM.
50 -- Flush Hemlock font change hack in default site-init.lisp, since it was
51 causing problems.
53 CLOS (PCL):
54 -- Add some hacks for coercing lisp:class objects to pcl:class.
56 -- Fix some problems with the LISP:CLASS class-precedence-list suddenly
57 becoming empty when a class is redefined.
58 -- Fixed SIMPLE-STRING to list STRING in the inherits list.
63 Enhancements:
64 -- Added a type inference method for LOG's result type.
65 -- Added support for "more args" which are like rest args, but don't cons.
66 This is used for calling into annd out of byte-compiled core and in the
67 PROFILE package.
68 -- Increase *inline-expansion-limit* from 50 to 200. Change "inline
69 expansion count exceeded" warning to be a note. Don't inline expand in
70 interpreted code.
72 Bug fixes:
73 -- Fix a problem where spurious argument types could be inferred for optional
74 arguments in byte-compiled code (caused yes-or-no-p to fail.)
75 -- Fixed an internal error related to tail local calls.
76 -- Fixed assertion failure about COMPONENT-NEW-FUNCTIONS with some inline
77 expansions.
78 -- Fixed (TYPEP X '(REAL ...)) to actually test against REAL, not NUMBER.
79 -- Fixed a problem where top-level MULTIPLE-VALUE-CALL forms could cause an
80 assertion falure.
81 -- Don't try to compile flow-graph components that are unreachable. This
82 avoids some internal errors when unreachable local functions are
83 deleted.
84 -- Fix problem with byte-compiling PROGV getting an internal compiler error.
89 Misc extensions:
90 -- Added an executable-only optional to EXT:UNIX-NAMESTRING so that we can
91 expand path:foo into the first executable in the path named foo, not just
92 the first file
93 -- Changed RUN-PROGRAM to only try to run executables, and to flame out if it
94 can't be found in path:.
95 -- Profile: use &more instead of &rest to avoid consing the &rest arg list.
96 Fixed PROFILE:REPORT-TIME to not choke if any of the function names are
97 not symbols (e.g. setf functions).
99 Motif interface:
100 -- Added an optional STYLE arg to the graphical inspector to make the
101 function consistent with its doc string (as well as the old inspector).
102 -- Tried to make starting the Motif server more robust, or at least give some
103 intelligible error message.
104 -- Added some extra protection against recursive invocation of the windowing
105 debugger.
107 Hemlock:
108 -- Add window-buffer-hook for echo area buffer to make absolutely sure we
109 can't change the eacho area window to point to another buffer.
110 -- Give a sensible error message if we can't find the slave utility (e.g.
111 lisp) to run.
112 -- Restored the behavior of scribe-file to cd to the directory of the .mss
113 file before running scribe.
114 -- Change default fonts to be courier, flushing all mention of 8x13.
115 Remove font-setting in default site-init file, since it was causing
116 problems.
117 -- Add FILE-POSITION method for region streams so that the compiler's read
118 error recovery works for "Editor Compile Defun", etc.
119 -- When reading a file, set BUFFER-WRITABLE to T before doing anything so
120 that we don't get spurious read-only errors.
123 Release notes for CMU Common Lisp 17c, 19 September 93
125 17c is a new major release of CMU Common Lisp. An overview of changes:
126 -- New structure object representation and class support in the type system.
127 -- PCL better integrated with CMU type system.
128 -- New CLX, PCL.
129 -- Numerous ANSI changes.
130 -- Byte-code compilation option offers more compact code.
131 -- Improvements in compiler source-level optimization, inline expansion and
132 instruction scheduling.
133 -- New fasl file format (you must recompile.)
134 -- Calling of SETF functions is now efficient.
135 -- Speed and space tuning in the compiler and runtime system.
136 -- New TTY debugger commands support stepping compiled code.
137 -- A graphical debugger and inspector based on a Motif interface.
138 -- Changes in the startup code and SAVE-LISP increase portability.
139 -- Preliminary support for the HP Precision Architecture under HP-UX 9.0
140 (i.e. for HP 700 series.)
141 -- New User's manual. Note that the online Info document has not been
142 updated yet.
144 And of course, bug fixes...
146 Basic runtime code changes:
148 ANSI cleanups:
149 -- These functions are now defined:
155 -- The conditions FLOATING-POINT-INEXACT,
157 defined.
158 -- Logical pathnames are now implemented. (See "pathnames" below and the
159 user's manual.)
160 -- Allow :UNSPECIFIC and :WILD in all pathname slots where they should be
161 legal; don't always use a :MULTI-CHAR-WILD pattern.
162 -- Support for :COMPILE-TOP-LEVEL, :LOAD-TOP-LEVEL and :EXECUTE keywords to
164 -- #S readed no longer forces keywords into the keyword package.
165 -- Various changes to DEFSTRUCT described below.
166 -- IN-PACKAGE now prints a warning if any arguments other than the package
167 name are supplied and signals a correctable error if the package doesn't
168 exist yet.
169 -- DEFPACKAGE now tells you about inconsistencies between any existing package
170 and the DEFPACKAGE form.
171 -- Packages:
172 - DELETE-PACKAGE function added according to X3J13/92 specification.
173 Most operations on deleted packages signal an error.
174 - Changed IN-PACKAGE to conform to the new definition. But if you use an
175 old-style IN-PACKAGE, it will use the old behavior.
176 - Rewrote DEFPACKAGE to tell you about inconsistencies between the
177 package and the DEFPACKAGE form.
178 -- Conditions:
179 - Changed conditions to be non-structure (but also non-PCL) instances
180 that support multiple inheritance and the other required CLOS
181 operations. Removed SIMPLE-CONDITION hacks for simulating multiple
182 inheritance.
183 - DEFINE-CONDITION now corresponds to proposed ANSI CL, which is a subset
184 of DEFINE-CLASS syntax and is incompatible with the earlier KMP syntax.
185 Note that in particular, :INITARG and :READER options are now
186 effectively required on every slot.
190 macro. This provides a way to say that restarts are relevant only to a
191 certain condition.
192 - Added STYLE-WARNING and PARSE-ERROR conditions.
193 - Added report method for END-OF-FILE and changed system code to signal
194 it.
195 - Added PRINT-NOT-READABLE condition and made people use it.
196 -- Remove some spurious LISP package exports, and add missing ones.
197 Delete package setup for optional subsystems (hemlock, etc.)
200 DEFINE-SETF-METHOD to DEFINE-SETF-EXPANDER. The old names are still
201 defined for CLtL1 compatability.
202 -- Added degenerate versions of STREAM-EXTERNAL-FORMAT,
204 -- Hash-table code largely rewritten. MAKE-HASH-TABLE now conforms to
205 the X3J13 spec. Hash-tables can now be dumped as constants in fasl files.
207 Bug fixes:
208 -- Made the "modules:" search-list (used by REQUIRE) default to the current
209 directory.
210 -- Do a BOUNDP check so that references to undefined types inside of a
211 WITH-COMPILATION-UNIT but outside of the compiler won't cause
212 undefined-variable errors.
213 -- Set up a default for modules: search-list.
214 -- Changed BACKQ-UNPARSE to check for improper lists instead of getting an
215 internal error. Some meaningless backq forms will now pprint as:
216 "### illegal dotted backquote form ###".
217 -- Added SIMPLE-STYLE-WARNING, and spiffed up the simple-condition hacks so
218 that (typep x 'simple-condition) works.
219 -- In LOAD-FOREIGN, use unix-namestring on each file before passing it to the
220 linker to get rid of search lists.
221 -- Fixed the printer to stop at the fill pointer for strings with fill
222 pointers.
223 -- Fixed PPRINT-DO to not flame out if one of the binding lists is NIL.
224 -- Fixed load to not always consider files with NIL type to be source files.
225 If the file exists as specified, then look at the header instead of trying
226 to default the type. If :CONTENTS is specified, then don't try defaulting
227 types.
228 -- Fixed FORMAT-EXP-AUX to correctly handle variable width fields when the
229 argument is negative.
230 -- Use ~C instead of ~A when printing float exponent marker so that
231 *PRINT-READABLY* doesn't mess things up.
232 -- Fixed CLEAR-INPUT on file descriptor streams to flush any unread chars.
233 -- Now that +0.0 and -0.0 are no longer EQL, fixed ATAN to deal with them
234 correctly.
235 -- Changed SAVE-LISP to pad the core file out to CORE_PAGESIZE bytes, so that
236 when we mmap it back it, we won't get bus errors if the real page size is
237 less then the CORE_PAGESIZE.
238 -- Really really fixed GET-SETF-METHOD-MULTIPLE-VALUE for local macros. Also,
239 in the recursive calls, people were not propagating the environment
240 through, and in some places were not recursing with the multiple-value
241 version.
242 -- Fixed FLOAT to float ratios precisely by using integer division instead of
243 float division. This fixes a problem where a bit or two was lost on
244 READing floats.
245 -- In the Alien type= method for FUNCTION, call ALIEN-TYPE-= instead of
246 calling ALIEN-TYPE-P with two args. [Fix from Mike Clarkson.]
248 Compiler changes:
250 Enhancements:
251 -- If the argument to compile-file is already absolute, then don't bother
252 expanding it into the TRUENAME. This allows search-lists or logical
253 pathnames to be preserved in the defined-from info (for DESCRIBE, "Edit
254 Definition", etc.)
255 -- Signal a compile-time error for division by constant 0.
256 -- Replaced the FORMAT transform with one that uses FORMATTER for more
257 complete handling of format directives. This is only enabled when
258 speed > space.
259 -- Compilation to a dense byte-code is now supported, see below.
260 -- Semantic analysis/optimization of function calls has been revamped so that
261 optimizations are done more consistently, especially when the call is a
262 funcall.
263 -- A new approach is now taken to inline expansion, allowing inlining to be
264 done in more cases. In particular:
265 - local functions from LABELS or block compilation can now be inlined,
266 - global function definitions made inside of a local macro or special
267 declaration can now be inlined.
268 Inline expansion is now divided into two separate parts:
269 - Semi-inline expansion introduces a local definition of a global
270 function that has an expansion available. This is now exactly
271 equivalent to block-compiling together with that DEFUN.
272 - Local call analysis introduces new copies of locally defined INLINE
273 functions. This duplication is limited by EXT:*INLINE-EXPANSION-LIMIT*
274 (default 50) to prevent indefinite expansion of recursive functions.
275 This limit may need to be increased for compilations containing many
276 legit inline expansions in order for all calls to be inlined.
277 -- SETF functions are now better supported. Calling a compile-time constant
278 SETF function is now just as efficient as calling a function named by a
279 symbol. This is done by resolving function names to "fdefinition objects"
280 at load time. SYMBOL-FUNCTION of a non-constant symbol is now somewhat
281 slower, since the fdefinition must be located by a table lookup.
282 -- Assembler and disassembler have been reimplemented yet again, giving
283 improved portability and scheduling.
284 -- Assembly optimization is now enabled, giving large speed/space improvements
285 on MIPS and some on SPARC. This optimization is done when speed >
286 compilation-speed (i.e. not by default) since it significantly slows
287 compilation.
288 -- [mips] Lots of tweeks in order to use NIL and 0 directly from the
289 registers holding them instead of copying them into a new register and
290 then using it.
291 -- New funcallable-instance support (for PCL, etc.) Now funcallable instance
292 functions must be specially compiled, which is indicated by creating them
294 -- Moved assumed-type recording of unknown function calls from the beginning
295 of IR1 to the end so that we have the best type information about the
296 arguments.
297 -- Generalized the static-mumble-offset routines to also consider nil a
298 static symbol at offset 0.
300 ANSI changes:
301 -- Make compiler error functions use the condition system. This ANSI cleanup
302 has two advantages:
303 1] compiler-warning and warn are now equivalent, so uses of WARN will be
304 counted in the warning total and given source context.
305 2] user handlers can be defined to notice or suppress output.
306 -- Made DYNAMIC-EXTENT declaration recognized & ignored.
307 -- Allow non-keyword keyword names when the &key keyword is specified
308 separately. In FUNCTION and VALUES types, allow non-keyword symbols; you
309 must now explicitly the ":" in order to get the usual keyword naming.
310 -- Compiler-macros are now supported. See DEFINE-COMPILER-MACRO.
311 -- Minor tweeks to conform to X3J13 cleanup MACRO-DECLARATIONS:MAKE-EXPLICIT.
312 -- Fixed SYMBOL-MACROLET to allow declarations as per X3J13 cleanup SYMBOL-
313 MACROLET-DECLARE:ALLOW. When declaring things about symbol macros, type
314 declarations just wrap (the type ...) around the expansion, special
315 declarations signal an error, and ignore/ignorable declarations are
316 ignored.
318 Tuning:
319 -- Tuning based on instruction-counting profiling of the compiler --- added
320 missing declarations, etc. This also motivated some general
321 array/sequence optimizations (see below.)
322 -- Added block compilation declarations. Moved some stuff around to get
323 better locality.
324 -- Changed IR1-ERROR-BAILOUT to do fewer special bindings.
325 -- Inline expand some simple utility functions.
326 -- Some changes to increase the sharing among some of the automatically
327 generated functions in the compiler backend.
329 Bug fixes:
330 -- [sparc,mips] Fixed a bug in default-unknown-values where it wouldn't
331 default the first unsupplied value to nil if more then 6 values where
332 supplied.
333 -- Structure slot accessors are no longer constant-folded, because that was
334 causing problems with some MAKE-LOAD-FORM hacks.
335 -- Fixed numeric type inference to realize that contagion causes the result
337 -- In FINALIZE-XEP-DEFINITION, if not the current global definition, just
338 leave the defined type alone, instead of clobbering it with FUNCTION. A
339 benefit of this is that COMPILE doesn't trash the function type.
340 -- Don't run the back-end(s) on components with no code.
341 -- Don't compile load-time-value lambdas if they've already been compiled
342 because they ended up in a non-top-level component. Also, the function
343 holding a load-time-value form also has a more sensible debug name.
344 -- Fixed a problem with ASSERT-DEFINITION-TYPE when we have a keyword arg
345 with a non-constant default.
346 -- Fixed several uses of FIND to use EQUAL instead of EQL to compare function
347 names, because (SETF mumble) is now a valid function name, and isn't
348 necessarily EQL.
349 -- Bind *GENSYM-COUNTER* around compilation that it doesn't get side
350 effected.
351 -- Fixed a bug in type inference which seems to have generally prevented
352 anything from being inferred about function result types.
353 -- Fixed several bugs related to the handling of "assignment" local functions
354 (that correspond to a tail-recursive loop.)
355 -- Added a hack to IF-IF optimization to hopefully prevent some spurious
356 unreachable code notes.
357 -- Fixed call to CONTINUATION-DERIVED-TYPE to be CONTINUATION-TYPE so that we
358 don't choke on values types in the functional position.
359 -- Fixed the handling of +/- 0.0:
360 - = is no longer converted to EQL, but is directly handled by the backend.
361 - EQL is converted into a raw comparison of the bits.
362 -- Fixed several bugs which caused fatal compile-time errors.
363 -- Fixed LET* to correctly use the internal policy (not the interface policy)
364 for all bindings, not just the first.
365 -- In local call VOPs, must load CALLEE-NFP with MAYBE-LOAD-STACK-TN, since it
366 might not be in a register.
367 -- When iterating over the lamdba-calls in unconverting tail calls, have
368 to ignore any deleted lambda.
369 -- Fixed listify-rest-arg. It was leaving a tagged pointer to unallocated
370 memory in a descriptor register, which would confuse the garbage collector
371 if this value was still around.
372 -- Compile and dump package manipulation forms before evaluating them, so
373 they are dumped with respect to the state of the package system before the
374 form was read, not after.
376 Sparc:
377 -- New pseudo-atomic speeds allocation.
378 -- Added checking for integer division by zero.
380 Mips:
381 -- Changed generic-= and generic-/= to not assume that EQ implies =,
382 because it doesn't in the case of NaNs.
383 -- Major rewrite of many things. Merged mumble-immediate SCs into the
384 immediate SC. Wrote several vops to use :constant arg types better.
385 Rewrote all the type testing stuff. New pseudo-atomic, allocators now
386 inline.
387 -- Fixed UNBIND-TO-HERE to not dereference past the end of the binding stack.
388 -- Changed to load the function from static-function-offset relative to NIL
389 instead of computing the symbol and then loading the function.
390 -- Added Miles' change to use JALI instead of LI/JR now that it exists.
391 -- Fixed a lifetime bug in full call. This only showed up if there were
392 either a variable number or > 6 arguments and the caller was large enough
393 that the compute-lra-from-code couldn't be done in one instruction.
395 Byte compilation:
397 Byte compilation reduces the size of the Lisp process by allowing rarely used
398 functions to be compiled more compactly. In comparison with 16f, the basic
399 system image is about 20% smaller. The full system with Hemlock CLX, etc., is
400 also 19% smaller even though it contains new code (the Motif interface) because
401 a larger fraction of the extra systems are byte compiled.
404 Byte compilation overview:
406 The decision to byte-compile or native compile can be done on a per-file or
407 per-code-object basis. COMPILE-FILE now has a :BYTE-COMPILE argument. If T,
408 we byte-compile everything and create a machine-independent fasl file
409 (dependent only on byte order, file type "bytef" or "lbytef".)
410 If :MAYBE (the default, from EXT:*BYTE-COMPILE-DEFAULT*), things are
411 byte-compiled when speed = 0 and debug <= 1. Top-level forms are byte-compiled
412 by default (controlled by ext:*byte-compile-top-level*.)
414 Byte compilation is roughly twice as fast native compilation. Byte compiled
415 code runs 50x--200x slower than native code, and is 6x more dense. This is
416 about 10x faster than the IR1 interpreter, which is itself considered fast in
417 comparison to other Common Lisp interpreters. Historical perspective: this is
418 about as fast as Spice Lisp on a PERQ.
420 Tuning:
421 -- Tweaked GENSYM so that the CONCATENTATE is open-coded.
422 -- Tweaked WITH-ARRAY-DATA to test for (not (array-header-p )) instead of
423 (simple-array * (*)), since that's much faster. This helps all functions
424 that accept non-simple arrays.
425 -- Transform MEMBER, DELETE and ASSOC to MEMQ, ASSQ and DELQ when possible.
426 Inline expand vector & list POSITION, vector FILL and list DELETE-IF.
427 -- Add some INDEX declarations in simple-string concatenate/replace
428 transforms.
429 -- made DIGIT-CHAR-P and DIGIT-WEIGHT maybe-inline.
430 -- Added declarations from efficiency notes in fd-stream, load, package,
431 reader, char and hash.
432 -- Revived the support for FAST-READ-CHAR and the STREAM-IN-BUFFER, which
433 allows READ-CHAR and READ-BYTE to be done with 0 function calls rather than
434 2.
435 -- Because of above two changes, both the reader and the fasloader are now
436 significantly faster (reader 2x.)
437 -- Default (non-frozen) structure type tests are now significantly faster (no
438 function calls), and somewhat smaller. This and the reader improvement
439 have sped up the compiler somewhat.
440 -- Many debug-info and compiler data structures are now annotated as pure,
441 alloing them to be put in read-only space. This reduces the amound of
442 stuff in static space, speeding GC.
443 -- Real-valued hash-table parameters (rehash-threshold etc.) are
444 canonicalized to single-floats.
445 -- Replaced ISQRT with a much faster version off the net.
446 -- serve-event now uses UNIX-FAST-SELECT, so it can can handle >32 file
447 descriptors and is more efficient.
448 -- Changed UNIX-FAST-SELECT to a macro so that it can be efficient. Changed
449 FD-SET stuff to be efficiently compilable.
450 -- Use an auxiliary function to make the condition for macro arg count
451 errors to save space in macro definitions.
452 -- Byte compile the expander functions for all macros except those in the
453 cold load. Byte-compile various user-interface stuff like the debugger,
454 disassemble and structure print functions. Byte-compile most Hemlock
455 commands.
456 -- Compile PCL's guts unsafe when #+SMALL.
457 -- Some gratuitous RANDOM tuning. Random double floats are now much, much
458 faster. Added transforms for RANDOM to type-specific functions (which can
459 then be inline-expanded).
461 DEFSTRUCT and classes:
463 The structure representation has been changed to point directly to a type
464 descriptor rather than to the symbol type name. This allows faster type tests
465 and better GC support. Also, structure redefinition is now much more
466 conservative; formerly, many cases where code was compiled using differing
467 versions of the same structure were quietly ignored or resulted in strange
468 behavior. Raw allocation of typed slots dramatically increase the efficiency
469 of float-valued slots. Much of DEFSTRUCT has been rewritten, and is now
470 believed to be ANSI complaint.
472 ANSI changes:
473 -- Default defstruct keyword constructors can no longer reference argument
474 values in slot init forms. BOA constructors can still do this, so defining
475 a BOA constructor with all keyword args will have the old effect.
476 -- Class objects are now implemented, see FIND-CLASS, CLASS-NAME, TYPEP,
477 CLASS-OF. TYPE-OF is now based on CLASS-OF, and returns slightly different
478 results than before.
479 -- STRUCTURE-CLASSes now exist. See also the STRUCTURE-OBJECT type.
480 -- BUILT-IN-CLASSes also exist. In some cases CLASS-OF (legally) returns
481 non-standard subclasses of the standard class, e.g. for a float vector, the
483 now DEFTYPEs.
485 Bug fix:
486 -- Typed structures now have the correct (though rather odd) semantics of
487 :offset and :named when inclusion is done.
489 Raw slots:
490 -- Structure slots of subtypes of SINGLE-FLOAT, DOUBLE-FLOAT and
491 (UNSIGNED-BYTE 32) are now allocated in non-descriptor storage, and can be
492 read/written without number-consing overhead.
494 Type tests:
495 -- The default (non-frozen) structure type predicate is now significantly
496 faster (no function call) in the case where the argument is a structure
497 of another type or the type is a supertype of the object's type. The code
498 is also somewhat smaller.
500 Structure Redefinition:
501 -- Handing of structure redefinition is now much more comprehensive.
502 -- Definitions are only considered incompatible when slots have moved or been
503 added, slot types are changed to a type that is not a subtype of the old
504 type, or the inheritance structure has changed. Previously any change at
505 all would produce a warning.
506 -- When a change is incompatible, the default restart (CONTINUE) invalidates
507 old instances, constructors and predicate uses. When speed <= safety, a
508 LAYOUT-INVALID error will be signalled when obsolete instances are passed
509 to a type test (e.g. for type checking.) Use of old code on new instances
510 or old instances when speed > safety > 0 will result in type errors.
511 Other restarts allow you to ignore the redefinition or to clobber the
512 existing information, preserving the old code (in case the change is
513 actually compatible.)
514 -- If the structure length or inheritance structure has changed, an error
515 is signalled when you load code that was compiled with a different
516 structure definition than the one currently in effect.
518 Structure Internals:
519 -- VM:STRUCTURE-USAGE renamed to VM:INSTANCE-USAGE. Internally, the structure
520 type and accessors have also been renamed, e.g.
522 -- The non-standard STRUCTURE type has become has become EXT:INSTANCE. To
523 (portably) test whether something is really a structure object, do
526 PCL:
527 The largest changes are:
528 -- PCL port revamped to re-integrate PCL classes with the type system and to
529 more efficiently dispatch on structure and built-in types. Some
530 miscellaneous tuning. CLOS symbols are now exported from the LISP package,
531 so you don't need to USE-PACKAGE PCL anymore.
533 PCL notes:
535 The integration of PCL with the CMU CL type system has been substantially
536 improved. There are significant improvements in the speed of PCL generic
537 function dispatch of built-in and structure classes and TYPEP of PCL classes.
538 There should also be reduced run-time compilation (e.g. in the Motif
539 inspector) due to less use of non-precompiled dispatch functions.
541 The compiler now recognizes the PCL::CLASS declaration. This clues the
542 compiler in on PCL's knowledge of types (due to being a specialized argument
543 to a method.) CLOS class names are recognized as "real" types by the
544 compiler, not SATISFIES DEFTYPES. Note that LISP:CLASS is still not a PCL
545 class, so PCL needs to shadow CLASS and STANDARD-CLASS.
547 Fixed the #< print function to flame out if *PRINT-READABLY* is true.
549 Supply missing :INITIAL-ELEMENT NIL in MAKE-ARRAY call which can result in a
550 "0 is not a list" or "segment violation" error on redefining a class.
552 September-16-92-PCL-e has been incorporated into the CMU CL sources thanks
553 to Rick Harris. Merge fix to pessimization of GFs with many standard class
554 specializers but also some EQL or built-in class specializers.
556 Graphical debugger/Motif toolkit:
558 We have implemented a new interface to Motif which is functionally similar to
559 CLM, but works better in CMU CL. See:
560 doc/motif-toolkit.doc
561 doc/motif-internals.doc
563 This motif interface has been used to write a new inspector and graphical
564 debugger. There is also a Lisp control panel with a simple file management
565 facility, apropos and inspector dialogs, and controls for setting global
566 options.
568 Call INTERFACE:LISP-CONTROL-PANEL to create the control panel. When
570 environment variable is defined, the graphical inspector and debugger will be
571 invoked by INSPECT or when an error is signalled. Possible values are
572 :GRAPHICS and :TTY. If the value is :GRAPHICS, but there is no X display,
573 then we quietly use the TTY interface.
575 Debugger:
577 The command-line debugger now implements the breakpoint and step commands
578 described in the manual:
579 LIST-LOCATIONS [{function | :c}] list the locations for breakpoints.
580 Specify :c for the current frame. Abbreviation: LL
581 LIST-BREAKPOINTS list the active breakpoints.
582 Abbreviations: LB, LBP
583 DELETE-BREAKPOINT [n] remove breakpoint n or all breakpoints.
584 Abbreviations: DEL, DBP
585 BREAKPOINT {n | :end | :start} [:break form] [:function function]
586 [{:print form}*] [:condition form] set a breakpoint.
587 Abbreviations: BR, BP
588 STEP [n] step to the next location or step n times.
590 These commands provide a degree of support for stepping and setting
591 breakpoints inside compiled functions. The variables
593 verbosity of LIST-LOCATIONS.
595 Enhancements:
596 -- Changed PRINT-FRAME-CALL to print the source if verbosity >= 2 and
597 the source is available.
598 -- Changed source location printing to cache information so that it is much
599 faster when many locations in the same function are printed. The source
600 file is now only printed when the file changes from one printing to the
601 next.
603 Bug fixes:
604 -- Added explicit error checking to the debugger so that we don't get an
605 internal error (bus error in unsafe code, etc.) when attempting to display
606 source from a file that has been excessively modified.
607 -- Bind *BREAK-ON-SIGNALS* to NIL when we call BREAK in SIGNAL so that the
608 debugger doesn't recurse on itself.
609 -- Changed HANDLE-BREAKPOINT in the debugger to allow breakpoints that nobody
610 wants. This can happen if a function-end breakpoint was deactivated while
611 the function was on the stack, because there is no way to convert the
612 bogus-lra back into the real lra.
613 -- Fixed COMPUTE-CALLING-FRAME to not try using %CODE-DEBUG-INFO on
614 things that arn't code components.
615 -- Instead of doing after breakpoints in Lisp, use the new C function
616 breakpoint_do_displaced_inst. That way the C code can do different things
617 on different machines (like use single stepping if available).
620 Misc changes:
622 CLX:
623 We are now distributing version R5.01 of the CLX X library. Among other
624 changes, this is supposed to support the cookie-based host authentication
625 used by OpenWindows. Now compiled with the :CLX-ANSI-COMMON-LISP feature.
627 Pathnames:
628 -- Logical pathnames are now implemented and wildcard matching has been
629 generalized to make them useful. Any namestring beginning with HOST:
630 (where HOST is a defined logical host) will be parsed as a logical
631 pathname. If the prefix is not a defined logical host, it will be still
632 be parsed as a CMU CL "search list."
633 -- Pattern-matching on :WILD-INFERIORS is now implemented, but the
634 Unix code treats it pretty much like :WILD.
635 -- More error cases are detected in TRANSLATE-PATHNAME.
636 -- See new user's manual for CMU CL specific documentation.
638 Stream internals:
639 -- Deleted read-line methods. For simplicity, this rather unimportant
640 operation is now implemented using read-char.
641 -- READ-N-BYTES eof-error-p nil is now mostly non-blocking (it only reads what
642 is in the buffer, or what unix-read returns if the buffer is empty.) To be
643 sure it won't block, you must guard it with a LISTEN.
645 Extensions:
646 -- Changed the stream arg to DISASSEMBLE to be a keyword to avoid optional &
647 keyword lossage.
648 -- Changed PROFILE:PROFILE argument count determination to parse the function
649 type and look at it, instead of trying to fake it. Among other things,
650 this allows efficient profiling of functions with FTYPE declarations even
651 when compilation policy has caused the function-object's type to be
652 dropped.
653 -- Add :CALLERS option to PROFILE which records the most common callers
654 of each profiled function.
655 -- Add new "CPROFILE" package which does instruction-counting profiling with
656 the compiler's assistance.
657 -- Fixed DI:FUNCTION-DEBUG-FUNCTION to work on closures.
658 -- Added EXT:DO-HASH.
659 -- User-defined hashtable tests are now supported. There is a function
660 DEFINE-HASH-TABLE-TEST that takes three arguments: the symbol name of the
661 hash table test, the test function, and the hash function. It updates
662 *hash-table-tests*, which is now internal. The test function takes two
663 objects and returns true iff they are the same. The hash function takes
664 one object and returns two values: the (positive fixnum) hash value and
665 true if the hashing depends on pointer values and will have to be redone if
666 the object moves.
667 -- Added weak hash-table support.
668 - Removed (setf weak-pointer-value) and made make-weak-pointer itself the
669 compiler primitive in order to simplify the gengc port.
670 - Added stuff to fake scavenger hooks in the non-gengc system.
671 -- Moved the RUN-PROGRAM fork/exec stuff into C, for ease in porting.
673 Hemlock:
674 -- In DELETE-BREAKPOINTS-BUFFER-HOOK, if no wire (server died), then
675 don't do anything.
676 -- Changed BEEP flashing to use SLEEP 0.1 instead of DISPLAY-FINISH-OUTPUT
677 because this was causing recursive entry of CLX.
678 -- Fixed from debugger edit command "can't edit source" message not
679 spuriously reinvoke the debugger when invoked from the command line.
680 -- Fix initialization of print-representation attribute so that characters
681 >127 don't cause text to mysteriously disappear.
682 -- Flush carefully-add-font-path call. If people want library:fonts/ in
683 their font-path, they can put it there. This should eliminate the Hemlock
684 initialization error which would happen when using X remotely.
687 Changed SAVE-LISP to no longer save the stacks. Instead, when the core is
688 restored, a (supplied) initial function is invoked which can do whatever kind
689 of setup it wants. This makes a saved lisp totally independent of the
690 location of the C stack, and eliminates the "environment too big" error that
691 happened in some SUNOS environments. A consequence of this is that calling
692 SAVE-LISP terminates the currently running Lisp.
694 SunOS/SPARC:
695 Changed software-version to use /usr/bin/uname instead of stringing the
696 kernel.
698 Removed the load of bit-bash, because we don't want to have to support the
699 assemble routine versions.
701 Significant revamping of startup code (lisp now, not ldb.) The new startup
702 code has better breakpoint support and improved portability.
704 Added :CMU17 to the features list so that PCL can tell if it is in a
705 version 16 or a version 17 series core.
708 Release notes for CMU Common Lisp 16f, 11 December 92
710 The changes between 16e and 16f are almost exclusively bug-fixes. When we
711 announce a version 17 beta, 16f will probably become the default release
712 (replacing 15e). The PCL has been upgraded from "March 92 (2a)" to
713 "March 92 (2c)", which provides some bug-fixes; also, all of the patches in
714 the March-92-PCL-bugs file have been applied.
716 Enhancements:
717 -- PROVIDE & REQUIRE are now back in the system, since proposed ANSI CL has
718 reinstated them as deprecated features. See the doc strings for these
719 functions and EXT:DEFMODULE.
720 -- The SPARC dynamic heap size limit has been doubled from 64meg to 128meg.
722 Pretty printer:
723 -- Fixed a bug in pprint-let that caused to to barf on (let (nil) ...).
724 -- Fixed pprint-lambda-list to print a space before the dot when the tail of
725 the lambda list is shared. In other words, print (foo . #1=(bar baz))
726 instead of (foo. #1=(bar baz)).
727 -- Added an additional use of ~^ in pprint-flet so that (flet (nil) ...)
728 doesn't flame out.
729 -- Make pretty printer properly process pprint tabs when output is forced.
730 -- In format pprint logical blocks, fixed ~^ to act like
731 PPRINT-EXIT-IF-LIST-EXHAUSTED instead of blowing out to some containing
732 directive.
734 Compiler:
735 -- Fixed compiler internal error with dead-code deletion of top-level code.
736 -- Bind *gensym-counter* instead of setting it so that compiling doesn't
737 globally reset the gensym counter.
738 -- Fixed problem with interpreted LOAD-TIME-VALUE causing undefined function
739 VALUE-CELL-REF errors.
740 -- Preserve the arglist in interpreted functions for DESCRIBE, etc.
741 -- Gag bound-but-not-referenced warnings when the EXT:INHIBIT-WARNINGS
742 optimize quality is 3.
743 -- Fixed a problem with register allocation conflict analysis which appeared
744 when a function was called with ~>= 50 arguments.
745 -- Fixed bug with optimization of tail local calls.
746 -- Fixed interpreted PROCLAIM/DECLAIM to ignore
747 START-BLOCK, END-BLOCK and declared DECLARATION declarations.
748 Changed the unrecognized proclamation error to be a warning.
749 -- Fixed float heap allocation to not wedge when the store causes a trap
750 (SPARC only.)
752 Trace:
753 -- Added pretty-printer directives so that arg lists and results print better.
754 -- Fixed UNTRACE not to flame out when untracing untraced functions.
755 -- Fixed bug with redefining function traced with encapsulation (e.g.
756 interpreted functions.
758 Misc bug fixes:
759 -- Fixed I/O timeout handling (e.g. for CLX) to correctly borrow from the
760 timeout seconds when computing the new value for the timeout microseconds.
761 -- Restored proper (prompt) handling of queued CLX events in SERVE-EVENT
762 -- Alien enums always take up an int to be compatable with C. Also,
763 sort the from-alist so that enum aliens are unparsed in a canonical
764 format.
765 -- When doing macro destructuring, check to see if some part of a lambda-list
766 is a LIST before checking to see if it is a SYMBOL, because we want NIL to
767 act like the empty list, and not an attempt to bind NIL.
768 -- Fixed PACKAGE-ERROR to have a PACKAGE slot instead of a PATHNAME slot.
769 -- Changed DOLIST not to introduce the spurious let around the result form
770 when there is no result form. Also, just read the var in the spurious
771 let, instead of using IGNORABLE, since the var might be special.
772 -- In complex DEFSETF, don't bother creating temp vars for constants. This
773 is necessary so that keywords stay keywords, and are not changed to
774 gensyms.
776 Enhancements:
777 -- Changed the backquote expanded functions (backq-list, ...) from being
778 inline functions to compiler-macros, since although the optimizer does
779 eventually get the right code, it has to work awful hard. Changed BREAK
780 to accept a condition as well as a format string.
782 been forgotten before. Added code to CONNECT-TO-UNIX-SOCKET so that Unix
783 domain sockets are available for connecting to other processes.
784 -- Removed sys:*task-data* and sys:*task-notify* because they aren't used
785 even under Mach.
789 Release notes for CMU Common Lisp 16e, 5 August 92
791 16e is primarily a bug-fix release. The main changes from 16d are:
792 -- CLOS support is from March 92 PCL (2a). This is a new version of PCL
793 developed by Richard Harris which incorporates many bug-fixes and ANSI
794 compliance cleanups. He has also back-merged the CMU changes into his
795 sources so that we can release future PCLs without time-consuming merging.
796 On the downside, there are a couple of new bugs (discrimination on
797 pcl::structure-object doesn't always work; generic functions which contain
798 methods which discriminate on both null and list sometimes do not work).
799 Patches for these bugs are available in March-92-PCL-bugs in the CMU CL
800 release area and by anonymous ftp from host parcftp.xerox.com
801 (, in the directory pub/pcl/.
802 -- TRACE has been reimplemented, has a new syntax and new features.
803 -- The hardcopy and info documentation has been updated. Note that it
804 describes some debugger capabilities (breakpoints) which won't appear
805 until version 17.
807 The fasl file format is the same as for 16d, but some code may need to be
808 recompiled. In particular, the expansion of PPRINT-LOGICAL-BLOCK has changed.
811 March 92 PCL highlights: (see notes.text in the sources for details)
812 -- This version of PCL is much closer than previous versions of PCL to the
813 metaobject protocol specified in "The Art of the Metaobject Protocol",
814 chapters 5 and 6, by Gregor Kiczales, Jim des Riveres, and Daniel G.
815 Bobrow.
816 -- You can use structure-class as a metaclass to create new classes.
817 Classes created this way create and evaluate defstruct forms which
818 have generated symbols for the structure accessors and constructor.
819 -- Various optimization of instance variable access, both inside and outside
820 of methods.
821 -- More work (lookups and precompilation) is done at compile and load time,
822 rather than run-time.
825 New TRACE:
827 Trace has been substantially rewritten, and has a new syntax as well as new
828 functionality:
829 -- Tracing of compiled functions is now implemented using breakpoints.
830 Breakpoints destructively modify the code object, causing all calls to the
831 function to be trapped, instead of only those calls that indirect through
832 the symbol. This makes TRACE more useful for debugging programs that use
833 data structures containing function values, since you can now trace
834 anonymous functions and macros. Also, the breakpoint stops the function
835 after the arguments have been parsed, so arguments can accessed by name in
836 the debugger or in TRACE options.
837 -- Depending on the ENCAPSULATE option and DEBUG:*TRACE-ENCAPSULATE-DEFAULT*,
838 encapsulation may be used instead. This is the default for closures,
839 generic functions and interpreted functions.
840 -- TRACE options are no longer set off by extra parens, and you can specify
841 global trace options which affect all functions traced by a particular
842 call to TRACE.
843 -- Conditional breakpoints now work much better than before.
844 -- *DEBUG-PRINT-LEVEL*, -LENGTH* are used instead of a separate
847 Here is the documentation string (see also the hardcopy/info documentation):
848 TRACE {Option Global-Value}* {Name {Option Value}*}*
849 TRACE is a debugging tool that prints information when specified functions
850 are called. In its simplest form:
851 (trace Name-1 Name-2 ...)
853 TRACE causes a printout on *TRACE-OUTPUT* each time that one of the named
854 functions is entered or returns (the Names are not evaluated.) The output
855 is indented according to the number of pending traced calls, and this trace
856 depth is printed at the beginning of each line of output.
858 Options allow modification of the default behavior. Each option is a pair
859 of an option keyword and a value form. Options may be interspersed with
860 function names. Options only affect tracing of the function whose name they
861 appear immediately after. Global options are specified before the first
862 name, and affect all functions traced by a given use of TRACE.
864 The following options are defined:
869 If :CONDITION is specified, then TRACE does nothing unless Form
870 evaluates to true at the time of the call. :CONDITION-AFTER is
871 similar, but suppresses the initial printout, and is tested when the
872 function returns. :CONDITION-ALL tries both before and after.
874 :WHEREIN Names
875 If specified, Names is a function name or list of names. TRACE does
876 nothing unless a call to one of those functions encloses the call to
877 this function (i.e. it would appear in a backtrace.) Anonymous
878 functions have string names like "DEFUN FOO".
880 :BREAK Form
882 :BREAK-ALL Form
883 If specified, and Form evaluates to true, then the debugger is invoked
884 at the start of the function, at the end of the function, or both,
885 according to the respective option.
887 :PRINT Form
889 :PRINT-ALL Form
890 In addition to the usual prinout, he result of evaluating Form is
891 printed at the start of the function, at the end of the function, or
892 both, according to the respective option. Multiple print options cause
893 multiple values to be printed.
895 :FUNCTION Function-Form
896 This is a not really an option, but rather another way of specifying
897 what function to trace. The Function-Form is evaluated immediately,
898 and the resulting function is traced.
901 If T, the tracing is done via encapsulation (redefining the function
902 name) rather than by modifying the function. :DEFAULT is the default,
903 and means to use encapsulation for interpreted functions and funcallable
904 instances, breakpoints otherwise. When encapsulation is used, forms are
905 *not* evaluated in the function's lexical environment, but DEBUG:ARG can
906 still be used.
908 :CONDITION, :BREAK and :PRINT forms are evaluated in the lexical environment
909 of the called function; DEBUG:VAR and DEBUG:ARG can be used. The -AFTER and
910 -ALL forms are evaluated in the null environment.
913 Assorted bug fixes and enhancements:
915 System code:
916 -- Changed default base file name for LOAD-FOREIGN to be argv[0] rather than
917 being hard-wired to "lisp".
918 -- Fixed a bad declaration which caused garbage collection to fail if more
919 than MOST-POSITIVE-FIXNUM bytes had been consed since process creation.
920 -- Changed GET-INTERNAL-RUN-TIME to use UNIX-FAST-GETRUSAGE to avoid
921 number-consing and generic arithmetic. Also, rearranged the computation
922 so that the time is correctly computed for up to 457 days, instead of only
923 71 minutes.
924 -- Merged Miles' fix to MAKE-PATHNAME so that it knows the difference between
925 an arg being NIL and being unsupplied.
926 -- Some partial fixes to circular printing (the #1=#1# bug).
927 PPRINT-LOGICAL-BLOCK no longer checks the list argument for CAR
928 circularity, now that OUTPUT-OBJECT does it for us.
929 -- Fixed reader dispatch macro characters to be case-insensitive, and to
930 disallow digits as sub-characters.
931 -- Changed #A reader to allow arbitrary sequences instead of just lists.
932 -- RUN-PROGRAM now gives a proper error message when "fork" fails (i.e. too
933 many processes.)
934 -- Fixed a bug in initialization of saved cores which caused the old
935 environment to be left on the end of EXT:*ENVIRONMENT-LIST*. One symptom
936 was that RUN-PROGRAM would run programs with strange environment values
937 based on those in effect at the time the core was saved. In particular,
938 Lisp subprocesses (i.e. Hemlock slaves) might get the wrong value of
939 CMUCLLIB, which caused the slave to die before connecting.
940 -- SYSTEM:SERVE-EVENT (and XLIB:EVENT-CASE, etc.) now correctly handle
941 non-integer timeouts. Added declarations to improve the efficiency of
942 event handling.
943 -- Fixed some bugs in UNIX-SELECT which could cause Lisp to hang when more
944 than 32 files were open. Also, improved efficiency in this case.
945 -- Merged Olssons fix to WITH-ENABLED-INTERRUPTS to not try to change
946 interrupt characters anymore.
947 -- A number of bug-fixes for breakpoint support in compiled code (but there
948 are still problems with arbitrary breakpoints.)
951 CLX:
952 -- Fixed the implementation-dependent pixarray copying routines (for
953 GET-IMAGE, etc.) so that they don't occasionally trash memory, and are
954 actually faster.
955 -- Fixed the definition of the ANGLE type (used by DRAW-ARC, etc.) to work
956 regardless of the kind of real number (single or double float, rational,
957 etc.)
958 -- Fixed several places in image operations where values that could really
959 be negative were declared to be non-negative.
961 Compiler:
962 -- Fixed a bug which caused an internal error whenever a call to random
963 was compiled and the argument type wasn't known to be either a float or
964 an integer.
965 -- Fixed a bug which caused an internal compiler error when a value that
966 wasn't used had an unproven type assertion.
967 -- Fixed some more dead-code deletion bugs.
968 -- Fixed a problem with the new "assignment" optimization of local function
969 call where the compiler could get assertion failures such as tail-sets not
970 being equal.
971 -- Fixed a few places where reoptimization wasn't being triggered when it
972 should have been.
973 -- You can now have a TAGBODY with more than one tag that is non-locally
974 exited to. Evidently this never worked...
975 -- Some changes in debug-info format related to breakpoint support.
977 Misc:
978 -- Fixed some Hemlock Dired commands to know that PATHNAME-DIRECTORY is
979 now a list, not a vector.
980 -- Fixed the bin/sample-wrapper script to use "$@" instead of $* so that
981 arguments are properly passed through.
984 Release notes for CMU Common Lisp 16d, 30 May 92
986 16d is our first version 16 general release, and incorporates many changes not
987 present in the 15 series. It is currently fairly close to our current
988 internal development (alpha) systems, and is thus less stable. The major
989 changes are:
990 New Aliens
991 New pathnames
992 New pretty printer
993 New format
994 R5.0 CLX.
995 5/1/90 May Day PCL (REV 4b)
996 Revised manual
998 The fasl file format is nominally compatible with version 15, but the pathname
999 change affects any pathname constants in fasl files, which includes the
1000 defined-from information present in every fasl file. It is probably a good
1001 idea to recompile everything.
1003 CLX and Hemlock are now optional. When CMU CL is installed, the maintainer can
1004 elect not to load CLX and Hemlock -- this saves 7 megabytes of disk and
1005 improves memory usage somewhat. See the installation section of the README
1006 file for details.
1008 The ``CMU Common Lisp User's Manual'' has been updated to be more helpful for
1009 non-CMU users. The new manual also documents the new Alien facility for
1010 foreign function calls and data structure access. The manual is now formatted
1011 with Mike Clarkson's LaTeXinfo package, so a consistent version of the
1012 documentation is available online in Gnu info format. See `doc/cmu-user.ps'
1013 and `doc/cmu-user.info'.
1016 General system code:
1018 ANSI cleanups:
1019 -- ANSI Compiler macros are now implemented: see COMPILER-MACRO-FUNCTION,
1021 -- Fixed things that invoke *MACROEXPAND-HOOK* to coerce it to a function
1022 before calling it.
1023 -- Fixed MACRO-FUNCTION to take an environment argument.
1024 -- SYMBOL-MACROLET now accepts declarations.
1025 -- SHADOW now accepts strings in addition to symbols.
1027 -- IGNORABLE is now in the LISP package instead of the EXT package.
1028 -- ADJUST-ARRAY has been updated to allow adjusting of arrays which were
1029 not created with :adjustable non-nil to be adjusted to new dimensions.
1030 -- ADJUSTABLE-ARRAY-P has been updated correspondingly. It returns T if
1031 adjust ADJUST-ARRAY would return an EQ array.
1032 -- The BASE-CHARACTER type has been renamed to BASE-CHAR.
1033 -- The REAL type and REALP function are now implemented.
1034 -- Changed the default structure printer to print slot names as keywords
1035 instead of unqualified symbols.
1037 Enhancements:
1038 -- Added MAYBE-INLINE declaration for GET, PUT, etc., so that these
1039 functions can be inline expanded according to the compilation policy.
1040 -- Added some type declarations so that GET-INTERNAL-REAL-TIME doesn't cons.
1041 -- Process the command line before printing the herald so that we can eval
1042 some form and quit without printing anything.
1043 -- SET now protects against setting T, NIL, and keywords. (SETF
1044 SYMBOL-FUNCTION) now expands into FSET, which protects against defining
1045 NIL.
1046 -- Substantially rearranged function describing to make it more consistent,
1047 and added support for describing interpreted functions.
1048 -- PURIFY is now called multiple times during system building to improve
1049 locality.
1050 -- (EVAL-WHEN (EVAL) ...) is now actually eval'ed.
1052 Bug fixes:
1053 -- Fixed bug in NTH-VALUE where it expanded into bogus code unless ``n'' was
1054 a constant integer.
1055 -- Fixed FMAKUNBOUND to return the symbol instead of T.
1056 -- Allocate memory as executable so that the OS knows to maintain cache
1057 consistency.
1058 -- Changed DESCRIBE to allow T or NIL as the stream argument.
1060 Load enhancements and cleanups:
1061 -- The initial value of *LOAD-VERBOSE* is now T. Additionally, LOAD no
1062 longer always binds *LOAD-VERBOSE* and *LOAD-PRINT*. Now it only
1063 binds them when :VERBOSE or :PRINT are explicity supplied. Therefore, you
1064 can set either of these in your init file and it will take effect.
1065 -- Normally when *LOAD-VERBOSE* is T, only the file name is printed.
1066 Formerly, the loaded stream was always printed, whereas now a stream is
1067 printed only when the stream is not a file stream.
1068 -- Added ANSI features *LOAD-TRUENAME*, *LOAD-PATHNAME* and *LOAD-PRINT*.
1069 -- As per ANSI, bind *READTABLE* to itself to make assignments file-local.
1070 -- Added new variables EXT:*SOURCE-FILE-TYPES* and EXT:*OBJECT-FILE-TYPES*.
1071 When no file type is specified, LOAD tries the types in these lists to
1072 locate the source and object files. LOAD now recognizes source types "l",
1073 "cl" and "lsp" in addition to "lisp".
1074 -- The compiler OPTIMIZE policy is now bound during load, so proclamations in
1075 a file don't leave the global policy clobbered when the load is finished.
1076 -- Changed the :IF-SOURCE-NEWER option to signal an error and use restarts,
1077 rather than PROMPT-FOR-Y-OR-N. Fixed the load source case to actually
1078 load the source, rather than loading the object as a source file...
1079 -- Changed load to deal with source files having NIL type more reasonably.
1080 -- If a wild pathname is given to LOAD, all files matched will be loaded.
1081 -- Proceeding from nonexistent file errors has been improved. It is no longer
1082 assumed that missing files are always source files. Added condition
1083 restarts for missing files.
1084 -- Improved formatting of error and warning messages.
1087 Garbage collection:
1088 -- Changed the minimal ROOM output to include all easily computed information
1089 including whether GC is disabled. The verbose ROOM now conses less.
1090 -- Removed the :ENABLE-GC SAVE-LISP option, as it's no longer needed.
1091 Garbage collection is now correctly enabled in cores which have been saved
1092 and then restarted.
1093 -- Added EXT:BYTES-CONSED-BETWEEN-GCS, a function that returns (and sets when
1094 used with setf) *BYTES-CONSED-BETWEEN-GCS*. Additionally, it changes
1095 *GC-TRIGGER* immediately to reflect the new values of *bytes-consed...*.
1096 -- TIME now displays the GC run-time.
1097 -- Added EXT:*GC-RUN-TIME* with accumulates the INTERNAL-RUN-TIME spent doing
1098 garbage collection. Added declarations to make EXT:GET-BYTES-CONSED more
1099 efficient.
1100 -- The top-level REP loop now zeros the unused non-zero portion of the
1101 control stack to discourage spurious garbage retention.
1102 -- The garbage collector now closes open file streams when it reclaims them.
1105 Packages:
1106 -- The LISP and USER packages have been renamed to COMMON-LISP and
1107 COMMON-LISP-USER. LISP and USER are nicknames, so they can still be used.
1108 -- The LISP package namespace has been cleaned up somewhat. For example,
1109 *DESCRIBE-PRINT-LEVEL* is no longer exported from LISP.
1110 -- The Mach/Unix division in the package system has been clarified a great
1111 deal. Unix specific features have been moved from the MACH package to the
1112 UNIX package. Mach specific features have been left in (or moved to) the
1113 MACH package. For example, all standard Unix syscalls are related
1114 definitions are un UNIX, whereas vm_statistics remains in MACH and GR-CALL
1115 has been moved to MACH.
1117 SETF cleanups:
1118 -- Changed GET-SETF-METHOD-MULTIPLE-VALUE to try to macroexpand-1 the form
1119 when it's an atom in case it's a symbol-macro as per the X3J13 cleanup
1121 symbol macros where the macroexpansion has side effects.
1122 -- Fixed SETF of GETF to evaluate the various parts in the correct order as
1125 Extend the semantics of the macros SETF, PSETF, SHIFTF, ROTATEF, and
1126 ASSERT to allow "places" whose SETF methods have more than one "store
1127 variable". In such cases, the macros accept as many values from the
1128 newvalue form as there are store variables. As usual, extra values
1129 are ignored and missing values default to NIL.
1130 -- Extended the long form of DEFSETF to allow the specification of more
1131 than one "store variable", with the obvious semantics.
1132 -- GET-SETF-METHOD signals an error if there would be more than one
1133 store-variable.
1136 Printer:
1138 Almost all of the printing code has been rewritten/restructured to support
1139 all of the printing features added to the language. Some highlights:
1140 -- *PRINT-READABLY* is now supported.
1141 -- *PRINT-CIRCLE* works irrespective of *PRINT-PRETTY*. Note: the default
1142 structure printer currently does not work when *PRINT-CIRCLE* is true: you
1143 get #1=#1#.
1144 -- *PRINT-LEVEL* abbreviation now works automatically inside structure
1145 printers.
1146 -- XP has been replaced with a native pretty printer that is fully
1147 integrated with the rest of the system. This Supports the ANSI
1148 pretty-printing interface instead of the old Waters XP interface. Existing
1149 uses of the old interface will need to be updated to use the new names.
1150 -- The pretty-printer now unparses backquote forms on printing. To retain
1151 this information, the backqoute read macro no longer expands into LIST,
1152 CONS, etc. Internal functions are used instead.
1154 been added.
1155 -- All new format. Supports the FORMATTER macro and all the pretty-printing
1156 directives. FORMAT has extended to accept a function as the format control
1157 (as an alternative to a string.)
1158 -- Added support for READTABLE-CASE in symbol printing. Printing when
1159 *PRINT-CASE* is :CAPITALIZE and *PRINT-ESCAPE* is NIL is now slightly
1160 different than before. Added some missing array type declarations in
1161 symbol printing.
1163 Bug fixes:
1164 -- Fixed a bug which caused some float printing format directives to
1165 infinitely loop when a fixed-width field overflowed.
1166 -- Specify stream when printing unbound marker.
1167 -- Fixed FORMAT to override printer control variables when printing float
1168 exponents so that they are always printed in decimal, etc.
1171 Reader:
1173 ANSI Cleanups:
1174 -- *READ-EVAL* is now supported. If a #. is encountered while *READ-EVAL*
1175 is NIL (default T), an error is signaled. This intended to allow
1176 ``secure'' READ-based command interfaces to be written.
1177 -- READTABLE-CASE is now supported.
1178 -- The reader now signals the correct type of error when things go wrong
1179 instead of always signaling a simple-error.
1180 -- Changed the return value of SET-SYNTAX-FROM-CHAR from NIL to T as per X3J13
1181 cleanup RETURN-VALUES-UNSPECIFIED:SPECIFY. [Hard to believe nobody has
1182 complained about not conforming to this one.]
1184 Bug fixes:
1185 -- Fixes to several bugs with respect to #+, #-. In particular, stacked
1186 conditionals like "#+foo #-bar baz" now work
1187 -- #n= and #n# now detect more error conditions and work on structures.
1188 -- # is now a non-terminating macro character, so foo#bar is read as a
1189 symbol.
1190 -- Added Ted's changes to make INTERNAL-READ-EXTENDED-TOKEN work when there
1191 are `|' escapes. The main significance of this is that #+nil '|foo;bar|
1192 and #:|foobar| now work properly. Also changed this function to recognize
1193 unquoted colons so that #:foo:bar will error, but not #:foo\:bar.
1195 Enhancement:
1196 -- Export new variable *ignore-extra-close-parentheses* if true (the default),
1197 extra close parens are only a warning, not an error. Previously unmatched
1198 close parens were quietly ignored.
1201 Pathnames:
1203 This release supports all the new CltL2 pathname features except for logical
1204 pathnames. Following is an overview of the new pathname support.
1206 Programs that actually conform to the CLtL1 pathname spec will have very few
1207 problems. However, the CLtL1 spec was extremely vague, and CMU CL did not
1208 make use of much of the allowed flexibility, so many technically non-portable
1209 programs previously worked under CMU CL.
1211 The main incompatible changes from CLtL1 to CLtL2:
1212 -- Symbols are no longer acceptable filenames.
1213 -- PATHNAME-HOST may be any object.
1214 -- :UNSPECIFIC is now a legal pathname component.
1215 -- MERGE-PATHNAMES now recognizes relative pathnames and treats them
1216 specially.
1218 The format of directories is now specified (to be a list in a certain format.)
1219 This required an incompatible change from the previous practice of using a
1220 vector PATHNAME-DIRECTORY and using "DEFAULT" or :ABSOLUTE in the
1221 PATHNAME-DEVICE to indicate relative and absolute pathnames.
1223 In a related change, the CMU SEARCH-LIST extension was changed so that the
1224 search-list now appears in the PATHNAME-DIRECTORY as:
1225 (:ABSOLUTE #<Search-list "name"> ...)
1227 Other changes to search-lists:
1228 -- (SETF SEARCH-LIST) now accepts a string or pathname, and converts it into
1229 a one-element list.
1230 -- Search-list elements are now canonicalized to pathnames rather than to
1231 strings.
1232 -- Instead of returning NIL, SEARCH-LIST now signals an error when it is
1233 called on an undefined search list.
1234 -- SEARCH-LIST-DEFINED-P is a predicate that tells if the search list is
1235 currently defined.
1237 New features which are now supported:
1238 -- Wildcard pathnames are now fully supported. In addition to allowing :WILD
1239 in any pathname component, "extended wildcards" such as "foo*.*" are also
1240 supported. A consequence of this is that PATTERN objects may appear in
1241 wildcard pathname components instead of strings. See PATHNAME-MATCH-P and
1243 -- As a CMU CL extension, a wildcard pathname may be used as the argument to
1244 any filesystem interface (like OPEN) as long as it matches only one file.
1245 -- The pathname :COMMON case mechanism provides a way around the problems of
1246 portably specifying string pathname components in the presence of operating
1247 systems with differing preferred case in their filesystem. An uppercase
1248 string "LISP" is mapped to the "customary case" (lowercase on unix.)
1249 Lowercase is also inverted: "readme" becomes "README". Mixed case is left
1250 alone. Note that this mechanism is explicitly enabled by supplying :CASE
1251 :COMMON to functions such as MAKE-PATHNAME. The default is the old
1252 behavior (:CASE :LOCAL).
1254 Also, DIRECTORY now actually returns the TRUENAME of each file (as it was
1255 always supposed to do.) If a matched file is a symbolic link, the truename may
1256 be a file in some other directory that doesn't even match the pattern. The old
1257 behavior can be obtained by specifying :FOLLOW-LINKS NIL.
1259 The new wildcard pathname mechanism has not yet been used to replace the old
1260 single-wildcard matching in Hemlock DIRED, etc.
1263 Debugger:
1264 -- Added Miles' changes to keep errors and warnings on one line if they fit.
1265 -- The debugger now starts up with the error frame as the current frame, so
1266 it is no longer necessary to manually skip over internal frames resulting
1267 from the error system invocation.
1268 -- Fixed some debugger bugs that appeared when debugging interpreted code.
1269 -- Added ``DESCRIBE'' debugger command.
1270 -- Merged Miles' changes that allow the use of restart names as debugger
1271 commands.
1272 -- Changed SHOW-RESTARTS to also display the restart name (but only if it's
1273 not shadowed by a higher priority restart). Changed the restart command
1274 to look for restarts by name if a symbol is typed.
1275 -- Bind *CURRENT-LEVEL* to 0, *PRINT-READABLY* to nil, and *READ-EVAL* to T
1276 when entering the debugger to make sure things print as expected.
1278 The debugger programmer (DEBUG-INTERNALS) interface is now documented in the
1279 User's Manual. This interface allows the coding of debuggers and debugger
1280 extensions without requiring an intimate understanding of the compiler and
1281 run-time system. Be warned that DI features (such as breakpoints) not used by
1282 the current debugger may not work very well (wait for version 17.)
1284 Debug internals changes:
1285 -- DI:DEBUG-FUNCTION-FUNCTION is now implemented.
1286 -- Added DI:FLUSH-FRAMES-ABOVE for cleaning up frames to be bound to
1290 Defstruct:
1292 Various fixes and enhancements to defstruct slot parsing and inclusion.
1293 It now works to define structures such as:
1294 (defstruct super a)
1295 (defstruct (sub1 (:conc-name super)) one)
1296 (defstruct (sub2 (:conc-name super)) two)
1297 (super-a (make-sub1))
1299 previously, a definition such as for SUB2 would define SUPER-A to be a
1300 SUB2-specific function, which could then no longer be used on other types. The
1301 spec doesn't clearly say that such a construct is legal, but its use seems
1302 fairly common.
1304 Also, slot parsing is now more rigorous. Unrecognized slot options cause an
1305 error, as does a slot spec like: (defstruct foo (a :type t))
1307 Fasl dumping of constant structures has been fixed to conform to X3J13. The
1308 main significance of this is that DEFSTRUCT structures are no longer dumpable
1309 by default. However, the generic function MAKE-LOAD-FORM isn't really used.
1310 Instead, a new defstruct option, :MAKE-LOAD-FORM-FUN, has been added that can
1311 be used to specify a function that acts like a MAKE-LOAD-FORM method. When we
1312 have a CLOS that supports STRUCTURE-CLASS, the default method for
1313 MAKE-LOAD-FORM will use this information instead of having the compiler use it
1314 directly. The old behavior can be enabled on a structure by structure basis by
1315 using the :MAKE-LOAD-FORM-FUN defstruct option:
1316 (defstruct (foo (:make-load-form-fun :just-dump-it-normally))
1317 ...)
1320 Compiler:
1322 Cleanups:
1323 -- Added the LOAD-TIME-VALUE support special form.
1324 -- Displaced or adjustable arrays and vectors with fill pointers can now be
1325 dumped in fasl files, but are converted to simple array with the same
1326 elements.
1327 -- Arrays of floats are left as arrays of floats instead of being
1328 converted into arrays of element-type T that just so happen to hold a
1329 bunch of floats.
1330 -- Changed IGNORE and IGNORABLE to recognize #'fn-name for declaring that
1331 local functions are not used. Exported IGNORABLE from LISP.
1333 New optimizations:
1334 -- Iterations written using tail recursion are now optimized through a
1335 special-casing of local functions where all calls but one are
1336 tail-recursive self-calls. Such functions are compiled with no
1337 environment manipulation, resulting in the same code as explicit
1338 iteration.
1339 -- Loop rotation (Knuth "while" loop optimization) been added. This is the
1340 optimization that negates the loop exit test and places it at the end of
1341 the loop, and then jumps there at loop entry. Note that this is part of
1342 control optimization, and not simply a recoding of certain iteration
1343 macros. In fact, for historical reasons DO, etc. already had the exit
1344 test negated, but the compiler was cleverly un-negating the test.
1345 -- Flow analysis now recognizes function calls and special forms which do
1346 not yield any value because they unwind or signal an error. This results
1347 in improved code for error checks, since the compiler can get by with
1348 fewer unconditional branches. A function can be declared not to return by
1349 declaring its result type to be NIL (not to be confused with NULL). If a
1350 function declared NIL does return, an error will be signalled.
1351 -- Added derive-type methods for ASIN, ACOS, ACOSH, ATANH and SQRT which
1352 figure out whether the result type is real on the basis of the argument
1353 range. Also, the result of ATAN is always real, so we don't need a result
1354 type assertion.
1355 -- Added optimization which deletes MULTIPLE-VALUE-BINDs when all
1356 variables have been deleted.
1357 -- Eliminated some spurious checking of the result types of safe VOPs (such
1358 as the SPARC tadd for fixnum arithmetic.)
1359 -- Transform uses of the SEARCH generic sequence function on simple strings
1360 into a call to a more efficient string-specific function.
1361 -- Added multiplier recoding of (UNSIGNED-BYTE 32) multiplication. This
1362 converts 32 bit (or smaller) unsigned multiplication by any compile-time
1363 constant into a shift-add sequence. This is much faster when the constant
1364 is a near power of two or when general multiplication is slow (as on the
1365 SPARC.)
1366 -- Added comprehensive handling of arithmetic and logical identities when
1367 an arg is -1, 0 or +1.
1368 -- Added a RANDOM derive-type method: (random 13) is (integer 0 12).
1371 Enhancements:
1372 -- Changed the compiler to temporarily increase *BYTES-CONSED-
1373 BETWEEN-GCS* by a factor of 4 during compilation of each top-level form,
1374 instead of turning off all garbage collection.
1375 -- Bind *PRINT-LINES* around compiler error output to
1377 -- Do not warn about undefined variables, functions or types when the
1379 -- Some optimizations are now considered "important"; failure of important
1380 optimizations causes an efficiency note even when speed=inhibit-warnings
1381 (i.e. by default.)
1382 -- Print a error summary even when *COMPILE-VERBOSE* is false. (This is only
1383 printed when there are errors, so this doesn't seem a violation of the
1384 spirit of the spec.)
1386 Bug fixes:
1387 -- Merged Miles' fix to disassembly of the MIPS coprocessor move instructions.
1388 -- Fixed spelling of "efficency" in exported variables such as
1390 -- Fixed some cases where incomplete optimization could happen.
1391 -- Fixed some arithmetic "identities" that failed to preserve the sign of
1392 -0.0.
1393 -- Fixed TYPES-INTERSECT to consider any supertype of T to definitely
1394 intersect with anything (even an unknown type.)
1395 -- Fixed a problem where inconsistent declarations could fail to be detected
1396 at compile time.
1397 -- Fixed the VALUES transform (which discards unused subforms) to work
1398 on (VALUES).
1399 -- More bug fixes to dead code deletion.
1400 -- Fixed a problem where a special binding would not be removed on exit from
1401 the scope if there was no code in the scope (e.g. it had all been
1402 deleted.)
1403 -- Fixed handling of named (DEFCONSTANT) constants so that EQ
1404 relationships are properly preserved.
1407 Extensions:
1409 -- Export FEATUREP from EXT. This takes a feature expression and tests it
1410 against the value of *FEATURES*. Allow LISP:AND, LISP:OR, and LISP:NOT in
1411 features lists in addition to :AND, :OR, and :NOT. This makes featurep
1412 useful outside of #+ and #-.
1413 -- The encapsulation mechanism (similar to advise facilities) has been
1414 revamped to work on SETF function names as well as symbols.
1416 Returns whatever definition is stored for name, regardless of whether
1417 it is encapsulated. Unlike FDEFINITION, this does not strip off the
1418 encapsulation. This is SETF'able.
1420 Replaces the definition of name with a function that binds name's
1421 arguments a variable named argument-list, binds name's definition to a
1422 variable named basic-definition, and EVAL's body in that context. Type
1423 is whatever you would like to associate with this encapsulation for
1424 identification in case you need multiple encapsuations of the same
1425 name.
1427 Removes name's most recent encapsulation of the specified type.
1429 Returns t if name has an encapsulation of the given type, otherwise
1430 nil.
1432 A list of functions invoked by (SETF FDEFINITION) before storing the
1433 new value. Each hook function must take the function name and the
1434 new-value.
1436 Hemlock:
1437 -- Fixed the :FILE branch of "Help on Parse" to trim leading directory
1438 components off the pathname if it wouldn't otherwise fit on the screen.
1439 -- Fixed GET-EDITOR-TTY-INPUT to not assume that UNIX-READ will always work.
1440 -- When we reallocate string table vectors to grow them, clear the old vector
1441 so that it won't hold onto garbage (in case the vector was in static space,
1442 but pointed to dynamic values.) This was a major cause of memory leakage
1443 in Hemlock.
1444 -- Added a (setf (ts-stream-char-pos stream) 0) to the accept-input function
1445 so that char-pos will be reset to zero whenever the user presses enter.
1447 PCL:
1448 -- The version has been updated to "5/1/90 May Day PCL (REV 4b)".
1449 -- The Code walker now understands the real SYMBOL-MACROLET, and the PCL macro
1450 definition is no longer used.
1451 -- Fixed a bug in WALK-ARGLIST where it would ignore the rest of the current
1452 arglist if the current arg destructured. This was causing it to compile
1453 forms like:
1454 (macrolet ((foo ((a b) c) ...)) ...)
1455 as:
1456 (macrolet ((foo ((a b)) ...)) ...)
1457 note the loss of the arg c.
1460 System:
1462 -- All the SAP-REF-<n> functions now take byte offsets. Previously, the
1463 16 and 32bit versions were scaled by the element size.
1464 -- Fixed UNIX-IOCTL to not flame out of the cmd is a ub-32 instead of a sb-32.
1466 -- Unix syscalls are now more restrictive in the kind of arguments that they
1467 accept. In particular, UNIX:UNIX-READ, etc., no longer automatically
1468 accept a vector (or string) argument. You must use VECTOR-SAP to convert
1469 the vector to a system area pointer. Note that WITHOUT-GCING should be
1470 wrapped around any syscall which is passed a pointer to the Lisp heap,
1471 since the object might otherwise move doing the syscall.
1472 -- Changed LOAD-FOREIGN to be exported from ALIEN. Changed it have keyword
1473 args instead of optionals. Deleted obsolete linker argument.

  ViewVC Help
Powered by ViewVC 1.1.5