Commit graph

2156 commits

Author SHA1 Message Date
Kovid Goyal
a6a3e5e67d
Fix insufficient sanitization of safe strings in file transfer protocol
Change the spec to restrict safe strings further to avoid such bugs in
other implementations. Reported by Edwin Hoffman.
2023-07-08 09:50:28 +05:30
Kovid Goyal
60a7a53ccd
Do not echo invalid DECRQSS queries back, behavior inherited from xterm (CVE-2008-2383)
Reported by David Leadbeater.
2023-07-05 09:48:02 +05:30
Kovid Goyal
70383af59d
Another nvim library to use the kitty graphics protocol 2023-07-04 17:10:57 +05:30
Kovid Goyal
d3f14ffbf4
macOS: Fix window shadows not being drawn for transparent windows
Re-organize the whole infrastructure for setting window chrome, doing it
in a single function that has access to all settings.

Fixes #2827
Fixes #6416
2023-07-04 11:59:50 +05:30
Kovid Goyal
6b3b62c933
Mark that run-shell is available from 0.29 onwards 2023-06-28 10:03:50 +05:30
Kovid Goyal
503d7791e9
Update changelog 2023-06-27 14:58:33 +05:30
Kovid Goyal
0fb1f17af9
Have --hold wait at a shell prompt 2023-06-26 11:21:57 +05:30
Kovid Goyal
01b55a5522
Document the new run-shell kitten 2023-06-26 10:47:13 +05:30
Kovid Goyal
99012d2659
ssh kitten: Allow configuring the ssh kitten to skip some hosts via a new `delegate` config directive 2023-06-24 09:27:53 +05:30
Kovid Goyal
c66e4ced56
Preserve text size during live resize 2023-06-20 19:41:57 +05:30
Kovid Goyal
98c0b56387
Fix #6364 2023-06-15 08:11:37 +05:30
Kovid Goyal
eefb6d76fd
... 2023-06-14 08:12:45 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
Kovid Goyal
1ccfa8cda6
add path to envvars for cross compilation 2023-06-13 08:22:14 +05:30
Kovid Goyal
08e471c58f
... 2023-06-13 08:21:54 +05:30
Kovid Goyal
88a5086f71
Add rudimentary support for cross-compilation
Not really tested, actual cross compilers, feel free to send patches.
Fixes #6354
2023-06-13 07:56:16 +05:30
Kovid Goyal
498963fc7c
Fix example in docs of using call_remote_control
Fixes #6353
2023-06-10 09:43:41 +05:30
Kovid Goyal
5ef5b5f363
... 2023-06-07 15:56:25 +05:30
Kovid Goyal
cd56597e7e
Remove the resize_draw_strategy option
Use scale + size as the fixed strategy. This is because static looks
bad with translucent windows (the cell area ends up a different opacity
than the newly exposed window area).
2023-06-07 15:36:05 +05:30
Kovid Goyal
21d0522d90
Fix a regression in 0.27.0 that broke setting of specific edge padding/margin via remote control. Fixes #6333 2023-06-04 22:24:48 +05:30
Kovid Goyal
af65b68ac3
Make timestamps.js re-useable 2023-06-01 05:56:02 +05:30
Kovid Goyal
0d9f08f82e
... 2023-06-01 05:31:59 +05:30
Kovid Goyal
5195e45a26
Move video markup into a separate file 2023-05-31 21:48:20 +05:30
Kovid Goyal
b7f136962a
Move the timestamp data into the rst file
Also get rid of the custom styling for the timestamp list
2023-05-31 21:27:09 +05:30
Kovid Goyal
2c8d00f1c4
Add a title to the list of timestamps 2023-05-31 20:59:13 +05:30
Kovid Goyal
bf2c29ad4f
No need to use JS modules just embed the data in timestamps.js 2023-05-31 20:56:22 +05:30
Kovid Goyal
2b3865f74e
Refactor timestamps JS
It is safe to use innerHTML since the strings we are using it with are
under out control
2023-05-31 20:53:03 +05:30
waikoo
9409fff163
Correct css filename 2023-05-31 15:45:56 +03:00
waikoo
329e7039da Add timestamps under introductory video 2023-05-31 15:42:48 +03:00
Kovid Goyal
e0eccf7883
Add a note about develop-docs to the build docs
Also include sphinx-autobuild as a docs dependency
2023-05-29 08:21:08 +05:30
Kovid Goyal
7f6f1f9a5d
Fix a regression in 0.28.0 that caused a buffer overflow when clearing the screen
Fixes #6306
Fixes #6308
2023-05-28 06:27:44 +05:30
Kovid Goyal
624007c7aa
Refuse to read image files in /proc /sys and /dev
Also, open the image file with O_NONBLOCK to ensure we dont hang opening
a FIFO
2023-05-25 12:17:03 +05:30
Kovid Goyal
20fbde447c
clipboard kitten: Dont set clipboard when getting clipboard
The previous behavior meant getting the clipboard would
first empty it if STDIN was null or empty which can easily happen when
run non-interactively.

Fixes #6302
2023-05-25 08:41:55 +05:30
Kovid Goyal
a720ef6917
Graphics: Move images up along with text when the window is shrunk vertically
Fixes #6278
2023-05-24 15:18:58 +05:30
Kovid Goyal
53073f34d7
Cleanup previous PR 2023-05-24 13:31:29 +05:30
Kovid Goyal
0ca94f8a88
Fix #6292 2023-05-20 15:45:08 +05:30
AnonymouX47
de6da31f24
Correct typo in graphics protocol specification
Correct swapped row/column index in description of virtual placements
2023-05-20 10:36:07 +01:00
Chase Colman
d569565fe6 Add awrit to keyboard-protocol 2023-05-13 23:44:18 +08:00
Chase Colman
80de70f7f3 Add awrit to graphics-protocol 2023-05-13 23:44:18 +08:00
Kovid Goyal
65f8bb7397
hints kitten: Switch to using a regex engine that supports lookaround
Note that we loose unicode char matching for --type=word because of
https://github.com/dlclark/regexp2/issues/65 and of course user regexps
cant use \p{N} escapes any more. Hopefully regexp2 will add support for
these soon-ish. IMO lookaround is more important than \p.

Fixes #6265
2023-05-12 12:24:59 +05:30
Kovid Goyal
0cc38e1086
... 2023-05-09 09:50:11 +05:30
Kovid Goyal
e72975cc98
A new escape code that moves the current contents of the screen into the scrollback before clearing it 2023-05-09 09:32:39 +05:30
Kovid Goyal
454acd4f5c
ssh kitten: Fix a regression in 0.28.0 that caused interrupt during setup to not be handled gracefully
Fixes #6254
2023-05-08 16:18:05 +05:30
Kovid Goyal
404f83a277
Add a link to awrit in the integrations page 2023-05-07 10:06:37 +05:30
Kovid Goyal
474244268c
edit-in-kitty: Fix running edit-in-kitty with elevated privileges to edit a restricted file not working 2023-05-07 09:36:16 +05:30
Kovid Goyal
79cd6f38fe
... 2023-05-07 09:24:30 +05:30
Kovid Goyal
537cabca71
kitty +open: Ask for permission before executing script files that are not marked as executable
This prevents accidental execution of script files via MIME type
association from programs that unconditionally "open"
attachments/downloaded files via MIME type associations.
2023-05-07 08:11:39 +05:30
Kovid Goyal
52afc79476
Fix re-using an image id for an animated image for a still image causing a crash
Fixes #6244
2023-05-06 09:37:55 +05:30
Kovid Goyal
87943079fb
Fix #6238 2023-05-03 21:40:42 +05:30
Kovid Goyal
8f96395f74
diff kitten: Fix a regression in 0.28.0 that broke using relative paths as arguments to the kitten
Fixes #6235
2023-05-03 08:34:46 +05:30