Kovid Goyal
d548a6fcf4
rename typing module to avoid conflicts with stdlib typing
2025-04-28 09:20:10 +05:30
Kovid Goyal
e42d410ee4
Move cli spec parsing code into simple module
2025-04-28 09:20:10 +05:30
Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade
2025-02-03 10:56:50 +05:30
Kovid Goyal
e97c225b6c
Add *_into API for streaming encode/decode
2024-07-30 07:18:33 +05:30
Kovid Goyal
a473738001
Add tests for handling of icon metadata
2024-07-26 23:57:36 +05:30
Kovid Goyal
dca2663500
move rsync signature hashmap to verstable
2024-07-12 11:45:48 +05:30
Kovid Goyal
405f5ce148
Use stdlib maps/slices
2024-06-24 07:54:13 +05:30
Kovid Goyal
4d9b1b81ea
Fix #7426
2024-05-13 08:35:17 +05:30
Kovid Goyal
c5f0b03a62
Remove not needed function
2024-02-25 09:57:29 +05:30
Kovid Goyal
c10ea63818
Implement local filename completion for the transfer kitten
2023-11-25 07:46:30 +05:30
Kovid Goyal
c03dff2322
Fix help text and short desc for the two wrapper kittens
2023-10-17 19:50:47 +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
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
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
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
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
Kovid Goyal
47913a7c1f
Tests for normal mode home dir expansion
2023-07-30 19:49:47 +05:30
Kovid Goyal
995c447435
Get the multi file tests working for the receive kitten
2023-07-30 19:49:47 +05:30
Kovid Goyal
e4986c489e
Ignore EINTR
2023-07-30 19:49:47 +05:30
Kovid Goyal
ce593dbb5f
lp.Println() should act live fmt.Println()
...
also use a dedicated error type for signalining perm denied
2023-07-30 19:49:47 +05:30
Kovid Goyal
d2d91401af
Fix the tree walker
2023-07-30 19:49:47 +05:30
Kovid Goyal
bd231eaf39
Fix local base being ignored in make_tree
2023-07-30 19:49:47 +05:30
Kovid Goyal
141edb975e
Misc fixes
2023-07-30 19:49:47 +05:30
Kovid Goyal
fd691b7835
Fix panic on making tree
2023-07-30 19:49:47 +05:30
Kovid Goyal
2cae0ab695
Dont wait for cancel response when user denies permission
2023-07-30 19:49:46 +05:30
Kovid Goyal
d718ab6edf
cleanup close file error handling
2023-07-30 19:49:46 +05:30
Kovid Goyal
0cb753e6d3
...
2023-07-30 19:49:46 +05:30
Kovid Goyal
aad1ab3fd9
DRYer
2023-07-30 19:49:46 +05:30
Kovid Goyal
b60d15fe75
Make short duration formatter re-useable
2023-07-30 19:49:46 +05:30
Kovid Goyal
9694bd03d8
...
2023-07-30 19:49:46 +05:30
Kovid Goyal
44190c4220
Fix render_duration()
2023-07-30 19:49:46 +05:30
Kovid Goyal
fd68372def
DRYer
2023-07-30 19:49:46 +05:30
Kovid Goyal
d0490672e1
Fix block range coalescing not working in algorithm.c
2023-07-30 19:49:46 +05:30
Kovid Goyal
f509c470e2
Clean up error handling
2023-07-30 19:49:46 +05:30
Kovid Goyal
ea5ed42633
...
2023-07-30 19:49:46 +05:30
Kovid Goyal
218df45a78
...
2023-07-30 19:49:46 +05:30
Kovid Goyal
ecf451dd56
Dont ignore close error
2023-07-30 19:49:45 +05:30
Kovid Goyal
50b146bb04
More work on receive kitten
2023-07-30 19:49:45 +05:30