Make translations editor widely available

This CL re-enables the notification provider that shows up when
any strings file is opened advertising the translations editor.
It also removes the warning label at the top of the translations
editor.

Change-Id: I41e032febb1c73195e8eefe03be4b34bac470f5e
Merge "Make translations editor widely available" into studio-1.0-dev
Update version to 0.8.12.

Change-Id: Ibd6a165689ba1847f946f10b92f71c7a399f8dbf
Merge "Update version to 0.8.12." into studio-1.0-dev
Defend against disposed projects while lint is happening

User reported crash b/17624823

Change-Id: I06d24c2d7205abf1cb7706043892d590f9b73ebd
Merge "Defend against disposed projects while lint is happening" into studio-1.0-dev
Make github download result accessible

Result contents need to be accessible outside
of the package

Change-Id: Ie0383673eaa2fb6c5aa89cc5a6bac9e844e91e5b
(cherry picked from commit 255affe30ada1f66683db02483691daefbb5174e)
Update AndroidTestListener to support Junit4 states

The ITestRunListener interface in tools/base has been updated
as part of I0a3cb57c143dcdcc21c7d755087bb7e5e67b9413. This CL
updates its implementation in Studio.

Change-Id: I1185c79a38e49a7532667cbe4e0ca26e3cb943af
Merge "Update AndroidTestListener to support Junit4 states" into studio-1.0-dev
Now we show dialog to set JDK path when build fails due to wrong JDK.

In this CL:
- We show the "Select SDK" dialog (only showing the JDK path field) if
  a build fails when the IDE is using an invalid javaHome (I haven't
  been able to reproduce this issue and I don't know what
  Gradle considers as "invalid javaHome", I searched for it but I only
  got that setitng the JDK in the project settings dialog fixed it.)
- Adds ability to UI tests to simulate a build failure.

Fixes issue
https://code.google.com/p/android/issues/detail?id=74687

Change-Id: I5195eeaceb44244960b383a81c88d9229593cfc3
(cherry picked from commit 5a904580b963fdada383924c8189302cdbac87cd)
Merge "Now we show dialog to set JDK path when build fails due to wrong JDK." into studio-1.0-dev
[UI Testing] Added RunConfigurationComboBoxFixture (extracted from IdeFrameFixture.)

Change-Id: Iedf0d770f7f9fd1c5244bf0bc0781c5c2fa19ccc
Merge "[UI Testing] Added RunConfigurationComboBoxFixture (extracted from IdeFrameFixture.)" into studio-1.0-dev
navigator: Show project as folder if gradle sync has failed

The Android Project view will not show any modules that don't have
a single source root. This is usually not a problem, except if there
are errors during gradle sync, we explicitly create a new project
without any source roots, in order to allow users to edit that project.

This CL adds support for such a scenario: If we notice that the project
is built by Gradle, and the sync failed, then we add the top level
project directory.

Fixes https://code.google.com/p/android/issues/detail?id=76564

Change-Id: I43ab46531c5f22db640a103b63edebf022c4f8bd
Merge "Make github download result accessible" into studio-1.0-dev
Merge "navigator: Show project as folder if gradle sync has failed" into studio-1.0-dev
Add more diagnostics to help track down index corruption bug

This adds toString methods for a value class that appears in the
error message for this cache corruption bug:
76569: Index query code crashes with "Expected only one value per-inputId"

Knowing more about the kinds of resource entries that are involved
might help us ask follow-up questions to figure out what kinds of
data can trigger this.

Also optimize the code which recreates a set with a known size: don't
use the HashSet contructor with a fixed size, since due to the default load
factor adding that number of elements will cause a map resize. Similarly,
size the identifier StringBuilder capacity before building it.

Change-Id: Ic6cdf65d5a998ae144752e162113dfeb8c64644b
Merge "Add more diagnostics to help track down index corruption bug" into studio-1.0-dev
Hyperlinks support at the build output

https://code.google.com/p/android/issues/detail?id=75901

The general idea was to combine two existing functionalities:
* show single line of text on multiple visual lines if available UI width
  is not enough (backed by MultilineTreeCellRenderer)
* correctly represent hyperlinks with an ability to configure custom
  click handlers at the IDE UI

IntelliJ code analysis showed that the later facility is supported by
SimpleColoredComponentClass and ColoredTreeCellRenderer. They are used
e.g. in 'Git Log' and 'File History' panels. So, what we did initially was enhanced
SimpleColoredComponent which knew how to display text on multiple lines if
necessary. Corresponding patch was offered to JetBrains -
http://youtrack.jetbrains.com/issue/IDEA-130051. However, they can apply
it not earlier than in two weeks because of their release cycle, that's why we
copy-pasted target classes into android plugin and enhanced them with the required
'wrap mode' facility. We're planning to switch to the platform code later when
JetBrains apply the patch.

Change-Id: Ie656235353493b71c085d8bc670b29224631924c
(cherry picked from commit 099f88a64197b0976ac9a9a5c842b10f558f1f97)
Merge "Hyperlinks support at the build output" into studio-1.0-dev