Skip to content
  1. Nov 24, 2012
  2. Nov 23, 2012
  3. Nov 12, 2012
    • Liam M. Healy's avatar
      Restore default type class name · 1b88e331
      Liam M. Healy authored
      In defcstruct, there was a line, removed in be626770, that set a
      default type class name by appending "-TCLASS".  Without this line,
      the class will be directly FOREIGN-STRUCT-TYPE instead of a subclass.
      This is acceptable if the translate methods are not going to be
      redefined, but if they are, any change will apply to all instances
      (including instances of subclasses of other structures, which may call
      these with call-next-method).  In fact, there is a check in
      define-translation-method to prevent redefinition with that macro, but
      of course a defmethod would be just as bad.
      
      While in principal one can specify the :class argument, this isn't
      always possible, for example, if the structure was made by groveling.
      Even so, it is a bad idea to make a default which has the potential
      for this kind of harm.
      
      This fix now permits GSLL to compile and load correctly.
      1b88e331
  4. Nov 04, 2012
  5. Jun 07, 2012
  6. May 14, 2012
  7. May 06, 2012
  8. May 05, 2012
    • Liam M. Healy's avatar
      Tests for cffi-libffi working · 03297bd6
      Liam M. Healy authored
      Fix an error in the recursive call in libffi-type-pointer for
      foreign-struct-type, now parse the slot-type, which is unparsed.  This
      makes FSBV.3 and FSBV.4 succeed.  Removed quote from test FSBV.2; this
      makes FSBV.2 succeed.
      03297bd6
  9. May 04, 2012
  10. May 03, 2012
  11. May 01, 2012
    • Luís Oliveira's avatar
      Rewrite backwards-compatibility mode for bare struct types. · be626770
      Luís Oliveira authored
      * Instead of a special variable, the parsed struct type instance is now
        annotated to let the type system know whether we're dealing with
        deprecated semantics (struct type canonicalizes to :pointer) or not.
      
        This approach should hopefully be much less error-prone.
      
      * Disabled translations for bare structs.
      
      * Fixed and commented out some bogus tests.
      be626770
  12. Apr 30, 2012
  13. Apr 20, 2012
    • Liam M. Healy's avatar
      Improve documentation of structure reference · 77d60b93
      Liam M. Healy authored
      Improved the documentation for Foreign Structure Types to more clearly
      describe the behavior of mem-aref under the new structure reference
      syntax and the compatibility of the bare structure reference with the
      old behavior.
      77d60b93
  14. Apr 19, 2012
  15. Apr 14, 2012
  16. Apr 12, 2012
  17. Mar 25, 2012
    • Liam M. Healy's avatar
      New function expand-to-foreign-dyn-indirect · c5aea35f
      Liam M. Healy authored
      New function expand-to-foreign-dyn-indirect split out from
      expand-to-foreign-dyn, and the latter function returned to its
      definition as given in the tip of master, ab10be4f.  This function
      is used if the optional argument 'indirect to translate-objects is T,
      which in turn the case when functions are calling or return structures
      by value.
      c5aea35f
  18. Mar 23, 2012