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

Move promotion rules and some typealiases to ColorTypes.jl v0.10 #403

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

kimikage
Copy link
Collaborator

@kimikage kimikage commented Feb 17, 2020

We are currently undergoing a major renovation of ColorTypes.jl. So, this PR is a preview.

Since gray-->rgb conversions were supported and some rgb-->rgb conversions were fixed in ColorTypes.jl v0.10, this PR delegates the conversions to ColorType.jl.

@kimikage

This comment has been minimized.

src/conversions.jl Show resolved Hide resolved
@kimikage
Copy link
Collaborator Author

kimikage commented Mar 6, 2020

TODO:

It is undecided whether to eliminate the unnecessary conversion methods that are not directly related to this PR.

src/conversions.jl Outdated Show resolved Hide resolved
@kimikage kimikage force-pushed the colortypes_migration branch from 9bc065c to 4ef39c6 Compare March 12, 2020 12:25
@kimikage kimikage marked this pull request as ready for review March 12, 2020 12:26
@kimikage kimikage force-pushed the colortypes_migration branch from 4ef39c6 to 37997e0 Compare March 13, 2020 11:40
@codecov
Copy link

codecov bot commented Mar 13, 2020

Codecov Report

Merging #403 into master will increase coverage by 0.51%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #403      +/-   ##
==========================================
+ Coverage   81.95%   82.46%   +0.51%     
==========================================
  Files          11       10       -1     
  Lines         892      867      -25     
==========================================
- Hits          731      715      -16     
+ Misses        161      152       -9
Impacted Files Coverage Δ
src/Colors.jl 100% <ø> (ø) ⬆️
src/conversions.jl 97.84% <100%> (+1.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cfe475...911cfc7. Read the comment docs.

@kimikage kimikage force-pushed the colortypes_migration branch from 37997e0 to 50ed0fb Compare March 13, 2020 12:52
Since gray-->rgb conversions were supported and some rgb-->rgb conversions were fixed in ColorTypes.jl,
this commit delegates the conversions to ColorType.jl.
@kimikage kimikage force-pushed the colortypes_migration branch from 50ed0fb to 911cfc7 Compare March 13, 2020 13:37
@kimikage
Copy link
Collaborator Author

After the typo has been corrected, I will merge this PR and release Colors v0.12.

Closes #399 and Closes #414.

@kimikage kimikage merged commit 7cb350b into JuliaGraphics:master Mar 13, 2020
@kimikage kimikage deleted the colortypes_migration branch March 13, 2020 14:04
@kimikage
Copy link
Collaborator Author

Thank you for the recent reviews, @timholy

@timholy
Copy link
Member

timholy commented Mar 13, 2020

Thanks for doing all the heavy lifting, @kimikage! You can just feel the quality shining through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants