Commit Graph

1402 Commits

Author SHA1 Message Date
Kovid Goyal
0300a355d0 update docs for remote_kitty 2023-10-18 17:31:44 +05:30
Kovid Goyal
6804d16519 Show pointer shapes in mouse_demo kitten 2023-10-17 21:07:57 +05:30
Kovid Goyal
ee8399ba56 Port the mouse_demo kitten to Go 2023-10-17 20:21:22 +05:30
Kovid Goyal
c03dff2322 Fix help text and short desc for the two wrapper kittens 2023-10-17 19:50:47 +05:30
Kovid Goyal
dc6edf9191 Improve the docs for how to match multi-line hints
See #6692
2023-10-17 15:23:58 +05:30
Kovid Goyal
70a588cb36 ... 2023-10-17 15:23:43 +05:30
Kovid Goyal
17ce474b79 Use hand pointer when hovering over buttons in ask kitten 2023-10-15 21:35:51 +05:30
Kovid Goyal
a8a1571ed1 Fix #6715 2023-10-14 08:49:46 +05:30
Bernhard M. Wiedemann
17b7703dab Fix compilation without LTO
When building without link-time-optimization through the
KITTY_NO_LTO env var or the setup.py --disable-link-time-optimization option
compilation failed with a warning about freeing "ans" memory.

Chances are, this is dead code that gets optimized out by LTO.
2023-10-08 04:52:24 +02:00
Kovid Goyal
5fb661d72d ... 2023-10-05 09:34:21 +05:30
Kovid Goyal
627c80125b More linter fixes 2023-09-23 10:19:46 +05:30
Kovid Goyal
b26c4c16d0 ... 2023-09-22 12:11:07 +05:30
Kovid Goyal
c650bd0aac icat: Dont open the controlling terminal to query for size if stdout is a terminal, use it instead 2023-09-22 12:10:21 +05:30
Kovid Goyal
0a2f164062 Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
Kovid Goyal
b21bbbe14c Fix ssh kitten override parsing ignoring settings inherited from ssh.conf
Fixes #6639
2023-09-20 09:15:38 +05:30
Kovid Goyal
18e5b74699 More linter fixes 2023-09-20 08:43:50 +05:30
Kovid Goyal
d16a29b942 More linter fixes 2023-09-19 11:50:09 +05:30
Kovid Goyal
a8633756de More linter fixes 2023-09-18 21:36:34 +05:30
Kovid Goyal
1a32e62ebf More linter fixes 2023-09-18 21:07:39 +05:30
Kovid Goyal
7faf216f9e More linter fixes 2023-09-18 20:59:47 +05:30
Kovid Goyal
8a211fa689 Remove unused code 2023-09-17 08:47:28 +05:30
Kovid Goyal
863adb3e8d Go: Fix parsing of nullable colors
Fixes #6629
2023-09-15 20:36:24 +05:30
Kovid Goyal
c99d55691d diff kitten: Add support for files that are identical apart from mode changes
Fixes #6611
2023-09-09 19:04:54 +05:30
Kovid Goyal
eb51d459ae diff kitten: Dont panic for empty changesets 2023-09-09 18:35:32 +05:30
Kovid Goyal
bfc15cfc3f Fix #6611 2023-09-09 18:24:26 +05:30
Kovid Goyal
73b1e3b8a1 SSH does not parse port from hostname when not using a ssh:// URL 2023-09-09 09:33:47 +05:30
Kovid Goyal
6fef176918 Add some tests for uname/hname parsing 2023-09-08 16:23:09 +05:30
Kovid Goyal
af4213579c ssh kitten: Fix a regression causing hostname directives in ssh.conf not matching when username is specified 2023-09-08 15:10:46 +05:30
Jake Stewart
8754d80832 add tests for go config parser 2023-09-03 16:39:27 +08:00
Kovid Goyal
0be1295023 kitten run-shell: Make kitty terminfo database available if needed before starting the shell 2023-09-01 22:05:26 +05:30
Kovid Goyal
67bf3eda5a ... 2023-08-16 19:16:05 +05:30
Kovid Goyal
8e6dc030b4 Add a note that unicode placeholders cause image wrapping 2023-08-16 19:10:07 +05:30
Kovid Goyal
2c232ce709 kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder
Fixes #6556
2023-08-16 19:04:15 +05:30
Kovid Goyal
670ad353b2 unicode_input kitten: Add an option to specify the startup tab
Fixes #6552
2023-08-16 11:54:50 +05:30
Kovid Goyal
85005eee1b receive kitten: Send signature in 4KB blocks 2023-08-10 11:10:55 +05:30
Kovid Goyal
47af65dc5c Ensure transmit next chunk is called 2023-08-10 07:51:13 +05:30
Kovid Goyal
4f72bb9894 Replace utils.Once with stdlib sync.OnceValue 2023-08-09 12:08:42 +05:30
Kovid Goyal
49ea26968c Bump go version to 1.21
Allows us to use the much faster builtin min/max functions
for two variable min/max
2023-08-09 11:58:16 +05:30
Kovid Goyal
f125ffe3e0 Fix a hang in the send kitten when transmitting deltas of multiple files
and the files have not changed causing the signature of the second file
to arrive after the delta for the first file is transmitted
2023-08-09 08:25:18 +05:30
Kovid Goyal
12bdc0cc0c ... 2023-08-08 17:51:02 +05:30
Kovid Goyal
a628609ca8 Fix incorrect ETA calculation for active file 2023-08-08 17:45:28 +05:30
Kovid Goyal
1c251e5a53 More fixes for send kitten 2023-08-08 17:26:16 +05:30
Kovid Goyal
0e87e0c7de Work on refactoring send kitten to fix various issues 2023-08-08 06:28:43 +05:30
Kovid Goyal
95c7934152 Use an atomic update for erase + draw not only draw 2023-08-07 13:55:22 +05:30
Kovid Goyal
6c7a8f8fa9 Ensure usage of __attribute__(cleanup) never frees un-initialized memory
Use macros that take an initializer parameter to, thereby ensuring the
variable to be cleaned up is always initialized.
2023-08-07 12:24:18 +05:30
Kovid Goyal
b34a479080 Fix multiple finish cmds at end of send
Also improve queuing of chunks
2023-08-05 13:59:07 +05:30
Kovid Goyal
341d845b9a Port calls to slices.Sort functions since they now need a cmp() function rather than a less() function
Also rename os.SEEK_* to io.Seek* as the former has been deprecated
2023-08-04 22:50:13 +05:30
Kovid Goyal
1f9852d76c ssh kitten: Easily forward the remote control socket tot he remote host 2023-08-04 14:36:50 +05:30
Kovid Goyal
1c094a3b53 Cleanup user docs for transfer kitten 2023-07-30 19:49:47 +05:30
Kovid Goyal
c11d1d3430 Add more integration testing for the transfer kitten 2023-07-30 19:49:47 +05:30