juicy-gcode 0.1.0.5.1 → 0.1.0.5.2
raw patch · 4 files changed
+13/−7 lines, 4 filesdep ~lensdep ~lineardep ~optparse-applicative
Dependency ranges changed: lens, linear, optparse-applicative
Files
- ChangeLog.md +8/−0
- juicy-gcode.cabal +4/−4
- src/Main.hs +0/−2
- src/SvgArcSegment.hs +1/−1
ChangeLog.md view
@@ -1,5 +1,13 @@ # Revision history for juicy-gcode +## 0.1.0.5.2 -- 2020-04-11 + +* Update dependencies + +## 0.1.0.5.1 -- 2018-08-08 + +* Update documentation + ## 0.1.0.5 -- 2018-08-08 * Simplify special bezier curves to lines
juicy-gcode.cabal view
@@ -1,5 +1,5 @@ name: juicy-gcode -version: 0.1.0.5.1 +version: 0.1.0.5.2 license: BSD3 license-file: LICENSE author: dlacko @@ -23,9 +23,9 @@ build-depends: base >=4.8 && <5, - lens >=4.15.4 && <4.18, - linear >=1.20 && <1.21, - optparse-applicative >=0.13 && <0.14, + lens >=4.15.4 && <4.20, + linear >=1.20 && <1.22, + optparse-applicative >=0.13 && <0.16, configurator >=0.3 && <0.4, text >=1.2.2 && <1.3, matrix >=0.3.5 && <0.4,
src/Main.hs view
@@ -3,8 +3,6 @@ import Data.Text import qualified Data.Configurator as C -import Data.Monoid - import Options.Applicative import Render
src/SvgArcSegment.hs view
@@ -20,7 +20,7 @@ -- ported from: https://github.com/vvvv/SVG/blob/master/Source/Paths/SvgArcSegment.cs convertSvgArc :: Point -> Double -> Double -> Double -> Bool -> Bool -> Point -> [DrawOp] convertSvgArc (x0,y0) radiusX radiusY angle largeArcFlag sweepFlag (x,y) - | x0 == x && y0 == y0 + | x0 == x && y0 == y = [] | radiusX == 0.0 && radiusY == 0.0 = [DLineTo (x,y)]