packages feed

haskeline 0.8.1.0 → 0.8.1.1

raw patch · 3 files changed

+16/−6 lines, 3 filesdep ~basedep ~bytestringPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, bytestring

API changes (from Hackage documentation)

Files

Changelog view
@@ -1,3 +1,7 @@+Changed in version 0.8.1.1:+   * Allow bytestring-0.11 and base-4.16+   * Fix name conflicts with Win32-2.9 (#145)+ Changed in version 0.8.1.0:    * Use grapheme's width to align a list of completions (#143)    * Add withRunInBase to help decompose InputT (#131)
System/Console/Haskeline/Backend/Win32.hsc view
@@ -1,3 +1,5 @@+{-# LANGUAGE CPP #-}+ module System.Console.Haskeline.Backend.Win32(                 win32Term,                 win32TermStdin,@@ -8,7 +10,11 @@ import System.IO import Foreign import Foreign.C+#if MIN_VERSION_Win32(2,9,0)+import System.Win32 hiding (multiByteToWideChar, setConsoleMode, getConsoleMode)+#else import System.Win32 hiding (multiByteToWideChar)+#endif import Graphics.Win32.Misc(getStdHandle, sTD_OUTPUT_HANDLE) import Data.List(intercalate) import Control.Concurrent.STM@@ -185,9 +191,9 @@     sizeOf _ = (#size COORD)     alignment _ = (#alignment COORD)     peek p = do-        x :: CShort <- (#peek COORD, X) p-        y :: CShort <- (#peek COORD, Y) p-        return Coord {coordX = fromEnum x, coordY = fromEnum y}+        cx :: CShort <- (#peek COORD, X) p+        cy :: CShort <- (#peek COORD, Y) p+        return Coord {coordX = fromEnum cx, coordY = fromEnum cy}     poke p c = do         (#poke COORD, X) p (toEnum (coordX c) :: CShort)         (#poke COORD, Y) p (toEnum (coordY c) :: CShort)
haskeline.cabal view
@@ -1,6 +1,6 @@ Name:           haskeline Cabal-Version:  >=1.10-Version:        0.8.1.0+Version:        0.8.1.1 Category:       User Interfaces License:        BSD3 License-File:   LICENSE@@ -49,8 +49,8 @@     -- We require ghc>=7.4.1 (base>=4.5) to use the base library encodings, even     -- though it was implemented in earlier releases, due to GHC bug #5436 which     -- wasn't fixed until 7.4.1-    Build-depends: base >=4.9 && < 4.16, containers>=0.4 && < 0.7,-                   directory>=1.1 && < 1.4, bytestring>=0.9 && < 0.11,+    Build-depends: base >=4.9 && < 4.17, containers>=0.4 && < 0.7,+                   directory>=1.1 && < 1.4, bytestring>=0.9 && < 0.12,                    filepath >= 1.2 && < 1.5, transformers >= 0.2 && < 0.6,                    process >= 1.0 && < 1.7, stm >= 2.4 && < 2.6,                    exceptions == 0.10.*