Skip to content
Snippets Groups Projects
  1. May 12, 2003
    • emarsden's avatar
      · 807d6f0f
      emarsden authored
      Add package locks. Bootfile boot8.lisp allows this to build without
      a cross-compile (or just select the CLOBBER-IT restart).
      
         - two extra PACKAGE-LOCK and PACKAGE-DEFINITION-LOCK slots added to
           the package structure. These can be modified using the
           EXT:PACKAGE-LOCK and EXT:PACKAGE-DEFINITION-LOCK accessors.
      
         - macro EXT:WITHOUT-PACKAGE-LOCKS that evaluates forms with all
           package locks disabled (this is done by binding the global
           variable CL::*ENABLE-PACKAGE-LOCKED-ERRORS*)
      
         - new PACKAGE-LOCKED-ERROR condition
      
         - in SETF-FDEFINITION-HOOK and in the DEFMACRO, DEFSTRUCT, DEFTYPE
           and DEFCLASS defining forms, check whether the definition would
           modify a package whose definition-lock is enabled, and signal a
           package-locked-error condition with restarts that allow you to
           unlock the package or ignore the lock
      
         - in EXPORT, UNEXPORT etc check whether the target package is
           guarded by a package-lock, and signal an error
      
         - disable package locks when loading a subsystem
      
         - disable package locks in certain areas of PCL and in the
           MAKE-LOAD-FORM support of the compiler, where code is generated
           inside system packages at runtime
      807d6f0f
  2. Mar 30, 2003
    • gerd's avatar
      Update CLOS STRUCTURE-CLASSes on structure changes. · 3279c041
      gerd authored
      	* pcl/braid.lisp (ensure-non-standard-class): Add optional
      	parameter existing-class.
      	(reinitialize-structure-class): New function.
      	(toplevel): Push it on kernel::*defstruct-hooks*.
      
      	* code/defstruct.lisp (*defstruct-hooks*): New variable.
      	(%defstruct): Call these hooks.
      
      	* tools/pclcom.lisp (find-package): Remove
      	pcl::reinitialize-structure-class from kernel::*defstruct-hooks*.
      3279c041
  3. Mar 27, 2003
  4. Mar 22, 2003
    • gerd's avatar
      * bootfiles/18e/boot[12].lisp: Bootstrap files for the lisp:class · a1e3ed93
      gerd authored
      = pcl:class part.  To get it booted from 18e, cross-compile using
      boot1.lisp as bootstrap.lisp in pmai's build scripts, then do a
      normal compile with boot2.lisp as bootstrap.lisp with the
      resulting Lisp.
      
      * code/byte-interp.lisp, code/defstruct.lisp, code/describe.lisp:
      * code/error.lisp, code/exports.lisp, code/hash-new.lisp:
      * code/hash.lisp, code/macros.lisp, code/misc.lisp:
      * code/package.lisp, code/pred.lisp, code/sharpm.lisp, code/type.lisp:
      * compiler/dump.lisp, compiler/fndb.lisp, compiler/globaldb.lisp:
      * compiler/proclaim.lisp, compiler/typetran.lisp, compiler/xref.lisp:
      * compiler/generic/primtype.lisp, compiler/generic/vm-type.lisp:
      Changes for to use kernel::class etc.
      
      * code/class.lisp (toplevel): Shadow class, built-in-class etc.
      (class): Give it conc-name %class-.
      (toplevel) [#+bootstrap-lisp-class=pcl-class]: Define old accessors.
      (everywhere): Use new class accessors.
      
      * compiler/generic/vm-fndb.lisp (%make-instance): Change from
      unsafe to flushable and movable.
      
      * code/ntrace.lisp (expand-trace, untrace): Changes for method
      tracing.
      
      * code/profile.lisp (profile, profile-all, unprofile): Method
      profiling.
      
      * pcl/*.text, pcl/bench.lisp, pcl/extensions.lisp:
      * pcl/fast-init.lisp, pcl/precom1.lisp, pcl/precom4.lisp:
      * pcl/structure-class.lisp, pcl/user-instances.lisp:
      Removed.
      
      * tools/pclcom.lisp: Changes for my PCL and lisp:class =
      pcl::class.
      a1e3ed93
  5. Feb 01, 2003
    • gerd's avatar
      Fix bugs detected by Paul Dietz' ANSI test. · aba0e039
      gerd authored
      	* pcl/defs.lisp (make-class-predicate-name): Handle uninterned
      	symbols.
      
      	* code/defstruct.lisp (define-predicate): Don't error out on some
      	vector objects.
      	(dsd-inherited-p): Use dd-inherited-accessor-alist.
      aba0e039
  6. Jan 23, 2003
  7. Jan 03, 2003
    • toy's avatar
      Gerd Moellmann's port of SBCL's fix for the conc-name/structure · bfe697fa
      toy authored
      inheritance bug (SBCL bug 127).  Slightly modified to make building a
      little easier.
      
      Todo:  After the next release (18e) is done, go through and remove the
      old bootstrap-conc-name reader conditionals.  We want the
      #-bootstrap-conc-name versions.
      bfe697fa
  8. Dec 09, 2002
  9. Jul 31, 2002
  10. Apr 25, 2002
    • pmai's avatar
      Fix from SBCL: · be60f246
      pmai authored
      0.7.2.17:
      	Merged MNA "fix for boa-constructor bug" sbcl-devel 2002-04-16
      	... copied the fix to &optional arguments handling
      	... also test the &optional handling
      
      This fixes the handling of supplied-p args for &key and &optional args
      of boa-constructors.  Also did a couple of code cleanups in the process.
      be60f246
  11. Sep 21, 2001
    • pw's avatar
      Second attempt at using new cvs server. Hopefully mail system config · f2251d1b
      pw authored
      problems are fixed now.
      
      This revision fixes an omission from a previous rev that added support
      for :print-object and :print-function defstruct options. The default
      method created was calling DEFAULT-STRUCTURE-PRINT with only two
      arguments. It seems to work correctly now.
      f2251d1b
  12. Mar 15, 2001
    • pw's avatar
      Add support for ANSI specified :print-function and :print-object · d6c89eb6
      pw authored
      defstruct options while preserving previous behaviour. ANSI processing
      is enabled by ext:*ansi-defstruct-options-p* which must be NIL while
      compiling CMUCL, PCL, CLX, HEMLOCK to avoid flushing defined print-functions.
      This switch is turned ON when worldload builds a core with PCL in it.
      d6c89eb6
  13. Mar 04, 2001
  14. Jan 06, 2001
  15. Dec 03, 1999
  16. Sep 23, 1999
  17. Sep 22, 1999
    • dtc's avatar
      Revised fix for obtaining the structure slot accessor function given · 004cedf2
      dtc authored
      the defstruct-slot-descriptor which was broken for inherited slot as
      the dsd-accessor was set to Nil in this case. Rather than setting
      dsd-accessor to Nil for inherited slots, add a new function
      dsd-inherited-p to test if an accessor has been inherited, and always
      setup the dsd-accessor slot with the name of the accessor
      function. This allows the structure printer and inspect to easily
      obtain a slot accessor function.
      004cedf2
  18. Sep 20, 1999
    • pw's avatar
      DEFAULT-STRUCTURE-PRINT was puking on certain cases of structures that · 20f73982
      pw authored
      included other defstructs. An example of a failing case is:
      
      (defstruct a1 s1)
      (defstruct (a2 (:include a1)(:conc-name a1-)) s2)
      
      as seen in Hemlock source. The problem was that the dsd-accessor slot
      is documented to sometimes contain NIL but default-structure-print
      blindly called fdefinition on the sometimes NIL value. The fix here
      is to compute the slot accessor name from the conc-name and slot-name.
      
      NOTE: There is code in ir1tran that also blindly calls fdefinition
      on the contents of dsd-accessor. Don't know if this is a latent bug.
      20f73982
  19. Dec 19, 1998
  20. Jul 25, 1998
  21. Jul 24, 1998
  22. May 04, 1998
    • dtc's avatar
      Gray streams support: · 6c21ff8a
      dtc authored
      * Rename the 'stream structure class to sys:lisp-stream.
      * Add a new none hierarchical 'stream built-in class which inherits
        from: instance, t.
      * Hack in the new stream class as a mixin for the structure base
        lisp-stream class which now inherits from: stream, structure-object,
        instance, t.
      * Add a new 'fundamental-stream standard-class which includes 'stream
        as a mixin, and add PCL hacks to allow this to be redefined after PCL is
        loaded to be (defclass fundamental-stream (standard-object stream) ...).
      * Add appropriate support to the base stream functions to dispatch to
        the Gray stream functions for the handling of fundamental-streams.
        Some of the lisp-streams encapsulating CLOS streams still need
        a little work.
      6c21ff8a
  23. Apr 20, 1998
    • pw's avatar
      This revision alters the condition type hierarchy to be in compliance · 4a42e17c
      pw authored
      with the ANSI spec. A default report method is attached to the
      serious-condition class and many of the uses of (error "string" arg..)
      in filesys.lisp and package.lisp were changed to use, for example,
      (error 'file-error :format-control "string" :format-arguments (list stuff))
      The end result is no obvious change to what the user sees, and enables
      one to establish a handler to catch the particular error type as
      mentioned in the "Exceptional Situations:" section of the CLHS
      write-ups. There probably are still some places where the error
      types need to be fixed.
      
      Also, a bug in with-package-iterator which caused failure with
      a null package-use-list was fixed, and some file functions (like
      truename and probe-file) now disallow a wild pathname.
      4a42e17c
  24. Mar 21, 1998
  25. Mar 03, 1998
  26. Mar 01, 1998
  27. Apr 09, 1997
    • dtc's avatar
      New value for the :pure option of defstruct, :substructure. Purify · 3d400aaa
      dtc authored
      will place the instance in the static space but still move the
      substructure lists and arrays to the RO space. This is needed for
      compact-info environments which cache the last name in the instance
      which needs to be scavenged, but the hash arrays can still be placed
      in the RO space (the cache name was not being scavenge which could
      cause a false hit if very unlucky). Shall uses this new option in
      compiler/globaldb.lisp after people have had a chance to bootstrap in
      this new support.
      3d400aaa
  28. May 07, 1996
  29. Oct 31, 1994
  30. Feb 11, 1994
  31. Aug 30, 1993
  32. Aug 22, 1993
  33. Aug 03, 1993
  34. Jul 30, 1993
  35. Jul 22, 1993
  36. Jul 13, 1993
  37. Mar 15, 1993
Loading