Skip to content
Snippets Groups Projects
  1. Sep 04, 2016
    • Raymond Toy's avatar
      Merge branch 'rtoy-fix-27-pathname-match-p' into 'master' · efc9519f
      Raymond Toy authored
      Fix #27: pathname-match-p infinite recursion
      
      When support for search-lists was added to `PATHNAME-MATCH-P`, support
      for logical pathnames was broken because `PATHNAME-MATCH-P` eventually
      calls `TRANSLATE-LOGICAL-PATHNAME` which calls `PATHNAME-MATCH-P` with
      logical pathnames.  This caused infinite recursion.
          
      So add back the original `PATHNAME-MATCH-P`, but rename to
      `%PATHNAME-MATCH-P` and use that in `TRANSLATE-LOGICAL-PATHNAME` and
      friends.
          
      Add test for this case too.
      
      See merge request !10
      efc9519f
    • Raymond Toy's avatar
      37c549c6
    • Raymond Toy's avatar
      Fix #27: PATHNAME-MATCH-P loops for logical pathnames · c07cad4b
      Raymond Toy authored
      When support for search-lists was added to PATHNAME-MATCH-P, support
      for logical pathnames was broken because PATHNAME-MATCH-P eventually
      calls TRANSLATE-LOGICAL-PATHNAME which calls PATHNAME-MATCH-P with
      logical pathnames.  This caused infinite recursion.
      
      So add back the original PATHNAME-MATCH-P, but rename to
      %PATHNAME-MATCH-P and use that in TRANSLATE-LOGICAL-PATHNAME and
      friends.
      
      Add test for this case too.
      c07cad4b
  2. Sep 03, 2016
    • Raymond Toy's avatar
      Merge branch 'rtoy-28-fix-recursive-fcn-defn' into 'master' · a8934d15
      Raymond Toy authored
      Fix #28: Recursive function definition
      
      Convert a `double-double` to a double before coercing to a `single-float` or `double-float`.
      
      See merge request !9
      a8934d15
    • Raymond Toy's avatar
      Add comment. · 6c86016d
      Raymond Toy authored
      6c86016d
    • Raymond Toy's avatar
      Fix #28: Recursive function definition in cross-compile · 2482e5f0
      Raymond Toy authored
      The recursive definition comes from %single-float and %double-float
      trying to coerce a double-double-float to a single or double.  Not
      sure the best place to fix this, but added a special case here for
      %single-float and %double-float to convert the double-double-float to
      a double that can then be coerced to the appropriate type.  (Could
      have added a deftransform for coerce to handle double-doubles, but
      doing it here makes it easier to follow the code.)
      
      Verified that x86->x86 and sparc->sparc cross-compiles no longer have
      the warning.  Also verified that sparc->sparc actually cross-compiles
      and loads successfully and that the result will compile itself
      successfully.
      2482e5f0
  3. Aug 25, 2016
    • Raymond Toy's avatar
      Merge branch 'rtoy-fix-issue-25' into 'master' · 5beb6431
      Raymond Toy authored
      Fix #25: Handle unicode strings more consistently.
      
      When writing a string to the program too few octets were written
      because strings are now 16-bits wide.  To fix this, only write the low
      8-bits of each character.  This matches what reading does.
      
      This pretty much implies that the caller should use
      STREAM:STRING-ENCODE and STREAM::STRING-DECODE on the strings.
      
      Add several tests to verify the expected results.
      
      See merge request !8
      5beb6431
  4. Aug 21, 2016
    • Raymond Toy's avatar
      Fix #25: Handle unicode strings more consistently. · a8c27cfa
      Raymond Toy authored
      When writing a string to the program too few octets were written
      because strings are now 16-bits wide.  To fix this, only write the low
      8-bits of each character.  This matches what reading does.
      
      This pretty much implies that the caller should use
      STREAM:STRING-ENCODE and STREAM::STRING-DECODE on the strings.
      
      Add several tests to verify the expected results.
      a8c27cfa
  5. May 30, 2016
  6. May 22, 2016
  7. May 21, 2016
  8. May 14, 2016
    • Raymond Toy's avatar
      Add -X flag · d003a224
      Raymond Toy authored
      When -X is given (break) just before quiting the cross-compilation.
      This allows for some debugging of the cross-compiled result.
      d003a224
    • Raymond Toy's avatar
      Fix #22 where coerce was returning the wrong type of float. · bb4afde9
      Raymond Toy authored
      src/compiler/float.lisp:
      o The deftransform coerce was checking for a type of 'float and using
        %single-float to do the conversion.  This is incorrect; it should
        only apply if the type is 'single-float.
      
      tests/issues.lisp
      o Add test for this.
      
      Verified that the test fails on the current snapshot and ix fixed by
      this change.
      bb4afde9
  9. May 13, 2016
    • Raymond Toy's avatar
      Fix typo in value. · e50d75bc
      Raymond Toy authored
      The deftransform for converting an (unsigned-byte 32) to a
      double-float was using the wrong type of float constant. It should
      have been a double instead of single.
      
      This fix allows sparc to cross-compile itself now.
      e50d75bc
  10. May 12, 2016
  11. May 11, 2016
  12. May 10, 2016
    • Raymond Toy's avatar
      Add RELOCATABLE_STACK_START to control stack spaces · 951611cf
      Raymond Toy authored
      When RELOCATABLE_STACK_START is defined, the control stack, binding
      stack, and sigalt stack are located wherever mmap finds room for them.
      
      Currently only implemented for Darwin, but should work for linux and
      solaris.  We enable this by default on Darwin now.
      951611cf
  13. May 08, 2016
  14. Mar 26, 2016
Loading