88 Commits

Author SHA1 Message Date
Alexandre Pasmantier
a93908fd13 refactor(simd): improvement attempt broke the whole thing 2024-12-01 21:33:46 +01:00
Alexandre Pasmantier
d88e5f7968 refactor(simd): try out a simd matcher 2024-12-01 00:29:37 +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
30f1940815
refactor(exit): use std::process::exit explicitly (#84) 2024-11-27 23:07:02 +01:00
Alexandre Pasmantier
d3c16af4e9
fix(stdin): better handling of long running stdin streams (#81)
fix: long running pipes
2024-11-27 22:56:30 +01:00
Alexandre Pasmantier
1ebec7ead2
fix(output): quote output string when it contains spaces and points to an existing path (#77) 2024-11-26 10:53:14 +01:00
Alexandre Pasmantier
220671106e
feat(layout): allow reversing the layout and placing input bar on top (#76) 2024-11-25 21:32:41 +01:00
Alexandre Pasmantier
2fc9bd9e80 chore: bump crate to 0.5.3 and workspace crates to 0.0.7 2024-11-24 17:01:24 +01:00
Alexandre Pasmantier
6d3965152e
feat(navigation): add action to scroll results list by a page (#72) 2024-11-24 16:54:35 +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
b757305d7a
refactor(picker): refactor picker logic and add tests to picker, cli, and events (#57)
* refactor(picker): refactor picker logic and add tests for picker, cli and events

* Update changelog

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-23 00:33:15 +01:00
Fred Morcos
21cdaaee42
fix: quote file names that contain spaces when printing them to stdout (#51) 2024-11-21 00:29:49 +01:00
Alexandre Pasmantier
d3564f2aca chore: bump version to 0.5.1 2024-11-21 00:09:30 +01:00
Alexandre Pasmantier
565283babb
chore(deps): shed off unessential dependencies (#52) 2024-11-20 21:32:23 +01:00
Fred Morcos
44de19a01e
Display stdin more intuitively top-down instead of bottom-up (#50)
* fix: Don't include empty lines and whitespace when precessing stdin

* fix: Display stdin more intuitively top-down instead of bottom-up
2024-11-20 13:40:16 +01:00
Alexandre Pasmantier
40d5b20c7d
feat(ui): make the top UI help bar toggleable (#41) 2024-11-19 00:07:53 +01:00
Alexandre Pasmantier
75d0bf7b6b
refactor(config)!: make action names snake case in keybinding configuration (#40) 2024-11-18 23:58:02 +01:00
Alexandre Pasmantier
5807cda45d
feat(cli): allow passing passthrough keybindings via stdout for the parent process to deal with (#39) 2024-11-18 23:48:48 +01:00
Alexandre Pasmantier
512afa2fda
feat(ui): make help bar display optional (#35) 2024-11-16 20:32:40 +01:00
Alexandre Pasmantier
aa2f2609a4
refactor(configuration): modularize code and better handling of default options (#32)
* fix(config): set ui default configuration values

* refactor(configuration): modularize code and better handling of default options
2024-11-16 19:48:46 +01:00
Alexandre Pasmantier
d0f023cf18 chore(versions): bump workspace crates versions 2024-11-16 18:01:25 +01:00
Alexandre Pasmantier
06a4feb9f2
fix(config): swap out default keymaps with user defined ones instead of stacking (#26)
* fix(config): swap out default keymaps with user defined ones instead of stacking

* fix default configuration fallback
2024-11-15 15:16:00 +01:00
Alexandre Pasmantier
4f0daec63d
refactor(channels): converting between entries and channels is now generic over channels (#25) 2024-11-15 00:05:52 +01:00
Alexandre Pasmantier
ff25fb2dde
fix(windows): #20 respect TELEVISION_CONFIG env var on windows (#21)
* fix: remove org name from default platform config and data dirs

* fix: adjust config and data dirs fallback logic

* patch

* update README
2024-11-14 00:08:19 +01:00
Alexandre Pasmantier
b1fe0182f8
fix(cargo workspace): fix cargo workspace structure and dependencies (#15)
* fix(cargo workspace): fix cargo workspace dependencies

* add bump and publish scripts

* more version automation scripts
2024-11-11 20:31:22 +01:00
Alexandre Pasmantier
5611ee8b2d
refactor(workspace): reorganize cargo workspace (#12) 2024-11-11 15:15:24 +01:00
Alexandre Pasmantier
62073d69cc
perf(preview): remove temporary plaintext previews in favor of loading message preview (#10)
* perf(preview): remove temporary plaintext previews in favor of a loading message

* linting

* dead code
2024-11-11 13:49:46 +01:00
Alexandre Pasmantier
81cf17bd5d
fix(config): more consistent configuration file location for linux and macos (#9) 2024-11-11 12:06:46 +01:00
tranzystorekk
097c657b55
chore(deps): disable bat dependency application features (#5) 2024-11-11 11:17:49 +01:00
Alexandre Pasmantier
b3760d2259
fix(windows): bump television_utils to v0.0.1 (#4)
* fix: bump television_utils

* bump television to 0.4.19
2024-11-11 01:36:55 +01:00
Erich Gubler
e475523c79
fix(windows): ignore KeyEventKind::Release events (#3) 2024-11-11 00:55:39 +01:00
Alexandre Pasmantier
c70e675655 fix: add winapi-util dependency for windows builds 2024-11-10 21:18:24 +01:00
Alexandre Pasmantier
b0ab8a179a docs: some work on CONTRIBUTING.md 2024-11-10 19:39:53 +01:00
Alexandre Pasmantier
79da161943 chore: add license to syntax snippet 2024-11-10 14:52:27 +01:00
Alexandre Pasmantier
32c114aa9f fix: gag stdout and stderr while loading theme assets to silence bat warning 2024-11-10 14:49:09 +01:00
Alexandre Pasmantier
96976d93cb docs: update README.md 2024-11-10 02:30:08 +01:00
Alexandre Pasmantier
b04e182453 chore(previewers): unused attributes 2024-11-10 01:19:41 +01:00
Alexandre Pasmantier
5b57d6b290 chore: update workspace crates configurations 2024-11-10 01:11:10 +01:00
Alexandre Pasmantier
8dd7f23734 refactoring: more refactoring and fixing doctests 2024-11-10 01:03:12 +01:00
Alexandre Pasmantier
ae938dcfc0 refactoring: split project into separate crates 2024-11-10 00:51:58 +01:00
Alexandre Pasmantier
f449477605 fix: doctests imports 2024-11-09 23:37:38 +01:00
Alexandre Pasmantier
c1f41bf107 refactoring: extract matcher logic into separate crate 2024-11-09 23:32:04 +01:00
Alexandre Pasmantier
759815ae24 feat: more syntaxes and themes for highlighting + configuration 2024-11-09 19:44:56 +01:00
alexpasmantier
de74b619b8 fix: stabilize preview scroll initialization 2024-11-08 14:02:26 +01:00
alexpasmantier
dd14bd4f8d fix: filtering system directories in gitrepos 2024-11-08 00:40:18 +01:00
Alexandre Pasmantier
7b18c4f88d chore: unused imports and ci docs 2024-11-06 00:29:40 +01:00
Alexandre Pasmantier
4302b6189a some work on the configuration file 2024-11-06 00:25:12 +01:00