Commit graph

12575 commits

Author SHA1 Message Date
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
ccc25b5c40
Make transmission of rsync signature from terminal more efficient
Merge it up into 4096 byte sized chunks instead of 20 byte chunks.
2023-08-08 21:58:19 +05:30
Kovid Goyal
696ef40e38
Remove already done TODO note 2023-08-08 21:20:16 +05:30
Kovid Goyal
b348195d22
Ignore listen_on=none in kitty.conf 2023-08-08 20:58:34 +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
f8b8f68e38
Make wait_for_write_complete more robust
It now actually waits for the expected sentinel id even when there are
no pending writes
2023-08-08 17:17:51 +05:30
Kovid Goyal
8bf5b92cd6
Merge branch 'master-1' of https://github.com/hezhizhen/kitty 2023-08-08 16:47:27 +05:30
Kovid Goyal
06c5a1357b
Nicer error message for invalid listen on values
Fixes #6535
2023-08-08 16:45:54 +05:30
Zhizhen He
47e130c4c0
Fix typo 2023-08-08 16:39:00 +08:00
Kovid Goyal
0e87e0c7de
Work on refactoring send kitten to fix various issues 2023-08-08 06:28:43 +05:30
Kovid Goyal
0971e8c630
strings.Title works better than cases.Title 2023-08-07 21:49:50 +05:30
Kovid Goyal
04febb20d5
... 2023-08-07 15:45:46 +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
bd68dc75f3
simplify code 2023-08-07 12:57:01 +05:30
Kovid Goyal
93bb6680c5
flush after run_cli, more logical 2023-08-07 12:37:27 +05:30
Kovid Goyal
eb14714f1e
... 2023-08-07 12:30:30 +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
9af4d5e0fc
Fix error from asan when built with clang 2023-08-07 11:46:18 +05:30
Kovid Goyal
1347d1ad47
Let go tests run without blocking on stdio 2023-08-07 10:56:39 +05:30
Kovid Goyal
d6187b5bfc
... 2023-08-07 10:25:20 +05:30
Kovid Goyal
9d66d11878
Merge branch 'dependabot/go_modules/golang.org/x/image-0.11.0' of https://github.com/kovidgoyal/kitty 2023-08-07 08:48:42 +05:30
dependabot[bot]
1e202631ec
Bump golang.org/x/image from 0.10.0 to 0.11.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 03:14:38 +00:00
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
2a5a89e01c
Speed up write performance to loop
20x speed for large numbers of queued writes by avoiding pinging between
the writer and main goroutines
2023-08-05 13:53:32 +05:30
Kovid Goyal
16132d0309
Fix stdio not actually being forwarded 2023-08-05 13:24:25 +05:30
Kovid Goyal
e2915601a4
More robust stdio forwarding in tests 2023-08-05 11:37:39 +05:30
Kovid Goyal
bc4d7f4cb1
Get stdio forwarding working in the PTY tests 2023-08-05 10:47:29 +05:30
Kovid Goyal
88beb58838
Prevent go test output being interleaved with python 2023-08-05 10:15:08 +05:30
Kovid Goyal
a3369465dc
Remove unused code 2023-08-05 10:11:15 +05:30
Kovid Goyal
ec77d051df
Replace another deprecated function 2023-08-04 23:02:55 +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
18d48c8dcd
bump Go dependencies 2023-08-04 21:40:04 +05:30
Kovid Goyal
2153b5cdce
... 2023-08-04 14:42:04 +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
bde4a41ed4
Remote control: Allow using a random TCP socket as the remote control socket and also allow using TCP sockets in kitty.conf 2023-08-04 11:12:31 +05:30
Kovid Goyal
395e47cc9e
CI is even slower than I thought 2023-08-04 07:36:36 +05:30
Kovid Goyal
335d2616e7
... 2023-08-03 18:04:49 +05:30
Kovid Goyal
cade8efc25
kitten @ ls: Allow limiting output to matched windows/tabs
Fixes #6520
2023-08-03 11:53:17 +05:30
Kovid Goyal
9678e9fa1b
remove unused code 2023-07-30 20:22:50 +05:30
Kovid Goyal
5d7ea739d3
Update changelog 2023-07-30 19:55:53 +05:30
Kovid Goyal
8d24bf1162
Document the rsync wire formats 2023-07-30 19:49:48 +05:30
Kovid Goyal
a74e93d241
Increase timeout for child exit on CI 2023-07-30 19:49:48 +05:30
Kovid Goyal
1c094a3b53
Cleanup user docs for transfer kitten 2023-07-30 19:49:47 +05:30
Kovid Goyal
ffd997c338
Detect prompt lines in code blocks 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
Kovid Goyal
e24dd7be2c
Bump version of libxxhash 2023-07-30 19:49:47 +05:30
Kovid Goyal
47913a7c1f
Tests for normal mode home dir expansion 2023-07-30 19:49:47 +05:30