Kovid Goyal
a210e0c977
Simplify stream decompressor
2023-07-30 19:49:45 +05:30
Kovid Goyal
c8f35019f0
Fix debugprintln to forwarded stdio implementation
2023-07-30 19:49:45 +05:30
Kovid Goyal
d46590c2e6
Fix fd leak in debugprintln
2023-07-30 19:49:45 +05:30
Kovid Goyal
a5ea12757e
...
2023-07-30 19:49:45 +05:30
Kovid Goyal
87051edf55
...
2023-07-30 19:49:45 +05:30
Kovid Goyal
2d5c1e205d
DRYer
2023-07-30 19:49:45 +05:30
Kovid Goyal
dea9133e7a
...
2023-07-30 19:49:45 +05:30
Kovid Goyal
6b5520f07a
More work on porting the receive kitten
2023-07-30 19:49:45 +05:30
Kovid Goyal
14c29f2cf5
More work on porting receive kitten
2023-07-30 19:49:45 +05:30
Kovid Goyal
15205be67b
More work on porting receive kitten
2023-07-30 19:49:45 +05:30
Kovid Goyal
3d5fdad029
More work on porting receive kitten
2023-07-30 19:49:44 +05:30
Kovid Goyal
73ee5b32c9
A better way to wrap go's zlib into a streaming decompressor
2023-07-30 19:49:44 +05:30
Kovid Goyal
75a5d88bc2
...
2023-07-30 19:49:44 +05:30
Kovid Goyal
a750e18700
More work on porting the recieve transfer kitten
2023-07-30 19:49:44 +05:30
Kovid Goyal
732cbcea86
Start work on porting receive code to Go
2023-07-30 19:49:44 +05:30
Kovid Goyal
bf9b139960
...
2023-07-30 19:49:44 +05:30
Kovid Goyal
350094ed9f
Some docs for the transfer kitten --help
2023-07-30 19:49:44 +05:30
Kovid Goyal
59b47a3a8f
A facility to easily have child programs print to kitty stdout
...
Works better than the kitty-print DCS escape code as that tends to get
interleaved with other writes to the tty since the loop infrastructure
writes in a separate I/O thread.
2023-07-30 19:49:44 +05:30
Kovid Goyal
eecf24b986
Fix registering of mtimes
2023-07-30 19:49:44 +05:30
Kovid Goyal
e60fef3ba1
More tests for send kitten
2023-07-30 19:49:44 +05:30
Kovid Goyal
346a651a48
Add option to control compression modes
2023-07-30 19:49:44 +05:30
Kovid Goyal
84c680266a
Dont check exitcode on ancient python
2023-07-30 19:49:44 +05:30
Kovid Goyal
350af446d3
More tests
2023-07-30 19:49:44 +05:30
Kovid Goyal
39f7f2d7b4
Cant flush response in a parser callback as it can cause recursive parsing
2023-07-30 19:49:44 +05:30
Kovid Goyal
f4c96715ac
Fix buffer leak in parse_bytes() function used during testing
2023-07-30 19:49:44 +05:30
Kovid Goyal
34dfd1881f
Update docs on what is needed for the transfer kitten
2023-07-30 19:49:44 +05:30
Kovid Goyal
15978c9c60
Infrastructure for testing the transfer kitten
2023-07-30 19:49:43 +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
8d4fe0e821
Fix de-serialization of base64 data
2023-07-30 19:49:43 +05:30
Kovid Goyal
42edfa6a47
Prevent ruff from failing because of to be ported test
2023-07-30 19:49:43 +05:30
Kovid Goyal
86a1a40d1d
remove unused code
2023-07-30 19:49:43 +05:30
Kovid Goyal
a2df829912
Remove python send/receive implementations
2023-07-30 19:49:43 +05:30
Kovid Goyal
063c39ea12
Wire up the rsync code in the send kitten
2023-07-30 19:49:43 +05:30
Kovid Goyal
1523424458
Port file_transmission.py to use the new rsync code
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
d485d487ea
Use pkg_config for xxhash flags
2023-07-30 19:49:42 +05:30
Kovid Goyal
f2a6100f1f
Replace more references to librsync
2023-07-30 19:49:42 +05:30
Kovid Goyal
05f776d4d7
Replace bundling of librsync with libxxhash
2023-07-30 19:49:42 +05:30
Kovid Goyal
98294b8cab
Specialize binary encoding on little endian arches
2023-07-30 19:49:42 +05:30