-
Notifications
You must be signed in to change notification settings - Fork 149
Rewrite it in Rust #317
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
Merged
+6,230
−2
Merged
Rewrite it in Rust #317
Changes from 2 commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
bf2c3c5
Parse CLI options, including presets
teohhanhui 39b44ad
Merge pull request #1 from teohhanhui/riir
teohhanhui 3b94b94
Merge remote-tracking branch 'origin/master' into riir
teohhanhui 4f9e6de
Add xenogender preset
teohhanhui 2904451
Parse the rest of the CLI options
teohhanhui ae1f6a2
Get distro name from neofetch
teohhanhui e3b220a
Switch to tracing
teohhanhui 974c451
Fix distro overriding
teohhanhui 6e0e3fd
Merge pull request #2 from teohhanhui/riir
teohhanhui 7c874a8
Enable color output in bpaf
teohhanhui 1160193
Generate distros.rs on build
teohhanhui 9278035
Merge pull request #3 from teohhanhui/riir
teohhanhui 474c339
Set default-run in Cargo.toml
teohhanhui fd413ca
Add some more scaffolding
teohhanhui 274440e
Merge pull request #4 from teohhanhui/riir
teohhanhui 955046c
[rust] implement list_distros match_condition method in rust
venketaa 517dde4
Merge pull request #5 from Venketaramana/riir
teohhanhui c1b3091
Clean up build.rs
teohhanhui 4f1efbc
Merge pull request #8 from teohhanhui/riir
teohhanhui d1d99da
Implement neofetch_util functions
teohhanhui a0856aa
Merge pull request #11 from teohhanhui/riir
teohhanhui 86e442b
Parse config
teohhanhui 3c355f5
Merge pull request #12 from teohhanhui/riir
teohhanhui b0737a3
Apply lightness to preset color profile
teohhanhui 475b10b
Merge pull request #13 from teohhanhui/riir
teohhanhui 5921368
Add more scaffolding
teohhanhui ff46c8f
Merge pull request #14 from teohhanhui/riir
teohhanhui be70233
Implement recolored ascii output
teohhanhui 46b6182
Merge pull request #15 from teohhanhui/riir
teohhanhui c100ca5
Implement recoloring of ascii art that don't use fore-back
teohhanhui 66491a4
Implement recoloring of ascii art using "custom" colors
teohhanhui 1239e86
Merge pull request #16 from teohhanhui/riir
teohhanhui fa66bb4
Run neofetch using git bash on Windows
teohhanhui 290da7c
Fix path normalization on Windows
teohhanhui d773c69
Merge pull request #17 from teohhanhui/riir
teohhanhui f3b1840
Tie fore-back to distro ascii instead of config
teohhanhui 85a85ad
Merge pull request #18 from teohhanhui/riir
teohhanhui 3cc26d7
Fix wrong line length counting of ascii art
teohhanhui 965b009
Support fastfetch backend
teohhanhui ca583bd
Merge pull request #19 from teohhanhui/riir
teohhanhui 66b57cf
[WIP] Implement `--config` option
teohhanhui 4861744
Merge pull request #20 from teohhanhui/riir
teohhanhui 114de9b
Prompt for preset selection
teohhanhui d79196a
Merge pull request #21 from teohhanhui/riir
teohhanhui d11f6f0
Use selected backend to get distro name
teohhanhui 8514629
Merge pull request #22 from teohhanhui/riir
teohhanhui e2d538d
Attempt to better support fallback executable paths on Windows
teohhanhui dbecd3d
Merge pull request #23 from teohhanhui/riir
teohhanhui da5f6ef
Switch to terminal-colorsaurus
teohhanhui a5de091
Implement select_lightness
teohhanhui 198742e
Merge pull request #24 from teohhanhui/riir
teohhanhui 6e28482
Fix git-bash finding in Windows not working properly
springmaple e10bdac
Merge pull request #25 from springmaple/riir
teohhanhui 19e3b38
Use same-file only on Windows
teohhanhui 66b08f7
Implement selection of color alignment
teohhanhui 5517283
Merge pull request #26 from teohhanhui/riir
teohhanhui d8f3302
Implement "check term size" and select_color_mode
teohhanhui de43bf7
Merge pull request #27 from teohhanhui/riir
teohhanhui e25684c
Use rainbow preset for color testing
teohhanhui 0a31cd0
Merge pull request #29 from teohhanhui/riir
teohhanhui cd18581
Fix escaped backslashes in output ascii art by unescaping them
luna-1024 a558cf7
Fix stray newlines
teohhanhui 2613471
Merge pull request #28 from luna-1024/riir-fix-escaped-backslashes
teohhanhui 0c7c43d
Merge pull request #31 from teohhanhui/riir
teohhanhui 14ff66b
Support foreground-background for vertical color alignment
teohhanhui 8edb50c
Merge pull request #32 from teohhanhui/riir
teohhanhui 13ead43
Implement select_backend and save config
teohhanhui 2a8cd48
Merge pull request #33 from teohhanhui/riir
teohhanhui c80a618
Handle name clashes in ascii distro patterns
teohhanhui 683d1fc
Move create_config to Config::create_config
teohhanhui bdd03a3
Merge remote-tracking branch 'origin/master' into riir
teohhanhui c7295eb
Add debug in recolor_ascii to see fields from tracing::instrument
teohhanhui fe7d902
Add `macchina` backend
teohhanhui 632296d
Merge pull request #34 from teohhanhui/riir
teohhanhui c258621
Remove `fastfetch-old` backend
teohhanhui a7c277c
Move `create_config` back to hyfetch.rs
teohhanhui 4e3ec26
created --june pride month animation! still needs some work though. c…
89e5342
FIxed most bugs, should be working fine now?
f47561c
Clean up pride_month.rs
teohhanhui 370b56c
Merge pull request #35 from 1337isnot1337/riir
teohhanhui c279512
Fix all the line iterators
teohhanhui fe7ed92
Merge pull request #37 from teohhanhui/riir
teohhanhui cbe176f
Remove `--c-overlay` option
teohhanhui f976781
Merge pull request #38 from teohhanhui/riir
teohhanhui a5913cc
Fix nits
teohhanhui 28f98a4
Use checked arithmetic
teohhanhui 55b0eed
Merge pull request #39 from teohhanhui/riir
teohhanhui 4c72ed6
Use structs to represent ascii art in different states of processing
teohhanhui 2f18cc2
Merge pull request #40 from teohhanhui/riir
teohhanhui 6ccf0d9
Put fore-back color indices in ascii art structs
teohhanhui 52844b5
Merge pull request #41 from teohhanhui/riir
teohhanhui bcdc720
Track only fg color indices in ascii art; the rest are bg colors
teohhanhui faa7ab2
Merge pull request #42 from teohhanhui/riir
teohhanhui 2865ee7
Add more fg distros
teohhanhui 0036935
Fix vertical fore-back coloring when span is empty
teohhanhui 13e2932
Use "alternate screen" for Pride month animation
teohhanhui ebd2535
Merge pull request #43 from teohhanhui/riir
teohhanhui 7c13959
Use fastfetch as fallback on platforms other than *nix
teohhanhui 474f744
Default to fastfetch if it is installed
teohhanhui a51a196
Add missing upstream flags
e04ef3b
Add note of where polyam colours were pulled from
catumin b33b266
Merge pull request #44 from BKasin/riir
teohhanhui b2f7a3c
Merge remote-tracking branch 'origin/master' into riir
teohhanhui 0ca67a5
Set foreground colors for the newly added distro logos
teohhanhui File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.