Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix outdated links to tiny-skia #134

Merged
merged 3 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed
- `ColorU8` and `PremultipliedColorU8` are stored as `[u8; 4]` instead of `u32`.
This fixes potential [alignment issues](https://github.com/RazrFalcon/tiny-skia/issues/70)
This fixes potential [alignment issues](https://github.com/linebender/tiny-skia/issues/70)
and make the code easier to understand.
Thanks to [@e00E](https://github.com/e00E)
- `PathBuilder::push_rect` accepts `Rect` and not `f32` numbers now.
Expand Down Expand Up @@ -248,31 +248,31 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- Bindings to a stripped down Skia fork.

[Unreleased]: https://github.com/RazrFalcon/tiny-skia/compare/v0.11.4...HEAD
[0.11.4]: https://github.com/RazrFalcon/tiny-skia/compare/v0.11.3...v0.11.4
[0.11.3]: https://github.com/RazrFalcon/tiny-skia/compare/v0.11.2...v0.11.3
[0.11.2]: https://github.com/RazrFalcon/tiny-skia/compare/v0.11.1...v0.11.2
[0.11.1]: https://github.com/RazrFalcon/tiny-skia/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.9.1...v0.10.0
[0.9.1]: https://github.com/RazrFalcon/tiny-skia/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.8.4...v0.9.0
[0.8.4]: https://github.com/RazrFalcon/tiny-skia/compare/v0.8.3...v0.8.4
[0.8.3]: https://github.com/RazrFalcon/tiny-skia/compare/v0.8.2...v0.8.3
[0.8.2]: https://github.com/RazrFalcon/tiny-skia/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/RazrFalcon/tiny-skia/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.6...v0.7.0
[0.6.6]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.5...v0.6.6
[0.6.5]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.4...v0.6.5
[0.6.4]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.3...v0.6.4
[0.6.3]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.2...v0.6.3
[0.6.2]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/RazrFalcon/tiny-skia/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.5.1...v0.6.0
[0.5.1]: https://github.com/RazrFalcon/tiny-skia/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.4.2...v0.5.0
[0.4.2]: https://github.com/RazrFalcon/tiny-skia/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/RazrFalcon/tiny-skia/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/RazrFalcon/tiny-skia/compare/v0.2.0...v0.3.0
[Unreleased]: https://github.com/linebender/tiny-skia/compare/v0.11.4...HEAD
[0.11.4]: https://github.com/linebender/tiny-skia/compare/v0.11.3...v0.11.4
[0.11.3]: https://github.com/linebender/tiny-skia/compare/v0.11.2...v0.11.3
[0.11.2]: https://github.com/linebender/tiny-skia/compare/v0.11.1...v0.11.2
[0.11.1]: https://github.com/linebender/tiny-skia/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/linebender/tiny-skia/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/linebender/tiny-skia/compare/v0.9.1...v0.10.0
[0.9.1]: https://github.com/linebender/tiny-skia/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/linebender/tiny-skia/compare/v0.8.4...v0.9.0
[0.8.4]: https://github.com/linebender/tiny-skia/compare/v0.8.3...v0.8.4
[0.8.3]: https://github.com/linebender/tiny-skia/compare/v0.8.2...v0.8.3
[0.8.2]: https://github.com/linebender/tiny-skia/compare/v0.8.1...v0.8.2
[0.8.1]: https://github.com/linebender/tiny-skia/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/linebender/tiny-skia/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/linebender/tiny-skia/compare/v0.6.6...v0.7.0
[0.6.6]: https://github.com/linebender/tiny-skia/compare/v0.6.5...v0.6.6
[0.6.5]: https://github.com/linebender/tiny-skia/compare/v0.6.4...v0.6.5
[0.6.4]: https://github.com/linebender/tiny-skia/compare/v0.6.3...v0.6.4
[0.6.3]: https://github.com/linebender/tiny-skia/compare/v0.6.2...v0.6.3
[0.6.2]: https://github.com/linebender/tiny-skia/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/linebender/tiny-skia/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/linebender/tiny-skia/compare/v0.5.1...v0.6.0
[0.5.1]: https://github.com/linebender/tiny-skia/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/linebender/tiny-skia/compare/v0.4.2...v0.5.0
[0.4.2]: https://github.com/linebender/tiny-skia/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/linebender/tiny-skia/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/linebender/tiny-skia/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/linebender/tiny-skia/compare/v0.2.0...v0.3.0
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
description = "A tiny Skia subset ported to Rust."
documentation = "https://docs.rs/tiny-skia/"
readme = "README.md"
repository = "https://github.com/RazrFalcon/tiny-skia"
repository = "https://github.com/linebender/tiny-skia"
license = "BSD-3-Clause"
keywords = ["2d", "rendering", "skia"]
categories = ["rendering"]
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tiny-skia
![Build Status](https://github.com/RazrFalcon/tiny-skia/workflows/Rust/badge.svg)
![Build Status](https://github.com/linebender/tiny-skia/workflows/Rust/badge.svg)
[![Crates.io](https://img.shields.io/crates/v/tiny-skia.svg)](https://crates.io/crates/tiny-skia)
[![Documentation](https://docs.rs/tiny-skia/badge.svg)](https://docs.rs/tiny-skia)

Expand All @@ -12,7 +12,7 @@ And while `tiny-skia` is definitely tiny, it support all the common 2D operation
like: filling and stroking a shape with a solid color, gradient or pattern;
stroke dashing; clipping; images blending; PNG load/save.
The main missing feature is text rendering
(see [#1](https://github.com/RazrFalcon/tiny-skia/issues/1)).
(see [#1](https://github.com/linebender/tiny-skia/issues/1)).

**Note:** this is not a Skia replacement and never will be. It's more of a research project.

Expand Down Expand Up @@ -45,7 +45,7 @@ and adds around 200KiB to your binary.

Currently, `tiny-skia` is 20-100% slower than Skia on x86-64 and about 100-300% slower on ARM.
Which is still faster than [cairo] and [raqote] in many cases.
See benchmark results [here](https://razrfalcon.github.io/tiny-skia/x86_64.html).
See benchmark results [here](https://linebender.github.io/tiny-skia/x86_64.html).

The heart of Skia's CPU rendering is
[SkRasterPipeline](https://github.com/google/skia/blob/master/src/opts/SkRasterPipeline_opts.h).
Expand Down Expand Up @@ -137,4 +137,4 @@ The same as used by [Skia]: [New BSD License](./LICENSE)
[Skia]: https://skia.org/
[cairo]: https://www.cairographics.org/
[raqote]: https://github.com/jrmuizel/raqote
[resvg]: https://github.com/RazrFalcon/resvg
[resvg]: https://github.com/linebender/resvg
4 changes: 2 additions & 2 deletions benches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Benchmarking is hard... (c)

## Results

[x86-64 Results](https://razrfalcon.github.io/tiny-skia/x86_64.html)
[x86-64 Results](https://linebender.github.io/tiny-skia/x86_64.html)

[ARM Results](https://razrfalcon.github.io/tiny-skia/arm.html)
[ARM Results](https://linebender.github.io/tiny-skia/arm.html)

## Running benchmarks

Expand Down
2 changes: 1 addition & 1 deletion path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
description = "A tiny-skia Bezier path implementation"
documentation = "https://docs.rs/tiny-skia-path/"
readme = "README.md"
repository = "https://github.com/RazrFalcon/tiny-skia/tree/master/path"
repository = "https://github.com/linebender/tiny-skia/tree/master/path"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be:

Suggested change
repository = "https://github.com/linebender/tiny-skia/tree/master/path"
repository = "https://github.com/linebender/tiny-skia"

The docs (https://doc.rust-lang.org/cargo/reference/manifest.html#the-repository-field) are a bit underspecified

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, either. But as is, the "Repository" link on https://crates.io/crates/tiny-skia-path is more useful IMO.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, should this not at least have been changed to /main/?

Incidentally, the advantage of repository as documented is that it's the URL you'd use if you wanted to add a git dependency on the project.
A quick check:

  • tracing uses the top-level repository
  • serde uses the top-level repository
  • Vello uses the top-level repository
  • Naga uses the GitHub specific path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, should this not at least have been changed to /main/?

Probably, yeah. GitHub does redirect it, though, so it'll be just another cleanup.

I'll defer to actual Rust users on crate metadata, but I'm inclined to agree with you.

license = "BSD-3-Clause"
keywords = ["graphics", "bezier", "path", "dash", "stroke"]
categories = ["graphics"]
Expand Down
4 changes: 2 additions & 2 deletions path/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# tiny-skia-path
![Build Status](https://github.com/RazrFalcon/tiny-skia/workflows/Rust/badge.svg)
![Build Status](https://github.com/linebender/tiny-skia/workflows/Rust/badge.svg)
[![Crates.io](https://img.shields.io/crates/v/tiny-skia-path.svg)](https://crates.io/crates/tiny-skia-path)
[![Documentation](https://docs.rs/tiny-skia-path/badge.svg)](https://docs.rs/tiny-skia-path)

A [tiny-skia](https://github.com/RazrFalcon/tiny-skia) Bezier path implementation.
A [tiny-skia](https://github.com/linebender/tiny-skia) Bezier path implementation.

Provides a memory-efficient Bezier path container, path builder, path stroker and path dasher.

Expand Down
2 changes: 1 addition & 1 deletion path/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

//! A [tiny-skia](https://github.com/RazrFalcon/tiny-skia) Bezier path implementation.
//! A [tiny-skia](https://github.com/linebender/tiny-skia) Bezier path implementation.
//!
//! Provides a memory-efficient Bezier path container, path builder, path stroker and path dasher.
//!
Expand Down