packages feed

diagrams-html5 1.3.0.5 → 1.3.0.6

raw patch · 4 files changed

+14/−8 lines, 4 filesdep ~basedep ~data-default-class

Dependency ranges changed: base, data-default-class

Files

CHANGELOG.md view
@@ -1,8 +1,15 @@+## [v1.3.0.6](https://github.com/diagrams/diagrams-html5/tree/v1.3.0.6) (2016-06-17)++- allow `base-4.9`+- allow `data-default-class-0.1`++[Full Changelog](https://github.com/diagrams/diagrams-html5/compare/v1.3.0.5...v1.3.0.6)+ ## [v1.3.0.5](https://github.com/diagrams/diagrams-html5/tree/v1.3.0.5) (2016-05-01)  - allow `lens-4.14` -[Full Changelog](https://github.com/diagrams/diagrams-html5/compare/v1.3.0.3...v1.3.0.5)+[Full Changelog](https://github.com/diagrams/diagrams-html5/compare/v1.3.0.4...v1.3.0.5)  ## [v1.3.0.4](https://github.com/diagrams/diagrams-html5/tree/v1.3.0.4) (2015-09-29) 
diagrams-html5.cabal view
@@ -1,5 +1,5 @@ Name:                diagrams-html5-Version:             1.3.0.5+Version:             1.3.0.6 Synopsis:            HTML5 canvas backend for diagrams drawing EDSL Description:         This package provides a modular backend for rendering                      diagrams created with the diagrams EDSL using an@@ -14,7 +14,7 @@ Category:            Graphics Build-type:          Simple Extra-source-files:  README.md, CHANGELOG.md-Tested-with:         GHC == 7.8.4, GHC == 7.10.1+Tested-with:         GHC == 7.8.4, GHC == 7.10.1, GHC == 8.0.1 Cabal-version:       >=1.10 Source-repository head   type:     git@@ -24,7 +24,7 @@   Exposed-modules:     Diagrams.Backend.Html5                        Diagrams.Backend.Html5.CmdLine   Hs-source-dirs:      src-  Build-depends:       base >= 4.6 && < 4.9,+  Build-depends:       base >= 4.7 && < 4.10,                        mtl >= 2.0 && < 3.0,                        NumInstances >= 1.0 && < 1.5,                        diagrams-core >= 1.3 && < 1.4,@@ -34,7 +34,7 @@                        lens >= 4.0 && < 4.15,                        containers >= 0.3 && < 0.6,                        text >= 1.0 && < 1.3,-                       data-default-class >= 0.0.1 && < 0.1,+                       data-default-class >= 0.0.1 && < 0.2,                        statestack >= 0.2 && <0.3,                        optparse-applicative >= 0.10 && < 0.13,                        split >= 0.2 && < 0.3
src/Diagrams/Backend/Html5.hs view
@@ -84,7 +84,6 @@    ) where -import           Control.Lens                 hiding (transform, (#)) import           Control.Monad.State          (when) import qualified Control.Monad.StateStack     as SS import           Control.Monad.Trans          (lift)@@ -161,7 +160,7 @@     where       V2 w h = specToSize 100 (opts^.size)       buildF | opts^.standalone = H.buildDoc-             | otherwise        = \w h -> H.buildScript' w h (opts^.canvasId.to T.pack)+             | otherwise        = \wd ht -> H.buildScript' wd ht (opts^.canvasId.to T.pack)    adjustDia c opts d = adjustDia2D size c opts (d # reflectY) @@ -323,6 +322,7 @@     a = case wgt of           FontWeightNormal -> ""           FontWeightBold   -> "bold"+          _                -> ""     b = case slant of           FontSlantNormal  -> ""           FontSlantItalic  -> "italic"
src/Diagrams/Backend/Html5/CmdLine.hs view
@@ -66,7 +66,6 @@ import           Diagrams.Backend.Html5  import           Data.List.Split           (splitOn)-import           Control.Lens              ((^.))  defaultMain :: QDiagram Html5 V2 Double Any -> IO () defaultMain = mainWith