ChangeScreen2: Show rename/copy source paths in file table

Display below a renamed or copied file the source path the file
came from. This is displayed in one font size smaller than the new
path text, and using the lighter grey that is used for common path
prefixes. The idea is to make the information available, but the
old path is usually less important, and should therefore be less
obvious in the UI.

Change-Id: Ic6bc6bbf594199d13a43f09eca612b55b492a765
Init: Clarify that --install-plugin option can be provided multiple times

Change-Id: I13cee44cb8e40d871ea37ae2a4385ad17148b3c3
Enable syntax coloring for Go, BUCK and .gitmodules

Register a custom MimeDetector that identifies these
files and selects the content type known to CodeMirror.

Change-Id: I4335e79ebc9d5e89db6cd0e7040486bd97871b47
SideBySide2: Map *.cxx and *.hxx to clike CodeMirror mode

These extensions are not currently recognized as C++ source code.
Add a static mapping for them to the C++ MIME types recognized by
CodeMirror using the clike mode.

Bug: issue 2320
Change-Id: I454b982deb8a27643bbaa0c928ffe8e20f426d43
SideBySide2: Map .py files to text/x-python

Change-Id: I5374219ae8b322b87c6b139108534b005c9e3b37
SideBySide2: Restore mapping of "j"/"Down" to "gj" and "k"/"Up" to "gk"

Currently, the cursor is moved to the far left/right when going down/up
across a SkipBar. Restore those mappings to fix the problem.

Change-Id: I7aacfbf61c4a4c37f27bc4992c937c7aef7641e0
Fix ArrayIndexOutOfBoundsException on initial commits

PatchSetInserter crashed if given a new patch set for an initial
commit in a repository. The lack of parents caused getParent(0)
to throw an exception.

Instead require the two commits to have the same number of parents.
If that number is 0, the commits are NO_CODE_CHANGE. If >0 then
test only the first parent as before.

Change-Id: I6cefd5f16bf866062b247143a64d3eac92710192
Update 2.8.1 release notes with recently merged changes

Change-Id: I278e2874cfdd683dbedf5af9024184db2a528648
Merge "Fix ArrayIndexOutOfBoundsException on initial commits" into stable-2.8
Merge changes I5374219a,I454b982d into stable-2.8

* changes:
  SideBySide2: Map .py files to text/x-python
  SideBySide2: Map *.cxx and *.hxx to clike CodeMirror mode
Merge "Update 2.8.1 release notes with recently merged changes" into stable-2.8
Update 2.8 release notes with changes from stable-2.6 and stable-2.7

The stable-2.6 and stable-2.7 branches have been removed, and there
will be no further releases on the 2.6 and 2.7 series.

All the changes merged into those branches since the 2.7 release are
already released in 2.8.

Add the changes in the release notes.

Change-Id: I191846f08c1545dadae28eb167a8fc4195e0dbdb
Eliminate "invalid member type qualification" warnings

These warnings are spurious in that the member types are correctly
qualified within the appropriate scope, but Eclipse reports them
to be consistent with javadoc[1], which has a long-standing bug.
Unfortunately, they also cannot be turned off.

For references to common Gerrit key/id types (e.g. Account.Id), just
use @code, as the @link isn't providing much value. For references
where the link might be more useful, use the fully-qualified type.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=371420

Change-Id: I0baca75c20e69c51d3bf251aa818460d30e3d631
Merge "Eliminate "invalid member type qualification" warnings"
Update Java version to 1.7 in documentation

Change-Id: I2045067160dee3a791b39fec8cc1636fe21c6ba3
Add one more fix in the 2.8 release notes

Change-Id: Ic7066db49dcd28276fe2a068cc20bc763b8f19d5
Add warning about removal of `approve` alias to 2.8 release notes

This should be mentioned as warning since users of the Gerrit Trigger
plugin need to adapt the plugin configuration.

Change-Id: Ib86922f4a665abbb6ad293f3e0c700cf483f44af
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Warn in 2.8 rel. notes that ChangeScreen2 needs download-commands plugin

Without this plugin the new change screen doesn't provide any download
commands. Admins must know that they need to install this plugin.

Change-Id: I389e267b99949fe69668d25b26ab608ace33c534
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Replace "\--" with "--" in documentation.

"\--" in the documentation was for asciidoc, in which "--"s won't work.
Asciidoctor doesn't have such a problem and will output "\--" verbatim.

Change-Id: I41419b037a10bd830f660d7295aea0d442504229
"Report Bug" URL can never be null

The config provider will always provide a value.  Either the
value given by the user in gerrit.config, or the default value.

Change-Id: I9b7107857c79f939ed5315e52610277b05ef7d67