Don't do rename detection in Quickdiff if disabled in repo config

Disables rename detection also in Quickdiff if diff.renames=false.

Change-Id: Id719f85353996eeed22fd223c4a5f044f7a1fb02
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Make the ContainerTreeIterator recognize symbolic links

We cannot rely on Eclipse's resource handling here since it
looks at the link target rather than the link itself.

Change-Id: I94bfd493805478f2a232229ce6d25a0d810bfd0f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Update documentation for 3.3

Change-Id: If9dfdd44fcb07935f6cc13dfc796ebbdcfb06fd2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
EGit v3.3.0.201403021825-r

Change-Id: Idfb1c12d841904c9327db46178908ea8cb7b0e36
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Prepare 3.3.1-SNAPSHOT builds

Change-Id: I66e83c17bba424d1a6f7d7907187304dc574f9ca
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Merge branch 'stable-3.3'

* stable-3.3:
  Prepare 3.3.1-SNAPSHOT builds
  EGit v3.3.0.201403021825-r
  Update documentation for 3.3
  Make the ContainerTreeIterator recognize symbolic links
  Don't do rename detection in Quickdiff if disabled in repo config

Change-Id: I61c8586fd3e737a7045c95bf09ca11a52706a4a7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Prepare 3.4.0-SNAPSHOT builds

Change-Id: Id98bd630fdb9e5bef951aed84f99b80f7a4b4033
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Show the cause of InvocationTargetException in Push Commit dialog

Bug: 429638
Change-Id: Ic77673f029dc8f241636f5a5e3ed67d8d786c933
Fix test failures on windows

Bug: 421600
Signed-off-by: Laurent Goubet <laurent.goubet@obeo.fr>
Change-Id: I3d546c36ad35e4ff6d8ad413f2e1429eafb366d2
Add ability to reword a commit directly from the history view.

This adds a new menu item Modify > Reword to the context menu of
the history view. It can be used to reword a commit, prompting for
a commit message.

An error will be displayed if the selected commit cannot be reached
from the current HEAD commit. This is done so as to avoid the need
to checkout another commit automatically before executing the reword
procedure.

CQ: 8055
Bug: 429365
Change-Id: I51acd62f5c088a539921fd0f297c5e6bded7aef5
Signed-off-by: Maik Schreiber <blizzy@blizzy.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Fix default profile for target platform used in maven build

Change-Id: I6d7d6ff8c019a69efac30268319aca473c590391
Add a test for SwitchToMenu

Change-Id: I1c1f6d025a2fc49fa23eb61128169b3d3ac04149
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Sort refs in the 'Switch To' menu in natural order

Change-Id: I4adef4edcea1b7830c402c08825260aa77a8c56a
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
"Select a commit" dialog does not use relative dates

Bug: 421317
Change-Id: If62b13daf5e4c563d0c19c5b9dd1c0bcae614fb9
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Fix CommonUtils.STRING_ASCENDING_COMPARATOR for equal strings

Equal strings resulted in -1, but should return 0. The same applies when
comparing two empty strings. Non-equal strings now always result in a
non-zero return value.

This became apparent since the Switch-To menu uses this comparator now
(https://git.eclipse.org/r/#/c/22911/). This results in duplicated menu
entries, e.g. if a branch appears in the reflog too.

Change-Id: I9ba316e9eb078b4f97c8c9e9d9749aadea0b5068
Signed-off-by: Konrad Kügler <swamblumat-eclipsebugs@yahoo.de>
Signed-off-by: Robin Stocker <robin@nibor.org>
Remove delay in local repositories filter

When trying to filter the directory with the Android open source
repositories (around 1400 repos) updating the tree viewer takes 4.3
seconds after typing something into the filter box. During that time the
UI is frozen.

Using only the leaf nodes for updating the filter, this drops down to
0.2 seconds and the UI feels responsive.

Change-Id: Iab65452ae62551c3f8e7a2ee594a5a238b802144
Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
Add a text content type for patches

This enables proper content type detection of patches (i.e. files with .patch extension) when drag and dropping commits

Bug: 358691
Change-Id: Ic656f3e1a1925e4e7655ee03498342552376ca4b
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Allow canceling the commit operation after save-during-commit

When a commit is performed, the user is asked to save all dirty editors.
Even if she does save some or all of them, the commit continues. The
changes that are saved, are not staged and thus not part of the commit.

If the user actually saved a file, we now ask her whether she wants to
cancel committing, to be able to stage the freshly saved files.

This only applies to commits via the staging view. The commit dialog
already allows the user to stage saved files without needing to cancel.

Change-Id: Iec972afd5494019717d15a1d828e8569f5e40188
Signed-off-by: Konrad Kügler <swamblumat-eclipsebugs@yahoo.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Improve height calculation for multi pull result dialog layout

The multi pull result dialog only has 2 lines visible, independent of
how many repositories have been pulled. This change adapts the height
dynamically depending on the number of repositories (with a fixed
maximum of 15 lines).

Change-Id: I78d227672aca0249dfcaf162653bb0971a9f966c
Signed-off-by: Michael Keppler <michael.keppler@gmx.de>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Update build to use Tycho 0.20.0

Change-Id: I3247949053d5d1cadeede32d1e3da717216d9d62
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>