Replace PatchDetailService saveDraft and deleteDraft

Change-Id: Ia3bafdd87a7760b52a153fa8ebdcafd9152d53e5
Add ssh command create-branch for creating branches

This command will allow users to create branches via ssh.

Feature: Issue 1156
Change-Id: I270df6bc3ed95581aa2fc6845c654f2d9a5c72b1
SideBySide2: Display red bar in line number gutter at padding

Instead of the bare gutter where padding widgets are inserted, display
a red bar in the line number gutter so the reader can visually follow
that this side of the file is the prior line number connected to the
next line number, and isn't just a rendering glitch.

Change-Id: I9792fb6a93a15c25f5bd31da2f478c2c28ab8f48
Bind content type text/x-h to clike mode

Change-Id: I37454147759bbfbcb268690dd8f00ad6bf4a8b32
Add some info to gitweb access control docs.

In order for a user to be allowed to view any gitweb information about a
repository, they must have read access to all references. Now this fact
is documented.

Change-Id: I8bb738678af89599318bbe114e35b2a63fc09f6f
Update gwtjsonrpc to 1.4

Change-Id: If2b9414c9efd73c29333bb1e8cec2230cd8b5f7f
Merge "Add some info to gitweb access control docs."
Merge "Update gwtjsonrpc to 1.4"
Mention gwtorm and gwtjsonrpc updates in 2.9 release notes

Change-Id: I61dc627459380b4c2fb8b3b658967c422a37dce6
Don't include the same change twice in GetRelated.

If the order of commits was modified, while keeping the same change
number, GetRelated would return both the new patch set and the old patch
set. Instead of walking the children first, walk the parents first and
exclude the changes from which the parents came. The changes are still
used for generating the children queue, since there could be new
children on top of the excluded ones.

+ Add test for listing related revisions.

Change-Id: I297aef2cd966c3ea38501fc3d560d6776f58c09f
Merge branch 'stable-2.8'

* stable-2.8:
  Don't include the same change twice in GetRelated.

Conflicts:
	gerrit-server/src/main/java/com/google/gerrit/server/change/ChangeJson.java

Change-Id: I94003a69a5b20f97c26f87181328f77c9060025b
Merge "Replace PatchDetailService saveDraft and deleteDraft"
ChangeScreen2: Don't open files with middle click

If the user middle clicks on a file path make that row the current
row, but don't open the path in this tab.  Instead the link will
open in a new tab.

Change-Id: I3b3fda39ffdb9cc0901e582635c1c297547e9939
Merge "SideBySide2: Display red bar in line number gutter at padding"
SideBySide2: Don't wrap n/p around to find next diff chunk

If the user is on the last diff chunk pressing 'n' should stay on the
last chunk.  Wrapping to the beginning of the file can be confusing on
a very large file, the user may keep reviewing the same chunks over
and over again until their memory kicks in and they realize they are
stuck in a loop.

Change-Id: I5bbd47d0d24a054720d956f1a74a31fceba714cf
Bind content type text/x-h to text/x-c++hdr

*.h is commonly used for C and C++ sources.  The server's MIME type
recognizer frequently returns text/x-h for *.h files, which CM3's
clike mode does not understand. Remap to the c++hdr type just in case
its a C++ source file and a C file.

Change-Id: I37454147759bbfbcb268690dd8f00ad6bf4a8b32
Merge "Bind content type text/x-h to text/x-c++hdr" into stable-2.8
Merge branch 'stable-2.8'

* stable-2.8:
  Bind content type text/x-h to text/x-c++hdr

Change-Id: I7e0c45111ff7a4f8b3648318e95f74264518863c
SideBySide2: Remove align bottom from reviewed checkbox

On Chrome/Mac the checkbox was out of place being aligned to the
bottom of the text row.  Allow it to align in the middle instead.

Change-Id: I32a205c73accb021b3275fadf689d85991e3dd0c
Merge "SideBySide2: Don't wrap n/p around to find next diff chunk"