This project is mirrored from Pull mirroring updated .
  1. 21 Jun, 2021 2 commits
  2. 29 May, 2021 1 commit
    • Bodigrim's avatar
      Refactor tests (#345) · e7cb443a
      Bodigrim authored
      * Tests: replace unsquare with a shrinkable newtype
      * Tests: do not depend on quickcheck-unicode
      * Refactor most of remaining forAll
      * Refactor t_utf8_err to report more information about counterexamples
  3. 22 May, 2021 1 commit
    • Xia Li-yao's avatar
      Fix UTF-8 decoding of lazy bytestrings · 204f6ac2
      Xia Li-yao authored and Bodigrim's avatar Bodigrim committed
      At the beginning of a new chunk we may be trying to complete a UTF-8
      sequence started in the previous chunk (contained in the `undecode0`
      buffer). If it turns out to be invalid, we must apply the `onErr`
      handler to every character in that buffer.
      When we reach the end of the chunk, we must also be more careful
      about when to keep the previous buffer: a UTF-8 sequence (up to 4 bytes)
      can span more than two chunks, when those chunks are very short
      (of length 0, 1, or 2).
  4. 08 May, 2021 1 commit
  5. 31 Mar, 2021 1 commit