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
Kreijstal
1402db3eba
only libpoppler 23 is supported which doesn't come with ubuntu
2024-11-16 12:12:04 +01:00
Kreijstal
2d43c1e513
Create rust.yml
...
Adding sccache for speedup
2024-11-16 11:27:55 +01: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
v0.1.0
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
ab7a3357a1
Small cleanups and dep updates
2024-09-05 21:26:01 -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
d4d144d53a
Update dependencies and fix main personal ratatui branch
2024-07-11 23:41:40 -06:00
itsjunetime
667795b664
Fix build_most_optimized failing to get target for macos and some others
2024-06-24 10:54:56 -06:00
itsjunetime
34c51f07d6
Update deps
2024-06-23 12:26:32 -06:00
itsjunetime
fc51bca664
Fix benchmarks which were not correctly measuring what they were supposed to
2024-06-08 11:36:56 -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
017596a8b0
Add extra method to detect window size on terminals that don't handle ioctls correctly
2024-05-31 00:38:41 -06:00
itsjunetime
1e89a93879
Add license
2024-05-29 11:58:22 -06:00
itsjunetime
51b49b0111
Update deps and add hot reloading feature line to README
2024-05-28 15:33:18 -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
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
aaa5b0b7ed
Add formatter and format
2024-05-26 16:35:36 -06:00
itsjunetime
578f67deb6
Add toolchain file
2024-05-26 16:34:28 -06:00
itsjunetime
2a1c2db474
Update ratatui-image with vb64 conditional usage
2024-05-26 16:33:48 -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