<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-ssdiff.c, branch v0.9.1</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>https://git.zx2c4.com/cgit/atom/ui-ssdiff.c?h=v0.9.1</id>
<link rel='self' href='https://git.zx2c4.com/cgit/atom/ui-ssdiff.c?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/'/>
<updated>2012-11-15T00:03:50Z</updated>
<entry>
<title>ssdiff: point line links at exact blob by prepending "id="</title>
<updated>2012-11-15T00:03:50Z</updated>
<author>
<name>Julius Plenz</name>
<email>plenz@cis.fu-berlin.de</email>
</author>
<published>2012-10-30T12:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=c6fe94e02a3963d4fddaf09cfc3e3dc1e186a881'/>
<id>urn:sha1:c6fe94e02a3963d4fddaf09cfc3e3dc1e186a881</id>
<content type='text'>
Previously, the id_str (i.e. the current or diffed-against commit's
SHA1 ID) was simply concatenated to the URL. Now, prepend an "id="
string so that the links actually point to the right blobs and thus
the exact lines.

Signed-off-by: Julius Plenz &lt;plenz@cis.fu-berlin.de&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>use correct type for sizeof</title>
<updated>2012-03-18T09:26:31Z</updated>
<author>
<name>Jamie Couture</name>
<email>jamie.couture@gmail.com</email>
</author>
<published>2012-01-12T03:38:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=6a575b8900734a4640427416885e73c83af70736'/>
<id>urn:sha1:6a575b8900734a4640427416885e73c83af70736</id>
<content type='text'>
**L would have worked well too.  Depending on the distribution sizeof *L
may return 8 instead of 4. **L is preferable, but since we don't expect
this datatype to change very often, sizeof int is less subtle and easier
to understand.

Signed-off-by: Jamie Couture &lt;jamie.couture@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-ssdiff.c: correct length check for LCS table</title>
<updated>2012-01-08T10:01:49Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2012-01-04T08:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=19c31231fac828bb336db67b8cccc871bea1500e'/>
<id>urn:sha1:19c31231fac828bb336db67b8cccc871bea1500e</id>
<content type='text'>
Each individual string may be too long for its respective
dimension of the LCS table.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
<entry>
<title>ui-ssdiff: move LCS table away from the stack</title>
<updated>2012-01-03T15:16:01Z</updated>
<author>
<name>Jamie Couture</name>
<email>jamie.couture@gmail.com</email>
</author>
<published>2011-09-17T22:25:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=e19f7d7180d64c8ba9ca15f5fe164606f0ec88c1'/>
<id>urn:sha1:e19f7d7180d64c8ba9ca15f5fe164606f0ec88c1</id>
<content type='text'>
Printing deferred line changes for files containing long lines would
cause a segfault.

- limit LCS table size: 128x128.
- move LCS table to global context: avoid allocating/freeing memory
  for every deferred line change.

Signed-off-by: Jamie Couture &lt;jamie.couture@gmail.com&gt;
</content>
</entry>
<entry>
<title>ssdiff: anchors for ssdiff</title>
<updated>2011-02-19T13:41:39Z</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2010-12-23T11:47:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=e52040bf90b034aebbfa32756638a24d6b1b3712'/>
<id>urn:sha1:e52040bf90b034aebbfa32756638a24d6b1b3712</id>
<content type='text'>
Emit anchors to the respective revisions in side-by-side diff view

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>In side-by-side diff, add support for marking individual characters.</title>
<updated>2009-11-07T14:37:11Z</updated>
<author>
<name>Ragnar Ouchterlony</name>
<email>ragnar@lysator.liu.se</email>
</author>
<published>2009-10-25T17:13:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=735e15e38a484bf0daa98776fa7cde270a271cda'/>
<id>urn:sha1:735e15e38a484bf0daa98776fa7cde270a271cda</id>
<content type='text'>
Refuses to do so if the left hand side of the diff has different amount of
differing lines to the right hand side to avoid confusion.

Note that I use the naive dynamic programming approach for calculating the
longest common subsequence. We could probably be more efficient by using a
better algorithm. The LCS calculating function is O(n*m) and uses up n*m
amount of memory too (so if we we compare two strings of length 100, I use
an array of 10000 for calculating the LCS). Might want to not calculate LCS
if the length of the line is too large.

Signed-off-by: Ragnar Ouchterlony &lt;ragnar@lysator.liu.se&gt;
</content>
</entry>
<entry>
<title>Fixed side-by-side diff bugs related to binary diff and more.</title>
<updated>2009-09-16T18:17:56Z</updated>
<author>
<name>Ragnar Ouchterlony</name>
<email>ragnar@lysator.liu.se</email>
</author>
<published>2009-09-16T16:56:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=4a198e4b8ee62a9a8b5156a46bfce46dc7223fe9'/>
<id>urn:sha1:4a198e4b8ee62a9a8b5156a46bfce46dc7223fe9</id>
<content type='text'>
The fixed bugs:

 * "Binary files differ" did not show up either in unidiff or
   side-by-side-diff.
 * Subproject diffs did not work for side-by-side diffs.
 * The ssdiff link on diff pages did not conserve the path.

Signed-off-by: Ragnar Ouchterlony &lt;ragnar@lysator.liu.se&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Polishing of how the side-by-side diff looks.</title>
<updated>2009-09-16T18:17:56Z</updated>
<author>
<name>Ragnar Ouchterlony</name>
<email>ragnar@lysator.liu.se</email>
</author>
<published>2009-09-15T17:44:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=207cc34711039329b41345f716bf421a88a6fd0a'/>
<id>urn:sha1:207cc34711039329b41345f716bf421a88a6fd0a</id>
<content type='text'>
Aligned all different files, so that all side-by-side tables look
the same. Also made sure that the tables take up the whole browser
width.

Also various changes to the css to make things easier on the eye.

Signed-off-by: Ragnar Ouchterlony &lt;ragnar@lysator.liu.se&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>First version of side-by-side diff.</title>
<updated>2009-09-16T18:17:56Z</updated>
<author>
<name>Ragnar Ouchterlony</name>
<email>ragnar@lysator.liu.se</email>
</author>
<published>2009-09-13T17:36:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/cgit/commit/?id=40e174d5364910750413d94b5417e57d108190ef'/>
<id>urn:sha1:40e174d5364910750413d94b5417e57d108190ef</id>
<content type='text'>
This constitutes the first prototype of a side-by-side diff. It is not
possible to switch between unidiff and side-by-side diff at all at this
stage.

Signed-off-by: Ragnar Ouchterlony &lt;ragnar@lysator.liu.se&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
