Don't show "Suggestion for commit message" when Change-Id is missing

Bug: issue 2940
Change-Id: I051d4c992cae52d7cf4e97d6ecb5045312e84876
Add hint to amend commit after installing commit-msg hook

Bug: issue 2940
Change-Id: If80513141592743c974b2002ee531525eb472820
Fix exception when clicking on binary file without being signed in

The user preferences are only available if the user is signed in.

Change-Id: I2ec307d34464394cd902218a32de1afdf5314f86
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Define mailmap

The .mailmap feature is used to coalesce together commits by the same
person in the shortlog, where their name and/or email address was
spelled differently.

Change-Id: I07b7b27680b8b3ebd276cb8e11c4bc7a3650171e
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
SideBySide2: Correct placement of column margin bar

Some browsers (Chrome, Firefox) are now using non-integer font widths
for the fixed width text display from CM3. Chrome on Mac OS X is now
measuring 7.2 pixels per character.

Unfortunately this can only be discovered by measuring the width of an
element with more than 1 character in it.  CM3's defaultCharWidth()
function measures the width of a single "x" and assumes this is going
to be accurate.  Except the browser rounds down and returns 7.0, which
is 0.2 short for longer runs of text.

Measure a 100 character string in a span and take the average width of
these 100 characters to identify the real character width used for
text in a CM3 instance.  This is now coming in around 7.2 px, which
can be multipled out with the integral columns to get the margin bar
positioned at the desired location in source files.

The string length needs to be long enough that most browsers will show
evidence of fractional character widths.  100 is a good guess as some
coding standard conventions limit lines to 100 (or even 80),
suggesting no conforming code would even reach this length of 100.

If the margin was set at 100, and the measurement was taken for 100
but is still flawed, at worst the margin bar should position correctly
at 100.  It also gives about 2 decimal places of precision on the char
width, assuming fractional widths are being used by the browser.  This
may be fine for 100 character wide line lengths, any residual error
should be small enough to go unnoticed.

Issue: 2918
Change-Id: I37f328f1c5475f4aaa2ad1c90b6339fdc2c6ef5c
Merge "Define mailmap"
Merge "Fix exception when clicking on binary file without being signed in"
Merge changes If8051314,I051d4c99

* changes:
  Add hint to amend commit after installing commit-msg hook
  Don't show "Suggestion for commit message" when Change-Id is missing
Merge branch 'stable-2.9' into stable-2.10

* stable-2.9:
  SideBySide2: Correct placement of column margin bar

Change-Id: I48d58e0b4ff031091b7b06226346db5a545c9e15
Merge branch 'stable-2.10'

* stable-2.10:
  SideBySide2: Correct placement of column margin bar
Support AutoValue

AutoValue[1] is a lightweight annotation-processor-based library for
implementing classes with simple, obvious value semantics.

Add support for AutoValue to build rules and Eclipse project
generation. Buck does not currently have an officially-supported
interface for specifying annotation processor dependencies[2], so we
have to take the slightly ugly approach of monkey-patching
java_library and java_test to add annotation processor arguments to
each rule that requires annotation processing; hopefully this ugliness
can be reduced in the future.

[1] https://github.com/google/auto/tree/master/value
[2] https://github.com/facebook/buck/issues/85

Change-Id: I8b49d6f9f25d61688b667d964848c6ce106ae4ec
Apply caching headers and stack trace before HTTP response status

Higher level filters may trigger extra behavior immediately on
setStatus(int), which means the stack trace attribute needs to
be set before the call, not after.

Also give the higher level filters visiblity to the suggested
caching headers, by applying them before setStatus(int).

Change-Id: Ic1556aaf0177f2f5957df2ed1fbd2d8b12d7119e
Convert ssh acceptance tests to use Google Truth

Change-Id: I6b087f877ae0004ca4e591c602df84b6bf1f6eb2