Hi all,
I've committed a pretty big changeto the diff
code(http://www.fossil-scm.org/index.html/info/4081a91c84) , and I'd
like some other people to take a look at it/test it out before it
(maybe/hopefully) gets merged into the trunk.
The purpose of this commit is, as the commit message says, to support
arbitrary line lengths with synced horizontal scrolling in side-by-side
diffs. Here's an example of it in action on a test copy of the Fossil
repo:
http://joelface.com/fossil/fdiff?v1=98aec3c55155011b&v2=d74d0c320c455abd&sbs=1(you
can click anywhere inside a diff and use the left/right arrow keys to
scroll)
The diff --tk code also needed to be updated to support the new HTML
output, and, well, I probably overdid it. I think it's really nice,
though, so I hope you'll give it a try. (Tip: tab/shift-tab cycles
through files.)
Neither the diff logic itself nor the plaintext diff output have been
modified (if they have, it's a bug). There are also a few other minor
changes to the web output: fixing non-compliant HTML (like <div>'s
inside <pre>'s), making chunk fragment IDs not repeat on pages with
multiple diffs, and simplifying diff error messages.
I've tested the web UI in Firefox/Chrome/IE (including IE8) and diff
--tk on Windows 7 (Tcl 8.6) and Linux (8.4, 8.5). If there's anything I
need to change to get this accepted into the trunk, let me know.
Thanks!
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users