Questions tagged [binary-diff]

20 questions
61
votes
3 answers

Is the git binary diff algorithm (delta storage) standardized?

Git uses a delta compression to store objects that are similar to each-other. Is this algorithm standardized and used in other tools as well? Is there documentation describing the format? Is it compatible with xdelta/VCDIFF/RFC 3284?
Thilo
  • 257,207
  • 101
  • 511
  • 656
17
votes
1 answer

How to compile the Google Courgette tool?

Courgette (description, source) is a Google tool that is used to update Chrome efficiently. It seems like a great and easy-to-use tool, but I cannot manage to compile it. I've tried VS2010, GYP and using a C++ compiler directly but all has…
Nikolai Samteladze
  • 7,699
  • 6
  • 44
  • 70
10
votes
3 answers

binary diff library for Java

There are several questions about text-diff libraries for Java on SO, but none about binary diff. So here I go: I'm looking for a binary diff library, implemented in Java. I found javaxdelta and GNU Diff port but I wonder if there are some other…
Neeme Praks
  • 8,956
  • 5
  • 47
  • 47
10
votes
2 answers

Binary diff algorithm for commercial software

I'm working on application sending changed files to other computers. Currently a changed file is sent completely even if the change is minor. I'm looking for a library (C,C++,Java) that would allow me to create a binary diff and send only the delta…
stwissel
  • 20,110
  • 6
  • 54
  • 101
9
votes
1 answer

data versioning with git : custom diff for specific files

So, i want to investigate git applicability to version tracking of certain binary or text tree data structures. The thing is that i want that the diff logic be completely custom, tailored for the data structure pattern. Assume the file in question…
lurscher
  • 25,930
  • 29
  • 122
  • 185
8
votes
6 answers

diff/patch for images

I'm writing a project where I need to transfer a set of similar images over the net. To speed things up, I thought about doing what most movie codecs do. having keyframes and then just send the changes. Now, what I got is a set of BufferedImages so…
lawl0r
  • 840
  • 6
  • 16
5
votes
1 answer

Git and binary data, best storage method

Im in the unfortunate situation of having to store some binary files in git, However I can choose how the data is stored on disk - in Git (in our own format which only the build system needs to read). I'd like to avoid talking specifics too much,…
ideasman42
  • 42,413
  • 44
  • 197
  • 320
4
votes
5 answers

Abuse of version control

Is version control suited for a project where content is essentially binary data files ? I am thinking about package that weight something like 10 giga, with a lot of BMP and TGA files. Can subversion handle something like this ? Is it possible to…
shodanex
  • 14,975
  • 11
  • 57
  • 91
2
votes
1 answer

Any working binary differ tool implements GDIFF(Generic Diff Format, NOT Graphical file difference)?

I've seen GDIFF(Generic Diff Format) in wikipedia, and I wander is there any command line tool implements this standard. Now the best I have is LibXDiff, but it's a library, I'll need some extra work to make it run. I know when it comes to…
tdihp
  • 2,329
  • 2
  • 23
  • 40
2
votes
0 answers

How to find two common tangent points in a sigle line? how to solve binary differential equations?

I have a function named F which looks like below: a two-well line and I want to solve equations to get two common tangent points (x1,F(x1)),(x2,F(x2)) of the function in a given range. the equations are: F'(x1)=F'(x2) …
Er g Ch
  • 21
  • 7
2
votes
2 answers

Multithreaded binary diff tool?

There are a lot of binary diff tools out there: xdelta rdiff vbdiff rsync and so on. They are great, but one-threaded. Is it possible to split large files on chunks, find diff between chunks simultaneously and then merge into the final delta? Any…
m9_psy
  • 3,217
  • 5
  • 25
  • 38
2
votes
1 answer

Minimizing the size of debugging information for testing at a remote location

I am trying to create a way to transfer the debug information of a C++ project to a remote location for testing. In the current development cycle, small changes to the code require the entire binary (100s MB in size and mostly debug info) to be…
narendasan
  • 23
  • 4
1
vote
2 answers

Why does bsdiff.exe have trouble with this smaller file?

I'm building a software patch using bsdiff.exe and applying it with bspatch.exe and have so far had no trouble with files smaller than 120MB. One binary file I have was previously 21MB and is now 77MB, and bsdiff seems to hang indefinitely on…
orkutWasNotSoBad
  • 638
  • 6
  • 12
1
vote
1 answer

Create "changset" of two bytearrays

I have some binary data. I will change over time, some bytes get added here and there, some get changed. Overall most of the bytearray remains the same. Is there any library, preferably Actionscript 3, that generats a "changeset" (is there a better…
TobiHeidi
  • 1,201
  • 2
  • 14
  • 23
0
votes
0 answers

Patch Diffing office DLLs

I Wonder how two versions of a DLL with only about three months Difference can have over 10KB of size. These DLLs are related to a Microsoft office product. Info of the two DLLs Size of the two DLLs I am expecting that I am missing something related…
1
2