Commit Graph

52 Commits

Author SHA1 Message Date
itsjunetime 51120a16fe Pin ratatui and ratatui-image deps 2026-01-29 19:15:49 -06:00
June 7b9e1462da Release version 0.5.0 (#124) 2025-12-02 21:28:43 -06:00
Max 55e0c2b33f Implement debounce time for automatic reloading (#117) 2025-11-26 14:22:58 -06:00
itsjunetime 8f57cd02c3 - Added more lints to Cargo.toml (for fun I guess)
- Extended benchmarking system to check all protocols, not just kitty
- Updated deps
2025-11-26 12:25:56 -06:00
June 09a332f07e Update deps (#113) 2025-11-23 14:01:47 -06:00
June 7551c4dba3 Update deps and fmt (#110) 2025-11-06 18:50:19 -06:00
June 3628d21c74 Switch to stable base64 simd library (#105) 2025-09-29 17:00:29 -05:00
itsjunetime f4f3b4f539 Actually update package Cargo.toml ugh 2025-09-15 10:05:20 -05:00
itsjunetime bd5554db27 Update mupdf to use git dependency so it works on windows 2025-09-05 10:34:46 -05:00
itsjunetime 7064be32f2 Update deps including ratatui-image 2025-08-20 09:23:49 -05:00
itsjunetime 2a03294557 Release version 0.4.2 2025-08-18 10:18:26 -05:00
June b6bc76edbb New kitty image backend (#74)
* Initial attempt at supporting new backend for kitty images

* it's almost working !!

* it almost basically works

* yaaayyyy it works

* Use github kittage

* Uhhhh various improvements from kittage and psx-shm

* Remove logging

* incorporate recovering from deleted images

* Make it work correctly with ghostty image eviction too

* fall back to stdout if shms don't work

* Make help page work again

* zooming basically does what you'd expect now

* yay zooming woohoo

* clean up top and bottom rendering

* Only allow zooming in kitty

* Add debug logging and fix cursor placement after image display

* yaaaay zooming out once you're already zoomed in and respecting kitty's limits for how big of an image to display

* mmmm maybe it's finally ready to merge...

* Update deps

* Switch around list of items on changelog

* fmt

* Small fixes to avoid panic and allow zooming back in after zooming out
2025-08-06 09:34:55 -06:00
itsjunetime 777705b902 Update ratatui deps 2025-08-06 09:21:56 -06:00
JanNeuendorf e16163efb8 Custom Colors (#70)
* First implementation of custom colors

* Remove use-statement

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>

* Cleaned up help-text

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>

* Removed superfluous features from csscolorparser

* Fix for clippy

* Clarify how to pass in custom colors

* Explicitly install clippy and rustfmt in CI

* Better error handling when colors can not be parsed

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>

* More elegant type conversion

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>

* Made clippy happy

---------

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>
Co-authored-by: itsjunetime <junewelker@gmail.com>
2025-05-28 11:16:07 -06:00
itsjunetime 2f4e2a54bc Update ratatui deps with upstream 2025-05-26 13:17:31 -06:00
itsjunetime 0bfacd8757 Update deps and more-compressed image 2025-05-20 19:56:11 -06:00
itsjunetime 5c7073b31e Update to crates.io mupdf 2025-04-28 12:44:22 -06:00
itsjunetime f044a7fa4d Update deps 2025-04-20 11:19:34 -06:00
itsjunetime 69d5f96375 Update deps and do some code simplifications 2025-03-23 12:57:38 -06:00
itsjunetime 595f23de6f Fix some more issues preventing tests from finishing and causing excessive re-renders 2025-03-17 08:51:57 -06:00
itsjunetime d00ae5c981 Update Cargo.toml version (oops) 2025-03-01 19:15:14 -07:00
itsjunetime 10e1f6cb9f Update deps 2025-02-28 10:29:23 -07:00
itsjunetime 70f3401702 Update to edition 2024 2025-02-21 08:58:44 -07:00
Andrew Chu 8c10a3c4bc Enable png feature for image crate (#51)
* Enable png feature for image crate

* Fix typo
2025-02-19 12:09:37 -07:00
June 524c069b83 Rewrite with mupdf as a backend (#50)
* Initial implementation of attempted mupdf rewrite

* Change back to no resizing and don't include alpha channel in conversion

* Remove some more dead code

* Make features more modular and call search more easily

* Switch to git dependency for my fixes

* Update deps

* Fix searching hehe

* Remove unnecessary CI steps?

* fontconfig in CI

* perftools in ci

* Final adjustments to conform to mupdf changes
2025-02-19 09:59:29 -07:00
itsjunetime e123351079 Implement Ctrl+Z functionality to suspend for job control 2025-01-16 14:12:21 -07:00
itsjunetime a2b728fae3 Update deps and release 0.2.0 2024-12-03 21:25:18 -07:00
June b9a12650c6 Relicense to GPLv3 (#30)
* Relicense to GPLv3 since poppler is GPL and we must not violate that license

* Add note to README that contributions will be licensed as MPL-2.0
2024-12-01 11:30:33 -07:00
itsjunetime 65e1f1a205 Switch to mimalloc 2024-11-27 18:57:39 -07:00
itsjunetime 1aa26b8e8c Manually enable opinionated set of clippy lints 2024-11-16 22:03:31 -07:00
itsjunetime 40d46f1e2d Make tdf run on stable with --no-default-features 2024-11-15 14:14:54 -07:00
itsjunetime 927a9cb587 Update ratatui deps 2024-11-13 10:16:05 -07:00
itsjunetime e51e9d3464 Add --r-to-l and --max-wide flags to cli args 2024-11-03 16:41:58 -07:00
itsjunetime 7c13054383 Fix a few more small clippy issues 2024-10-26 15:45:20 -06:00
itsjunetime b1e26bc96b Add fields to Cargo.toml and add CHANGELOG.md 2024-10-26 15:34:11 -06:00
itsjunetime d5284be123 Update deps and make it work with notify 7 2024-10-26 15:01:56 -06:00
itsjunetime f0c0e06c1c Update deps (specifically the forks of ratatui and ratatui-image) 2024-08-10 14:30:05 -06:00
itsjunetime 248c9b073a Mostly update dependencies but also resize when terminal resizes 2024-07-29 14:11:40 -06:00
itsjunetime d4d144d53a Update dependencies and fix main personal ratatui branch 2024-07-11 23:41:40 -06:00
itsjunetime 34c51f07d6 Update deps 2024-06-23 12:26:32 -06:00
itsjunetime f893ecba4d - Add profiling with --profile-time
- Update ratatui_image to get improvements from parallelization and removing unnecessary hashing
- Add benchmarks for only converting pages (not rendering)
- Add option to define number of pages to prerender on converter
2024-06-05 00:20:18 -06:00
itsjunetime 8feea1127b - Run fmt
- Use built-in async benching
- Use custom Resize::None when making ratatui images to save some cycles
2024-06-04 16:50:51 -06:00
itsjunetime 5825849434 - Significantly improved time to render full document
- Added support for debugging with tokio-console through tracing feature
- Added extra benchmark for checking time to render first page
- Removed unwraps to just make background loops return and terminate if something goes wrong
- Modularize rendering somewhat
2024-06-04 15:46:25 -06:00
itsjunetime a86730b8da Very minor performance improvements 2024-06-04 01:12:40 -06:00
itsjunetime 7e2d0d3bea Add initial support for doing benchmarking and some starting info on how to build the benchmark stuff with poppler debug info 2024-06-03 22:16:05 -06:00
itsjunetime 1e89a93879 Add license 2024-05-29 11:58:22 -06:00
itsjunetime 9e4ee1ca97 - Remove unused oxipng dep
- throw converter onto its own task
- switch to using multi-thread runtime
- use unbounded channels in a few more places to prevent deadlocks
2024-05-27 00:30:56 -06:00
itsjunetime b783692ccc - Add README
- Optimize for speed instead of size
- Actually set contained_term in renderer to prevent unnecessary rerenders
- Add comments about usage of personal ratatui branches
2024-05-26 16:58:54 -06:00
itsjunetime c2a0e203c4 - Switch to using personal gits for ratatui and ratatui_image
- Activate vb64 feature on personal ratatui_image
- Add more detailed instructions on help string
2024-05-26 16:23:51 -06:00
itsjunetime 698cdf924a Make searching work much better and actually make the 'n' input skip to the next page with available results 2024-05-26 01:42:49 -06:00