Skip to content
Snippets Groups Projects
  1. Feb 12, 1999
  2. Jan 12, 1999
    • pw's avatar
      Modifies EXPAND-DEFCLASS to substitute pcl::standard-class for · 872b36b4
      pw authored
      lisp:standard-class in the superclass list given to defclass. This
      is consistent with the treatment given the :metaclass option argument.
      
      std-class.lisp is restored to its original state wiping out all traces
      of bogus change introduced in revision 1.19.
      872b36b4
  3. Jan 06, 1999
  4. Dec 20, 1998
  5. Jun 21, 1998
    • dtc's avatar
      When initialising class metaobjects and the direct-superclasses is · cb7e8d1d
      dtc authored
      null or empty, it should default to funcallable-standard-object if the
      class is an instance of funcallable-standard-class whereas it was
      always defaulting to standard-class.
      
      Catch attempts to change the class of an instance via change-class
      between the incompatible standard-class and funcallable-standard-class
      metaclasses.
      cb7e8d1d
    • dtc's avatar
      Since funcallable-standard-objects are now disjoint from · e4864aab
      dtc authored
      standard-objects, classes with meta-class standard-class are no longer
      valid super-classes of classes with meta-class
      funcallable-standard-class, so validate-superclass should now return
      NIL for this combination.
      
      Further classes with meta-class std-class are now valid superclasses
      of classes with meta-class of either standard-class or
      funcallable-standard-class; add validate-superclass methods allowing
      such super-classes which are handy for mixins of both standard-objects
      and funcallable-standard-objects.
      e4864aab
  6. Jun 05, 1998
    • dtc's avatar
      Rework the PCL class hierarchy to better match the disjoint instance · 80942d67
      dtc authored
      and funcallable-instance types within CMUCL. Add the new class
      funcallable-standard-object, and the new class std-object as a
      superclass of both standard-object and
      funcallable-standard-object. Generic-functions are now
      funcallable-standard-objects implemented as FINs and disjoint from
      standard-objects which are implemented as instances in CMUCL, fixing
      some problems in the type system.
      
      This change moves the PCL implementation away from the MOP
      specification which requires that generic-functions be
      standard-objects. However ANSI CL does not require generic functions
      to be standard-objects and the MOP author Gregor Kiczales suggests it
      is appropriate for generic functions to be disjoint from
      standard-objects.
      80942d67
  7. 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
  8. Apr 17, 1998
  9. Dec 14, 1997
    • pw's avatar
      This set of changes enables the use of forward referenced classes in PCL. · 1af400f8
      pw authored
      The problem was(is) that the wrapper object needed to connect the Lisp
      type system to PCL classes doesn't exist until the forward-referenced-class
      is defined. At that time all the subclasses of it are initialized and
      wrappers attached. In the meantime, the actual forward referenced class is
      an instance of pcl::forward-referenced-class and any subclasses are
      pcl class instances with most slots nil.
      
      The fix herein arranges for UPDATE-LISP-CLASS-LAYOUT to also set
      the lisp:class-name and use (setf lisp:find-class) to connect the
      new layout to the Lisp class system.
      
      An undesired consequence of this is that DEFCLASS can't return a valid
      class object unless all superclasses are defined. This shouldn't be a
      real problem as the classes can't be used in the intermediate state,
      but the HyperSpec says DEFCLASS returns a class object. We return
      a valid class object or NIL.
      1af400f8
  10. Aug 30, 1997
  11. Aug 29, 1997
  12. Feb 06, 1997
  13. Feb 11, 1994
  14. Feb 08, 1993
  15. Jan 13, 1993
  16. Jan 12, 1993
  17. Nov 09, 1992
  18. Aug 01, 1992
  19. Jun 01, 1992
  20. Oct 23, 1991
  21. Oct 19, 1991
  22. Aug 12, 1990
Loading