28 Commits

Author SHA1 Message Date
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
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
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
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
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
218df45a78 ... 2023-07-30 19:49:46 +05:30
Kovid Goyal
6b5520f07a More work on porting the receive kitten 2023-07-30 19:49:45 +05:30
Kovid Goyal
aa3d986251 Basic rsync transmission works 2023-07-30 19:49:43 +05:30
Kovid Goyal
f305b03897 ... 2023-07-30 19:49:43 +05:30
Kovid Goyal
edc1669ced Ported tests all pass 2023-07-30 19:49:43 +05:30
Kovid Goyal
bbbc33d4dc ... 2023-07-30 19:49:43 +05:30
Kovid Goyal
7a9c425c66 Nicer function names for endian encode/decode 2023-07-30 19:49:43 +05:30
Kovid Goyal
b03fa08884 ... 2023-07-30 19:49:43 +05:30
Kovid Goyal
9a5b3a7315 Start work on porting rsync roundtrip tests 2023-07-30 19:49:43 +05:30
Kovid Goyal
05373c6e2a Get the new rsync code building 2023-07-30 19:49:43 +05:30
Kovid Goyal
b5498090df Finish the port of the rsync algorithm to C 2023-07-30 19:49:43 +05:30
Kovid Goyal
caa9c27554 Read serialized signatures 2023-07-30 19:49:42 +05:30
Kovid Goyal
ffbdf3f545 ... 2023-07-30 19:49:42 +05:30
Kovid Goyal
27eb89b4a9 Type signature for Patcher 2023-07-30 19:49:42 +05:30
Kovid Goyal
69f347e1a2 Port code to apply serialized delta operations 2023-07-30 19:49:42 +05:30
Kovid Goyal
c84874ca8d Add tests for the xxhash based hashers 2023-07-30 19:49:42 +05:30
Kovid Goyal
37d9a572ee Restore a couple of needed functions to the rsync module 2023-07-30 19:49:42 +05:30
Kovid Goyal
08e3dbb8e7 Patcher signature generation implemented 2023-07-30 19:49:42 +05:30
Kovid Goyal
562f09c1f6 Expose reset as well 2023-07-30 19:49:42 +05:30
Kovid Goyal
fabb6bd8cc Start work on porting Go rsync implementation to C 2023-07-30 19:49:42 +05:30