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
5881041fcd
Ensure shortduration is no more than 8 chars
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
4d686b2f47
Nicer string repr for operations
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
aff7f19580
DRYer
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
Kovid Goyal
b3819d3226
Ensure output.Write is not called outside of the stream decompressor function
2023-07-30 19:49:45 +05:30
Kovid Goyal
301f309444
...
2023-07-30 19:49:45 +05:30
Kovid Goyal
42c9f30618
Change receive code to use new streaming decomp infra
2023-07-30 19:49:45 +05:30
Kovid Goyal
b4d8eaa0fe
...
2023-07-30 19:49:45 +05:30
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