gruff 0.3.1 → 0.3.3
raw patch · 2 files changed
+11/−9 lines, 2 filesdep ~Vecdep ~basedep ~gruff
Dependency ranges changed: Vec, base, gruff, parallel, ruff
Files
- gruff.cabal +10/−8
- src/Tile.hs +1/−1
gruff.cabal view
@@ -1,5 +1,5 @@ Name: gruff-Version: 0.3.1+Version: 0.3.3 Synopsis: fractal explorer GUI using the ruff library Description: Mandelbrot Set fractal explorer using the ruff library.@@ -13,6 +13,8 @@ @cabal install gruff -fmpfr@. Note that the default setting for this flag has changed since gruff-0.2. .+ gruff-0.3.3 relaxes dependencies for ghc-7.6.+ . gruff-0.3.1 is a bugfix release, fixing a performance problem wherein offscreen tiles were needlessly calculated. The performance gain is much less (and in many cases is in fact a performance loss) when@@ -90,7 +92,7 @@ Hs-source-dirs: src Exposed-modules: Fractal.GRUFF Build-depends: base >= 3 && < 5,- ruff >= 0.3 && < 0.4+ ruff >= 0.3.2 && < 0.4 GHC-options: -Wall Executable gruff@@ -109,8 +111,8 @@ Tile Utils View- Build-depends: gruff == 0.3.1,- base >= 4 && < 5,+ Build-depends: gruff == 0.3.3,+ base >= 4 && < 6, containers >= 0 && < 1, directory >= 1 && < 2, filepath >= 1 && < 2,@@ -120,12 +122,12 @@ old-locale >= 1 && < 2, OpenGL >= 2.4 && < 3, OpenGLRaw >= 1.1 && < 2,- parallel >= 3.1 && < 3.2,+ parallel >= 3.1 && < 3.3, qd >= 1 && < 2, qd-vec >= 1 && < 2, time >= 1 && < 2,- Vec >= 0.9 && < 1,- ruff >= 0.3 && < 0.4,+ Vec >= 0.9 && < 2,+ ruff >= 0.3.2 && < 0.4, bytestring, mtl if (flag(mpfr))@@ -144,4 +146,4 @@ source-repository this type: git location: git://gitorious.org/ruff/gruff.git- tag: v0.3.1+ tag: v0.3.3
src/Tile.hs view
@@ -7,7 +7,7 @@ import Control.Monad (when) import Data.Bits (shiftL, shiftR, (.&.)) import Foreign (Ptr, castPtr, sizeOf, mallocArray, free, Word8, with, poke, allocaBytes, withArray, peekArray)-import Foreign.C (CFloat, CDouble, CInt, CSize, withCStringLen)+import Foreign.C (CFloat(..), CDouble(..), CInt(..), CSize(..), withCStringLen) import System.Directory (createDirectoryIfMissing) import System.FilePath ((</>), (<.>)) import System.IO (withBinaryFile, IOMode(ReadMode,WriteMode), hPutBuf, hGetBuf)