Commit graph

15995 commits

Author SHA1 Message Date
Kovid Goyal
3fbaabe334
Fix arrow key movement in results list 2025-06-30 15:18:45 +05:30
Kovid Goyal
51a265fbb9
Fix #8767 2025-06-30 14:41:30 +05:30
Kovid Goyal
c06985c586
Cleanup previous PR 2025-06-30 12:09:13 +05:30
Kovid Goyal
6aa346855d
Merge branch 'windows-compatibility' of https://github.com/Mirza-Samad-Ahmed-Baig/kitty 2025-06-30 11:44:03 +05:30
Kovid Goyal
a8386c0263
Fix #8766 2025-06-29 22:52:27 +05:30
Kovid Goyal
a8bb24e1c0
Use a faster result collection type for rendering sorted results 2025-06-29 22:22:20 +05:30
mirza-samad-ahmed-baig
297875ad7d feat: Improve Windows compatibility in setup.py 2025-06-29 16:30:43 +05:00
Kovid Goyal
2cde543a7b
Fix #8760 2025-06-29 08:12:00 +05:30
Kovid Goyal
9669aac55e
Collection class for sorted results 2025-06-28 11:39:18 +05:30
Kovid Goyal
e4d17f9864
docs: Change wording to make it clear that env vars are expanded for launch actions not arbitrary actions
Fixes #8759
2025-06-27 14:53:11 +05:30
Kovid Goyal
41346f2e5b
Use a smarter result collection datatype
Avoids unnecessary copying of result structs on realloc
2025-06-27 14:32:08 +05:30
Kovid Goyal
75f10d140f
Fix off-by-one in code to nuke incomplete multicell chars in line
Fixes #8758
2025-06-27 11:35:18 +05:30
Kovid Goyal
8107ffcb53
... 2025-06-27 08:47:07 +05:30
Kovid Goyal
65f6b91a92
Cleanup previous PR 2025-06-27 08:39:41 +05:30
Kovid Goyal
63758f6692
Merge branch 'master' of https://github.com/jcgl17/kitty 2025-06-27 08:35:40 +05:30
Kovid Goyal
01dacf0ef6
Fix #8756 2025-06-27 08:15:48 +05:30
j
75387bf69d
Add scroll_offset parameter to scroll_to_prompt 2025-06-26 22:07:44 +02:00
Kovid Goyal
461e63049a
Fix #8754 2025-06-26 21:30:43 +05:30
Kovid Goyal
17c84383f7
Dont store abspath on each result
Optimisation as abspath is calculated in hot path. Instead calculate on
demand.
2025-06-26 19:21:04 +05:30
Kovid Goyal
4256fa5418
Dont recurse into symlinks
Allows us to get rid of expensive tracking to avoid symlink loops.
Users can explicitly change dir to a symlinked dir to select from it.
2025-06-26 19:02:28 +05:30
Kovid Goyal
271f51c55f
Use a set instead of map for seen dirs 2025-06-26 17:37:44 +05:30
Kovid Goyal
7bba758b39
Add basic scoring test 2025-06-26 16:39:11 +05:30
Kovid Goyal
2737a1cb8f
Dont use randomised data for benchmarks
Use a fixed seed for repeatability of the benchmarks
2025-06-25 19:38:53 +05:30
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