Commit graph

1814 commits

Author SHA1 Message Date
phanium
3c54cb99d9 Fix kitten choose-files panic
Error: Panicked: runtime error: invalid memory address or nil pointer
dereference
Panicked with error: runtime error: invalid memory address or nil
pointer dereference
Stacktrace (most recent call first):
github.com/kovidgoyal/kitty/kittens/choose_files.(*FileSystemScanner).worker
        kitty/kittens/choose_files/scan.go:351
2025-07-12 22:32:08 +08:00
Kovid Goyal
80ce6946f7
Show a spinner while scanning/scoring is in progress 2025-07-12 08:34:15 +05:30
Kovid Goyal
fef57bd4c2
Format counts using user locale 2025-07-12 08:24:06 +05:30
Kovid Goyal
b01b73a8e5
Add --debug-input for panel and quick access terminals 2025-07-12 07:29:42 +05:30
Kovid Goyal
f34007c65a
Handle multiple save files when entering save file names 2025-07-11 21:47:11 +05:30
Kovid Goyal
8ce7346616
mapping to switch to typing a save file name 2025-07-11 21:09:38 +05:30
Kovid Goyal
2bd8534df9
Implement completion for the save file entry prompt 2025-07-11 20:44:51 +05:30
Kovid Goyal
564195f94f
Show results frame in cyan while scan in progress 2025-07-11 11:05:39 +05:30
Kovid Goyal
ecdeea930b
Implement bindings to move current to first/last 2025-07-11 10:59:29 +05:30
Kovid Goyal
b4e75bf475
Limit the number of selections displayed in the footer 2025-07-11 10:40:43 +05:30
Kovid Goyal
513fd720eb
Implement mouse interaction with result list 2025-07-11 10:36:20 +05:30
Kovid Goyal
6856df4391
DRYer 2025-07-11 07:32:02 +05:30
Kovid Goyal
3134941a84
Add keyboard shortcuts for toggling scan settings 2025-07-11 07:14:07 +05:30
Kovid Goyal
3fb9154f93
... 2025-07-10 20:54:43 +05:30
Kovid Goyal
a836531a99
Show current selected files in footer 2025-07-10 20:52:45 +05:30
Kovid Goyal
35b2553723
Mark selected files 2025-07-10 19:39:18 +05:30
Kovid Goyal
3469e1b044
Make the keyboard shortcuts configurable 2025-07-10 16:20:45 +05:30
Kovid Goyal
27736af979
Add visible controls for scan settings 2025-07-10 15:28:11 +05:30
Kovid Goyal
6f511ae66a
Add a bunch of settings to control filesystem scanning 2025-07-10 10:30:48 +05:30
Kovid Goyal
96ba62f34e
API to toggle the new flags 2025-07-09 21:08:18 +05:30
Kovid Goyal
0f8d1ec5cc
Add flags to control respecting ignores and showing hidden files/folders 2025-07-09 20:46:45 +05:30
Kovid Goyal
932b0ccdc5
Add tests for ignore file processing 2025-07-09 20:21:06 +05:30
Kovid Goyal
f742009c55
Ensure global gitignore file is not loaded in tests 2025-07-09 14:31:46 +05:30
Kovid Goyal
351275cb8c
Work on adding ignorefiles support to choose-files 2025-07-09 11:54:43 +05:30
Kovid Goyal
a341f8b56f
Nicer error message 2025-07-09 11:48:40 +05:30
Kovid Goyal
b6b027802e
Fix service activation file generation 2025-07-06 13:34:29 +05:30
Kovid Goyal
a7fdbcfcd0
... 2025-07-06 13:19:07 +05:30
Kovid Goyal
acfed67d77
DRYer 2025-07-06 13:17:25 +05:30
Kovid Goyal
df7a3943ac
... 2025-07-06 13:13:52 +05:30
Kovid Goyal
ebe9842291
Implement file filters via dbus 2025-07-06 12:17:09 +05:30
Kovid Goyal
0a9d83e11b
Allow more sophisticated event tracking for hover regions 2025-07-05 13:04:43 +05:30
Kovid Goyal
fdf0a13687
Change mouse pointer shape over input area 2025-07-05 12:23:44 +05:30
Kovid Goyal
834d0d3848
Make the filter labels clickable 2025-07-05 11:37:17 +05:30
Kovid Goyal
8f7bb926b4
Keyboard shortcuts to change filter 2025-07-04 14:41:10 +05:30
Kovid Goyal
bbdafb5641
... 2025-07-04 14:30:14 +05:30
Kovid Goyal
0c017e3c9b
Move filtering into file system scanner
Greatest reduction in work, changing filtering is rare
therefore, rescan is not too bad.
2025-07-04 14:24:15 +05:30
Kovid Goyal
76d0991b76
Work on filter support 2025-07-04 13:37:56 +05:30
Kovid Goyal
4cf4a19c69
Fix changing dir when possible not working if entry is actual dir 2025-07-03 12:21:42 +05:30
Kovid Goyal
115227e61a
Allow simple interaction to pick save file name
can type and if no matches are found the typed text is used as the file
name with a further opportunity to edit it.
2025-07-03 12:14:24 +05:30
Kovid Goyal
8ea7ebb242
file chooser integration now works 2025-07-03 11:30:51 +05:30
Kovid Goyal
28b2f0c819
Support window title 2025-07-03 09:08:19 +05:30
Kovid Goyal
ee13908ff1
Advertise support for FileChooser portal 2025-07-03 09:03:56 +05:30
Kovid Goyal
599f2956ce
Finish up code to run file chooser 2025-07-03 08:50:03 +05:30
Kovid Goyal
7375ee5e52
More work on choose files integration 2025-07-02 14:49:24 +05:30
Kovid Goyal
72beddaabe
... 2025-07-01 14:13:06 +05:30
Kovid Goyal
d5534b6238
Add conf file for desktop-ui kitten 2025-07-01 13:26:39 +05:30
Kovid Goyal
3fbaabe334
Fix arrow key movement in results list 2025-06-30 15:18:45 +05:30
Kovid Goyal
a8bb24e1c0
Use a faster result collection type for rendering sorted results 2025-06-29 22:22:20 +05:30
Kovid Goyal
9669aac55e
Collection class for sorted results 2025-06-28 11:39:18 +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