Skip to content
Snippets Groups Projects
  1. Sep 10, 2016
  2. Sep 08, 2016
  3. Sep 04, 2016
    • 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
  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 14, 2016
    • 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
  6. Jan 01, 2016
    • Raymond Toy's avatar
      Add special case for (expt 0 power) · f3b73541
      Raymond Toy authored
      We know the result of (expt 0 power) so return it immediately without
      first checking if the power exceeds the limit.
      
      Also took the opportunity to add a better message to the
      intexp-limit-error condition to make it more explicit what is being
      computed and why it's failing.
      
      Tests added too.
      f3b73541
  7. Dec 31, 2015
    • Raymond Toy's avatar
      Handle search lists in pathname-match-p. · 521f8392
      Raymond Toy authored
      Allow search lists in pathname-match-p.  For each arg, we enumerate
      the possible values of the search list and try to find a match between
      the path and the wild path.  If there's a match, return true.
      
      Tests added for some cases of pathname-match-p with search lists.
      
      Fix issue #16.
      521f8392
  8. Dec 28, 2015
  9. Dec 25, 2015
  10. Dec 24, 2015
  11. Dec 23, 2015
  12. Dec 20, 2015
  13. Dec 19, 2015
  14. Oct 17, 2015
    • Raymond Toy's avatar
      Add tests for issue #10. · b239ce3f
      Raymond Toy authored
      Covers 1, 2, and 4-bit arrays.
      
      Manually verified that the cmucl 21a fails these tests, as expected,
      when the index is a multiple of the number of elements per 32-bit
      word.
      b239ce3f
  15. Aug 01, 2015
    • Raymond Toy's avatar
      Fix #4 again, but for negative indices. · 5a1ecf1a
      Raymond Toy authored
      o Add declaration for LIST-ELT* that the index is a kerrnel:index.
      o Clean up ELT to directly call LIST-ELT* instead of having an inlined
        version.
      o Fix typo: issue.5 is really issue.4.
      o Add tests for invalid indices for ELT and (SETF ELT) for both lists
        and vectors.
      5a1ecf1a
  16. Jul 26, 2015
    • Raymond Toy's avatar
      Use asdf instead of defsystem. · 00564a1f
      Raymond Toy authored
      Then when the pcl tests are compiled, the fasls are stored somewhere
      else instead of in the tests/pcl directory.  This means the src
      directory isn't polluted with fasls when we make a source tarball.
      00564a1f
  17. Jun 24, 2015
    • Raymond Toy's avatar
      Check for function names correctly · 89074ab3
      Raymond Toy authored
      Fix #7
      
      The change to use extended names like (flet frob) broke the detection
      of local names for get-setf-expansion.  Fix it.  This reverts behavior
      back to what 18a used to do.
      
      A test for this is also added.
      89074ab3
  18. Jun 22, 2015
  19. Jun 14, 2015
    • Raymond Toy's avatar
      Fix #4: ELT signals error on invalid index on lists · 1ca0a557
      Raymond Toy authored
      code/seq.lisp:
      o Define internal LIST-ELT* function that executes ELT on lists,
        signaling an error if the index is invalid.
      
      compiler/seqtran.lisp:
      o Change the deftransform for ELT to use LIST-ELT* instead of NTH.
      
      tests/issues.lisp:
      o Add test for this issue.
      1ca0a557
  20. Apr 25, 2015
  21. Dec 01, 2014
    • Raymond Toy's avatar
      Fix to handle (log 3/2 2) and (log -3/2 2). Test added. · 5f81e241
      Raymond Toy authored
       * src/code/irrat.lisp:
         * Fix LOG2 to handle the case of negative rational numbers.
         * Fix LOG of rational to a rational base. We want to convert the
           log of the number to a single float because log2 isn't intended
           to handle single-float type.
      
       * tests/irrat.lisp:
         * Add test for log of rational to rational base.
         * Add some additional tests for dd-%log2.
      5f81e241
Loading