Commit graph

12407 commits

Author SHA1 Message Date
Kovid Goyal
4dc409ff5d
Increase MaxBlockSize 2023-07-30 19:49:40 +05:30
Kovid Goyal
6a7c194d8f
In the tests check that too much data is not being transmitted 2023-07-30 19:49:40 +05:30
Kovid Goyal
79fd0b19cf
Fix a bug in upstream CreateDelta that could ignore trailing data if a matching hash is not found for it 2023-07-30 19:49:40 +05:30
Kovid Goyal
82721ef053
Check for error during seek() 2023-07-30 19:49:40 +05:30
Kovid Goyal
6d614a98ac
Get the test to pass 2023-07-30 19:49:40 +05:30
Kovid Goyal
26c22f0086
Work on creating tests for rsync api 2023-07-30 19:49:40 +05:30
Kovid Goyal
278a3986e5
Simplify API a bit 2023-07-30 19:49:40 +05:30
Kovid Goyal
2801b934fb
Split up API into two structs one for diffing and one for patching 2023-07-30 19:49:40 +05:30
Kovid Goyal
a5c62da265
Dont use JSON for signature header 2023-07-30 19:49:39 +05:30
Kovid Goyal
c28f6a7bf4
Make CreateSignature byte oriented 2023-07-30 19:49:39 +05:30
Kovid Goyal
71a1050b9f
Make loading of external signature data also streaming 2023-07-30 19:49:39 +05:30
Kovid Goyal
7e12972414
Wrap the rsync Go API to use with byte streams and arbitrary hash functions 2023-07-30 19:49:39 +05:30
Kovid Goyal
d539620c9d
Import Go implementation of rsync algorithm
From https://github.com/jbreiding/rsync-go/blob/master/rsync.go
2023-07-30 19:49:39 +05:30
Kovid Goyal
10362c3121
DRYer 2023-07-30 19:49:39 +05:30
Kovid Goyal
d4127229b6
More misc send fixes 2023-07-30 19:49:39 +05:30
Kovid Goyal
4341599ac3
Fix a couple of infinite loops 2023-07-30 19:49:39 +05:30
Kovid Goyal
eabebbc932
Fix incorrect remote file existence detection 2023-07-30 19:49:39 +05:30
Kovid Goyal
dee6210de5
Utility function to initialize struct based on default tags 2023-07-30 19:49:39 +05:30
Kovid Goyal
471263b778
Fix various println invocations since println does not add spaces between arguments 2023-07-30 19:49:39 +05:30
Kovid Goyal
38666f978b
More work on porting transfer kitten 2023-07-30 19:49:39 +05:30
Kovid Goyal
2e8479a77c
... 2023-07-30 19:49:39 +05:30
Kovid Goyal
d01da39dfb
Speed up base64 decode even more 2023-07-30 19:49:39 +05:30
Kovid Goyal
aa86b98eee
Use encryption for bypass 2023-07-30 19:49:39 +05:30
Kovid Goyal
6d1dd50546
Fix encode_bypass 2023-07-30 19:49:39 +05:30
Kovid Goyal
25ed0c9c51
... 2023-07-30 19:49:38 +05:30
Kovid Goyal
49741d9c42
Note that when chunking base64 data for the graphics escape code chunks must be 4-byte aligned 2023-07-30 19:49:38 +05:30
Kovid Goyal
b83e4d88f4
Implement fast padding-less base64 encode/decode for python 2023-07-30 19:49:38 +05:30
Kovid Goyal
a3c3e3ab6a
... 2023-07-30 19:49:38 +05:30
Kovid Goyal
955f812a6b
More work on porting transfer kitten 2023-07-30 19:49:38 +05:30
Kovid Goyal
a72825fe83
More work on porting transfer kitten 2023-07-30 19:49:38 +05:30
Kovid Goyal
8a2fca1c30
More work on transfer kitten porting 2023-07-30 19:49:38 +05:30
Kovid Goyal
5d361757a2
more work on the transfer kitten 2023-07-30 19:49:38 +05:30
Kovid Goyal
d6df77c83d
... 2023-07-30 19:49:38 +05:30
Kovid Goyal
ff3232547d
More work on transfer kitten porting 2023-07-30 19:49:38 +05:30
Kovid Goyal
5c786c96e1
... 2023-07-30 19:49:38 +05:30
Kovid Goyal
6c79ae4443
Proper parsing of safe_string fields 2023-07-30 19:49:38 +05:30
Kovid Goyal
425e993ab7
Get rid of enum boilerplate 2023-07-30 19:49:38 +05:30
Kovid Goyal
e05902e8ee
... 2023-07-30 19:49:38 +05:30
Kovid Goyal
1d3031d011
Allow easy string representation of FTC as JSON dict excluding the data field 2023-07-30 19:49:38 +05:30
Kovid Goyal
b9b7ab5221
Finish parsing of FTC 2023-07-30 19:49:38 +05:30
Kovid Goyal
00a04d68cc
Start parsing of FTC 2023-07-30 19:49:38 +05:30
Kovid Goyal
e73e421a5f
Finish serialization of FTC 2023-07-30 19:49:37 +05:30
Kovid Goyal
6b93610b6a
more work on transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
b0bb1dbca3
more work on the transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
0a6cc42ed7
more work on the transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
55bbf175c6
Port send file mapping tests 2023-07-30 19:49:37 +05:30
Kovid Goyal
be7f276d3e
More work on the transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
a3640b21ac
... 2023-07-30 19:49:37 +05:30
Kovid Goyal
870522360e
More work on transfer kitten 2023-07-30 19:49:37 +05:30
Kovid Goyal
7cec9016d3
Start work on porting the transfer kitten to Go 2023-07-30 19:49:37 +05:30