packages feed

code-page 0.1.1 → 0.1.2

raw patch · 6 files changed

+13/−9 lines, 6 filesdep ~code-pagePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: code-page

API changes (from Hackage documentation)

- System.Win32.CodePage: codePageEncoding :: Word32 -> TextEncoding
- System.Win32.CodePage: getACP :: IO CodePage
- System.Win32.CodePage: getConsoleCP :: IO UINT
- System.Win32.CodePage: getConsoleOutputCP :: IO UINT
- System.Win32.CodePage: getOEMCP :: CodePage
- System.Win32.CodePage: installedCodePages :: IO [CodePage]
- System.Win32.CodePage: isValidCodePage :: CodePage -> IO Bool
- System.Win32.CodePage: mkCodePageEncoding :: CodingFailureMode -> Word32 -> TextEncoding
- System.Win32.CodePage: setConsoleCP :: UINT -> IO ()
- System.Win32.CodePage: setConsoleOutputCP :: UINT -> IO ()
- System.Win32.CodePage: stringToUnicode :: CodePage -> String -> IO String
- System.Win32.CodePage: supportedCodePages :: IO [CodePage]
- System.Win32.CodePage: type CodePage = UINT
- System.IO.CodePage: type CodePage = CodePage
+ System.IO.CodePage: type CodePage = Word32

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+### 0.1.2 [2017.02.20]+* Squash minor bug in fixCodePage (the same bug reported in+  https://github.com/commercialhaskell/stack/pull/3002)+ ### 0.1.1 [2016.11.09] * Fix the build on non-Intel architectures (thanks, erikd!) 
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2016, Ryan Scott+Copyright (c) 2016-2017, Ryan Scott  All rights reserved. 
code-page.cabal view
@@ -1,5 +1,5 @@ name:                code-page-version:             0.1.1+version:             0.1.2 synopsis:            Windows code page library for Haskell description:         This library provides two modules:                      .@@ -17,7 +17,7 @@ author:              Ryan Scott maintainer:          Ryan Scott <ryan.gl.scott@gmail.com> stability:           Provisional-copyright:           (C) 2016 Ryan Scott+copyright:           (C) 2016-2017 Ryan Scott category:            System build-type:          Simple extra-source-files:  CHANGELOG.md, README.md, include/*.h@@ -28,7 +28,7 @@                    , GHC == 7.6.3                    , GHC == 7.8.4                    , GHC == 7.10.3-                   , GHC == 8.0.1+                   , GHC == 8.0.2  source-repository head   type:                git@@ -54,7 +54,7 @@   main-is:             Tests.hs    build-depends:       base      >= 4.3 && < 5-                     , code-page == 0.1.1+                     , code-page    hs-source-dirs:      tests   default-language:    Haskell2010
src/System/IO/CodePage.hs view
@@ -2,7 +2,7 @@  {-| Module:      System.IO.CodePage-Copyright:   (C) 2016 Ryan Scott+Copyright:   (C) 2016-2017 Ryan Scott License:     BSD-style (see the file LICENSE) Maintainer:  Ryan Scott Stability:   Provisional@@ -120,7 +120,7 @@                     )             | otherwise = id         fixOutput-            | setInput = bracket_+            | setOutput = bracket_                 (do                     setConsoleOutputCP cp                     hSetEncoding stdout expected
src/System/Win32/CodePage.hsc view
@@ -3,7 +3,7 @@  {-| Module:      System.Win32.CodePage-Copyright:   (C) 2016 Ryan Scott+Copyright:   (C) 2016-2017 Ryan Scott License:     BSD-style (see the file LICENSE) Maintainer:  Ryan Scott Stability:   Provisional
tests/Tests.hs view
@@ -1,6 +1,6 @@ {-| Module:      Tests-Copyright:   (C) 2016 Ryan Scott+Copyright:   (C) 2016-2017 Ryan Scott License:     BSD-style (see the file LICENSE) Maintainer:  Ryan Scott Stability:   Provisional