packages feed

wumpus-core 0.13.0 → 0.13.1

raw patch · 4 files changed

+21/−36 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGES view
@@ -1,5 +1,11 @@  +0.13.0 to 0.13.1:++  * Wumpus.Core.SVG changed path_s to path_c - \'S\' was the +    wrongSVG command to match PostScript\'s @curveto@.++ 0.12.0 to 0.13.0:    * More Haddock documenting. 
src/Wumpus/Core/OutputSVG.hs view
@@ -270,7 +270,7 @@ pathSegment :: PSUnit u => PathSegment u -> String pathSegment (PLine (P2 x1 y1))                        = path_l x1 y1 pathSegment (PCurve (P2 x1 y1) (P2 x2 y2) (P2 x3 y3)) = -    path_s x1 y1 x2 y2 x3 y3+    path_c x1 y1 x2 y2 x3 y3   
src/Wumpus/Core/SVG.hs view
@@ -96,7 +96,7 @@   , val_translate   , path_m   , path_l-  , path_s+  , path_c     ) where@@ -431,7 +431,7 @@ -- | @ S ... ... ... ... ... ... @ --  -- c.f. PostScript's @curveto@.-path_s :: PSUnit u => u -> u -> u -> u -> u -> u -> String-path_s x1 y1 x2 y2 x3 y3 =  hsep $ "S" : map dtrunc [x1,y1,x2,y2,x3,y3]+path_c :: PSUnit u => u -> u -> u -> u -> u -> u -> String+path_c x1 y1 x2 y2 x3 y3 =  hsep $ "C" : map dtrunc [x1,y1,x2,y2,x3,y3]  
wumpus-core.cabal view
@@ -1,5 +1,5 @@ name:             wumpus-core-version:          0.13.0+version:          0.13.1 license:          BSD3 license-file:     LICENSE copyright:        Stephen Tetley <stephen.tetley@gmail.com>@@ -37,13 +37,13 @@   some name changes etc. that will change interfaces, but Wumpus    has been carefully implemented. Some of the design decisions    are not sophisticated (e.g. how attributes like colour are -  handled, and the bounding boxes of text labels are calculated), -  so Wumpus might be limited compared to other systems. However -  its design permits a simple implementation - which is a -  priority. Text encoding an exception, I\'m not sure how -  reasonable the design is. The current implementation appears -  okay for Latin 1 but I\'m not sure about other character sets, -  and I may have to revise it significantly.+  handled, and how the bounding boxes of text labels are +  calculated), so Wumpus might be limited compared to other +  systems. However its design permits a simple implementation - +  which is a priority. Text encoding an exception, I\'m not sure +  how reasonable the design is. The current implementation +  appears okay for Latin 1 but I\'m not sure about other +  character sets, and I may have to revise it significantly.   .   /There is no documentation/ - the graphics model used by    Wumpus is different to PostScript or SVG, and Wumpus really @@ -59,31 +59,10 @@   .   Changelog:   .-  0.12.0 to 0.13.0:-  .-  * More Haddock documenting. -  .-  * @lowerLeftUpperRight@ removed from "Wumpus.Core.BoundingBox".-  .-  * Added range checking and Ord obligation to the @bbox@ -    \'smart\' constructor.-  .-  * Numeric instances for "Wumpus.Core.Colour" improved.-  .-  * MatrixMult type class simplified-  .-  * Dash Pattern made a list of on-off pairs rather than just a -    list -  .-  * The modules - Wumpus.Core.PictureInternal, Wumpus.Core.PostScript,-    Wumpus.Core.SVG & Wumpus.Core.Utils - are no longer exposed.-  .-  * Various operators in "Wumpus.Core.PictureLanguage" changed.+  0.13.0 to 0.13.1:   .-  * Wumpus.Core.TextEncoding split into an internal and a public -    module (internal - Wumpus.Core.TextEncodingInternal, public - -    Wumpus.Core.TextEncoder).-+  * Wumpus.Core.SVG changed path_s to path_c - \'S\' was the +    wrongSVG command to match PostScript\'s @curveto@.   . build-type:         Simple stability:          highly unstable