49 Commits

Author SHA1 Message Date
Alexandre Pasmantier
d00d8e4f84 chore: bump to 0.9.1 2025-01-09 14:28:06 +01:00
Alex Pasmantier
d9ca7b1f9d
feat(cable): allow custom cable channels to override builtins (#260) 2025-01-09 14:24:37 +01:00
Alex Pasmantier
3b7fb0c6d6
refactor(cable): stream in cable results + better error logging + default delimiter consistency (#257) 2025-01-09 13:30:31 +01:00
Alex Pasmantier
853da49425
chore: bump to 0.9.0 (#249) 2025-01-07 23:29:14 +01:00
Alex Pasmantier
8b5beee1dc
perf: drop deduplication when loading cable candidate lines (#248)
related to #194
2025-01-07 17:59:44 +01:00
Alex Pasmantier
072ecdba73
perf: only display the first 200 log entries when previewing git-repos (#241) 2025-01-07 12:49:09 +01:00
Alex Pasmantier
a2a264cc4d
fix(ingestion): use lossy conversion when source doesn't produce valid utf8 (#240)
Fixes #233
2025-01-07 12:41:57 +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
263e88beb6
chore(deps): mutualize workspace dependencies (#236) 2025-01-07 01:09:14 +01:00
Alex Pasmantier
e2398abcfa
feat(channels): allow sending currently selected entries to other channels (#235)
Related to #229
2025-01-07 00:35:14 +01:00
Alex Pasmantier
2e5f65baef
feat(channels): add support for multi selection (#234)
Fixes #229 

<img width="1793" alt="Screenshot 2025-01-07 at 00 12 18"
src="https://github.com/user-attachments/assets/f2158c70-b3ab-4c14-8856-eb8463efef8a"
/>
2025-01-07 00:13:05 +01:00
Alex Pasmantier
d20784891f
chore: fix linting warnings (#230) 2025-01-06 19:23:28 +01:00
Osma S. Rautila
da2396e19a
chore(linting): add workspace lints (#228)
Hey, nice work. There's a lot of potential, and the idea of custom
channels with custom run commands is very appealing.

I was looking at the source, but clippy pedantic lints threw a lot of
warnings and I noticed the project did not have a linting profile. I
threw together a profile here, but it does leave a fair amount of
warnings in. Maybe some variation of this, or another linting profile
could be considered to guide future contributors on style decisions.
Cheers

---------

Co-authored-by: Alexandre Pasmantier <alex.pasmant@gmail.com>
2025-01-06 18:24:56 +01:00
Alexandre Pasmantier
6536bbf323 chore: bump to 0.8.8 2025-01-06 13:46:41 +01:00
Alex Pasmantier
3d49d308c1
refactor(cable): more debug information for cable channels (#223) 2025-01-06 13:39:41 +01:00
Alexandre Pasmantier
8cae59256d chore: bump to 0.8.5 2024-12-31 18:54:48 +01:00
Alex Pasmantier
53afed28ee
chore: bump workspace to 0.0.16 (#189) 2024-12-30 22:55:22 +01:00
Alex Pasmantier
7434f1476a
chore: bump to 0.8.1 (#176) 2024-12-30 00:57:54 +01:00
Alex Pasmantier
08fa41b06c
fix(channels): use the number of actual bytes read and not the sample buffer size when calculating the proportion of printable ASCII characters (#174)
Fixes #173
2024-12-30 00:22:04 +01:00
Alex Pasmantier
1bc6f12782
chore: bump to 0.8.0 (#165) 2024-12-29 02:07:50 +01:00
Alex Pasmantier
ee71e4788f
feat(cable): using builtin previewers inside cable channel prototypes (#156) 2024-12-28 19:35:21 +01:00
Alex Pasmantier
e034615594
feat(cable): make preview optional for cable channels (#155) 2024-12-28 18:42:18 +01:00
Alex Pasmantier
68d118986c
feat(shell): autocompletion plugin for zsh (#145) 2024-12-25 18:53:50 +01:00
Alexandre Pasmantier
18c5213e83
feat(channels): new channel for directories and associated transitions (#130) 2024-12-15 18:04:26 +01:00
Alexandre Pasmantier
a8e3ea5f89
chore(version): bump workspace to 0.7.0 (#127) 2024-12-15 14:30:25 +01:00
Alexandre Pasmantier
9809e742d8
fix(stdin): trim entry newlines when streaming from stdin (#121) 2024-12-15 00:35:10 +01:00
Alexandre Pasmantier
937d0f0758
feat(cable): support cable channel invocation through the cli (#116) 2024-12-14 17:47:36 +01:00
Bertrand Chardon
a4d15af694
perf: optimize entry ranges (#110) 2024-12-09 23:39:06 +01:00
Alexandre Pasmantier
758bfc290a
perf(ui): improve merging of continuous name match ranges (#109)
### main
```
results_list            time:   [17.800 µs 17.836 µs 17.869 µs]
                        change: [-0.7235% -0.4176% -0.1185%] (p = 0.01 < 0.05)
                        Change within noise threshold.
Found 3 outliers among 100 measurements (3.00%)
  3 (3.00%) high mild
```

### this branch
```
results_list            time:   [12.780 µs 12.789 µs 12.798 µs]
                        change: [-28.381% -28.218% -28.059%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
  1 (1.00%) high mild
  4 (4.00%) high severe
```
2024-12-09 14:08:28 +01:00
Bertrand Chardon
5fb02c768f
perf: merge contiguous name match ranges (#108)
in the entries that are used in the `build_results_list` function in
`television-screen::results`, it seems like there the ranges returned
are sometimes contiguous

since they're used to create `ratatui` spans, we want to reduce them to
their minimal equivalent form
2024-12-08 23:21:34 +01:00
Alexandre Pasmantier
ffc8dae494
chore: bump workspace to 0.6.2 (#104) 2024-12-06 10:46:53 +01:00
liyixin
f9d33e4797
fix(windows): use cmd on windows instead of sh (#102)
Co-authored-by: liyixin <root@liyixin-test.sci-inv.cn>
2024-12-06 10:37:44 +01:00
Alexandre Pasmantier
795db19fff
fix(cable): add cable to unit channel variants (#96)
fixes #95
2024-12-05 20:36:01 +01:00
Alexandre Pasmantier
ad3e52d340
feat(remote): distinguish cable channels with a separate icon (#94) 2024-12-05 16:27:27 +01:00
Alexandre Pasmantier
a5f5d20071
feat(cable): add support for custom channels (#75) 2024-12-05 00:34:09 +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
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
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
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
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
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
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
d0f023cf18 chore(versions): bump workspace crates versions 2024-11-16 18:01:25 +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
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