| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
for this. The new encoding algorithm will probably use map_ptr rather
than inbuf.
Change map_ptr so that it copes well with short reads.
Moving towards 0.5.0.
Clean up hs_inbuf code a little.
|
|
|
|
|
| |
Make hsencode and hsdecode close filebufs before exiting so that it
doesn't look like they're leaking.
|
| |
|
|
|
|
|
| |
Cope with short reads/writes -- this might not be completely working
as yet.
|
|
|
|
|
|
|
|
|
| |
More assertions.
Better trace output.
Add the PAINFUL_HONESTY option to check that the weak signatures are
actually rolling correctly.
Fix a bug in the generation of signatures near the end of the file.
Cope when there is no old signature.
|
| |
|
|
|
|
|
| |
Move code for recognizing commands into inhale.c, so that we can build
a test case on it.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add space in the protocol for 64-bit offsets.
Fix a memory leak in encoding.
Add ptrbuf to do abstract IO to a fixed buffer.
When encoding, the new signature block size can be different from the
old block size.
Encode copy commands using the optimal command byte rather than always
using COPY_INT_INT.
Add test-chained to make sure we can swallow our own output.
Add parameter to hsencode to specify the new block size.
|
|
* Differences and signatures are squished into a single
binary-encoded stream using variable-length commands
* We don't require session objects anymore; they just complicate
life. The code is generally simpler.
* We only do this encoding format. This is only conceptually related
to rsync now; they don't understand each other.
|