Commit Graph

34 Commits

Author SHA1 Message Date
itsjunetime 69d5f96375 Update deps and do some code simplifications 2025-03-23 12:57:38 -06:00
itsjunetime 1eee193d44 Implement fullscreen functionality 2025-03-01 18:27:34 -07:00
itsjunetime d2be289e80 Implement help page and delay receiving area to hopefully improve first-page performance a bit 2025-03-01 18:04:33 -07:00
itsjunetime 70f3401702 Update to edition 2024 2025-02-21 08:58:44 -07:00
itsjunetime 9d2a730e40 Implement inverting colors 2025-02-19 15:24:27 -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 490b66b273 Update ratatui dependencies 2025-01-01 16:53:29 -07:00
itsjunetime 0129c498c2 Fix document reloading with delete-then-write editors and redo BottomMessage updating to work better 2024-12-01 13:19:18 -07:00
June 9cf4a8e0d8 Misc Fixes (#36)
* - Update deps
- Explicitly run benches in CI, specifically only adobe_example pdf to make it quicker
- Render bottom message from Cow to avoid extra allocations
- Fix issue with hitting esc after jumping around pdf

* Install perftools to get criterion compiling

* Install libunwind-dev to get perftools installing

* Build with poppler 23.10 instead of .12 to maybe prevent segfault in CI

* Go back down to 23_7 poppler?

* Maybe more apt installs will get CI to work

* Build *with* boost?
2024-11-20 09:31:26 -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 d5284be123 Update deps and make it work with notify 7 2024-10-26 15:01:56 -06:00
itsjunetime f6d339923b Update deps & remove build_most_optimized comment since benchmarks indicate it's false 2024-10-08 15:05:27 -06:00
itsjunetime 4296c92d7d Recover from 'pdf is damaged' err and update deps 2024-08-15 18:15:50 -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 eaae21b6e3 Format and fix clippy unnecessary 'as' 2024-05-27 00:37:48 -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 492fa10e11 Add backspacing for inputting search term 2024-05-26 20:17:58 -06:00
itsjunetime c6d46af82d Relax margins a bit to make it work better with less space 2024-05-26 18:36:49 -06:00
itsjunetime aaa5b0b7ed Add formatter and format 2024-05-26 16:35:36 -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 46ca98a12d Add caching of rendered pages so we don't need to re-render them after changing search term if we already rendered them without any matches 2024-05-26 15:49:51 -06:00
itsjunetime a3ad304d2d Add 'N' command to go back to prev search result 2024-05-26 15:18:10 -06:00
itsjunetime d40483d3b1 Make searching results look prettier 2024-05-26 15:08:59 -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
itsjunetime 097c2918e5 Add search functionality 2024-05-19 23:15:42 -06:00
itsjunetime 85d805acb7 Make rendering performance slightly better, maybe 2024-05-17 12:06:37 -06:00
itsjunetime 6aaa9845c9 Add converter to prerender a subset of images while being more friendly towards memory usage 2024-05-17 11:33:52 -06:00
itsjunetime ad652f3fcd Store images as Vec<u8> png data before rendering to keep memory usage lower 2024-05-16 18:35:37 -06:00
itsjunetime f298468dc8 Initial commit since things seem pretty solid 2024-05-16 18:23:11 -06:00