Enable "Link with Editor" for compare editor from Tree Compare

The reactOnOpen method of CompareTreeView uses a FileEditableRevision to
show the left side in case of an IFile. So implement IResourceProvider
to enable the linking.

Bug: 389395
Change-Id: I3c73212eadb883c598aee1ef8af882e0f7725899
Use original author date/timezone on amend

It used to be set back to the committer date (only the author
name/e-mail was kept), which is the wrong thing to do on amend.

The author name/e-mail the user entered is still kept.

Bug: 362391
Change-Id: Id01a88fece441836515446e8b69bad172100737a
Humanize the quickdiff baseline menu text

Although the term revision is somewhat ambiguous, the use here is
consistent with the use elsewhere in the plugin.

Change-Id: Ie29422aeb1a57afee883c75ae9ae05ecd682207c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Do not show modal warning dialog on plugin start

Do not open a modal dialog on plugin start but log a warning instead.
Writing these log entries can be suppressed in preference settings.

Bug: 391377
Change-Id: I3b0da8483e47f5119a3a91580771cdb4a3b7640f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Update copyright date and fine-tune log warnings

Bug: 391377
Change-Id: I80fe99bd22e87f3ed43348301e06c3f0e5074401
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
Update build to use Tycho 0.16

Change-Id: I6837e16703a25acdac50e1b67afcd9a48424fdf5
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix Compare With > HEAD of file for initial commit

CompareWithHeadActionHandler now also uses the correctly behaving
getHeadTypedElement from CompareUtils for a single file.

The existing useful behavior of getting the commit that last modified
the file (instead of HEAD) is moved to the getHeadTypedElement method,
so all other users also benefit from that.

Also, release the used RevWalk.

Bug: 389008
Bug: 359071
Change-Id: I11da3600ea28358d9716092a1b36c7a47a5df300
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Allow "Push to Gerrit..." to push to refs/drafts/...

This change replaces the label displaying the "refs/for/" prefix by a
Combo which allows to select different types of prefixes for Gerrit.
Currently the classic "refs/for/" and the "refs/drafts/" prefixes are
available, but more could be added easily.

Change-Id: Id4125ca71bd7a3ebf1fb97ddaa2eb7094f030192
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Allow users to push to upstream when committing in the staging view

I added 2 new buttons to the form, that allow the user to commit
and to commit + push changes upstream in a single step.
The push occurs either to the default remote or to the user
configured push (via push configuration dialog).

Bug: 388913
Change-Id: I1d6cc6436c6d35f24f01066865dcfe1ca48557b3
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Add missing Expand All action to Git Tree Compare

Bug: 376241
Change-Id: Ib9ee5e4ecba484409057ff86b881aabd77d11255
[sync] Add label for "Git Commits" when showing all models

Before, it would show toString of GitChangeSetModelProvider.

Bug: 384544
Change-Id: Ia49830473b48e502f6f1f8765916684dd1111951
Merge "Enable "Link with Editor" for compare editor from Tree Compare"
Correct mixed line delimiters

Change-Id: Iba6cc5fca9fae93581baa3dfef4301eeadfb7711
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
Remove problematic mnemonics

Bug 388913
Change-Id: I9f823692ee64bbda8e233b6c6ae5536aaa378f49
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
Handle RevisionSyntaxException

Bug 393153
Change-Id: I4ab08aa1ddf974b5b46835cecf65d4937e0d8ac3
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
[sync] Show author of remote files in workspace model

Bug: 359071
Change-Id: Id39b5b26e72d31d49999892e0b61591c5b6757a1
Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com>
Merge "[sync] Show author of remote files in workspace model"
[sync] Fix test failures caused by Id39b5b26e

Bug: 359071
Change-Id: I86bdf155436f3dd1a6a7d53ad7e520ca020eef8b
[stagingView] Fix undo in commit message field

It was not working because of a handler conflict. The problem was that
it was registered using the workbench handler service in the staging
view.

By using the site-specific handler service via getHandlerService, the
conflict no longer exists and the keybinding works.

Bug: 388594
Change-Id: I1e08f5fb0268a6483e0ee332a3384527c4312ddd
Only activate content assist and quick fix in commit message field

Before this, it was also active in the staged/unstaged table viewers,
which prevented selection with Ctrl+Space from working there.

Now it is activated and deactivated like the other actions: When the
text field gains/loses focus.

Bug: 393159
Change-Id: I73441ebb853240d6e6a952730592c71831270192