Skip to content

Commit

Permalink
Version 0.11.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
nical committed Jul 4, 2018
1 parent 879d72a commit 145e4ab
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 57 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
## Change log

### v0.11.0 (2018-07-05)
- [tessellation] Move the VertexId representation from u16 to u32.
- [tessellation] Fix a circle tessellation bug with large tolerance values.
- [tessellation] Add a fast path for ellipses when the radii are equal.
- [algorithms] Added the lyon_algorithms crate.
- [algorithms] Implement a hatching pattern fill algorithm.
- [algorithms] Implement a dotted pattern fill algorithm.
- [algorithms] Implement path bounding rectangles.
- [algorithms] Implement rectangle fitting transform computation.
- [algorithms] Move path walking to the algorithms crate.
- [geom] Implement callback based iteration over the monotonic parts of an arc.
- [geom] Add LineSegment::set_length.
- [geom] Fix an elliptic arc bug.
- [geom] Implement precise elliptic arc bounding rectangle.
- [cli] Add support for custom formatting in the tessellate command.
- [cli] Allow changing the background in the show command.
- [cli] Automatically position the view in the show command.
- [examples] Add a simple SVG rendering example.
- [misc] Update usvg and euclid dependencies.

### v0.10.0 (2018-02-28)
- [geom] Fix several arc bugs.
- [geom] Implement a much better cubic to quadratic bézier approximation.
- [geom] Implement iteating over the monotonic parts of a bézier curve.
- [geom] Implement iterating over the monotonic parts of a bézier curve.
- [geom] A few API changes.
- [lyon] Make serde optional for all crates ("serialization" feature flags).
- [tessellation] Implement better error handling.
Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "lyon"
version = "0.10.0"
version = "0.11.0"
description = "2D Graphics rendering on the GPU using tessellation."
authors = [ "Nicolas Silva <nical@fastmail.com>" ]
repository = "https://github.com/nical/lyon"
Expand Down Expand Up @@ -34,11 +34,11 @@ libtess2 = ["lyon_tess2"]

[dependencies]

lyon_tessellation = { version = "0.10.0", path = "tessellation/" }
lyon_tessellation = { version = "0.11.0", path = "tessellation/" }
lyon_algorithms = { version = "0.11.0", path = "algorithms/" }
lyon_extra = { version = "0.10.0", optional = true, path = "extra/" }
lyon_svg = { version = "0.10.0", optional = true, path = "svg/" }
lyon_tess2 = { version = "0.10.0", optional = true, path = "tess2/" }
lyon_extra = { version = "0.11.0", optional = true, path = "extra/" }
lyon_svg = { version = "0.11.0", optional = true, path = "svg/" }
lyon_tess2 = { version = "0.11.0", optional = true, path = "tess2/" }

[workspace]
members = [
Expand Down
2 changes: 1 addition & 1 deletion algorithms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ serialization = ["serde", "lyon_path/serialization"]

[dependencies]

lyon_path = { version = "0.10.0", path = "../path" }
lyon_path = { version = "0.11.0", path = "../path" }
serde = { version = "1.0", optional = true, features = ["serde_derive"] }
2 changes: 1 addition & 1 deletion algorithms/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![doc(html_logo_url = "https://nical.github.io/lyon-doc/lyon-logo.svg")]

//! 2D Path transformation and manipulation algorithms.
//! 2d Path transformation and manipulation algorithms.
//!
// TODO doc!
Expand Down
6 changes: 3 additions & 3 deletions extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "lyon_extra"
version = "0.10.0"
version = "0.11.0"
description = "Various optional utilities for the lyon crate."
authors = [ "Nicolas Silva <nical@fastmail.com>" ]
repository = "https://github.com/nical/lyon"
Expand All @@ -14,5 +14,5 @@ name = "lyon_extra"

[dependencies]

lyon_path = { version = "0.10.0", path = "../path" }
lyon_svg = { version = "0.10.0", path = "../svg" }
lyon_path = { version = "0.11.0", path = "../path" }
lyon_svg = { version = "0.11.0", path = "../svg" }
4 changes: 2 additions & 2 deletions geom/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "lyon_geom"
version = "0.10.0"
description = "2D quadratic and cubic bezier arcs and line segment math on top of euclid."
version = "0.11.0"
description = "2D quadratic and cubic bézier arcs and line segment math on top of euclid."
authors = ["Nicolas Silva <nical@fastmail.com>"]
repository = "https://github.com/nical/lyon"
documentation = "https://docs.rs/lyon_geom/"
Expand Down
4 changes: 2 additions & 2 deletions path/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lyon_path"
version = "0.10.0"
version = "0.11.0"
description = "Types and utilities to store, build and iterate over 2D paths."
authors = [ "Nicolas Silva <nical@fastmail.com>" ]
repository = "https://github.com/nical/lyon"
Expand All @@ -15,5 +15,5 @@ name = "lyon_path"
serialization = ["serde", "lyon_geom/serialization"]

[dependencies]
lyon_geom = { version = "0.10.0", path = "../geom" }
lyon_geom = { version = "0.11.0", path = "../geom" }
serde = { version = "1.0", optional = true, features = ["serde_derive"] }
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
//! * [![crate](http://meritbadge.herokuapp.com/lyon_path)](https://crates.io/crates/lyon_path)
//! [![doc](https://docs.rs/lyon_path/badge.svg)](https://docs.rs/lyon_path) -
//! **lyon_path** - Tools to build and iterate over paths.
//! * [![crate](http://meritbadge.herokuapp.com/lyon_geom)](https://crates.io/crates/lyon_geom)
//! [![doc](https://docs.rs/lyon_geom/badge.svg)](https://docs.rs/lyon_geom) -
//! * [![crate](http://meritbadge.herokuapp.com/lyon_svg)](https://crates.io/crates/lyon_svg)
//! [![doc](https://docs.rs/lyon_svg/badge.svg)](https://docs.rs/lyon_svg) -
//! **lyon_algorithms** - Various 2d path related algorithms.
//! * [![crate](http://meritbadge.herokuapp.com/lyon_algorithms)](https://crates.io/crates/lyon_algorithms)
//! [![doc](https://docs.rs/lyon_algorithms/badge.svg)](https://docs.rs/lyon_algorithms) -
//! **lyon_geom** - 2d utilities for cubic and quadratic bézier curves, arcs and more.
//! * [![crate](http://meritbadge.herokuapp.com/lyon_svg)](https://crates.io/crates/lyon_svg)
//! [![doc](https://docs.rs/lyon_svg/badge.svg)](https://docs.rs/lyon_svg) -
Expand Down
4 changes: 2 additions & 2 deletions svg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "lyon_svg"
version = "0.10.0"
version = "0.11.0"
description = "SVG helpers for the lyon crates."
authors = [ "Nicolas Silva <nical@fastmail.com>" ]
repository = "https://github.com/nical/lyon"
Expand All @@ -13,6 +13,6 @@ path = "src/lib.rs"

[dependencies]

lyon_path = { version = "0.10.0", path = "../path" }
lyon_path = { version = "0.11.0", path = "../path" }

svgparser = "0.6"
4 changes: 2 additions & 2 deletions tess2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "lyon_tess2"
version = "0.10.0"
version = "0.11.0"
description = "An additional path tessellator for lyon using libtess2."
authors = [ "Nicolas Silva <nical@fastmail.com>" ]
repository = "https://github.com/nical/lyon"
Expand All @@ -19,6 +19,6 @@ serialization = ["serde", "lyon_tessellation/serialization"]

[dependencies]

lyon_tessellation = { version = "0.10.0", path = "../tessellation" }
lyon_tessellation = { version = "0.11.0", path = "../tessellation" }
serde = { version = "1.0", optional = true, features = ["serde_derive"] }
tess2-sys = "0.0.1"
6 changes: 3 additions & 3 deletions tessellation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "lyon_tessellation"
version = "0.10.0"
version = "0.11.0"
description = "A low level path tessellation library."
authors = [ "Nicolas Silva <nical@fastmail.com>" ]
repository = "https://github.com/nical/lyon"
Expand All @@ -19,9 +19,9 @@ serialization = ["serde", "lyon_path/serialization"]

[dependencies]

lyon_path = { version = "0.10.0", path = "../path" }
lyon_path = { version = "0.11.0", path = "../path" }
sid = "0.5"
serde = { version = "1.0", optional = true, features = ["serde_derive"] }

[dev-dependencies]
lyon_extra = { version = "0.10.0", path = "../extra" }
lyon_extra = { version = "0.11.0", path = "../extra" }

0 comments on commit 145e4ab

Please sign in to comment.