Commit Graph

92 Commits

Author SHA1 Message Date
itsjunetime 4d764cd4f9 it's almost working !! 2025-08-06 09:22:15 -06:00
itsjunetime b09ce88d9f Initial attempt at supporting new backend for kitty images 2025-08-06 09:22:15 -06:00
itsjunetime 777705b902 Update ratatui deps 2025-08-06 09:21:56 -06:00
itsjunetime 035185a40f Improve errors returned from main 2025-08-01 21:28:46 -06:00
itsjunetime 5542daffb6 Update deps and mark clang as dependency in README 2025-07-24 08:55:10 -06:00
itsjunetime f0a6e23f8a And use the normal values for black and white in for_profiling 2025-06-05 17:30:27 -06:00
itsjunetime f0afd22ff5 Don't tint if colors are default 2025-06-05 17:20:09 -06:00
itsjunetime 8d65f0e3f5 Update deps 2025-06-05 16:48:50 -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 061863d34c Update sccache action to get CI working again 2025-04-20 11:37:18 -06:00
itsjunetime f044a7fa4d Update deps 2025-04-20 11:19:34 -06:00
itsjunetime 475d45a6f6 Clarify some installation and build behavior in README.md 2025-04-14 12:11:02 -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 d8ee0744b8 Fix issue with search results not being highlighted sometimes 2025-03-16 21:59:36 -06:00
itsjunetime 0c81e3cc3a Better parse window size if tciogetwinsz reports it incorrectly 2025-03-15 12:26:11 -06:00
itsjunetime fc10dc8ffe Dramatically improve search performance by pausing rendering every once-in-a-while 2025-03-06 16:26:56 -07:00
itsjunetime ef8ace4f35 Use new mupdf search API 2025-03-06 10:30:05 -07:00
itsjunetime 6462c09030 fmt 2025-03-04 19:05:37 -07:00
itsjunetime 54cc2125af Update deps 2025-03-04 10:21:30 -07:00
itsjunetime d00ae5c981 Update Cargo.toml version (oops) 2025-03-01 19:15:14 -07:00
itsjunetime 36279f5258 Remove now-unnecessary loop 2025-03-01 19:12:08 -07:00
itsjunetime 70b458207a Add more details to changelog and release 0.3.0 v0.3.0 2025-03-01 19:00:18 -07: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 10e1f6cb9f Update deps 2025-02-28 10:29:23 -07:00
Mikołaj Pieczaba 7e4bee516b refactor: make fill_default use Vec::resize_with (#53) 2025-02-23 14:35:29 -07:00
itsjunetime aae1f9d37b Improve performance by better pre-allocating pixmap buffer 2025-02-21 20:56:25 -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
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 490b66b273 Update ratatui dependencies 2025-01-01 16:53:29 -07:00
itsjunetime a2b728fae3 Update deps and release 0.2.0 2024-12-03 21:25:18 -07:00
itsjunetime 0129c498c2 Fix document reloading with delete-then-write editors and redo BottomMessage updating to work better v0.2.0 2024-12-01 13:19: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 cc46791627 Update Changelog to reflect contribution from Kriejstal 2024-11-20 09:32:52 -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
June 25d98c3776 Merge pull request #31 from Kreijstal/main
some CI checks
2024-11-19 21:23:39 -07:00
June 03c2f381d9 Add format check and elevate clippy warnings to errors 2024-11-19 21:23:21 -07:00
June eb5ee99eec Add build step back to ensure linking works 2024-11-19 21:22:57 -07:00
Kreijstal 34b42cb1b2 Update .github/workflows/rust.yml
change build for clippy

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>
2024-11-17 09:12:08 +01:00
Kreijstal e3ccb26d66 Update .github/workflows/rust.yml
Removing verbose it's okay, I'm not sure if cargo test tests linking the same binary as cargo build. So I'm not sure if it should be tested, furthermore maybe it makes sense to test in release mode rather than debug mode?

Co-authored-by: June <61218022+itsjunetime@users.noreply.github.com>
2024-11-17 07:46:37 +01:00
itsjunetime 1aa26b8e8c Manually enable opinionated set of clippy lints 2024-11-16 22:03:31 -07:00
Kreijstal 1402db3eba only libpoppler 23 is supported which doesn't come with ubuntu 2024-11-16 12:12:04 +01:00