summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-12Update version josh.macdonald
2009-03-08Testing for issue 79. TODO around xdelta3.c:3926 successful.josh.macdonald
2009-02-12Fixes issue 79, adds more testing.josh.macdonald
2009-02-10Templatize the test, expose issue 79.josh.macdonald
2008-10-12Build 3.0u for Windowsjosh.macdonald
2008-09-17Compile with josh.macdonald
-Wconversion -Wsign-compare -Wextra -Wno-unused-parameter in C and C++.
2008-09-13Remove "pre0"josh.macdonald
2008-09-13Fix examples build, all-targets build, run tests, set version=3.0u.josh.macdonald
2008-09-13Implement adler32 and appheader for merge command.josh.macdonald
2008-09-07Change "q" to "ll" for portability. Issue 41.josh.macdonald
2008-09-07Latest testing fixes. I've been changing the size-iterator classjosh.macdonald
and block-size by hand and re-running the tests. Obviously, that's no good.
2008-09-07Fixes two merge bugs:josh.macdonald
1. The whole_state struct now keeps an array of window sizes so that during reconstruction it can use the same window size as the target delta. The code was previously using dec_tgtlen, which was the window size of the last target delta window. 2. xd3_merge_copy_source(), which applys a source-copy instruction during merge was not properly translating target-copy instructions in the target. The solution here is SLOW and INEFFICIENT, but it at least allows the tests to pass. A big TODO here is to improve the algorithm: it has a potentially O(N) recursion for each target-copy that it sees, and the naive approach also can produce duplicate adds.
2008-09-06Fixes an incorrect mode assignment for merging source-copies of josh.macdonald
target-copies.
2008-09-06Improve "printdelta" to indicate source vs. target copies, widen size fieldsjosh.macdonald
to 6 chars.
2008-09-05Solves the issue reported in Issue 36. More merge tests now pass.josh.macdonald
2008-09-05Introduce a test case for the latest post to issue 36.josh.macdonald
2008-08-16Issue 77 -- VCDIFF tools #define issue.josh.macdonald
2008-08-16Fixes a error in the test. Merge test passes...???josh.macdonald
2008-08-16Fix bug in xd3_merge_add(), calling memcpy with wrong offset and size.josh.macdonald
2008-08-09Fixes for merge of zero-byte files, allow merge w/o source.josh.macdonald
2008-08-09Merge test actually finding problems now.josh.macdonald
2008-08-09Fixes test up to the merge failure for "must have source file" whichjosh.macdonald
seems bogus now.
2008-08-08The merge test isn't writing data for 0-byte target files becausejosh.macdonald
InMemoryEncodeDecode fails at this where xdelta3-main.h succeeds. This gets back to a TODO in -main.h about zero-size ambiguity.
2008-08-08Fix error message in main.hjosh.macdonald
Port testing/random.h portable random number generator (corrected) back to xdelta3-test.h. The code copied from http://www.qbrundage.com was out of line with the original Mersenne Twister code and didn't work.
2008-08-07Add TmpFile class and begin testing merge command via xd3_main_cmdline().josh.macdonald
2008-07-19Part of a merge-command test.josh.macdonald
2008-07-10Adds a test for the fix for issue 70. The new regression testjosh.macdonald
framework's ability to craft specific inputs is very handy.
2008-07-09Attempting to reproduce the non-blocking bug which caused anjosh.macdonald
infinite loop due to hash collision in a recently reported issue. Having trouble, but this refactoring allows Segment to use fixed data.
2008-07-08Add testing for move/copy mutators.josh.macdonald
2008-07-08Fixed the random number generator.josh.macdonald
Adjusted and commented the DeleteMutator test.
2008-07-07Working on delete mutator. Discovered trouble w/ the RNG.josh.macdonald
2008-07-07Make these files compile with C++.josh.macdonald
2008-07-06Add mutator test working.josh.macdonald
2008-07-06Fix the modify test.josh.macdonald
2008-07-05New ChangeListMutator functionality.josh.macdonald
2008-07-05Fix stdin/stdout problem on Windows, issue 34.josh.macdonald
2008-07-03Test for encode/decode w/ single first-byte difference. Uncovered a couple ofjosh.macdonald
incorrect assertions in xdelta3 proper. More tests coming...
2008-07-03Encode/Decode test operating correctly, now failing with source data.josh.macdonald
2008-07-02Add new test for streaming encode/decode. The encoder writes directlyjosh.macdonald
to the decoder. The test passes for sizes < Constants::BLOCK_SIZE so far, needs work.
2008-06-30A test is taking shape...josh.macdonald
2008-06-27Adds new testing directory for a C++ test, makes xdelta3-test.h compile with ↵josh.macdonald
C++. Removes xdelta3-test2.h, moves contents into xdelta3-regtest.cc
2008-06-20Add a new test file, add a Mersenne Twister implementation, andjosh.macdonald
begin work on a new merge command. The new "file_spec" model will allow working with randomly-generated inputs without having to write the entire file to disk, allowing better streaming tests: next!
2008-04-22First successful merge command. :)josh.macdonald
2008-04-22Install a proper fix for the looping problem in issue 70. Needs better testingjosh.macdonald
but good for now.
2008-04-20No, doesn't work but this is a little closer. The bug-fix for thejosh.macdonald
infinite loop in issue 70 is breaking identical-input detection too.
2008-04-20It's plausible that this merge code actually works; untested.josh.macdonald
2008-04-19Cleanup of previous. New xd3_merge_input_output used in bothjosh.macdonald
main_merge_arguments and main_merge_output.
2008-04-19Straighten up the logic for calling xd3_merge_inputs in both josh.macdonald
main_merge_arguments and main_merge_output.
2008-04-15Fixes for issue 70. The test inputs tickled a case where thejosh.macdonald
non-blocking API would not make progress, searching for match on the page boundary and repeatedly asking the application to get another source block. This is only a non-blocking issue, glad it's fixed. I'll add encode_decode_test to my test suite before another release.
2008-04-09Add mechanism for processing merge arguments in order, memoryjosh.macdonald
management for xd3_whole_target structures being passed between arguments-processing and main merge_output function.