[historyView] Use separate diff viewer instead of embedding into message
commit00f06f8ab1724347afed7ed3384a1f423599466d
authorRobin Stocker <robin@nibor.org>
Sun, 10 Aug 2014 13:05:05 +0000 (10 23:05 +1000)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 4 Sep 2014 00:20:58 +0000 (4 02:20 +0200)
tree66543768396e66c46d723246e048a7044d2cb312
parent5c30dca8648889ae98c355096310ddec1d0a7215
[historyView] Use separate diff viewer instead of embedding into message

The diff viewer is the same as in the "Diff" tab of the commit viewer.
It still shares its scroll bar with the message.

The advantage is that when a file is selected, only the diff has to be
updated, not the whole message. We can also make the commit message
collapsible or extract other parts from the comment (such as the list of
branches/tags). Also, the hyperlink detectors now only run on the commit
message, not on the diff.

Bug: 440125
Change-Id: I6dc79f75eb0a63dde64cdf33d8e66fc594c327ab
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/UIText.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControl.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/DiffEditorPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/DiffViewer.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitInfoBuilder.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitMessageViewer.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FormatJob.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties