Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1b51be787 | ||
|
|
2deaddfca2 | ||
|
|
0ccb51f2ae | ||
|
|
5e5f2277f5 | ||
|
|
c6ca4380e9 | ||
|
|
451509e2c0 | ||
|
|
7895b8acd9 | ||
|
|
ccff4610c5 | ||
|
|
15a1f78f8b | ||
|
|
8b44473fe6 | ||
|
|
6e0aee959e | ||
|
|
ba5930cc8e | ||
|
|
6376255c0c | ||
|
|
320682148b | ||
|
|
1ed84ac1f8 | ||
|
|
9c9d04e3e0 | ||
|
|
19504d5263 | ||
|
|
533b346f4e | ||
|
|
6afd96c460 | ||
|
|
9858dc03cb | ||
|
|
d21b46fc9c | ||
|
|
55fa46d059 | ||
|
|
b089b365d6 | ||
|
|
0c150945dc | ||
|
|
0fb23389f5 | ||
|
|
7ba07f4a17 | ||
|
|
554183b5dd | ||
|
|
98fe8b0ccb | ||
|
|
e08a4ad1c8 | ||
|
|
39dac57259 |
No files matched your search
@@ -211,6 +211,9 @@
|
||||
<!ENTITY addon.loadingReleaseNotes.label "Loading…">
|
||||
<!ENTITY addon.errorLoadingReleaseNotes.label "Sorry, but there was an error loading the release notes.">
|
||||
|
||||
<!ENTITY addon.nativeAddon "This add-on directly targets &brandFullName;">
|
||||
<!ENTITY addon.compatAddon "This add-on targets Mozilla Firefox and runs in compatibility mode">
|
||||
|
||||
<!ENTITY addon.createdBy.label "By ">
|
||||
|
||||
<!ENTITY eula.title "End-User License Agreement">
|
||||
|
||||
@@ -30,9 +30,6 @@ notification.blocked.link=More Information
|
||||
#LOCALIZATION NOTE (notification.softblocked) %1$S is the add-on name
|
||||
notification.softblocked=%1$S is known to cause issues.
|
||||
notification.softblocked.link=More Information
|
||||
#LOCALIZATION NOTE (notification.compatibility) %1$S is the add-on name, %2$S is brand name
|
||||
notification.compatibility=%1$S was not designed for %2$S. It may not function properly or cease to function.
|
||||
notification.compatibility.link=More Information
|
||||
#LOCALIZATION NOTE (notification.outdated) %1$S is the add-on name
|
||||
notification.outdated=An important update is available for %1$S.
|
||||
notification.outdated.link=Update Now
|
||||
@@ -81,9 +78,6 @@ details.notification.incompatible=%1$S is incompatible with %2$S %3$S.
|
||||
#LOCALIZATION NOTE (details.notification.blocked) %1$S is the add-on name
|
||||
details.notification.blocked=%1$S has been disabled due to security or stability issues.
|
||||
details.notification.blocked.link=More Information
|
||||
#LOCALIZATION NOTE (details.notification.compatibility) %1$S is the add-on name, %2$S is brand name
|
||||
details.notification.compatibility=%1$S was not designed for %2$S. It may not function properly or cease to function.
|
||||
details.notification.compatibility.link=More Information
|
||||
#LOCALIZATION NOTE (details.notification.softblocked) %1$S is the add-on name
|
||||
details.notification.softblocked=%1$S is known to cause issues.
|
||||
details.notification.softblocked.link=More Information
|
||||
|
||||
@@ -152,6 +152,8 @@ setting[type="menulist"] {
|
||||
.addon:not([notification="info"]) .info,
|
||||
.addon:not([pending]) .pending,
|
||||
.addon:not([upgrade="true"]) .update-postfix,
|
||||
.addon:not([native="true"]) .nativeAddon,
|
||||
.addon:not([native="false"]) .compatAddon,
|
||||
.addon[active="true"] .disabled-postfix,
|
||||
.addon[pending="install"] .update-postfix,
|
||||
.addon[pending="install"] .disabled-postfix,
|
||||
@@ -264,6 +266,21 @@ richlistitem:not([selected]) * {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Indicator style for extension target application */
|
||||
.addon[native] .nativeIndicator {
|
||||
margin-left: 5pt;
|
||||
padding-bottom: 1pt;
|
||||
}
|
||||
.addon[native][active="false"] .nativeIndicator {
|
||||
opacity: 0.4;
|
||||
}
|
||||
.addon[native] .nativeAddon {
|
||||
color: #3366FF;
|
||||
}
|
||||
.addon[native] .compatAddon {
|
||||
color: #FF6600;
|
||||
}
|
||||
|
||||
/* Translators for Language Pack details */
|
||||
.translators > label {
|
||||
-moz-margin-start: 0px;
|
||||
|
||||
@@ -3059,19 +3059,6 @@ var gDetailView = {
|
||||
warning.textContent =
|
||||
gStrings.ext.formatStringFromName("details.notification.gmpPending",
|
||||
[this._addon.name], 1);
|
||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||
} else if (this._addon.native == false) {
|
||||
this.node.setAttribute("notification", "warning");
|
||||
this.node.setAttribute("native", "false");
|
||||
document.getElementById("detail-warning").textContent = gStrings.ext.formatStringFromName(
|
||||
"details.notification.compatibility",
|
||||
[this._addon.name, gStrings.brandShortName], 2
|
||||
);
|
||||
var warningLink = document.getElementById("detail-warning-link");
|
||||
warningLink.value = gStrings.ext.GetStringFromName("details.notification.compatibility.link");
|
||||
warningLink.href = Services.urlFormatter.formatURLPref("extensions.compatibility.url");
|
||||
warningLink.hidden = false;
|
||||
#endif
|
||||
} else {
|
||||
this.node.removeAttribute("notification");
|
||||
}
|
||||
|
||||
@@ -857,6 +857,10 @@
|
||||
<xul:label anonid="name" class="name" crop="end" flex="1"
|
||||
xbl:inherits="value=name,tooltiptext=name"/>
|
||||
<xul:label anonid="version" class="version"/>
|
||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||
<xul:label class="nativeIndicator nativeAddon" value="●" tooltiptext="&addon.nativeAddon;"/>
|
||||
<xul:label class="nativeIndicator compatAddon" value="●" tooltiptext="&addon.compatAddon;"/>
|
||||
#endif
|
||||
<xul:label class="disabled-postfix" value="&addon.disabled.postfix;"/>
|
||||
<xul:label class="update-postfix" value="&addon.update.postfix;"/>
|
||||
<xul:spacer flex="5000"/> <!-- Necessary to make the name crop -->
|
||||
@@ -1355,20 +1359,8 @@
|
||||
} else {
|
||||
this.removeAttribute("notification");
|
||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||
if (this.mAddon.type == "extension") {
|
||||
if (this.mAddon.type == "extension")
|
||||
this.setAttribute("native", this.mAddon.native);
|
||||
if (this.mAddon.native == false) {
|
||||
this.setAttribute("notification", "warning");
|
||||
this._warning.textContent = gStrings.ext.formatStringFromName(
|
||||
"notification.compatibility",
|
||||
[this.mAddon.name, gStrings.brandShortName], 2
|
||||
);
|
||||
this._warningLink.value = gStrings.ext.GetStringFromName("notification.compatibility.link");
|
||||
this._warningLink.href = Services.urlFormatter.formatURLPref("extensions.compatibility.url");
|
||||
this._warningLink.hidden = false;
|
||||
this._warningBtn.hidden = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6472,8 +6472,8 @@ AddonInternal.prototype = {
|
||||
}
|
||||
else if (app.id == FIREFOX_ID) {
|
||||
version = FIREFOX_APPCOMPATVERSION;
|
||||
if (this.type != "extension")
|
||||
//Only allow extensions in Firefox compatibility mode
|
||||
if (this.type == "locale")
|
||||
//Never allow language packs in Firefox compatibility mode
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
@@ -6528,15 +6528,12 @@ AddonInternal.prototype = {
|
||||
app = targetApp;
|
||||
}
|
||||
#ifdef MOZ_PHOENIX_EXTENSIONS
|
||||
// Special case: check for Firefox TargetApps. this has to be done AFTER
|
||||
// the initial check to make sure appinfo.ID is preferred, even if
|
||||
// Firefox is listed before it in the install manifest.
|
||||
// Only do this for extensions. Other types should not be allowed.
|
||||
if (this.type == "extension") {
|
||||
for (let targetApp of this.targetApplications) {
|
||||
if (targetApp.id == FIREFOX_ID) //Firefox GUID
|
||||
return targetApp;
|
||||
}
|
||||
//Special case: check for Firefox TargetApps. this has to be done AFTER
|
||||
//the initial check to make sure appinfo.ID is preferred, even if
|
||||
//Firefox is listed before it in the install manifest.
|
||||
for (let targetApp of this.targetApplications) {
|
||||
if (targetApp.id == FIREFOX_ID) //Firefox GUID
|
||||
return targetApp;
|
||||
}
|
||||
#endif
|
||||
// Return toolkit ID if toolkit.
|
||||
|
||||
@@ -517,13 +517,6 @@
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.addon-view[notification="warning"][native="false"] {
|
||||
background-image: url("chrome://mozapps/skin/extensions/stripes-compatibility.png"),
|
||||
linear-gradient(rgba(255, 128, 0, 0.04),
|
||||
rgba(255, 128, 0, 0));
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.addon-view[notification="error"] {
|
||||
background-image: url("chrome://mozapps/skin/extensions/stripes-error.png"),
|
||||
linear-gradient(rgba(255, 0, 0, 0.04),
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
@@ -26,11 +26,6 @@ toolkit.jar:
|
||||
skin/classic/mozapps/extensions/themeGeneric.png (extensions/themeGeneric.png)
|
||||
skin/classic/mozapps/extensions/themeGeneric-16.png (extensions/themeGeneric-16.png)
|
||||
skin/classic/mozapps/extensions/localeGeneric.png (extensions/localeGeneric.png)
|
||||
skin/classic/mozapps/extensions/stripes-warning.png (extensions/stripes-warning.png)
|
||||
skin/classic/mozapps/extensions/stripes-compatibility.png (extensions/stripes-compatibility.png)
|
||||
skin/classic/mozapps/extensions/stripes-error.png (extensions/stripes-error.png)
|
||||
skin/classic/mozapps/extensions/stripes-info-positive.png (extensions/stripes-info-positive.png)
|
||||
skin/classic/mozapps/extensions/stripes-info-negative.png (extensions/stripes-info-negative.png)
|
||||
skin/classic/mozapps/extensions/newaddon.css (extensions/newaddon.css)
|
||||
skin/classic/mozapps/extensions/selectAddons.css (extensions/selectAddons.css)
|
||||
skin/classic/mozapps/xpinstall/xpinstallItemGeneric.png (extensions/extensionGeneric.png)
|
||||
|
||||
@@ -659,13 +659,6 @@
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.addon-view[notification="warning"][native="false"] {
|
||||
background-image: url("chrome://mozapps/skin/extensions/stripes-compatibility.png"),
|
||||
linear-gradient(rgba(255, 128, 0, 0.04),
|
||||
rgba(255, 128, 0, 0));
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.addon-view[notification="error"] {
|
||||
background-image: url("chrome://mozapps/skin/extensions/stripes-error.png"),
|
||||
linear-gradient(rgba(255, 0, 0, 0.04),
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -648,13 +648,6 @@
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.addon-view[notification="warning"][native="false"] {
|
||||
background-image: url("chrome://mozapps/skin/extensions/stripes-compatibility.png"),
|
||||
linear-gradient(rgba(255, 128, 0, 0.04),
|
||||
rgba(255, 128, 0, 0));
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
.addon-view[notification="error"] {
|
||||
background-image: url("chrome://mozapps/skin/extensions/stripes-error.png"),
|
||||
linear-gradient(rgba(255, 0, 0, 0.04),
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -39,7 +39,6 @@ toolkit.jar:
|
||||
skin/classic/mozapps/extensions/heart.png (extensions/heart.png)
|
||||
skin/classic/mozapps/extensions/navigation.png (extensions/navigation.png)
|
||||
skin/classic/mozapps/extensions/stripes-warning.png (extensions/stripes-warning.png)
|
||||
skin/classic/mozapps/extensions/stripes-compatibility.png (extensions/stripes-compatibility.png)
|
||||
skin/classic/mozapps/extensions/stripes-error.png (extensions/stripes-error.png)
|
||||
skin/classic/mozapps/extensions/stripes-info-positive.png (extensions/stripes-info-positive.png)
|
||||
skin/classic/mozapps/extensions/stripes-info-negative.png (extensions/stripes-info-negative.png)
|
||||
|
||||