Disable GSS in gerrit.

Adding gss="false" to all UiBinder files and disabling GSS
through its configuration property.

This makes gerrit compile with both GWT 2.7 and current head.

Change-Id: Ib889002535ffa0178deece736a003921d74af487
This commit is contained in:
Daniel Kurka
2015-04-24 22:37:59 +02:00
parent c16ab0df0d
commit a975495b4d
37 changed files with 39 additions and 36 deletions

View File

@@ -40,5 +40,8 @@
<set-property name='gwt.logging.logLevel' value='SEVERE'/>
<!-- Disable GSS -->
<set-configuration-property name='CssResource.enableGss' value='false'/>
<entry-point class='com.google.gerrit.client.Gerrit'/>
</module>

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:c='urn:import:com.google.gwtexpui.globalkey.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
<ui:style gss="false">
.popup {
position: fixed;
top: 5px;

View File

@@ -19,7 +19,7 @@ limitations under the License.
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:gerrit='urn:import:com.google.gerrit.client'
xmlns:u='urn:import:com.google.gerrit.client.ui'>
<ui:style>
<ui:style gss="false">
.panel {
padding: 8px;
}

View File

@@ -24,7 +24,7 @@ limitations under the License.
ui:generateLocales='default,en'
>
<ui:with field='res' type='com.google.gerrit.client.admin.AdminResources'/>
<ui:style>
<ui:style gss="false">
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
@eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor;

View File

@@ -24,7 +24,7 @@ limitations under the License.
ui:generateLocales='default,en'
>
<ui:with field='res' type='com.google.gerrit.client.admin.AdminResources'/>
<ui:style>
<ui:style gss="false">
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
@eval backgroundColor com.google.gerrit.client.Gerrit.getTheme().backgroundColor;

View File

@@ -25,7 +25,7 @@ limitations under the License.
ui:generateLocales='default,en'
>
<ui:with field='res' type='com.google.gerrit.client.admin.AdminResources'/>
<ui:style>
<ui:style gss="false">
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
.panel {

View File

@@ -22,7 +22,7 @@ limitations under the License.
ui:generateKeys='com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator'
ui:generateLocales='default,en'
>
<ui:style>
<ui:style gss="false">
.inheritsFrom {
margin-bottom: 0.5em;
}

View File

@@ -23,7 +23,7 @@ limitations under the License.
ui:generateKeys='com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator'
ui:generateLocales='default,en'
>
<ui:style>
<ui:style gss="false">
@external .gwt-TextArea;
.commitMessage {

View File

@@ -19,7 +19,7 @@ limitations under the License.
xmlns:g='urn:import:com.google.gwt.user.client.ui'
>
<ui:with field='ico' type='com.google.gerrit.client.GerritResources'/>
<ui:style>
<ui:style gss="false">
.panel {
position: relative;
white-space: nowrap;

View File

@@ -19,7 +19,7 @@ limitations under the License.
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:c='urn:import:com.google.gwtexpui.globalkey.client'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style type='com.google.gerrit.client.change.ActionMessageBox.Style'>
<ui:style gss="false" type='com.google.gerrit.client.change.ActionMessageBox.Style'>
@eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor;
.popup { background-color: trimColor; }

View File

@@ -21,7 +21,7 @@ limitations under the License.
xmlns:x='urn:import:com.google.gerrit.client.ui'>
<ui:with field='ico' type='com.google.gerrit.client.GerritResources'/>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style type='com.google.gerrit.client.change.ChangeScreen.Style'>
<ui:style gss="false" type='com.google.gerrit.client.change.ChangeScreen.Style'>
@eval textColor com.google.gerrit.client.Gerrit.getTheme().textColor;
@eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor;

View File

@@ -21,7 +21,7 @@ limitations under the License.
xmlns:clippy='urn:import:com.google.gwtexpui.clippy.client'>
<ui:with field='ico' type='com.google.gerrit.client.GerritResources'/>
<ui:image field="toggle" src="moreLess.png"/>
<ui:style type='com.google.gerrit.client.change.CommitBox.Style'>
<ui:style gss="false" type='com.google.gerrit.client.change.CommitBox.Style'>
@eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor;
.collapsed .scroll { height: 250px }

View File

@@ -19,7 +19,7 @@ limitations under the License.
xmlns:u='urn:import:com.google.gerrit.client.ui'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style>
<ui:style gss="false">
.cancel { float: right; }
</ui:style>
<g:HTMLPanel>

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:c='urn:import:com.google.gerrit.client.ui'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
<ui:style gss="false">
.box {
}
.path {

View File

@@ -19,7 +19,7 @@ limitations under the License.
xmlns:c='urn:import:com.google.gwtexpui.globalkey.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style>
<ui:style gss="false">
button.openAdd {
margin: 3px 3px 0 0;
float: right;

View File

@@ -17,7 +17,7 @@ limitations under the License.
<ui:UiBinder
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style type='com.google.gerrit.client.change.IncludedInBox.Style'>
<ui:style gss="false" type='com.google.gerrit.client.change.IncludedInBox.Style'>
.includedInBox {
min-width: 300px;
max-width: 580px;

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:c='urn:import:com.google.gerrit.client.ui'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
<ui:style gss="false">
.box {
position: relative;
}

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:c='urn:import:com.google.gerrit.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style type='com.google.gerrit.client.change.Message.Style'>
<ui:style gss="false" type='com.google.gerrit.client.change.Message.Style'>
.messageBox {
position: relative;
width: 1168px;

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style type='com.google.gerrit.client.change.PatchSetsBox.Style'>
<ui:style gss="false" type='com.google.gerrit.client.change.PatchSetsBox.Style'>
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
.revisionBox {

View File

@@ -20,7 +20,7 @@ limitations under the License.
xmlns:u='urn:import:com.google.gerrit.client.ui'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style>
<ui:style gss="false">
.cancel { float: right; }
</ui:style>
<g:HTMLPanel>

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style type='com.google.gerrit.client.change.ReplyBox.Styles'>
<ui:style gss="false" type='com.google.gerrit.client.change.ReplyBox.Styles'>
.replyBox {
}
.label_name {

View File

@@ -20,7 +20,7 @@ limitations under the License.
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:u='urn:import:com.google.gerrit.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style>
<ui:style gss="false">
button.openAdd {
margin: 3px 3px 0 0;
float: right;

View File

@@ -21,7 +21,7 @@ limitations under the License.
xmlns:x='urn:import:com.google.gerrit.client.ui'>
<ui:with field='ico' type='com.google.gerrit.client.GerritResources'/>
<ui:with field='res' type='com.google.gerrit.client.change.Resources'/>
<ui:style>
<ui:style gss="false">
.show { cursor: pointer; }
.edit, .cancel { float: right; }
</ui:style>

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:c='urn:import:com.google.gwtexpui.globalkey.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
<ui:style gss="false">
.popup {
position: fixed;
bottom: 0;

View File

@@ -17,7 +17,7 @@ limitations under the License.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:d='urn:import:com.google.gerrit.client.diff'>
<ui:style type='com.google.gerrit.client.diff.DiffTable.DiffTableStyle'>
<ui:style gss="false" type='com.google.gerrit.client.diff.DiffTable.DiffTableStyle'>
@external .CodeMirror, .CodeMirror-selectedtext;
@external .CodeMirror-linenumber;
@external .CodeMirror-overlayscroll-vertical, .CodeMirror-scroll;

View File

@@ -20,7 +20,7 @@ limitations under the License.
xmlns:e='urn:import:com.google.gwtexpui.globalkey.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.diff.Resources'/>
<ui:style>
<ui:style gss="false">
.draft {
width: 45px;
text-align: center;

View File

@@ -20,7 +20,7 @@ limitations under the License.
xmlns:x='urn:import:com.google.gerrit.client.ui'>
<ui:with field='ico' type='com.google.gerrit.client.GerritResources'/>
<ui:with field='res' type='com.google.gerrit.client.diff.Resources'/>
<ui:style>
<ui:style gss="false">
.header {
position: relative;
height: 16px;

View File

@@ -18,7 +18,7 @@ limitations under the License.
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.GerritResources'/>
<ui:style>
<ui:style gss="false">
.bubble {
z-index: 150;
white-space: nowrap;

View File

@@ -20,7 +20,7 @@ limitations under the License.
<ui:with field='res' type='com.google.gerrit.client.GerritResources'/>
<ui:with field='patchConstants'
type='com.google.gerrit.client.patches.PatchConstants'/>
<ui:style type='com.google.gerrit.client.diff.PatchSetSelectBox.BoxStyle'>
<ui:style gss="false" type='com.google.gerrit.client.diff.PatchSetSelectBox.BoxStyle'>
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
@eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor;
.table {

View File

@@ -17,7 +17,7 @@ limitations under the License.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:x='urn:import:com.google.gerrit.client.ui'>
<ui:style type='com.google.gerrit.client.diff.PreferencesBox.Style'>
<ui:style gss="false" type='com.google.gerrit.client.diff.PreferencesBox.Style'>
@external .gwt-TextBox;
@external .gwt-ToggleButton .html-face;
@external .gwt-ToggleButton-up;

View File

@@ -19,7 +19,7 @@ limitations under the License.
xmlns:c='urn:import:com.google.gerrit.client'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.diff.Resources'/>
<ui:style type='com.google.gerrit.client.diff.PublishedBox.Style'>
<ui:style gss="false" type='com.google.gerrit.client.diff.PublishedBox.Style'>
.avatar {
position: absolute;
width: 26px;

View File

@@ -17,7 +17,7 @@ limitations under the License.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:d='urn:import:com.google.gerrit.client.diff'>
<ui:style>
<ui:style gss="false">
.sbs {
margin-left: -5px;
margin-right: -5px;

View File

@@ -16,7 +16,7 @@ limitations under the License.
-->
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style type='com.google.gerrit.client.diff.SkipBar.SkipBarStyle'>
<ui:style gss="false" type='com.google.gerrit.client.diff.SkipBar.SkipBarStyle'>
.skipBar {
background-color: #def;
height: 1.3em;

View File

@@ -16,7 +16,7 @@ limitations under the License.
-->
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
<ui:style gss="false">
.header {
position: relative;
height: 16px;

View File

@@ -20,7 +20,7 @@ limitations under the License.
<ui:with field='res' type='com.google.gerrit.client.GerritResources'/>
<ui:style>
<ui:style gss="false">
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
@eval trimColor com.google.gerrit.client.Gerrit.getTheme().trimColor;
@eval backgroundColor com.google.gerrit.client.Gerrit.getTheme().backgroundColor;

View File

@@ -22,7 +22,7 @@ limitations under the License.
ui:generateKeys='com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator'
ui:generateLocales='default,en'
>
<ui:style>
<ui:style gss="false">
@external .gwt-TextBox;
@external .gwt-ListBox;

View File

@@ -18,7 +18,7 @@ limitations under the License.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:with field='res' type='com.google.gerrit.client.GerritResources'/>
<ui:style type='com.google.gerrit.client.patches.PatchSetSelectBox.BoxStyle'>
<ui:style gss="false" type='com.google.gerrit.client.patches.PatchSetSelectBox.BoxStyle'>
@eval selectionColor com.google.gerrit.client.Gerrit.getTheme().selectionColor;
@eval backgroundColor com.google.gerrit.client.Gerrit.getTheme().backgroundColor;