| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
length.
|
|
|
|
|
|
|
|
|
|
| |
rdiff sig defaults (temporarily) back to MD4, but gains an option to control
this. In MD4, truncate the hash the same way that previous versions did.
Add a sig_magic parameter to rs_sig_begin and rs_sig_file to let callers
choose a version.
Add NEWS about md4 weakness.
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
Add rs_trace_enabled() so that we can avoid spending too much time
generating trace output if it's not going to be used.
|
|
|
|
|
| |
Rename rs_blow_literal to rs_tube_write, because it otherwise tends to
get confused with LITERAL commands.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
starting to use it: all the internal data is kept in the job, not
in the stream.
Rename rs_stream_t to rs_buffers_t, a more obvious name. Pass the
buffers to every rs_job_iter() call, rather than setting it at
startup. Similarly for all the _begin() functions.
rs_job_new also takes the initial state function.
Return RS_PARAM_ERROR when library is misused.
|
|
|
|
|
|
|
|
|
| |
rs_simpl structure. This means we no longer need to call
rs_stream_init(), and many nonblocking IO functions need to be passed
the job, not the stream pointer. Also get rid of the stream dogtag,
which is no longer adding much protection.
s/HS_/RS_/ to finish renaming.
|
|
|
|
| |
Move man pages into parent directory.
|
|
|
|
|
|
| |
Alpha RedHat 7.0 at SourceForge.
Use long or long long as hs_long_t, depending on which is available.
Call this 0.9.1dev2.
|
|
|
|
|
|
|
|
|
|
| |
on other platforms. Change many integer types to work properly with
this. Suggestion by Poul-Henning Kamp <phk@freebsd.org>.
Add HS_INTERNAL_ERROR code.
Rewrite netint code to just simply bang out bytes, rather than using
endian macros.
|
| |
|
|
|
|
| |
Better handling of signature generation near end of input.
|
|
|
|
| |
Use this to properly handle expected EOF on signatures.
|
| |
|
|
|
|
| |
dependencies to declare this.
|
|
|
|
| |
Put handling of hs_job_s_complete fully into job.c.
|
| |
|
|
|
|
| |
descriptive.
|
|
|
|
| |
Rename 'mksum' to 'sig'.
|
|
|
|
|
| |
Don't rely on syslog.
Generate a smaller set of docs that only exposes hsync.h.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Start implementing hs_file_readsum.
Move hs_mksum_s_complete to be a generic hs_job_s_complete that all
types of stream processor can use.
Fix typo in trace.c.
Allow hs_whole_run to work on operations that do only input or only
output.
|
|
|
|
|
|
|
|
|
|
|
| |
Drop HSFILE interface; not very useful at the moment. Therefore we
could drop streamfile and other over-complex code as well.
Doc.
Generate strong checksums as well as weak; update the test case to reflect this.
Drop leading underscores on function names; they're not proving very useful.
rdiff/rsum are currently broken, but I wanted to commit the new
library interface anyhow.
Started changing towards libpopt.
|
| |
|
|
|
|
|
|
|
| |
deltas kinda slightly works with the new API.
Give domain-credit to Linuxcare; change to Linux code style cause
every emacs understands it.
|
| |
|
|
|
|
|
|
|
|
| |
only memory-to-memory options, like zlib. Lots of code has been
snipped out or disabled.
Some man pages added. I like man pages, but not troff.
Test cases are now *.test.
Drivers are *.driver.
|
|
|
|
|
|
|
|
|
| |
Use snprintf, and supply our own replacement if there is not one on
the system.
Add new test pattern `decoder' to genmaptest which produces a pattern
similar to vtr decoding.
Add new map_copy function to intelligently copy through data from a
mapptr.
|
|
|
|
|
|
|
|
| |
Automatically generate a table of commands so that we can decode them
more easily.
Implement mapptr based decoding of commands, and change the tests to
use this. (Full decode still uses the real code.)
Remove half-hearted large file support.
|
|
|
|
| |
Start to phase out filebuf and inbuf in favour of mapptr.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clean up autoconfig: use 64-bit offsets if possible, use GCC warnings
if available.
Be more fussy about using the right integer types.
Clean up test directories on successful completion.
Add -D and -x options to test driver script; make sure it is
executable on install.
Add ':' recognition to hsmapread.
Add more map test strategies to genmaptest.
Refactor mapptr code.
Add test-pairs: pairs of files filtered through various edits.
|
|
|
|
|
|
| |
particular, distinguish byte_t from char to clear up signed-ness
warnings; and fix some gcc dependencies in the trace code. This does
not quite work there yet.
|
|
|
|
|
|
| |
Make tests assume success after a certain number of executions so that
they don't run for too long.
Indent.
|
|
|
|
|
| |
doesn't actually search, but it does do everything else, and it emits
literal data correctly.
|
|
driver, hsmksum.
Split out code for manipulating sum_set into its own file.
|