Commit Graph

12591 Commits

Author SHA1 Message Date
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
c23ff34c84 Update changelog 2023-08-16 19:05:52 +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
b276b563c5 Fix #6555 2023-08-16 16:49:39 +05:30
Kovid Goyal
d006ba504f Use a separate cache for the job that builds static kittens 2023-08-16 14:09:51 +05:30
Kovid Goyal
ebbb8e4a09 The github setup-go action now supports caching out of the box 2023-08-16 12:02:32 +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
f299549dba Improve sectioning in kitty.conf manpage
See #6553
2023-08-16 11:27:10 +05:30
Kovid Goyal
cba8b0a1dd ... 2023-08-15 09:18:00 +05:30
Kovid Goyal
0ba5f20902 CI: See if we can cache golang build artifacts 2023-08-11 09:17:05 +05:30
Kovid Goyal
3687694d0d Make building of static kittens the last step in CI
It is the least likely to fail and also the longest to execute
2023-08-11 08:48:19 +05:30
Kovid Goyal
193c2542bd Make mypy 1.5.0 happy 2023-08-11 08:34:22 +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
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