Commit Graph

15972 Commits

Author SHA1 Message Date
Kovid Goyal
18d0dda248 micro-optimization: compare using bytes.Compare instead of string based comparison 2025-06-25 17:39:29 +05:30
Kovid Goyal
361792c922 Add some benchmarking for choose_files 2025-06-25 17:28:23 +05:30
Kovid Goyal
980d4dc425 Add tests for as_lower 2025-06-25 11:50:46 +05:30
Kovid Goyal
536c470271 Move locking into its own method 2025-06-25 11:12:19 +05:30
Kovid Goyal
d70afc285c Dont break loop on dir read error 2025-06-25 08:54:11 +05:30
Kovid Goyal
0ec6dc4ef8 DRYer 2025-06-25 08:41:27 +05:30
Kovid Goyal
324b95f825 Fix recursion into symlinks to dirs 2025-06-25 08:35:38 +05:30
Kovid Goyal
37e9d2435b ... 2025-06-25 08:07:01 +05:30
Kovid Goyal
c3c4ecb135 Use an arena for sorting lowercase allocs 2025-06-25 08:03:44 +05:30
Kovid Goyal
57adff46d7 Faster sorting of dir entries 2025-06-25 06:40:15 +05:30
Kovid Goyal
ccfd1d406e switch to a breadth first traversal 2025-06-24 22:01:49 +05:30
Kovid Goyal
7c6fa2db57 micro optimization 2025-06-24 21:18:56 +05:30
Kovid Goyal
6b07ad7ba4 When scores match tie break with length 2025-06-24 21:17:02 +05:30
Kovid Goyal
b8d53208ea string representation for combined score 2025-06-24 20:54:51 +05:30
Kovid Goyal
2426705a50 Do scoring in limited batch sizes for responsiveness 2025-06-24 20:42:32 +05:30
Kovid Goyal
18253114be finish wiring up the new scanning code 2025-06-24 20:03:51 +05:30
Kovid Goyal
8b51f4da87 Refactor scanning code
Only use channels for signalling, have worker threads append to results
array directly since this is thread safe
2025-06-24 11:28:51 +05:30
Kovid Goyal
0bf7306958 Merge branch 'fix-zsh-escaping' of https://github.com/jirassimok/kitty 2025-06-24 08:41:00 +05:30
Jacob Komissar
9549618bc9 Escape user input in zsh integration's _ksi_preexec
Also fix a bug in one of the test assertions to make the test work.
2025-06-23 18:44:52 -04:00
Kovid Goyal
909671f508 Nicer error message when user tries to run kitten with allow_remote_control from command line 2025-06-22 09:26:54 +05:30
Kovid Goyal
bb4e8ffef0 ... 2025-06-21 08:40:18 +05:30
Kovid Goyal
27af96aaf6 ... 2025-06-21 08:37:26 +05:30
Kovid Goyal
bca017fa4c Fix #8741 2025-06-20 20:11:23 +05:30
Kovid Goyal
c7fcd44ecf ... 2025-06-19 11:58:02 +05:30
Kovid Goyal
9de6bfbbd7 More work on choose files kitten 2025-06-19 11:43:12 +05:30
Kovid Goyal
bbdee7efdf Fix #8736 2025-06-19 07:39:26 +05:30
Kovid Goyal
fe9b9d1d33 py3.10 compat 2025-06-18 17:39:26 +05:30
Kovid Goyal
e1a25a963c More work on choose files kitten 2025-06-18 17:21:05 +05:30
Kovid Goyal
4a13c53438 Turn off focus tracking while doing tty remote control
Fixes #8733
2025-06-16 21:57:19 +05:30
Kovid Goyal
8b395759e2 Add DOOM implementations to integrations 2025-06-16 05:19:42 +05:30
Kovid Goyal
e63a436ba9 ... 2025-06-15 06:24:35 +05:30
Kovid Goyal
8e55cf7552 Fix #8731 2025-06-14 20:19:21 +05:30
Kovid Goyal
8aeb1ae6eb Implement merging of fzf results 2025-06-11 07:08:43 +05:30
Kovid Goyal
ecb342fb32 Start work on integration fzf code into choose files 2025-06-10 06:50:20 +05:30
Kovid Goyal
ae7e8d54da Merge branch 'dependabot/go_modules/all-go-deps-171727992e' of https://github.com/kovidgoyal/kitty 2025-06-09 10:20:24 +05:30
dependabot[bot]
c3c80b87a0 Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [golang.org/x/image](https://github.com/golang/image) and [golang.org/x/text](https://github.com/golang/text).


Updates `golang.org/x/image` from 0.27.0 to 0.28.0
- [Commits](https://github.com/golang/image/compare/v0.27.0...v0.28.0)

Updates `golang.org/x/text` from 0.25.0 to 0.26.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-version: 0.28.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/text
  dependency-version: 0.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 03:45:38 +00:00
Kovid Goyal
14c63512cf Merge branch 'update-wayland-compat-matrix' of https://github.com/alex-huff/kitty 2025-06-09 06:55:39 +05:30
Kovid Goyal
2456574992 Wayland: Only rely on keyboard enter/leave events for OS window focus state
GNOME has broken activated==focused assumption GLFW used to make. Also
follows upstream GLFW behavior. c2f0a0ae59

Fixes #8716
2025-06-09 06:52:56 +05:30
alex-huff
1a2c9588a4 docs: panel: update sway compatibility information 2025-06-08 16:27:43 -05:00
Kovid Goyal
b643e7e372 Add a note about #8715 to KDE compat docs 2025-06-08 06:35:29 +05:30
Kovid Goyal
6dba3b2049 Merge branch 'master' of https://github.com/emmanuel-ferdman/kitty 2025-06-07 20:46:50 +05:30
Emmanuel Ferdman
0ba94e37a9 Fix messages in notifications
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-06-07 07:57:51 -07:00
Kovid Goyal
579c380a72 Only store the file type bits not the full os.DirEntry in the result struct 2025-06-06 20:01:59 +05:30
Kovid Goyal
d8410dff24 Ensure positions are always sorted when rendering 2025-06-06 19:50:01 +05:30
Kovid Goyal
dea6e1da42 Special case parallel run with one worker 2025-06-06 16:02:31 +05:30
Kovid Goyal
5e6d4ea4c0 ... 2025-06-06 13:32:46 +05:30
Kovid Goyal
7029a35df9 Port subseq tests to fzf 2025-06-06 13:28:58 +05:30
Kovid Goyal
ed45e1354b Work on implementing the fzf algorithm for the choose files kitten
People are more used to that, and it is more optimized for use case of
finding files.
2025-06-06 12:29:35 +05:30
Kovid Goyal
3059c87bd0 Use a lock and channel free parallelization for subseq scoring 2025-06-06 06:39:09 +05:30
Kovid Goyal
3feea5b279 DRYer 2025-06-05 20:59:09 +05:30