Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/haskell/text. Pull mirroring updated .
  1. Jan 07, 2014
  2. Jan 03, 2014
    • Simon Meier's avatar
      Add back 'ensure 1' to avoid overflowing an output buffer · 22dc447b
      Simon Meier authored
      The counter-example for the existing code is a string of length '2*n' that
      starts with 'n' characters with codepoints in the range (0x7F, 0x7FF) and ends
      with 'n' ASCII characters. All 'n' ASCII characters will be written after the
      end of the output buffer.
      22dc447b
    • Simon Meier's avatar
      Polish UTF-8 bytestring builder support · 3e915b23
      Simon Meier authored
      - adjust function names to 'encodeUtf8Builder' and 'encodeUtf8BuilderEscaped'
      - expose the same conversion to builders for both lazy and strict text
      - ensure 'Escaped' versions are inlined to allow specialization for specific
        escaping primitives
      - fix some Haddock references
      - add Haddock comment about bytestring >= 0.10.4.0 dependency
      - remove stream-to-builder encoding functions. There is no direct use case for
        them and they require too much knowledge about the internals to be used
        correctly.
      3e915b23
    • bos's avatar
      Drop some special-casing for ASCII during UTF-8 encoding · 0f3435ba
      bos authored
      I somehow forgot that we allocate the initial ByteString to contain
      the same number of bytes as the Text contains code units. This means
      that we never need to ensure that the ByteString is big enough, nor
      (with this observation) does a special-cased ASCII-only loop help
      performance.
      0f3435ba
  3. Jan 02, 2014
  4. Dec 31, 2013
  5. Dec 30, 2013
  6. Dec 08, 2013
  7. Dec 05, 2013
    • bos's avatar
      Clarify who the maintainer is · 3b4a0077
      bos authored
      3b4a0077
    • bos's avatar
      Bump version to 1.1.0.0 · ddf78d11
      bos authored
      ddf78d11
    • bos's avatar
      Expose all modules · ea0ed28a
      bos authored
      ea0ed28a
    • bos's avatar
      Add warnings to unsafe modules · 77fef5f6
      bos authored
      77fef5f6
    • bos's avatar
      Rename the last set of internal modules · 717be11e
      bos authored
      --HG--
      rename : Data/Text/Util.hs => Data/Text/Internal/Functions.hs
      rename : Data/Text/Lazy/Internal.hs => Data/Text/Internal/Lazy.hs
      rename : Data/Text/Private.hs => Data/Text/Internal/Private.hs
      rename : Data/Text/Search.hs => Data/Text/Internal/Search.hs
      rename : Data/Text/Unsafe/Base.hs => Data/Text/Internal/Unsafe.hs
      rename : Data/Text/UnsafeChar.hs => Data/Text/Internal/Unsafe/Char.hs
      rename : Data/Text/UnsafeShift.hs => Data/Text/Internal/Unsafe/Shift.hs
      717be11e
  8. Dec 04, 2013
Loading