-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from GuardKenzie/v1.2.0-dev
Bindings for chafa v1.14
- Loading branch information
Showing
44 changed files
with
4,559 additions
and
3,406 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
env: | ||
CHAFA_VERSION: master | ||
|
||
build_and_store_wheels: &BUILD_AND_STORE_WHEELS | ||
install_cibuildwheel_script: | ||
- python -m pip install cibuildwheel==2.12.0 | ||
- python -m pip install cibuildwheel==2.21.1 | ||
run_cibuildwheel_script: | ||
- cibuildwheel | ||
wheels_artifacts: | ||
path: "wheelhouse/*" | ||
|
||
macos_arm64_task: | ||
name: 💪🍎 Build MacOS arm wheels. | ||
alias: macos_arm_wheels | ||
macos_instance: | ||
image: ghcr.io/cirruslabs/macos-monterey-xcode | ||
|
||
env: | ||
PATH: /opt/homebrew/opt/[email protected]/bin:$PATH | ||
install_pre_requirements_script: | ||
- brew install [email protected] | ||
- ln -s python3 /opt/homebrew/opt/[email protected]/bin/python | ||
<<: *BUILD_AND_STORE_WHEELS | ||
|
||
linux_aarch64_task: | ||
name: 💪🐧 Build Linux arm wheels. | ||
alias: linux_arm_wheels | ||
|
This file contains 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,4 +134,7 @@ dmypy.json | |
# Build stuff to ignore | ||
libs/**.dll | ||
libs/**.so | ||
wheelhouse/* | ||
wheelhouse/* | ||
|
||
# Testing | ||
src/snake.jpg |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,4 @@ | ||
# CanvasConfig | ||
|
||
- [x] Peaking at symbol maps? | ||
|
||
- [x] fill_symbol_map | ||
- [x] transparency_threshold | ||
- [x] fg_only | ||
- [x] fg and bg color | ||
- [x] work factor | ||
- [x] dithering | ||
- [x] mode | ||
- [x] intensity | ||
- [x] optimizations | ||
- [x] **DOCS** | ||
|
||
# Canvas | ||
|
||
- [ ] new_similar | ||
- [x] Peeking at config | ||
- [x] inspect characters at (x, y) | ||
- [x] inspect color at (x, y) | ||
- [x] raw color | ||
- [x] **DOCS** | ||
- [x] What argument type should `draw_pixels` accept for the pixel array? <- This is pretty much done | ||
1. array (pretty fast) | ||
2. python list and convert to array (slower than array) | ||
3. Look into `from_buffer` for use with pyvips (faster than array) | ||
4. Only ctypes array and make user handle conversion (This would be bad) | ||
|
||
# Symbol map | ||
|
||
- [x] copy | ||
- [x] adding | ||
- [x] by tags | ||
- [x] by range | ||
- [x] removing | ||
- [x] by tags | ||
- [x] by range | ||
|
||
- [x] selectors | ||
|
||
- [ ] allow builtin glyphs | ||
- [ ] get glyph | ||
- [ ] add glyph | ||
- [x] **DOCS** | ||
|
||
# TermDb | ||
|
||
- [x] copy | ||
- [x] fallback info | ||
- [x] **DOCS** | ||
|
||
# TermInfo | ||
|
||
- [x] copy | ||
- [ ] sequences | ||
- [ ] get | ||
- [ ] set | ||
- [x] supplement | ||
- [ ] **emitters!!!** | ||
- [x] **DOCS** | ||
|
||
# Misc | ||
- [x] Properly figure out how the loader should work (pretty happy with it for now but could be faster) | ||
- [x] Error handling (I think this is done?) | ||
- [ ] ~~Splitting classes into separate files?~~ (not for now) | ||
|
||
# Docs | ||
- [x] Add remaining enums | ||
- [x] Dither mode | ||
- [x] Pixel Type | ||
|
||
- [x] Docs for the loader | ||
|
||
- [x] Write a tutorial | ||
- [x] Add some examples | ||
- [x] Installation | ||
## Canvas | ||
- [ ] Bindings for print_rows | ||
- [ ] Bindings for print_rows_strv | ||
- [ ] **DOCS!!** |
This file contains 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 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
Oops, something went wrong.