packages feed

vty-crossplatform 0.2.0.0 → 0.5.0.0

raw patch · 4 files changed

Files

CHANGELOG.md view
@@ -1,3 +1,26 @@+0.5.0.0+=======++* Addressed a security issue that would have allowed a malicious third+  party to upload a 'unknown-vty-build-platform' package to Hackage to+  introduce malicious code on platforms where 'vty-crossplatform' isn't+  supported. Now, instead of failing to build against a fake package for+  build error readability purposes, 'buildable' is set to 'False' to+  fail the build more directly.+* Updated to work with `vty-windows` 0.2.0.1.++0.4.0.0+=======++* Updated to work with `vty-windows` 0.2.0.0.++0.3.0.0+=======++Package changes:+* Updated `vty` lower bound to 6.1. Updated testing code to build with+  6.1.+ 0.2.0.0 ======= 
programs/interactive_terminal_test.hs view
@@ -98,7 +98,7 @@ doTestMenu :: Int -> IO [(String, Bool)] doTestMenu nextID     | nextID > length allTests = do-        putStrLn $ "Done! If there were problems, feel free to open an issue at https://github.com/jtdaugherty/vty/issues and paste the contents of the file " <> outputFilePath+        putStrLn $ "Done! If there were problems, feel free to open an issue at https://github.com/jtdaugherty/vty-crossplatfrm/issues and paste the contents of the file " <> outputFilePath         return []     | otherwise = do         displayTestMenu@@ -719,9 +719,6 @@ For instance, one line will be the word "magenta" and that word should be rendered in the magenta color. -I'm not actually sure exactly what "vivid" means in this context. For xterm the-vivid colors are brighter.- Verify:     * The first column: The foreground color matches the named color.     * The second column: The foreground color matches the named color but is@@ -780,9 +777,6 @@ For instance, one line will contain be the word "magenta" and the word should be rendered in the default foreground color over a magenta background. -I'm not actually sure exactly what "vivid" means in this context. For xterm the-vivid colors are brighter.- Verify:     * The first column: The background color matches the named color.     * The second column: The background color matches the named color and is@@ -898,7 +892,7 @@     0. The screen will be cleared.     1. The cursor will be hidden.     2. A 20 character wide and 12 row high block of color squares. This should look like a palette-    of some sort. I'm not exactly sure if all color terminals use the same palette. I doubt it...+    of some sort.  Verify: 
src/Graphics/Vty/CrossPlatform/Testing.hs view
@@ -6,6 +6,8 @@  import Graphics.Vty (Output) +import Graphics.Vty.Config (defaultConfig)+ #if defined(mingw32_HOST_OS) || defined(__MINGW32__) import Graphics.Vty.Platform.Windows.Output (buildOutput) import Graphics.Vty.Platform.Windows.Settings (defaultSettings)@@ -17,4 +19,4 @@ -- | This helper is not intended for end-user consumption; it is exposed -- only for testing purposes. mkDefaultOutput :: IO Output-mkDefaultOutput = defaultSettings >>= buildOutput+mkDefaultOutput = defaultSettings >>= buildOutput defaultConfig
vty-crossplatform.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               vty-crossplatform-version:            0.2.0.0+version:            0.5.0.0 synopsis:           Cross-platform support for Vty description:        This package provides a generic interface for multiple                     Vty platforms in one package so you don't have to@@ -28,7 +28,7 @@     exposed-modules:  Graphics.Vty.CrossPlatform                     , Graphics.Vty.CrossPlatform.Testing     build-depends:    base >= 4.8 && < 5,-                      vty >= 6.0+                      vty >= 6.1      if os(darwin)         build-depends:  vty-unix@@ -39,9 +39,9 @@     elif os(solaris) || os(aix) || os(hpux) || os(irix) || os(hurd)         build-depends:  vty-unix     elif os(windows)-        build-depends:  vty-windows+        build-depends:  vty-windows >= 0.2.0.1     else-        build-depends:  unknown-vty-build-platform+        Buildable: False  executable vty-rogue-demo     if !flag(demos)