Commit graph

1746 commits

Author SHA1 Message Date
Loric ANDRE a95ad14142 fix: show popup border unless --no-border (closes #1032) 2026-04-07 20:12:21 +02:00
Loric ANDRE 797ca70da5 docs: add bench graphs [skip ci] 2026-04-07 20:02:23 +02:00
Loric ANDRE 1eb51eecca release: v4.5.0 2026-04-07 11:15:39 +02:00
dependabot[bot] 931cd9afc9
chore(deps): bump tokio from 1.50.0 to 1.51.0 (#1029)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.50.0 to 1.51.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.50.0...tokio-1.51.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.51.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-04-07 11:01:21 +02:00
dependabot[bot] 06bfbc3e13
chore(deps): bump frizbee from 0.8.3 to 0.9.0 (#1030)
Bumps [frizbee](https://github.com/saghen/frizbee) from 0.8.3 to 0.9.0.
- [Commits](https://github.com/saghen/frizbee/compare/v0.8.3...v0.9.0)

---
updated-dependencies:
- dependency-name: frizbee
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-04-07 11:00:57 +02:00
dependabot[bot] 036fcc9455
chore(deps): bump indexmap from 2.13.0 to 2.13.1 (#1031)
Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.13.0 to 2.13.1.
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.13.0...2.13.1)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-version: 2.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-07 08:59:39 +00:00
Loric ANDRE e227cafda2 feat: better performance on small datasets 2026-04-07 10:34:12 +02:00
Xeonacid 40f0e29448
chore: deps: Only use frizbee on x86_64 and aarch64 (#1028)
* chore: deps: Only use frizbee on x86_64 and aarch64

* chore: update docs for frizbee support

* chore: docs [skip ci]

---------

Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-04-04 14:32:57 +02:00
LoricAndre 6b355e144a
feat: rename tmux -> popup and add zellij (#1027)
* feat: rename tmux -> popup and add zellij

* chore: generate completions & manpage

* Apply suggestions from code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: fixes

* chore: generate completions & manpage

* chore: misc, windows todo

* chore: disable popup on windows for now

* chore: generate completions & manpage

* fix: always quote using sh

* chore: expect

* fix: avoid nested popup invocations

* fix: tests

* fix: correctly gate popup

* chore(docs): update ARCHITECTURE.md [skip ci]

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-03 13:46:12 +02:00
Loric ANDRE a18e88aafd release: v4.4.0 2026-04-02 19:55:42 +02:00
LoricAndre 91e090e813
chore: better CI caching (#1026)
* chore: better CI caching

* chore: generate completions & manpage

* chore: add platform based key

* cache by runner os

* chore: trigger ci

* feat(bench): measure startup time

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-04-02 19:29:46 +02:00
Loric ANDRE fb17c90704 feat: add scrollbar 2026-04-01 13:44:52 +02:00
Loric ANDRE 39b120fbd8 release: v4.3.0 2026-03-31 19:29:36 +02:00
dependabot[bot] 230c2c7bd7
chore(deps): bump clap_mangen from 0.2.33 to 0.3.0 (#1025)
Bumps [clap_mangen](https://github.com/clap-rs/clap) from 0.2.33 to 0.3.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.33...clap_mangen-v0.3.0)

---
updated-dependencies:
- dependency-name: clap_mangen
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 17:17:07 +00:00
dependabot[bot] e6a997e3af
chore(deps): bump ron from 0.12.0 to 0.12.1 (#1022)
Bumps [ron](https://github.com/ron-rs/ron) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/ron-rs/ron/releases)
- [Changelog](https://github.com/ron-rs/ron/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ron-rs/ron/compare/v0.12.0...v0.12.1)

---
updated-dependencies:
- dependency-name: ron
  dependency-version: 0.12.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 17:04:06 +00:00
dependabot[bot] 71f7ead51c
chore(deps): bump roff from 1.1.0 to 1.1.1 (#1021)
Bumps [roff](https://github.com/rust-cli/roff-rs) from 1.1.0 to 1.1.1.
- [Changelog](https://github.com/rust-cli/roff-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/roff-rs/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: roff
  dependency-version: 1.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 16:50:29 +00:00
dependabot[bot] 040fe9ed2d
chore(deps): bump tui-term from 0.3.2 to 0.3.3 (#1023)
Bumps [tui-term](https://github.com/a-kenji/tui-term) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/a-kenji/tui-term/releases)
- [Changelog](https://github.com/a-kenji/tui-term/blob/development/CHANGELOG.md)
- [Commits](https://github.com/a-kenji/tui-term/compare/v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: tui-term
  dependency-version: 0.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 16:38:08 +00:00
dependabot[bot] 7ee36fdac3
chore(deps): bump insta from 1.47.1 to 1.47.2 (#1024)
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.47.1 to 1.47.2.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.47.1...1.47.2)

---
updated-dependencies:
- dependency-name: insta
  dependency-version: 1.47.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 18:25:20 +02:00
LoricAndre 1a10e405f1
feat: improve matcher & reader performance (#1020)
* chore: migrate bench.py to rust to remove python deps

* feat: replace rayon with a custom thread pool manager

* wip: insert into item_list processed_items directly from matcher

* wip: perf optimizations

* wip: perf optimizations

* wip: reader perf optimizations

* fix: skip --bench injected in bench args

* chore: add ARCHITECTURE.md

* Update src/helper/item_reader.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update src/matcher.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: use the same pool between reader and matcher

* chore: misc

* fix: tests

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-03-31 18:05:20 +02:00
Loric ANDRE 94c132a94f release: v4.2.0 2026-03-30 13:58:19 +02:00
LoricAndre 987d2a5ca7
feat: add multiline item rendering (#999)
* feat: add multiline item rendering

* chore: generate completions & manpage

* chore: use newline as default for multiline when read0 is set

* chore: generate completions & manpage

* chore: add `highlight-line'

* chore: generate completions & manpage

* feat: use multiline in history widgets

* feat: better snap tests

* feat(ci): show snap failures

* fix(ci): cross platform tests

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-03-30 13:57:09 +02:00
Loric ANDRE 7e5d441e4c release: v4.1.0 2026-03-30 10:09:55 +02:00
LoricAndre 9d12e9d420
feat: windows support (#1010)
* wip: windows support

* feat: windows support

* feat: add windows target to CI

* chore: generate completions & manpage

* Update src/util.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: cleanup & doc

* chore: generate completions & manpage

* chore: generate dist

* fix: reduplicate default test

* chore: regate tmux

* chore: remove useless test-utils feature

* fix(windows): ignore dirs in default_command

* docs: update shell docs for windows

* chore: generate completions & manpage

* chore(justfile): do not ignore failed tests

* fix: upload correct junit after profile change

* fix: always execute exit commands

* fix: windows-specific ctrl-c handling

* chore: misc docs & other updates

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: generate completions & manpage

* chore: include license in MSI installer

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Your Name <you@example.com>
2026-03-29 21:46:42 +00:00
Loric ANDRE 65c2dcde11 fix: trim whitespace in zsh hist widget (closes #1019) 2026-03-29 23:14:44 +02:00
Loric ANDRE 6332195605 fix: broken pipe in bash alt-c (closes #1018) 2026-03-29 17:57:56 +02:00
Loric ANDRE eb5d5df44b chore: minor perf 2026-03-29 17:41:47 +02:00
Loric ANDRE 78231e5244 chore: refactor engine building 2026-03-28 12:19:12 +01:00
Loric ANDRE 90e23eb86e release: v4.0.1 2026-03-28 10:10:50 +01:00
dependabot[bot] 3757038aa4
chore(deps): bump clap_complete_nushell from 4.5.10 to 4.6.0 (#1013)
Bumps [clap_complete_nushell](https://github.com/clap-rs/clap) from 4.5.10 to 4.6.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete_nushell-v4.5.10...clap_complete_nushell-v4.6.0)

---
updated-dependencies:
- dependency-name: clap_complete_nushell
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-03-28 09:51:57 +01:00
dependabot[bot] cb037fbe27
chore(deps): bump roff from 1.0.0 to 1.1.0 (#1014)
Bumps [roff](https://github.com/rust-cli/roff-rs) from 1.0.0 to 1.1.0.
- [Changelog](https://github.com/rust-cli/roff-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/roff-rs/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: roff
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-03-28 09:51:42 +01:00
dependabot[bot] 2a77f6b4c1
chore(deps): bump env_logger from 0.11.9 to 0.11.10 (#1012)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.11.9 to 0.11.10.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.9...v0.11.10)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-version: 0.11.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-03-28 09:51:32 +01:00
Loric ANDRE 7654782d64 chore: remove sonar 2026-03-28 09:41:58 +01:00
Loric ANDRE a8c56626bc chore: set rust msrv (closes #1017) 2026-03-28 09:38:28 +01:00
Douglas Griffith b9c3de302b
replace undefined awk behaviour (#1016)
I encountered a bug with the CTRL-R history behaviour in bash, and tracked it down to these awk commands. I'm not sure what changed, but according to the documentation `\0` is undefined behaviour:
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/awk.html#tagtcjh_15

I've replaced the `\0` escape sequences with the `%c` conversion which converts the int argument to a single byte character. Ref:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap05.html
2026-03-26 23:20:43 +01:00
Loric ANDRE c0a9be6b5f fix(keybindings): make sure we use the correct filtering fields 2026-03-23 23:19:10 +01:00
Loric André d40af611b6 chore(ci): add sonar directly to test workflow 2026-03-19 21:29:15 +01:00
dependabot[bot] 1fd6292bbe
chore(deps): bump clap_complete from 4.5.66 to 4.6.0 (#1005)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.66 to 4.6.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.66...clap_complete-v4.6.0)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 15:55:17 +00:00
dependabot[bot] b74ed55946
chore(deps): bump clap from 4.5.60 to 4.6.0 (#1006)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.60 to 4.6.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.60...clap_complete-v4.6.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 15:44:48 +00:00
dependabot[bot] 257f0185b0
chore(deps): bump tempfile from 3.26.0 to 3.27.0 (#1004)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.26.0 to 3.27.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.26.0...v3.27.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 15:36:05 +00:00
dependabot[bot] 9626606745
chore(deps): bump clap_mangen from 0.2.31 to 0.2.33 (#1007)
* chore(deps): bump clap_mangen from 0.2.31 to 0.2.33

Bumps [clap_mangen](https://github.com/clap-rs/clap) from 0.2.31 to 0.2.33.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.31...clap_mangen-v0.2.33)

---
updated-dependencies:
- dependency-name: clap_mangen
  dependency-version: 0.2.33
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: generate completions & manpage

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-03-19 16:27:04 +01:00
dependabot[bot] 96f3320b15
chore(deps): bump frizbee from 0.8.2 to 0.8.3 (#1008)
Bumps [frizbee](https://github.com/saghen/frizbee) from 0.8.2 to 0.8.3.
- [Commits](https://github.com/saghen/frizbee/compare/v0.8.2...v0.8.3)

---
updated-dependencies:
- dependency-name: frizbee
  dependency-version: 0.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 16:26:36 +01:00
LoricAndre 7ae0802979
chore: add sonar analysis (#1009)
* chore: add sonar analysis

* chore: add sonar config
2026-03-19 16:25:38 +01:00
d 5028ef4d0b
chore: correct typos in code, comments and documentation (#1002)
* fix: correct typos in code, comments and documentation

* chore: generate completions & manpage

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-03-12 10:19:25 +00:00
LoricAndre 926c76ee16
docs: add benchmarks to README.md [skip ci] 2026-03-11 15:31:08 +01:00
Loric ANDRE a1f420a682 chore: clippy pedantic 2026-03-10 20:33:19 +01:00
Loric ANDRE 85c6964da5 release: v4.0.0 2026-03-10 16:25:28 +01:00
dependabot[bot] 4269838f32
chore(deps): bump which from 8.0.0 to 8.0.2 (#1000)
Bumps [which](https://github.com/harryfei/which-rs) from 8.0.0 to 8.0.2.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/compare/8.0.0...8.0.2)

---
updated-dependencies:
- dependency-name: which
  dependency-version: 8.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-10 16:02:40 +01:00
Loric ANDRE 95f09a455a chore: use python for bench script for comparison 2026-03-10 16:01:54 +01:00
Loric ANDRE 5b0323a9fb feat!: use Arinae as default algorithm
=== Results: ./target/release/sk [baseline] ===
Completed runs: 50 / 50
Average items matched: 2895782 / 10000000  (min: 2895782, max: 2895782)
Average time: 3.827s  (min: 3.576s, max: 4.090s)
Average items/second: 2615767  (min: 2445033, max: 2796365)
Average peak memory usage: 1589.2 MB  (min: 1518.6 MB, max: 1661.2 MB)
Average peak CPU usage: 528.9%  (min: 457.0%, max: 740.0%)

=== Results: /home/loric/.local/share/cargo/bin/sk ===
Completed runs: 50 / 50
Average items matched: 2895782 / 10000000  (min: 2895782, max: 2895782)
+0.0%
Average time: 3.930s  (min: 3.565s, max: 4.226s)  +2.7%
Average items/second: 2548674  (min: 2366263, max: 2804816)  -2.6%
Average peak memory usage: 1618.8 MB  (min: 1539.1 MB, max: 1680.6 MB)
+1.9%
Average peak CPU usage: 696.8%  (min: 608.0%, max: 875.0%)  +31.7%

=== Results: /home/loric/.nix-profile/bin/fzf ===
Completed runs: 50 / 50
Average items matched: 2895782 / 10000000  (min: 2895782, max: 2895782)
+0.0%
Average time: 5.421s  (min: 4.814s, max: 6.111s)  +41.7%
Average items/second: 1848269  (min: 1636444, max: 2077385)  -29.3%
Average peak memory usage: 2015.3 MB  (min: 1860.7 MB, max: 2173.9 MB)
+26.8%
Average peak CPU usage: 1301.1%  (min: 1229.0%, max: 1431.0%)  +146.0%

=== Comparison Summary (vs baseline: ./target/release/sk) ===
Binary                                       Avg time     Δ time
Avg rate     Δ rate
------------------------------------------------------------------------------------------
./target/release/sk                            3.827s   baseline
2615767   baseline
/home/loric/.local/share/cargo/bin/sk          3.930s      +2.7%
2548674      -2.6%
/home/loric/.nix-profile/bin/fzf               5.421s     +41.7%
1848269     -29.3%
2026-03-10 15:59:59 +01:00
Loric ANDRE 86d824e6cf chore!: default to disabled typos 2026-03-10 14:14:07 +01:00