Skip to content
Snippets Groups Projects
  1. Mar 10, 2003
  2. Nov 28, 2002
    • pmai's avatar
      Entomotomy Bug: sxhash-on-pcl-instances-returns-42 · b3ef69ef
      pmai authored
      This commit is a slight rewrite of the previously committed fix, which
      sxhash-instance work even when handed non-PCL instances and
      funcallable-instances, while enabling the use of stored hash-codes for
      all PCL funcallable-instances.
      b3ef69ef
  3. Nov 21, 2002
    • pmai's avatar
      Entomotomy Bug: sxhash-on-pcl-instances-returns-42 · d57b4f75
      pmai authored
      Committed a slightly reworked patch by Gerd Moellmann that introduces new
      hash-code slots into (funcallable-)standard-instances, which get initialized
      to persistent, sequential numbers upon instance creation, thus providing
      better sxhash/equal hashing.
      d57b4f75
  4. Jul 10, 2002
    • toy's avatar
      From Eric Marsden: · 6e9a215f
      toy authored
       * (pcl:class-precedence-list (find-class 'null)) should have symbol
         occurring before list, as per CLHS.
      
       * minor changes to certain error conditions: eg trying to set
         DEFAULT-DIRECTORY to a non-existent directory should raise a
         condition of type FILE-ERROR. (Some of these changes are from
         Alexey Dejneka, via SBCL).
      
       * cleanup of some Hemlock-related symbols that shouldn't be exported
         when :no-hemlock is defined.
      6e9a215f
  5. Mar 30, 2001
    • pw's avatar
      From Tim Moore · a5b6497a
      pw authored
      internal-sxhash doesn't deal correctly with strings that have fill
      pointers; consequently, equal hash tables don't work correctly either.
      >From 18c:
      *(defvar foo (make-array 32 :element-type 'base-char :adjustable t
      :fill-pointer 7))
      FOO
      * (setf (subseq foo 0) "typedef")
      "typedef"
      * (sxhash foo)
      182883518
      * (sxhash "typedef")
      194663162
      * (defvar h (make-hash-table :test #'equal))
      H
      * (setf (gethash foo h) 'bar)
      BAR
      * (gethash "typedef" h)
      NIL
      NIL
      
      Attached is a fix.
      Tim
      a5b6497a
  6. Nov 04, 2000
  7. Jul 06, 2000
    • dtc's avatar
      Reworking of the values-type system to overcome a number of inconsistencies · daf333f4
      dtc authored
      causing problems:
      
      o Redefine coerce-to-values to convert a single value type into (values type),
        rather than the former definition (values type &rest t). A single value
        type such as fixnum is now equivalent to (values fixnum). Values-type-union
        and values-type-intersection will canonicalise values types with a
        single value such as (values fixnum) back to a single value type
        such as fixnum.
      
      o Now when the compiler makes assertions for the first value of
        continuations that may be generating multiple values it asserts the
        type as (values type &rest t), or as (value &optional type &rest t) if
        it is not sure that the continuation does generate a value.
      
      o Enhance the type check generation to better handle the now common
        values types with optional and rest arguments. Add the new function
        Values-types-asserted which converts asserted optional and rest
        arguments to required arguments that have been proven to be delivered,
        Thus an assertion such as (values &optional fixnum &rest t) will
        generate a fixnum type check if the proven type if (values t).
      
      o The compiler is now far more likely to pickup attempts to use an
        assertion to select a subset of values. For example
        (the (values fixnum) (values x y)) will generated a compiler warning.
      
      o Update single values type assertions where appropriate to clarify that
        the received values may be optional or that multiple values may be
        received. For example, a macro argument which had been asserted to be
        a list via (the list ,...) would now be asserted to be
        (the (values &optional list &rest t)) etc.
      
      o Have the IR1 translator for THE convert single value types into
        (values &optional type &rest t) so that code such as
        (the fixnum (values x y)) will still work acceptably. This does not
        restrict the possible type assertions as the values types may be used
        and are not modified.
      daf333f4
    • dtc's avatar
      When asserting a single value from truncate etc, rather than · b4693ec2
      dtc authored
      using a single value type assertion following values
      '(the index (values ...)), use a multiple values types assertion
      '(the (values index t) ...), which is simpler for the compiler.
      b4693ec2
    • dtc's avatar
      Clarify an assertion on the result of round, firstly receiving the · cba07466
      dtc authored
      only the first value.
      cba07466
  8. Jan 16, 2000
  9. Jan 15, 2000
  10. Jan 14, 2000
  11. Jan 13, 2000
  12. Dec 04, 1999
  13. Jul 31, 1998
  14. Jul 02, 1998
  15. Mar 21, 1998
  16. Nov 03, 1997
Loading