This project is mirrored from https://github.com/haskell/text. Pull mirroring updated .
  1. 15 May, 2015 1 commit
  2. 08 Sep, 2014 1 commit
  3. 10 Mar, 2014 1 commit
    • quchen's avatar
      Remove incorrect deprecation doc message · ce0a556f
      quchen authored
      The pragma-based deprecation of 'decodeASCII' correctly claims
      that 'decodeUtf8' should be used (matching the implementation),
      while the documentation string of the function itself recommended
      'decodeLatin1' (which does not).
      ce0a556f
  4. 07 Mar, 2014 1 commit
    • bos's avatar
      Rename textP to text · 7217d933
      bos authored
      Replace the old text smart constructor with the slightly smarter
      one we've had all along that ensures that it doesn't pin its array
      if it's empty.
      7217d933
  5. 06 Mar, 2014 2 commits
  6. 19 Feb, 2014 2 commits
  7. 10 Jan, 2014 1 commit
  8. 09 Jan, 2014 1 commit
  9. 08 Jan, 2014 3 commits
  10. 07 Jan, 2014 20 commits
  11. 03 Jan, 2014 3 commits
    • 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
  12. 05 Dec, 2013 2 commits
    • bos's avatar
      Clarify who the maintainer is · 3b4a0077
      bos authored
      3b4a0077
    • 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
  13. 04 Dec, 2013 2 commits
    • bos's avatar
      Rename strict fusion-related modules · 148a2d16
      bos authored
      --HG--
      rename : Data/Text/Fusion.hs => Data/Text/Internal/Fusion.hs
      rename : Data/Text/Fusion/CaseMapping.hs => Data/Text/Internal/Fusion/CaseMapping.hs
      rename : Data/Text/Fusion/Common.hs => Data/Text/Internal/Fusion/Common.hs
      rename : Data/Text/Fusion/Size.hs => Data/Text/Internal/Fusion/Size.hs
      rename : Data/Text/Fusion/Internal.hs => Data/Text/Internal/Fusion/Types.hs
      148a2d16
    • bos's avatar
      Rename encoding-related modules, and make them semi-public · 3b30032d
      bos authored
      --HG--
      rename : Data/Text/Encoding/Fusion.hs => Data/Text/Internal/Encoding/Fusion.hs
      rename : Data/Text/Encoding/Fusion/Common.hs => Data/Text/Internal/Encoding/Fusion/Common.hs
      rename : Data/Text/Encoding/Utf16.hs => Data/Text/Internal/Encoding/Utf16.hs
      rename : Data/Text/Encoding/Utf32.hs => Data/Text/Internal/Encoding/Utf32.hs
      rename : Data/Text/Encoding/Utf8.hs => Data/Text/Internal/Encoding/Utf8.hs
      3b30032d