packages feed

aivika-experiment-diagrams 3.1 → 4.3.1

raw patch · 2 files changed

+8/−8 lines, 2 filesdep ~Chartdep ~Chart-diagramsdep ~aivika-experimentPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: Chart, Chart-diagrams, aivika-experiment, aivika-experiment-chart

API changes (from Hackage documentation)

- Simulation.Aivika.Experiment.Chart.Backend.Diagrams: DiagramsRenderer :: FileFormat -> Map (String, FontSlant, FontWeight) FilePath -> DiagramsRenderer
+ Simulation.Aivika.Experiment.Chart.Backend.Diagrams: DiagramsRenderer :: FileFormat -> IO (FontSelector Double) -> DiagramsRenderer
- Simulation.Aivika.Experiment.Chart.Backend.Diagrams: rendererCustomFonts :: DiagramsRenderer -> Map (String, FontSlant, FontWeight) FilePath
+ Simulation.Aivika.Experiment.Chart.Backend.Diagrams: rendererCustomFonts :: DiagramsRenderer -> IO (FontSelector Double)

Files

Simulation/Aivika/Experiment/Chart/Backend/Diagrams.hs view
@@ -7,7 +7,7 @@ -- License    : BSD3 -- Maintainer : David Sorokin <david.sorokin@gmail.com> -- Stability  : experimental--- Tested with: GHC 7.8.3+-- Tested with: GHC 7.10.1 -- -- This module defines a renderer that uses the Chart-diagrams library -- for rendering charts within simulation, i.e. without using Cairo,@@ -30,7 +30,7 @@ data DiagramsRenderer =   DiagramsRenderer { rendererFileFormat :: FileFormat,                      -- ^ It returns the file format used for saving the image.-                     rendererCustomFonts :: Map (String, FontSlant, FontWeight) FilePath+                     rendererCustomFonts :: IO (FontSelector Double)                      -- ^ It contains the custom fonts.                    } 
aivika-experiment-diagrams.cabal view
@@ -1,5 +1,5 @@ name:            aivika-experiment-diagrams-version:         3.1+version:         4.3.1 synopsis:        Diagrams backend for the Aivika simulation library description:     This package complements the Aivika and Aivika Experiment packages @@ -15,7 +15,7 @@ homepage:        http://github.com/dsorokin/aivika-experiment-diagrams cabal-version:   >= 1.6 build-type:      Simple-tested-with:     GHC == 7.8.3+tested-with:     GHC == 7.10.1  library @@ -24,10 +24,10 @@     build-depends:   base >= 3 && < 6,                      containers >= 0.4.0.0,                      filepath >= 1.3.0.0,-                     Chart >= 1.3.1,-                     Chart-diagrams >= 1.3.1,-                     aivika-experiment >= 3.1,-                     aivika-experiment-chart >= 3.1+                     Chart >= 1.5,+                     Chart-diagrams >= 1.5,+                     aivika-experiment >= 4.0.3,+                     aivika-experiment-chart >= 4.3.1      extensions:      MultiParamTypeClasses