Commit graph

1431 commits

Author SHA1 Message Date
Kovid Goyal
aecf13302a
Fix off-by-one in NRGB 2025-10-09 08:30:20 +05:30
Kovid Goyal
e61e95da3a
... 2025-10-09 08:04:58 +05:30
Kovid Goyal
37bd77f4a8
Bump version of imaging
imaging is now panic safe. Also format nested panics a bit better.
2025-10-09 08:00:31 +05:30
Kovid Goyal
f067e9cd92
Make various goroutines panic-safe 2025-10-09 07:17:53 +05:30
Kovid Goyal
49d8b1a9d0
More work on image preview rendering 2025-10-08 22:00:12 +05:30
Kovid Goyal
c2e75ba466
Fix disk cache not reading inode
Also use a faster atomic update mechanism
2025-10-08 08:35:35 +05:30
Kovid Goyal
16cdcf8cf8
Use inode number and size for more robust entries change tracking 2025-10-08 07:28:02 +05:30
Kovid Goyal
a6335777d9
disk cache: add a path based API
This allows maintaining only a single cache entry per path when the
path's contents change.
2025-10-08 06:41:12 +05:30
Kovid Goyal
a76f32df2d
Code to serialize/unserialize loaded images 2025-10-07 17:25:47 +05:30
Kovid Goyal
1f37f065ab
Improve API of disk cache
Allow getting all keys and also return get result for added keys
2025-10-07 13:01:09 +05:30
Kovid Goyal
224ccb170a
Micro optimisation 2025-10-07 09:23:22 +05:30
Kovid Goyal
328745cad9
removing a non-existent item from disk cache is not an error 2025-10-07 09:16:30 +05:30
Kovid Goyal
5d1ce327e0
Ensure adds to disk cache are atomic 2025-10-07 09:14:14 +05:30
alex-huff
86698e0b17 unicode-input: fix race condition causing incorrect results 2025-10-06 19:14:06 -05:00
Kovid Goyal
ca7ab7a57c
Get rid of os.Exit() from ExecAndHoldTillEnter 2025-09-30 13:25:22 +05:30
Kovid Goyal
712faa7aa5
Fix pruning on DiskCache object creation 2025-09-30 13:18:00 +05:30
Kovid Goyal
8fdbf8d7da
Make the paths returned by DiskCache stable even if the parent entry is removed/pruned for the life of the process 2025-09-30 12:53:08 +05:30
Kovid Goyal
16d411943a
Add integration test for go atexit implementation 2025-09-30 12:37:25 +05:30
Kovid Goyal
190e3e5891
Add atexit cleanup via worker process to kittens infrastructure 2025-09-30 11:52:13 +05:30
Kovid Goyal
4f9519d773
Cleanup __atexit__ 2025-09-30 11:29:49 +05:30
Kovid Goyal
ba96fa06fe
Allow using defer in KittenMain 2025-09-30 11:20:37 +05:30
Kovid Goyal
ca0ff68d8e
More tests for disk cache 2025-09-30 11:16:49 +05:30
Kovid Goyal
d7199f1f75
Start working on tests for disk cache 2025-09-28 21:35:36 +05:30
Kovid Goyal
30f7ed76c1
Start work on disk cache for choose files preview caching 2025-09-28 09:49:16 +05:30
Kovid Goyal
ee00bfa01a
... 2025-09-21 10:15:06 +05:30
Kovid Goyal
f98d5fce16
Remove multiple copies of imaging package
Move to an exiffix fork that does not depend on disintegration/imaging
Now we have only one copy of kovidgoyal/imaging package.
2025-09-19 21:41:23 +05:30
Kovid Goyal
80260e6eb1
Move back to individual settings for scrollbar
We need to split out the color settings so that they can be set in
themes anyway, so ...
2025-09-14 17:48:59 +05:30
Kovid Goyal
a28e9a0146
Fix infinite recursion in readline completer 2025-08-16 06:55:39 +05:30
Kovid Goyal
fd5876b94e
Use SIMD to replace C0 control codes in Go code 2025-07-21 08:54:22 +05:30
Kovid Goyal
bd0f55531f
Implement previews for plain text files 2025-07-20 19:24:17 +05:30
Kovid Goyal
28fce006d6
Make highlight code fully re-useable 2025-07-20 15:37:03 +05:30
Kovid Goyal
2bdbbd909c
Handle color scheme changes in choose-files kitten 2025-07-20 13:43:59 +05:30
Kovid Goyal
063cf243c1
add cursor_trail_color to nullable_colors and all_color_settings 2025-07-19 07:03:13 +05:30
Kovid Goyal
94e6f240a6
Allow running python kittens via the kitten binary
It just delegates to kitty +kitten automatically
2025-07-15 14:36:19 +05:30
Kovid Goyal
4d3bbd82e0
Extend the SGR Pixel mouse reporting protocol to also report when the mouse leaves the window 2025-07-12 11:59:23 +05:30
Kovid Goyal
d22244d135
Micro-optimization 2025-07-12 09:22:27 +05:30
Kovid Goyal
fef57bd4c2
Format counts using user locale 2025-07-12 08:24:06 +05:30
Kovid Goyal
697805765e
... 2025-07-10 08:20:16 +05:30
Kovid Goyal
ecf4ef396b
Add a test for getting the global git config excludesfile value 2025-07-09 14:44:57 +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
c346735c74
Finish up gitignore implementation 2025-07-08 12:03:58 +05:30
Kovid Goyal
4383398f25
Fix ** matching 2025-07-08 10:02:43 +05:30
Kovid Goyal
bde347457c
Start work on gitignore parsing 2025-07-08 09:43:50 +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
76d0991b76
Work on filter support 2025-07-04 13:37:56 +05:30
Kovid Goyal
d5534b6238
Add conf file for desktop-ui kitten 2025-07-01 13:26:39 +05:30
Kovid Goyal
461e63049a
Fix #8754 2025-06-26 21:30:43 +05:30
Kovid Goyal
324b95f825
Fix recursion into symlinks to dirs 2025-06-25 08:35:38 +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
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
Kovid Goyal
6880ecaa28
Work on save file name mode 2025-06-03 20:27:14 +05:30
Kovid Goyal
bd2d15406a
Use a better icon for home folder in results title 2025-06-01 13:20:38 +05:30
Kovid Goyal
7657b2b8c6
Get correct stacktraces for goroutine panics 2025-06-01 13:07:11 +05:30
Kovid Goyal
d1faccdd1c
Loop API print proper stack traces for panics in go routines 2025-06-01 12:51:59 +05:30
Kovid Goyal
ecb9c46b95
... 2025-06-01 12:35:23 +05:30
Kovid Goyal
b784dd4fba
Sort the lists 2025-05-21 22:40:55 +05:30
Kovid Goyal
f0537198e6
... 2025-05-21 22:29:05 +05:30
Kovid Goyal
646bf47a43
Icons for file matches 2025-05-21 22:16:22 +05:30
Kovid Goyal
ad03fa94b2
Update the list of nerd font names when updating other unicode data as well
No longer need to store the list of names in our source code
2025-05-21 13:19:27 +05:30
Kovid Goyal
cc500893f0
... 2025-05-21 12:16:25 +05:30
Kovid Goyal
b55013944e
More work on choose-files 2025-05-20 14:16:49 +05:30
Kovid Goyal
fbfdb38260
Start work on choose files kitten 2025-05-20 12:32:43 +05:30
Kovid Goyal
c94844b220
Start work on Linux desktop portal kitten 2025-05-19 08:52:18 +05:30
Kovid Goyal
e015ebefab
Implement focus tracking in kitten infrastructure 2025-05-16 12:48:21 +05:30
Kovid Goyal
4713cc29ad
make gofmt happy 2025-05-16 09:40:34 +05:30
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
429cff0a52
Convenience method to access any member of a set 2025-05-15 21:40:06 +05:30
Kovid Goyal
7ec0085a0b
Also report panic via debugprintln 2025-05-14 12:06:01 +05:30
Kovid Goyal
123a115836
Make kitten main re-useable 2025-05-13 18:51:49 +05:30
Kovid Goyal
6a53897c17
change_font_size: allow multiplying/dividing the current font size in addition to incrementing it
Fixes #8616
2025-05-09 07:39:06 +05:30
Kovid Goyal
5683314784
Start work on quick-access-terminal kitten 2025-04-28 19:52:04 +05:30
Kovid Goyal
9854068a59
Start work on panel kitten wrapper in Go
Needed because we need to use a special exe on macOS.
2025-04-28 16:07:09 +05:30
Kovid Goyal
d7fb143ee0
Allow explicitly setting boolean options in Go cli parser
Matches C parser
2025-04-28 11:54:51 +05:30
Kovid Goyal
39bf612071
DRYer 2025-04-28 11:33:58 +05:30
Kovid Goyal
92c6d90132
Allow single char options to take =value in kittens
Matches kitty cli parsing behavior
2025-04-28 11:27:33 +05:30
Kovid Goyal
17876385c5
... 2025-04-23 18:52:40 +05:30
Kovid Goyal
796ee602de
... 2025-04-21 09:50:30 +05:30
Kovid Goyal
6f673929eb
Fix failure of tarfile extract when dest_path has symlinks 2025-04-21 09:46:30 +05:30
Kovid Goyal
4d69eea4af
Add test for tarfile extractall 2025-04-21 09:32:56 +05:30
Kovid Goyal
3daac6fb22
Remove unnecessary check 2025-04-20 23:38:16 +05:30
Kovid Goyal
50b830faa5
DRYer 2025-04-20 23:18:49 +05:30
Kovid Goyal
5a6c2d9f3b
skip illegal paths in tar archives rather than erroring on them 2025-04-20 23:12:17 +05:30
Kovid Goyal
d7f4d44d8e
More CodeQL fixes 2025-04-20 23:08:14 +05:30
Kovid Goyal
341df0dccb
More CodeQL fixes 2025-04-20 22:13:45 +05:30
Kovid Goyal
237bb35ee9
More CodeQL fixes 2025-04-20 21:53:11 +05:30
Kovid Goyal
adfcffa5d7
Various fixes to make CodeQL happy 2025-04-20 21:34:42 +05:30
Kovid Goyal
c84b894a89
Remove deprecated tar file type check 2025-04-20 15:59:20 +05:30
Kovid Goyal
ba46678a0d
Fix width test kitten descriptive text being erased 2025-04-12 15:20:07 +05:30
Kovid Goyal
357481900d
Add combining at line end test 2025-04-11 13:16:45 +05:30
Kovid Goyal
ed719d91ec
... 2025-04-11 12:24:46 +05:30
Kovid Goyal
cd4490b5ad
Test cursor position after individual graphemes 2025-04-11 12:21:40 +05:30
Kovid Goyal
66a2702631
... 2025-04-11 12:08:42 +05:30
Kovid Goyal
dbc88d8a3a
Document test description format 2025-04-11 12:03:06 +05:30
Kovid Goyal
342ac57e63
Allow restricting the tests run 2025-04-11 11:40:23 +05:30
Kovid Goyal
3a4d32b85b
Get basic full string width tests running 2025-04-11 10:45:39 +05:30
Kovid Goyal
cf6bb29ef7
Start work on width testing kitten 2025-04-11 09:34:21 +05:30
Kovid Goyal
203e9f6c58
Port wcswidth to use grapheme segmentation 2025-04-11 09:34:21 +05:30
Kovid Goyal
38a2c6eab0
Cleanup previous PR 2025-04-05 09:22:10 +05:30
3pleX-dev
1d93982424 fix reproducibility issues 2025-04-05 01:27:23 +01:00
Kovid Goyal
4c28200cab
Separate out the control chars when generating benchmark data 2025-04-03 09:33:55 +05:30
Kovid Goyal
e0efdaa3f0
... 2025-04-03 09:26:04 +05:30
Kovid Goyal
057dde35a7
Use a two stage lookup table for segmentation
Saves one extra array lookup at no cost in size
2025-04-01 14:25:24 +05:30
Kovid Goyal
d4d2ae969e
Use a branchless check for unicode range 2025-04-01 12:32:17 +05:30
Kovid Goyal
6ecd78d9db
Remove bounds checking for unicode table access in Go 2025-04-01 10:41:17 +05:30
Kovid Goyal
66856e7b52
Use a multi-stage lookup table for grapheme segmentation 2025-03-31 21:51:28 +05:30
Kovid Goyal
163b3de85b
Also forgot to add non-characters to invalid class 2025-03-30 10:44:26 +05:30
Kovid Goyal
a5a25fbd8c
Fix missed out some codepoints when porting is_non_rendered to unicode lookup table
Fixes #8495
2025-03-30 10:40:19 +05:30
Kovid Goyal
9e1601a9b5
Nicer way to include grapheme test data in Go tests 2025-03-27 03:20:27 +05:30
Kovid Goyal
7807e51e65
... 2025-03-26 22:06:17 +05:30
Kovid Goyal
305c1a25c5
More robust fetching of grapheme break test data in Go test 2025-03-26 21:56:52 +05:30
Kovid Goyal
fd2bbf57e3
Make unicode category data useable in other modules 2025-03-25 16:35:09 +05:30
Kovid Goyal
294de16898
Use ms table for remaining UCD lookups 2025-03-25 15:41:34 +05:30
Kovid Goyal
aad58cf703
Declare CharProps just once 2025-03-25 14:08:47 +05:30
Kovid Goyal
d429f732e1
DRYer 2025-03-25 13:45:56 +05:30
Kovid Goyal
b66a763ddf
Use a 3 stage table for Unicode properties
Halves the data size and reduces source code size by 50x
Shows no significant runtime performance effect.
Allows for easily adding more properties to the table in the future
2025-03-25 13:16:59 +05:30
Kovid Goyal
9f7643078c
Use unicode multi-table for remaining hot path lookups
Results in a 15% improvement in the unicode throughput benchmark
2025-03-24 15:04:33 +05:30
Kovid Goyal
3d0e45ace8
Use the new multi-stage unicode table for wcwidth 2025-03-24 14:20:40 +05:30
Kovid Goyal
7697a1650d
Add is_emoji_presentation_base to char props table 2025-03-24 13:55:49 +05:30
Kovid Goyal
f02245af79
Also run gofmt on kittens subdir in CI 2025-03-23 20:26:10 +05:30
Kovid Goyal
c73f5ab8a0
... 2025-03-23 19:37:23 +05:30
Kovid Goyal
16f7380cb0
Implement grapheme segmentation in Go 2025-03-23 19:24:12 +05:30
Kovid Goyal
aa8c32006f
Implement grapheme seg algo in Go 2025-03-22 14:54:58 +05:30
Kovid Goyal
7e780a2294
CharProps data for Go 2025-03-22 13:18:09 +05:30
Kovid Goyal
9663f935fb
... 2025-03-22 11:56:56 +05:30
Kovid Goyal
583a858769
Use a multistage lookup table for grapheme segmentation 2025-03-22 11:50:04 +05:30
Kovid Goyal
191ea16cd7
Confirm and run tool 2025-03-20 13:35:12 +05:30
Kovid Goyal
d82edad2be
... 2025-03-20 12:50:51 +05:30
Kovid Goyal
0afa6d5b3d
Fix shebang viewing of short scripts not working 2025-03-20 12:49:28 +05:30
Kovid Goyal
f3448cbbee
... 2025-03-20 12:31:02 +05:30
Kovid Goyal
ca1555d12e
Avoid spinning up the python interpreter just for running a shebang 2025-03-20 11:36:59 +05:30
Kovid Goyal
9c1c141775
Start work on grapheme segmentation algorithm 2025-03-13 11:19:54 +05:30
Kovid Goyal
98f9a568ce
Add Extended_Pictographic property 2025-03-13 10:01:41 +05:30
Kovid Goyal
039af78785
Add Indic Conjunct Break data 2025-03-13 09:18:42 +05:30
Kovid Goyal
1ee0b3369d
Fix GBP generation 2025-03-13 08:37:52 +05:30
Kovid Goyal
9cb56c2775
Run gofmt on grapheme-segmentation-data 2025-03-13 07:11:21 +05:30
Kovid Goyal
dc625c5e0c
Add grapheme break properties when generating wcwidth data 2025-03-13 07:06:46 +05:30
Kovid Goyal
812fe467c9
Report OSC 6/106 as ignored only once 2025-03-09 19:02:19 +05:30
Kovid Goyal
375583259a
Fix --hold always restoring cursor to block shape instead of respecting the value of cursor_shape 2025-02-18 20:21:07 +05:30
Kovid Goyal
f29bc638ce
Remote control: allow scrolling to prev/next prompt 2025-02-18 19:17:10 +05:30
Kovid Goyal
54a42b564e
More work on Go VT parser 2025-02-10 11:46:46 +05:30
Kovid Goyal
8bf383d1c4
DRYer: Use the existing unix package stat() 2025-02-09 15:01:05 +05:30
Kovid Goyal
3832e45a6f
Fix another incorrect use of unix.Stat_t 2025-02-09 14:22:08 +05:30
Kovid Goyal
8e4050b923
... 2025-02-09 14:12:46 +05:30
Kovid Goyal
a582de98dc
Fix building of kitten on other platforms 2025-02-09 14:11:14 +05:30
Kovid Goyal
b0c41a70bd
Start work on VT LineBuf in Go 2025-02-07 20:09:00 +05:30
Kovid Goyal
2f57d20153
Add hyperlink id to CellAttrs 2025-02-06 20:35:50 +05:30
Kovid Goyal
92e2b93e95
Start work on VT implementation in Go
Will be used by pager kitten
2025-02-06 12:31:32 +05:30
Kovid Goyal
8931062a70
hints kitten: Workaround for some broken light color themes that make the hints text color too low contrast to read
Fixes #7330
2025-01-17 20:22:10 +05:30
Kovid Goyal
0ffaaff8a7
Fix #8220 2025-01-16 13:21:31 +05:30
Kovid Goyal
1eeea70c7a
Allow dynamically generating configuration by running an arbitrary program using the new geninclude directive 2025-01-06 19:00:01 +05:30
Kovid Goyal
795bf7fb52
Dont use a global var for mocking 2025-01-05 20:58:33 +05:30
Kovid Goyal
86a6685446
Add mock for failing test 2025-01-05 20:36:32 +05:30
Kovid Goyal
2d02ff1c5f
Implement using effective kitty config options for kittens
Also centralise reading of kitty options
2025-01-05 20:16:43 +05:30
Kovid Goyal
334adf9c1a
Ensure temp files and other resources are cleaned up even if kitty crashes or is SIGKILLed 2025-01-05 12:51:59 +05:30
Kovid Goyal
25cb73511f
Implement atexit.rmtree 2025-01-05 11:04:23 +05:30
Kovid Goyal
0d5bcff353
Tool to implement robust cleanups even on process crash 2025-01-05 10:50:50 +05:30
Kovid Goyal
f3db7e7554
diff kitten: Automatically change colors on terminal color scheme change 2025-01-05 06:00:24 +05:30
Kovid Goyal
134271be93
diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol
Fixes #8185
2025-01-03 21:34:38 +05:30
Kovid Goyal
fc463aaba5
Code to query terminal for capabilities 2025-01-03 21:30:05 +05:30
Kovid Goyal
35b3ae8edb
Revert "themes kitten: When using the Default theme as an auto switch theme include all the actual settings values"
This reverts commit 2abc0be844.
2024-12-20 12:54:47 +05:30
Kovid Goyal
2abc0be844
themes kitten: When using the Default theme as an auto switch theme include all the actual settings values
Fixes #8124
2024-12-16 15:32:32 +05:30
Kovid Goyal
d5356804c8
... 2024-11-23 12:06:39 +05:30
Kovid Goyal
a87ccbf8e5
Add some combining chars to the benchmark 2024-11-23 12:02:59 +05:30
Kovid Goyal
4cb190130f
Document why we explicitly turn off in band resize 2024-11-19 08:08:35 +05:30
Tim Culverhouse
4b354fbd30 tui: explicitly turn off in-band resize mode
Explicitly turn off in-band resize notifications if they were requested
as part of the loop. Kitty implicitly resets this mode when `XTRESTORE`
(`CSI ? r`) is seen, however some terminals implementing mode 2048
(eg foot and Ghostty) follow the xterm behavior of only restoring the
state of explicitly passed modes.

Some of the kittens have become very useful outside of just Kitty
(`show-key`, for example). Add an explicit reset of mode 2048 to support
the behavior of other terminal emulators.
2024-11-18 10:51:14 -06:00
Kovid Goyal
af8605dabf
bump unicode version to 16 2024-11-10 09:03:52 +05:30
Kovid Goyal
96c1a5c4d1
Get automatic theme switching working 2024-11-07 17:31:44 +05:30
Kovid Goyal
8b7cd98a0e
When running a kitten that modifies the kitty config file if no config file exists create a commented out default config file and then modify it
Fixes #7991
2024-10-28 14:01:42 +05:30
Kovid Goyal
62d5e13cbd
themes kitten: fix some keybaord shortcuts not working with weird IME systems on Linux that convert key events into text events 2024-10-15 09:51:52 +05:30
Koichi Murase
8a1f829653 Call _command_offset from bash-completion framework only if available 2024-10-14 15:40:43 +09:00
Kovid Goyal
af83d855de
Add a framework for easily and securely using remote control from the main function of a custom kitten 2024-09-29 20:36:12 +05:30
Kovid Goyal
c1fb18a6ef
Implement changing transparent background colors via remote control 2024-09-24 19:02:13 +05:30
Kovid Goyal
dbfeb8d6a4
Store transparent colors on ColorProfile
This will eventually allow them to be changed using remote control and
escape codes.
2024-09-24 19:02:13 +05:30
Kovid Goyal
31aa4bc96d
Dont ignore err in close on atomicwrite 2024-09-10 21:53:49 +05:30
Kovid Goyal
8a607fa34c
kitten run-shell: Forward KSI env var for no-rc
This is useless, since if you are doing manual shell integration
anyway there is no point in running via the run-shell kitten.
But, let's keep the pedants at bay.

Fixes #7809
2024-09-01 10:29:51 +05:30
Kovid Goyal
8eb0b556b7
diff kitten: Fix a regression that broke diffing against remote files
Fixes #7797
2024-08-28 11:00:42 +05:30
Kovid Goyal
fdc3c3d7c1
kitten @: Fix a regression connecting to TCP sockets using plain IP addresses rather than hostnames
Fixes #7794
2024-08-27 18:30:51 +05:30
Kovid Goyal
2ac26b0e6d
Fix #7752 2024-08-20 17:27:13 +05:30
Kovid Goyal
e74188fcf0
Switch to using ps to get all processes
The Go process module is very slow to get Exe() on non-Linux systems
without CGO as it works by calling lsof on the pid. So we anyway have to
filter by command line first. So might as well just use ps in that case.
2024-08-19 20:54:54 +05:30
Kovid Goyal
9708959438
When reloading in all kitty instances, only use readlink on processes that contain "kitty" in the image name
Apparently there are some machines where a few hundred/thousand readlink calls
take 30 seconds! See #7744
2024-08-19 19:18:37 +05:30
Kovid Goyal
5c1af0fcb1
Start work on the notify kitten 2024-07-28 20:41:01 +05:30
Kovid Goyal
a50bf2c6bb
move code into separate function for legibility 2024-07-26 22:43:13 +05:30
Kovid Goyal
bb3aecd2a5
kitten run-shell: Automatically add the directory containing the kitten binary to PATH if needed
Controlled via the --inject-self-onto-path option
2024-07-26 22:29:05 +05:30
Kovid Goyal
7e7050d30e
DRYer 2024-07-23 13:53:02 +05:30
Kovid Goyal
cb84f56ef8
Insist on specifying an output format 2024-07-23 13:47:36 +05:30
Kovid Goyal
8201f0dd0e
Move caching implementation to Python
Less code, more performant since the cache is used from Python.
And we can make the Go code a pure image format conversion filter.
2024-07-23 13:37:53 +05:30
Kovid Goyal
eaf71d1ccf
Allow specifying permissions when creating anonymous temp files 2024-07-23 07:28:10 +05:30
Kovid Goyal
d08dcd92c7
Python wrapper to use image to RGBA Go code 2024-07-22 22:39:12 +05:30
Kovid Goyal
fb20c4acb6
Code to convert image at path into cached RGBA data 2024-07-22 21:39:38 +05:30
Kovid Goyal
1b6f74da65
fsync before rename for atomic write 2024-07-22 20:04:13 +05:30
Kovid Goyal
c906314974
change the atomic write functions to work with readers 2024-07-22 15:01:19 +05:30