summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-main.h
AgeCommit message (Collapse)Author
2012-07-15Compiles on gcc-4.6josh.macdonald@gmail.com
2012-07-09Address external compression sigpipejosh.macdonald
2012-06-30release 3.0.2 sourcejosh.macdonald
2012-06-27Fix a few more string shenanigans. Basic tests in WIN32, builds in cygwin too.josh.macdonald@gmail.com
Comments out Python/Swig, will make them conditional later (I can't figure this out).
2012-06-27remove strcat, sprintfjosh.macdonald
2012-06-18Adds an error message for XD3_INVALID_INPUTjosh.macdonald
2012-06-17Preparing release 3.0.1josh.macdonald
2012-06-16Updates for iOS build, Automake setupjosh.macdonald
2011-01-09Bump version to 3.0.0.josh.macdonald
2010-11-07Cleanup after external compression processesjosh.macdonald
2010-11-07Further simplify xdelta3-blkcache.h by removing lru_freejosh.macdonald
2010-11-07Clean up and simplify main_set_source()josh.macdonald
2010-10-25Move block-cache code from -main.h to -blkcache.h. Previous merge wasjosh.macdonald
incorrect - contents were branched post-code-removal. To identify diffs in blkcache.h see previous version of -main.h
2010-08-24Fixes a bad optimization which caused raising -B to worsen compressionjosh.macdonald
in source-from-fifo mode (e.g., externally compressed inputs). Disables several minor optimizations to simplify the code.
2010-08-03release 3.0zjosh.macdonald@gmail.com
2010-08-02change external-compression warning textjosh.macdonald@gmail.com
2010-08-01address issue 109 adds a strong warning about external decompressionjosh.macdonald@gmail.com
2010-08-01patch for issue 111, compiles clean under cygwin gcc 4.3.4 toojosh.macdonald@gmail.com
2010-08-01Fixes for win7, especially named pipe handlingjosh.macdonald@gmail.com
2010-07-01Add -F command and properly handle trailing garbage. Manually tested.josh.macdonald
2010-02-23Add verbose messaging about externally compressed inputs/output.josh.macdonald
2010-02-21Fix the handling of external source decompression, which changed in 3.0wjosh.macdonald
and was inadequately tested. Mark version 3.0y.
2010-02-16Prepare release 3.0xjosh.macdonald
2010-02-16Whitespace changes.josh.macdonald
2010-02-16Fixes a memory corruption caused by recent changes (as early as 3.0w, josh.macdonald
it seems).
2010-02-07Implement srcwin_maxsz in xd3_source_match_setup(), which preventsjosh.macdonald
the encoder from seeking backwards further than this parameter. This was supposed to be implemented long ago, but was especially problematic in the recent release, which implements source-from-FIFO.
2010-01-06Fixes for gcc-4.2 on OS X 10.6, some comment cleanup.josh.macdonald
2009-11-08Rewrote main_set_source() to delay deciding lru_size (effectivelyjosh.macdonald
option_srcwinsz) until after decompression state is known. Working but definitely needs more testing.
2009-11-03Implement (and manually test) main_getblk_func() using FIFO instead ofjosh.macdonald
LRU for non-seekable sources (always, was not previously for the decoder, which caused problems).
2009-10-28Optimize decode for source copies.josh.macdonald
Add magic number for Xz.
2009-10-26Release 3.0wjosh.macdonald
2009-10-26Provide more information about the error.josh.macdonald
2009-10-26Fix the error message to suggest "try raising -B" when XD3_TOOFARBACK ↵josh.macdonald
happens in decode.
2009-10-26Fix xdelta3-main.h's lru[] implementation, new manual testing success.josh.macdonald
2009-10-26Debugging: add a big TODO!josh.macdonald
2009-10-26All tests pass.josh.macdonald
2009-10-26Fix the source_decompression test, which tests that appheader overrides ↵josh.macdonald
compression magic number.
2009-10-26Source from non-seekable input seems to work. Limited testing!josh.macdonald
2009-10-26This fixes main_getblk_func to supposely work with non-seekable inputs, ↵josh.macdonald
we'll see!
2009-10-25Fixes bugs in xd3_srcwin_move_point.josh.macdonald
2009-10-25Eliminates xd3_source->size, which is an _API Change_. Adds a new ↵josh.macdonald
requirement, that source->blocksize be a power-of-2. DOES NOT PASS ALL TESTS.
2009-10-24Move and re-invigorate the regtest, fix 1 harmless compiler warningjosh.macdonald
2009-02-12Fixes issue 79, adds more testing.josh.macdonald
2008-09-17Compile with josh.macdonald
-Wconversion -Wsign-compare -Wextra -Wno-unused-parameter in C and C++.
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-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-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-08-16Issue 77 -- VCDIFF tools #define issue.josh.macdonald