13 Commits

Author SHA1 Message Date
Alex Pasmantier
8bbebf7e57
fix(syntect): switch back to oniguruma while investigating parsing issues (#292)
Temp fix for #289
2025-01-20 12:09:00 +01:00
Alex Pasmantier
a3dc8196aa
perf(preview): add partial preview rendering and buffer preview requests (#285) 2025-01-19 18:16:34 +01:00
Alex Pasmantier
0624002f35
perf: use FxHash instead of SipHash where it makes sense (#237) 2025-01-07 02:11:12 +01:00
Alex Pasmantier
d20784891f
chore: fix linting warnings (#230) 2025-01-06 19:23:28 +01:00
Alex Pasmantier
2acfc41ceb
feat(ui): respect BAT_THEME env var for previewer syntax highlighting theme (#201)
Fixes #169
2024-12-31 18:53:20 +01:00
Alexandre Pasmantier
a5f5d20071
feat(cable): add support for custom channels (#75) 2024-12-05 00:34:09 +01:00
Alexandre Pasmantier
128a6116c3
fix(preview): remove redundant tokio task when generating builtin file previews (#86) 2024-11-28 00:34:32 +01:00
Bertrand Chardon
4bea114635 perf: remove unnecessary clone() calls (#83)
perf: remove redundant clone() calls
2024-11-27 23:54:08 +01:00
Alexandre Pasmantier
84d54b5751
perf(preview): cap the number of concurrent preview tokio tasks in the background (#67)
* perf(preview): cap the number of concurrent preview tokio tasks in the background

* perf(preview): check filesize asynchronously to avoid blocking the UI

* ci(changelog): fix action permissions
2024-11-24 16:00:06 +01:00
Alexandre Pasmantier
edd9df4e29
fix(entry): always preserve raw input + match ranges conversions (#62)
* fix(entry): preserve raw input

* chore(version): bump workspace crates and television

* test: add tests for replace_non_printable and cleanup commented out code

* chore(changelog): update changelog (auto)

* chore(deps): update cargo dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-24 00:20:04 +01:00
Alexandre Pasmantier
f0e1115bab
build(infer): drop infer dependency and refactor code to a simpler heuristic (#58)
* build(infer): drop infer dependency and refactor code to a simpler heuristic

* Update changelog

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-23 00:37:39 +01:00
Alexandre Pasmantier
565283babb
chore(deps): shed off unessential dependencies (#52) 2024-11-20 21:32:23 +01:00
Alexandre Pasmantier
5611ee8b2d
refactor(workspace): reorganize cargo workspace (#12) 2024-11-11 15:15:24 +01:00